prog_name
stringlengths
138
138
strip_func_name
stringlengths
2
176
prompt
stringclasses
1 value
query
stringlengths
41
170k
response
stringlengths
12
25k
hints
stringclasses
1 value
b96d14afe5a309f3d2768451909eadc66db3a51f9332c796791f24616961688b_b96d14afe5a309f3d2768451909eadc66db3a51f9332c796791f24616961688b.jsonl.gz
sub_42035A
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_42035A(int a1, _QWORD *a2) { __int64 result; // rax _BOOL4 v7; // eax int v8; // eax int v9; // er9 _BOOL4 v10; // eax int v11; // eax int v12; // er9 __int64 v13; // rdi __int64 v14; // [rsp+18h] [rbp-28h] __int64 v15; // [rsp+20h] [rbp-20h] __int64 v16; // [rsp+30h] [rbp-10h] const char *v17; // [rsp+38h] [rbp-8h] if ( a1 <= 0 ) return sub_45F24C( *(_QWORD *)(qword_488420 + 16), (unsigned int)"%s() takes %s %d argument%s (%d given)", off_487050[0], (unsigned int)"at least", 1, (unsigned int)&unk_4739C0, (unsigned int)a1); if ( a1 > 2 ) return sub_45F24C( *(_QWORD *)(qword_488420 + 16), (unsigned int)"%s() takes %s %d argument%s (%d given)", off_487050[0], (unsigned int)"at most", 2, (unsigned int)"s", (unsigned int)a1); v7 = (*a2 & 0xFFFF000000000000LL) != 0x7FFD000000000000LL || *(_DWORD *)(*a2 & 0xFFFFFFFFFFFFLL) != 3; if ( v7 && !(unsigned int)sub_45FE0C(*a2, *(_QWORD *)(qword_488418 + 56)) ) { v8 = sub_463D61(*a2); return sub_45F24C( *(_QWORD *)(qword_488420 + 8), (unsigned int)"%s() expects %s, not '%s'", off_487050[0], (unsigned int)"str", v8, v9); } v16 = *a2 & 0xFFFFFFFFFFFFLL; v17 = "<source>"; if ( a1 > 1 ) { v10 = (a2[1] & 0xFFFF000000000000LL) != 0x7FFD000000000000LL || *(_DWORD *)(a2[1] & 0xFFFFFFFFFFFFLL) != 3; if ( v10 && !(unsigned int)sub_45FE0C(a2[1], *(_QWORD *)(qword_488418 + 56)) ) { v11 = sub_463D61(a2[1]); return sub_45F24C( *(_QWORD *)(qword_488420 + 8), (unsigned int)"%s() expects %s, not '%s'", off_487050[0], (unsigned int)"str", v11, v12); } v17 = *(const char **)((a2[1] & 0xFFFFFFFFFFFFLL) + 0x30); } sub_45F560(qword_4884C0 & 0xFFFFFFFFFFFFLL | 0x7FFD000000000000LL); v15 = qword_4884C0; qword_4884C0 = 0LL; v13 = *(_QWORD *)(v16 + 48); v14 = sub_418EAB(v13, v17); qword_4884C0 = v15; sub_45F5A9(v13, v17); if ( v14 ) result = v14 & 0xFFFFFFFFFFFFLL | 0x7FFD000000000000LL; else result = -1LL; return result; } Q:[a1,a2,v13,v14,v15,v16,v17,sub_42035A,sub_45F24C,sub_45FE0C,sub_463D61,sub_45F560,sub_418EAB,sub_45F5A9,]
A:{'a1': 'argc', 'a2': 'argv', 'v13': 'argc', 'v14': 'c', 'v15': 'module', 'v16': 'code', 'v17': 'fileName', 'sub_42035A': '_krk_build', 'sub_45F24C': 'krk_runtimeError', 'sub_45FE0C': 'krk_isInstanceOf', 'sub_463D61': 'krk_typeName', 'sub_45F560': 'krk_push', 'sub_418EAB': 'krk_compile', 'sub_45F5A9': 'krk_pop'}
52ae5472be44f9c366281f4a07ac5894c3ea5a6a4c905ac76a607313ae2babd9_52ae5472be44f9c366281f4a07ac5894c3ea5a6a4c905ac76a607313ae2babd9.jsonl.gz
sub_40FAD0
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 sub_40FAD0() { unsigned int v0; // eax unsigned int v2; // [rsp+Ch] [rbp-Ch] v0 = clGetMemObjectInfo(); if ( v0 ) sub_40C5D0("%s:%s clGetMemObjectInfo failed: ret=%d", "opencl", "getType", v0); return v2; } Q:[sub_40FAD0,sub_40C5D0,]
A:{'sub_40FAD0': 'getType', 'sub_40C5D0': 'log_error'}
f223df43e71fd244b2d3fc8309aa4a9e557a38d76ce9c8ff7a1df98b1c82c5e4_f223df43e71fd244b2d3fc8309aa4a9e557a38d76ce9c8ff7a1df98b1c82c5e4.jsonl.gz
sub_41F6CC
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_41F6CC(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4) { unsigned __int8 v5; // [rsp+27h] [rbp-9h] BYREF void *v6; // [rsp+28h] [rbp-8h] sub_40843C(a1, (__int64)sub_42724B, (__int64)sub_42561B, a3, a4); v6 = sub_40435C(&v5); return sub_4324C6(a1, v6, v5, sub_402AE9, a2); } Q:[a3,a4,a1,a2,v5,v6,sub_41F6CC,sub_40843C,sub_42724B,sub_42561B,sub_40435C,sub_4324C6,sub_402AE9,]
A:{'a3': 'byte_cb', 'a4': 'gpio_and_delay_cb', 'a1': 'u8g2', 'a2': 'rotation', 'v5': 'tile_buf_height', 'v6': 'buf', 'sub_41F6CC': 'u8g2_Setup_sed1520_122x32_2', 'sub_40843C': 'u8x8_Setup', 'sub_42724B': 'u8x8_d_sed1520_122x32', 'sub_42561B': 'u8x8_cad_001', 'sub_40435C': 'u8g2_m_16_4_2', 'sub_4324C6': 'u8g2_SetupBuffer', 'sub_402AE9': 'u8g2_ll_hvline_vertical_top_lsb'}
bb617c8fa1226b81c1d526808551544f95aadeb79a5e62c7307853d0fbf2577b_bb617c8fa1226b81c1d526808551544f95aadeb79a5e62c7307853d0fbf2577b.jsonl.gz
sub_450F84
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_450F84(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5) { __int64 v5; // r12 __int64 v6; // rbx __int64 v7; // rax v5 = sub_43AE8E(a5); v6 = sub_43AE80(a4); v7 = sub_43AE72(a3); return sub_45498A(a1, a2, v7, v6, v5); } Q:[sub_450F84,sub_43AE8E,sub_43AE80,sub_43AE72,sub_45498A,]
A:{'sub_450F84': 'tuple', 'sub_43AE8E': 'tuple', 'sub_43AE80': 'allocator', 'sub_43AE72': 'forward', 'sub_45498A': 'tuple'}
7dc7fd77c702ac66e020038977e4c5b256bb046b8e96253a37fa2f33ba09f7ff_7dc7fd77c702ac66e020038977e4c5b256bb046b8e96253a37fa2f33ba09f7ff.jsonl.gz
sub_40B426
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_40B426(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v3; // rbx result = a1; v3 = *(_QWORD *)(a2 + 8); *(_QWORD *)(a1 + 4) = *(_QWORD *)a2; *(_QWORD *)(a1 + 12) = v3; *(_QWORD *)(a1 + 20) = *(_QWORD *)(a2 + 16); *(_DWORD *)(a1 + 28) = *(_DWORD *)(a2 + 24); return result; } Q:[a1,a2,sub_40B426,]
A:{'a1': 'this', 'a2': 'p_e', 'sub_40B426': 'Lambda'}
c3144aa8e620968bf2fb4a838f94c9e2de50059f5e792c7c442fd679f4367cae_c3144aa8e620968bf2fb4a838f94c9e2de50059f5e792c7c442fd679f4367cae.jsonl.gz
sub_40E38F
Help user generate meaningful names for variables and functions in the following code snippet.
ssize_t __fastcall sub_40E38F(const void *a1, int a2) { ssize_t result; // rax result = write(fd, a1, a2); if ( (_DWORD)result == -1 ) fd = -1; return result; } Q:[a1,a2,sub_40E38F,]
A:{'a1': 'data', 'a2': 'len', 'sub_40E38F': 'write_port'}
223414b00bc5f830a75554a3f910461181cbcb38b7dbc7caadc1a22c4ac63129_223414b00bc5f830a75554a3f910461181cbcb38b7dbc7caadc1a22c4ac63129.jsonl.gz
sub_403947
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_403947(int a1, const char **a2, int a3, unsigned int a4, int a5, int a6, char *filename, int a8, int a9, int a10, int a11) { __int64 result; // rax __int64 *v12; // rbx __int64 v13; // rdx int *v14; // rax char *v15; // rax int v16; // eax int v17; // eax size_t v18; // rax size_t v19; // rax __int64 v20; // rdx __int64 v21; // rdx __int64 v22; // rdx __int64 v23; // rdx __int64 v24; // rdx __int64 v25; // rdx const char *v26; // rcx const char *v27; // rcx int *v28; // rax char *v29; // rax __mode_t v30; // ebx int v31; // eax int *v32; // rax char *v33; // rax unsigned int v37; // [rsp+Ch] [rbp-184h] struct stat stat_buf; // [rsp+20h] [rbp-170h] BYREF int v40[2]; // [rsp+B0h] [rbp-E0h] BYREF unsigned int v41; // [rsp+B8h] [rbp-D8h] __int64 v42; // [rsp+C0h] [rbp-D0h] void *ptr; // [rsp+D0h] [rbp-C0h] BYREF __int64 v44; // [rsp+D8h] [rbp-B8h] void *v45; // [rsp+E0h] [rbp-B0h] BYREF __int64 v46; // [rsp+E8h] [rbp-A8h] void *v47; // [rsp+F0h] [rbp-A0h] BYREF __int64 v48; // [rsp+F8h] [rbp-98h] __int64 v49; // [rsp+100h] [rbp-90h] BYREF __int64 v50; // [rsp+108h] [rbp-88h] __int64 v51; // [rsp+110h] [rbp-80h] BYREF __int64 v52; // [rsp+118h] [rbp-78h] __int64 v53; // [rsp+120h] [rbp-70h] BYREF __int64 v54; // [rsp+128h] [rbp-68h] __int64 v55; // [rsp+130h] [rbp-60h] __int64 v56; // [rsp+138h] [rbp-58h] __int64 v57; // [rsp+140h] [rbp-50h] int fd; // [rsp+14Ch] [rbp-44h] unsigned int v59; // [rsp+150h] [rbp-40h] int v60; // [rsp+154h] [rbp-3Ch] FILE *stream; // [rsp+158h] [rbp-38h] __int64 v62; // [rsp+160h] [rbp-30h] char *s; // [rsp+168h] [rbp-28h] char *dest; // [rsp+170h] [rbp-20h] unsigned int v65; // [rsp+178h] [rbp-18h] int i; // [rsp+17Ch] [rbp-14h] v60 = 0; v65 = 0; v59 = 0; dest = 0LL; s = 0LL; stream = stdout; if ( !a1 ) { fprintf(stderr, "%s: no files given for --merge\n", off_424040); return 2LL; } if ( a1 < 0 || (unsigned int)(a1 - 1) > 2 ) { fprintf(stderr, "%s: too many files given for --merge\n", off_424040); return 2LL; } for ( i = 0; i < a1; ++i ) { v12 = &v49 + 2 * i; *v12 = sub_40FDDE(a2[i]); v12[1] = v13; if ( !*(&v49 + 2 * i) ) { v14 = __errno_location(); v15 = strerror(*v14); fprintf(stderr, "%s: cannot load file '%s' - %s\n", off_424040, a2[i], v15); return 2LL; } } if ( a1 != 3 && a1 <= 3 ) { if ( a1 == 1 ) { v55 = v49; v56 = v50; if ( !(unsigned int)sub_4119BE(v49, v50, &v49, &v51, &v53) ) { fprintf(stderr, "%s: merge file %s looks bad.\n", off_424040, *a2); return 2LL; } } else { v55 = v51; v56 = v52; v59 = sub_41124B(v51, v52, &v51, &v53); v65 = v59; } } if ( a5 ) { v55 = v51; v56 = v52; v51 = v53; v52 = v54; v53 = v55; v54 = v56; } for ( i = 0; i <= 2; ++i ) { if ( !*(&v49 + 2 * i) ) { fprintf(stderr, "%s: file %d missing\n", off_424040, (unsigned int)i); return 2LL; } } if ( filename ) { stream = fopen(filename, "w"); if ( !stream ) { fprintf(stderr, "%s: could not create %s\n", off_424040, filename); return 2LL; } } else if ( a6 ) { v16 = strlen(*a2); dest = (char *)sub_419230((unsigned int)(v16 + 20)); v17 = strlen(*a2); s = (char *)sub_419230((unsigned int)(v17 + 20)); strcpy(dest, *a2); strcpy(s, *a2); v18 = strlen(s); strcpy(&s[v18], ".porig"); if ( open(s, 0) >= 0 || *__errno_location() != 2 ) { fprintf(stderr, "%s: %s already exists\n", off_424040, s); free(dest); free(s); return 2LL; } v19 = strlen(dest); strcpy(&dest[v19], "XXXXXX"); fd = mkstemp(dest); if ( fd == -1 ) { fprintf(stderr, "%s: could not create temporary file for %s\n", off_424040, dest); free(dest); free(s); return 2LL; } stream = fdopen(fd, "w"); } if ( a3 != 108 ) a4 |= 1u; ptr = (void *)sub_411094(v49, v50, a4); v44 = v20; v45 = (void *)sub_411094(v51, v52, a4); v46 = v21; v47 = (void *)sub_411094(v53, v54, a4); v48 = v22; if ( (a4 & 0x10) == 0 && (int)v46 > 50000 && ((int)v44 > 50000 || (int)v48 > 50000) ) { free(ptr); free(v45); free(v47); v37 = a4 | 0x10; ptr = (void *)sub_411094(v49, v50, v37); v44 = v23; v45 = (void *)sub_411094(v51, v52, v37); v46 = v24; v47 = (void *)sub_411094(v53, v54, v37); v48 = v25; } if ( !v65 || v60 ) v62 = sub_4132F1(ptr, v44, v45, v46, (unsigned int)a11); else v62 = sub_414FAF(ptr, v44, v45, v46, v65); v57 = sub_41382D(v45, v46, v47, v48, (unsigned int)a11); sub_417281((unsigned int)v40, (_DWORD)ptr, v44, (_DWORD)v45, v46, v62, (__int64)v47, v48, v57, a3 == 119, a8, a9 > 1); sub_418519((_DWORD)stream, (unsigned int)&ptr, (unsigned int)&v45, (unsigned int)&v47, a3 == 119, v42, 0LL, 0, 0); if ( !a10 && v40[0] ) { if ( v40[0] == 1 ) v26 = (const char *)&unk_41B0FD; else v26 = "s"; fprintf(stderr, "%d unresolved conflict%s found\n", (unsigned int)v40[0], v26); } if ( !a10 && v41 ) { if ( v41 == 1 ) v27 = (const char *)&unk_41B0FD; else v27 = "s"; fprintf(stderr, "%d already-applied change%s ignored\n", v41, v27); } if ( filename ) { fclose(stream); } else if ( a6 ) { if ( (unsigned int)sub_41AAA0((char *)*a2, &stat_buf) ) { v28 = __errno_location(); v29 = strerror(*v28); fprintf(stderr, "%s: failed to stat original file. - %s\n", off_424040, v29); free(dest); free(s); return 2LL; } v30 = stat_buf.st_mode; v31 = fileno(stream); if ( fchmod(v31, v30) ) { v32 = __errno_location(); v33 = strerror(*v32); fprintf(stderr, "%s: failed to change permission of new file. - %s\n", off_424040, v33); free(dest); free(s); return 2LL; } fclose(stream); if ( rename(*a2, s) || rename(dest, *a2) ) { fprintf(stderr, "%s: failed to move new file into place.\n", off_424040); free(dest); free(s); return 2LL; } } free(dest); free(s); if ( a9 ) result = v40[0] + v40[1] > 0; else result = v40[0] > 0; return result; } Q:[a3,a4,a1,a2,a5,a6,filename,a8,a9,a10,a11,v28,v26,v37,v40,ptr,v49,v55,v57,v59,v60,stream,v62,s,dest,v65,sub_403947,sub_40FDDE,sub_4119BE,sub_41124B,sub_419230,sub_411094,sub_4132F1,sub_414FAF,sub_41382D,sub_417281,sub_418519,sub_41AAA0,]
A:{'a3': 'obj', 'a4': 'blanks', 'a1': 'argc', 'a2': 'argv', 'a5': 'reverse', 'a6': 'replace', 'filename': 'outfilename', 'a8': 'ignore', 'a9': 'show_wiggles', 'a10': 'quiet', 'a11': 'shortest', 'v28': 'result', 'v26': 'blanks', 'v37': 'blanksb', 'v40': 'ci', 'ptr': 'fl', 'v49': 'flist', 'v55': 'f', 'v57': 'csl2', 'v59': 'chunks3', 'v60': 'chunks1', 'stream': 'outfile', 'v62': 'csl1', 's': 'orignew', 'dest': 'replacename', 'v65': 'chunks2', 'sub_403947': 'do_merge', 'sub_40FDDE': 'wiggle_load_file', 'sub_4119BE': 'wiggle_split_merge', 'sub_41124B': 'wiggle_split_patch', 'sub_419230': 'wiggle_xmalloc', 'sub_411094': 'wiggle_split_stream', 'sub_4132F1': 'wiggle_diff', 'sub_414FAF': 'wiggle_pdiff', 'sub_41382D': 'wiggle_diff_patch', 'sub_417281': 'wiggle_make_merger', 'sub_418519': 'wiggle_print_merge', 'sub_41AAA0': 'stat_0'}
1f521185abebe790038be8fb8b4eb165b2fd6d5af5b82a99f02d98f6827de627_1f521185abebe790038be8fb8b4eb165b2fd6d5af5b82a99f02d98f6827de627.jsonl.gz
sub_41BBA2
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 sub_41BBA2() { return sysconf(30); } Q:[sub_41BBA2,]
A:{'sub_41BBA2': 'unixGetpagesize'}
e6951f37e53aa26b8cc1158f7a801b19b5050181eb2932e812d0435a1aa23f66_e6951f37e53aa26b8cc1158f7a801b19b5050181eb2932e812d0435a1aa23f66.jsonl.gz
sub_41E893
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_41E893(__int64 a1, _DWORD *a2) { _DWORD *v2; // rax while ( a1 ) { if ( *a2 >= *(_DWORD *)a1 ) { if ( *a2 == *(_DWORD *)a1 ) { v2 = a2++; if ( !*v2 ) return *(_QWORD *)(a1 + 32); a1 = *(_QWORD *)(a1 + 16); } else { a1 = *(_QWORD *)(a1 + 24); } } else { a1 = *(_QWORD *)(a1 + 8); } } return 0LL; } Q:[a1,a2,sub_41E893,]
A:{'a1': 'root', 'a2': 'w', 'sub_41E893': 'tst_search'}
53faff7486da2db257c0486a573e49eb3e70656a42b3e2ad40ce428af0925783_53faff7486da2db257c0486a573e49eb3e70656a42b3e2ad40ce428af0925783.jsonl.gz
sub_40D45C
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_40D45C(__int64 a1, unsigned int a2, unsigned int a3) { return sub_477E56(a1, a2, a3); } Q:[a3,a1,a2,sub_40D45C,sub_477E56,]
A:{'a3': 'max', 'a1': 'obj', 'a2': 'min', 'sub_40D45C': 'lv_slider_set_range_1', 'sub_477E56': 'lv_bar_set_range'}
e5d6b850c10bbd8bd3c9744d34a8a65cdee24c54b48f5102005d648602b6d85c_e5d6b850c10bbd8bd3c9744d34a8a65cdee24c54b48f5102005d648602b6d85c.jsonl.gz
sub_402A70
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_402A70(__int64 a1, unsigned int a2, __int64 a3, __m128 _XMM0, __m128 _XMM1, double a6, double a7, __m128 _XMM4) { unsigned int v12; // edx __int64 v13; // rsi unsigned int v15; // er9 int v30; // esi unsigned int v31; // er10 unsigned int v47; // edx __m256i *v108; // rdi int v110; // edx int v111; // er11 int v112; // edx int v113; // er11 __int32 v115; // er11 __int32 v116; // ebx __int32 v117; // er12 __int32 v119; // er13 __int32 v120; // edi __int32 v121; // er8 __int32 v122; // er9 __int32 v123; // er10 unsigned int v125; // er15 __int64 v141; // r14 __int64 v351; // r15 unsigned int v353; // er14 __int16 v514; // dx __int64 result; // rax __int64 v542; // [rsp+0h] [rbp-2A0h] unsigned int v544; // [rsp+10h] [rbp-290h] unsigned int v545; // [rsp+14h] [rbp-28Ch] int v546; // [rsp+14h] [rbp-28Ch] __int32 v548; // [rsp+1Ch] [rbp-284h] __int32 v549; // [rsp+20h] [rbp-280h] __int32 v550; // [rsp+24h] [rbp-27Ch] __int32 v551; // [rsp+28h] [rbp-278h] __int32 v552; // [rsp+2Ch] [rbp-274h] __int32 v553; // [rsp+30h] [rbp-270h] unsigned int v554; // [rsp+34h] [rbp-26Ch] __m256i v555; // [rsp+38h] [rbp-268h] BYREF __m256i v556; // [rsp+58h] [rbp-248h] BYREF __m256i v557; // [rsp+78h] [rbp-228h] BYREF char v573; // [rsp+278h] [rbp-28h] BYREF _RAX = a1; v12 = 0; do { v13 = v12; v12 += 32; *(__int64 *)((char *)v557.m256i_i64 + v13) = 0LL; *(__int64 *)((char *)&v557.m256i_i64[1] + v13) = 0LL; *(__int64 *)((char *)&v557.m256i_i64[2] + v13) = 0LL; *(__int64 *)((char *)&v557.m256i_i64[3] + v13) = 0LL; } while ( v12 < 0x200 ); __asm { vpxor xmm0, xmm0, xmm0 vmovdqa xmmword ptr [rsp+230h+var_268], xmm0 vmovdqa xmmword ptr [rsp+230h+var_268+10h], xmm0 vmovdqa xmmword ptr [rsp+230h+var_248], xmm0 vmovdqa xmmword ptr [rsp+230h+var_248+10h], xmm0 } v15 = a2 / 0xFFFF0; if ( a2 <= 0xFFFEF ) { v554 = 0; _ECX = 0; } else { __asm { vmovdqa64 ymm31, cs:ymmword_410320 vmovdqa64 ymm30, cs:ymmword_410340 vmovdqa64 ymm29, cs:ymmword_410360 vmovdqa64 ymm28, cs:ymmword_410380 vmovdqa64 ymm27, cs:ymmword_4103A0 vmovdqa64 ymm26, cs:ymmword_4103C0 vmovdqa64 ymm25, cs:ymmword_4103E0 vmovdqa64 ymm24, cs:ymmword_410400 vmovdqa64 ymm23, cs:ymmword_410420 vmovdqa64 ymm22, cs:ymmword_410440 vmovdqa64 ymm21, cs:ymmword_410460 vmovdqa64 ymm20, cs:ymmword_410480 vmovdqa64 ymm19, cs:ymmword_4104A0 vmovdqa64 ymm18, cs:ymmword_4104C0 } v30 = 0xFFFF; v31 = 0; do { __asm { vmovdqa64 ymm16, [rsp+230h+var_228] vmovdqa ymm15, [rsp+230h+var_208] vmovdqa ymm14, [rsp+230h+var_1E8] vmovdqa ymm13, [rsp+230h+var_1C8] vmovdqa ymm12, [rsp+230h+var_1A8] vmovdqa ymm11, [rsp+230h+var_188] vmovdqa ymm10, [rsp+230h+var_168] vmovdqa ymm9, [rsp+230h+var_148] vmovdqa ymm8, [rsp+230h+var_128] vmovdqa ymm7, [rsp+230h+var_108] vmovdqa ymm6, [rsp+230h+var_E8] vmovdqa ymm5, [rsp+230h+var_C8] vmovdqa ymm4, [rsp+230h+var_A8] vmovdqa ymm3, [rsp+230h+var_88] vmovdqa ymm2, [rsp+230h+var_68] vmovdqa ymm1, [rsp+230h+var_48] } v47 = v30 - 0xFFFF; do { _RCX = 32LL * v47; __asm { vlddqu ymm0, ymmword ptr [rax+rcx] } ++v47; __asm { vpandq ymm17, ymm31, ymm0 vpaddw ymm17, ymm17, ymm16 vmovdqa64 ymm16, ymm17 vmovdqa64 [rsp+230h+var_228], ymm17 vpandq ymm17, ymm30, ymm0 vpsrlw ymm17, ymm17, 1 vpaddw ymm17, ymm17, ymm15 vmovdqa64 ymm15, ymm17 vmovdqa64 [rsp+230h+var_208], ymm17 vpandq ymm17, ymm29, ymm0 vpsrlw ymm17, ymm17, 2 vpaddw ymm17, ymm17, ymm14 vmovdqa64 ymm14, ymm17 vmovdqa64 [rsp+230h+var_1E8], ymm17 vpandq ymm17, ymm28, ymm0 vpsrlw ymm17, ymm17, 3 vpaddw ymm17, ymm17, ymm13 vmovdqa64 ymm13, ymm17 vmovdqa64 [rsp+230h+var_1C8], ymm17 vpandq ymm17, ymm27, ymm0 vpsrlw ymm17, ymm17, 4 vpaddw ymm17, ymm17, ymm12 vmovdqa64 ymm12, ymm17 vmovdqa64 [rsp+230h+var_1A8], ymm17 vpandq ymm17, ymm26, ymm0 vpsrlw ymm17, ymm17, 5 vpaddw ymm17, ymm17, ymm11 vmovdqa64 ymm11, ymm17 vmovdqa64 [rsp+230h+var_188], ymm17 vpandq ymm17, ymm25, ymm0 vpsrlw ymm17, ymm17, 6 vpaddw ymm17, ymm17, ymm10 vmovdqa64 ymm10, ymm17 vmovdqa64 [rsp+230h+var_168], ymm17 vpandq ymm17, ymm24, ymm0 vpsrlw ymm17, ymm17, 7 vpaddw ymm17, ymm17, ymm9 vmovdqa64 ymm9, ymm17 vmovdqa64 [rsp+230h+var_148], ymm17 vpandq ymm17, ymm23, ymm0 vpsrlw ymm17, ymm17, 8 vpaddw ymm17, ymm17, ymm8 vmovdqa64 ymm8, ymm17 vmovdqa64 [rsp+230h+var_128], ymm17 vpandq ymm17, ymm22, ymm0 vpsrlw ymm17, ymm17, 9 vpaddw ymm17, ymm17, ymm7 vmovdqa64 ymm7, ymm17 vmovdqa64 [rsp+230h+var_108], ymm17 vpandq ymm17, ymm21, ymm0 vpsrlw ymm17, ymm17, 0Ah vpaddw ymm17, ymm17, ymm6 vmovdqa64 ymm6, ymm17 vmovdqa64 [rsp+230h+var_E8], ymm17 vpandq ymm17, ymm20, ymm0 vpsrlw ymm17, ymm17, 0Bh vpaddw ymm17, ymm17, ymm5 vmovdqa64 ymm5, ymm17 vmovdqa64 [rsp+230h+var_C8], ymm17 vpandq ymm17, ymm19, ymm0 vpsrlw ymm17, ymm17, 0Ch vpaddw ymm17, ymm17, ymm4 vmovdqa64 ymm4, ymm17 vmovdqa64 [rsp+230h+var_A8], ymm17 vpandq ymm17, ymm18, ymm0 vpsrlw ymm17, ymm17, 0Dh vpaddw ymm17, ymm17, ymm3 vmovdqa64 ymm3, ymm17 vmovdqa64 [rsp+230h+var_88], ymm17 vpandq ymm17, ymm0, cs:ymmword_4104E0 vpand ymm0, ymm0, cs:ymmword_410500 vpsrlw ymm17, ymm17, 0Eh vpsrlw ymm0, ymm0, 0Fh vpaddw ymm17, ymm17, ymm2 vpaddw ymm0, ymm0, ymm1 vmovdqa64 ymm2, ymm17 vmovdqa64 [rsp+230h+var_68], ymm17 vmovdqa ymm1, ymm0 vmovdqa [rsp+230h+var_48], ymm0 } } while ( v47 != v30 ); v108 = &v555; _RCX = &v557; do { __asm { vpxor xmm4, xmm4, xmm4 } v110 = _RCX->m256i_u16[2] + v108->m256i_i32[0] + _RCX->m256i_u16[1] + _RCX->m256i_u16[0]; v111 = _RCX->m256i_u16[3]; ++_RCX; v108 = (__m256i *)((char *)v108 + 4); v112 = _RCX[-1].m256i_u16[14] + _RCX[-1].m256i_u16[13] + _RCX[-1].m256i_u16[12] + _RCX[-1].m256i_u16[11] + _RCX[-1].m256i_u16[10] + _RCX[-1].m256i_u16[9] + _RCX[-1].m256i_u16[8] + _RCX[-1].m256i_u16[7] + _RCX[-1].m256i_u16[6] + _RCX[-1].m256i_u16[5] + _RCX[-1].m256i_u16[4] + v111 + v110; v113 = _RCX[-1].m256i_u16[15]; __asm { vmovdqa ymmword ptr [rcx-20h], ymm4 } v108[-1].m256i_i32[7] = v113 + v112; } while ( _RCX != (__m256i *)&v573 ); ++v31; v30 += 0xFFFF; } while ( v15 > v31 ); _ECX = v555.m256i_i32[0]; v554 = 1048560 * v15; } if ( a2 > v554 ) { v551 = v556.m256i_i32[2]; v550 = v556.m256i_i32[4]; v549 = v556.m256i_i32[6]; v548 = v555.m256i_i32[4]; v553 = v555.m256i_i32[2]; v552 = v556.m256i_i32[0]; v545 = a2 - v554; v544 = a2 - 1 - v554; v115 = v555.m256i_i32[1]; v116 = v555.m256i_i32[3]; v117 = v555.m256i_i32[5]; _ESI = v555.m256i_i32[6]; v119 = v555.m256i_i32[7]; v120 = v556.m256i_i32[1]; v121 = v556.m256i_i32[3]; v122 = v556.m256i_i32[5]; v123 = v556.m256i_i32[7]; if ( v544 <= 0xE ) { v353 = v554; v351 = 0LL; } else { v542 = _RAX; __asm { vpxord xmm17, xmm17, xmm17 } v125 = ((a2 - v554 - 16) >> 4) + 1; __asm { vmovdqa64 ymm30, cs:ymmword_410320 vmovdqa64 ymm29, cs:ymmword_410340 vmovdqa64 ymm28, cs:ymmword_410360 vmovdqa64 ymm27, cs:ymmword_410380 vmovdqa64 ymm26, cs:ymmword_4103A0 vmovdqa64 ymm25, cs:ymmword_4103C0 vmovdqa64 ymm24, cs:ymmword_4103E0 vmovdqa64 ymm23, cs:ymmword_410400 vmovdqa64 ymm22, cs:ymmword_410420 vmovdqa64 ymm21, cs:ymmword_410440 vmovdqa64 ymm20, cs:ymmword_410460 vmovdqa64 ymm19, cs:ymmword_410480 vmovdqa64 ymm18, cs:ymmword_4104A0 } _RDX = _RAX + 2LL * v554; __asm { vmovdqa32 ymm16, ymm17 } v141 = 0LL; __asm { vmovdqa32 ymm15, ymm17 vmovdqa32 ymm14, ymm17 vmovdqa32 ymm13, ymm17 vmovdqa32 ymm12, ymm17 vmovdqa32 ymm11, ymm17 vmovdqa32 ymm10, ymm17 vmovdqa32 ymm9, ymm17 vmovdqa32 ymm8, ymm17 vmovdqa32 ymm7, ymm17 vmovdqa32 ymm6, ymm17 vmovdqa32 ymm5, ymm17 vmovdqa32 ymm4, ymm17 vmovdqa32 ymm3, ymm17 vmovdqa32 ymm2, ymm17 } do { _RAX = 32 * v141; __asm { vmovdqu16 ymm0, ymmword ptr [rdx+rax] } ++v141; __asm { vpandq ymm1, ymm0, ymm30 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm2, ymm2, ymm1 vpandq ymm1, ymm0, ymm29 vpsrlw ymm1, ymm1, 1 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm3, ymm3, ymm1 vpandq ymm1, ymm0, ymm28 vpsrlw ymm1, ymm1, 2 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm4, ymm4, ymm1 vpandq ymm1, ymm0, ymm27 vpsrlw ymm1, ymm1, 3 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm5, ymm5, ymm1 vpandq ymm1, ymm0, ymm26 vpsrlw ymm1, ymm1, 4 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm6, ymm6, ymm1 vpandq ymm1, ymm0, ymm25 vpsrlw ymm1, ymm1, 5 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm7, ymm7, ymm1 vpandq ymm1, ymm0, ymm24 vpsrlw ymm1, ymm1, 6 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm8, ymm8, ymm1 vpandq ymm1, ymm0, ymm23 vpsrlw ymm1, ymm1, 7 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm9, ymm9, ymm1 vpandq ymm1, ymm0, ymm22 vpsrlw ymm1, ymm1, 8 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm10, ymm10, ymm1 vpandq ymm1, ymm0, ymm21 vpsrlw ymm1, ymm1, 9 vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm11, ymm11, ymm1 vpandq ymm1, ymm0, ymm20 vpsrlw ymm1, ymm1, 0Ah vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm12, ymm12, ymm1 vpandq ymm1, ymm0, ymm19 vpsrlw ymm1, ymm1, 0Bh vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm13, ymm13, ymm1 vpandq ymm1, ymm0, ymm18 vpsrlw ymm1, ymm1, 0Ch vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm14, ymm14, ymm1 vpand ymm1, ymm0, cs:ymmword_4104C0 vpsrlw ymm1, ymm1, 0Dh vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpaddd ymm15, ymm15, ymm1 vpand ymm1, ymm0, cs:ymmword_4104E0 vpand ymm0, ymm0, cs:ymmword_410500 vpsrlw ymm1, ymm1, 0Eh vextracti32x4 xmm31, ymm1, 1 vpmovzxwd ymm31, xmm31 vpmovzxwd ymm1, xmm1 vpaddd ymm1, ymm31, ymm1 vpsrlw ymm0, ymm0, 0Fh vpaddd ymm16, ymm16, ymm1 vpmovzxwd ymm1, xmm0 vextracti128 xmm0, ymm0, 1 vpmovzxwd ymm0, xmm0 vpaddd ymm0, ymm1, ymm0 vpaddd ymm17, ymm17, ymm0 } } while ( v125 > (unsigned int)v141 ); __asm { vmovdqa32 xmm0, xmm17 vextracti32x4 xmm17, ymm17, 1 vpaddd xmm0, xmm0, xmm17 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 vmovd r14d, xmm0 vextracti32x4 xmm0, ymm16, 1 vpaddd xmm0, xmm0, xmm16 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v123 = _ER14 + v556.m256i_i32[7]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm15, 1 vpaddd xmm0, xmm0, xmm15 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v549 = _ER14 + v556.m256i_i32[6]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm14, 1 vpaddd xmm0, xmm0, xmm14 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v122 = _ER14 + v556.m256i_i32[5]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm13, 1 vpaddd xmm0, xmm0, xmm13 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v550 = _ER14 + v556.m256i_i32[4]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm12, 1 vpaddd xmm0, xmm0, xmm12 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v121 = _ER14 + v556.m256i_i32[3]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm11, 1 vpaddd xmm0, xmm0, xmm11 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v551 = _ER14 + v556.m256i_i32[2]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm10, 1 vpaddd xmm0, xmm0, xmm10 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v120 = _ER14 + v556.m256i_i32[1]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm9, 1 vpaddd xmm0, xmm0, xmm9 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v552 = _ER14 + v556.m256i_i32[0]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm8, 1 vpaddd xmm0, xmm0, xmm8 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v119 = _ER14 + v555.m256i_i32[7]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm7, 1 vpaddd xmm0, xmm0, xmm7 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } _ESI = _ER14 + v555.m256i_i32[6]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm6, 1 vpaddd xmm0, xmm0, xmm6 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v117 = _ER14 + v555.m256i_i32[5]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm5, 1 vpaddd xmm0, xmm0, xmm5 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v548 = _ER14 + v555.m256i_i32[4]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm4, 1 vpaddd xmm0, xmm0, xmm4 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v116 = _ER14 + v555.m256i_i32[3]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm3, 1 vpaddd xmm0, xmm0, xmm3 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v553 = _ER14 + v555.m256i_i32[2]; __asm { vmovd r14d, xmm0 vextracti128 xmm0, ymm2, 1 vpaddd xmm0, xmm0, xmm2 vpsrldq xmm1, xmm0, 8 vpaddd xmm0, xmm0, xmm1 vpsrldq xmm1, xmm0, 4 vpaddd xmm0, xmm0, xmm1 } v115 = _ER14 + v555.m256i_i32[1]; v351 = 16 * v125; __asm { vmovd r14d, xmm0 } _ECX += _ER14; _RAX = v542; v353 = v351 + v554; if ( (_DWORD)v351 == v545 ) { LABEL_19: __asm { vmovd xmm3, [rsp+230h+var_284] vmovd xmm2, esi vmovd xmm4, [rsp+230h+var_270] vpinsrd xmm0, xmm3, r12d, 1 vpinsrd xmm1, xmm2, r13d, 1 vmovd xmm5, ecx vpunpcklqdq xmm1, xmm0, xmm1 vpinsrd xmm2, xmm5, r11d, 1 vpinsrd xmm0, xmm4, ebx, 1 vpunpcklqdq xmm0, xmm2, xmm0 vmovd xmm6, [rsp+230h+var_280] vmovd xmm7, [rsp+230h+var_27C] vinserti128 ymm0, ymm0, xmm1, 1 vmovd xmm2, [rsp+230h+var_278] vmovd xmm3, [rsp+230h+var_274] vmovdqa [rsp+230h+var_268], ymm0 vpinsrd xmm1, xmm6, r10d, 1 vpinsrd xmm0, xmm7, r9d, 1 vpunpcklqdq xmm1, xmm0, xmm1 vpinsrd xmm0, xmm2, r8d, 1 vpinsrd xmm2, xmm3, edi, 1 vpunpcklqdq xmm0, xmm2, xmm0 vinserti128 ymm0, ymm0, xmm1, 1 vmovdqa [rsp+230h+var_248], ymm0 } goto LABEL_20; } } v546 = v545 - v351; if ( v544 - (unsigned int)v351 <= 6 ) goto LABEL_25; _RDX = v351 + v554; __asm { vmovdqu16 xmm0, xmmword ptr [rax+rdx*2] vpand xmm2, xmm0, cs:xmmword_410640 vpsrldq xmm1, xmm2, 8 vpmovzxwd xmm3, xmm2 vpmovzxwd xmm1, xmm1 vpaddd xmm1, xmm3, xmm1 vpand xmm3, xmm0, cs:xmmword_410650 vpsrlw xmm3, xmm3, 1 vpsrldq xmm2, xmm3, 8 vpmovzxwd xmm4, xmm3 vpmovzxwd xmm2, xmm2 vpaddd xmm2, xmm4, xmm2 vpand xmm4, xmm0, cs:xmmword_410660 vpsrlw xmm4, xmm4, 2 vpsrldq xmm3, xmm4, 8 vpmovzxwd xmm5, xmm4 vpmovzxwd xmm3, xmm3 vpaddd xmm3, xmm5, xmm3 vpand xmm5, xmm0, cs:xmmword_410670 vpsrlw xmm5, xmm5, 3 vpsrldq xmm4, xmm5, 8 vpmovzxwd xmm6, xmm5 vpmovzxwd xmm4, xmm4 vpaddd xmm4, xmm6, xmm4 vpand xmm6, xmm0, cs:xmmword_410680 vpsrlw xmm6, xmm6, 4 vpsrldq xmm5, xmm6, 8 vpmovzxwd xmm7, xmm6 vpmovzxwd xmm5, xmm5 vpaddd xmm5, xmm7, xmm5 vpand xmm7, xmm0, cs:xmmword_410690 vpsrlw xmm7, xmm7, 5 vpsrldq xmm6, xmm7, 8 vpmovzxwd xmm8, xmm7 vpmovzxwd xmm6, xmm6 vpaddd xmm6, xmm8, xmm6 vpand xmm8, xmm0, cs:xmmword_4106A0 vpsrlw xmm8, xmm8, 6 vpsrldq xmm7, xmm8, 8 vpmovzxwd xmm9, xmm8 vpmovzxwd xmm7, xmm7 vpaddd xmm7, xmm9, xmm7 vpand xmm9, xmm0, cs:xmmword_4106B0 vpsrlw xmm9, xmm9, 7 vpsrldq xmm8, xmm9, 8 vpmovzxwd xmm10, xmm9 vpmovzxwd xmm8, xmm8 vpaddd xmm8, xmm10, xmm8 vpand xmm10, xmm0, cs:xmmword_4106C0 vpsrlw xmm10, xmm10, 8 vpsrldq xmm9, xmm10, 8 vpmovzxwd xmm11, xmm10 vpmovzxwd xmm9, xmm9 vpaddd xmm9, xmm11, xmm9 vpand xmm11, xmm0, cs:xmmword_4106D0 vpsrlw xmm11, xmm11, 9 vpsrldq xmm10, xmm11, 8 vpmovzxwd xmm12, xmm11 vpmovzxwd xmm10, xmm10 vpaddd xmm10, xmm12, xmm10 vpand xmm12, xmm0, cs:xmmword_4106E0 vpsrlw xmm12, xmm12, 0Ah vpsrldq xmm11, xmm12, 8 vpmovzxwd xmm13, xmm12 vpmovzxwd xmm11, xmm11 vpaddd xmm11, xmm13, xmm11 vpand xmm13, xmm0, cs:xmmword_4106F0 vpsrlw xmm13, xmm13, 0Bh vpsrldq xmm12, xmm13, 8 vpmovzxwd xmm14, xmm13 vpmovzxwd xmm12, xmm12 vpaddd xmm12, xmm14, xmm12 vpand xmm14, xmm0, cs:xmmword_410700 vpsrlw xmm14, xmm14, 0Ch vpmovzxwd xmm15, xmm14 vpsrldq xmm13, xmm14, 8 vpand xmm14, xmm0, cs:xmmword_410710 vpmovzxwd xmm13, xmm13 vpaddd xmm13, xmm15, xmm13 vpsrlw xmm14, xmm14, 0Dh vpand xmm15, xmm0, cs:xmmword_410720 vpmovzxwd xmm16, xmm14 vpsrldq xmm14, xmm14, 8 vpmovzxwd xmm14, xmm14 vpsrlw xmm15, xmm15, 0Eh vpand xmm0, xmm0, cs:xmmword_410730 vpaddd xmm16, xmm16, xmm14 vpmovzxwd xmm14, xmm15 vpsrldq xmm15, xmm15, 8 vpmovzxwd xmm15, xmm15 vpsrlw xmm0, xmm0, 0Fh vpaddd xmm14, xmm14, xmm15 vpmovzxwd xmm15, xmm0 vpsrldq xmm0, xmm0, 8 vpmovzxwd xmm0, xmm0 vpaddd xmm0, xmm15, xmm0 vpsrldq xmm15, xmm0, 8 vpaddd xmm0, xmm0, xmm15 vpsrldq xmm15, xmm0, 4 vpaddd xmm0, xmm0, xmm15 vmovd edx, xmm0 vpsrldq xmm0, xmm14, 8 vpaddd xmm0, xmm14, xmm0 vpsrldq xmm14, xmm0, 4 vpaddd xmm0, xmm0, xmm14 } v123 += _RDX; __asm { vmovd edx, xmm0 vpsrldq xmm0, xmm16, 8 vpaddd xmm0, xmm16, xmm0 vpsrldq xmm14, xmm0, 4 vpaddd xmm0, xmm0, xmm14 } v549 += _RDX; __asm { vmovd edx, xmm0 vpsrldq xmm0, xmm13, 8 vpaddd xmm13, xmm13, xmm0 vpsrldq xmm0, xmm13, 4 vpaddd xmm13, xmm13, xmm0 vpsrldq xmm0, xmm12, 8 vpaddd xmm12, xmm12, xmm0 vpsrldq xmm0, xmm12, 4 vpaddd xmm12, xmm12, xmm0 vpsrldq xmm0, xmm11, 8 vpaddd xmm11, xmm11, xmm0 vpsrldq xmm0, xmm11, 4 vpaddd xmm11, xmm11, xmm0 vpsrldq xmm0, xmm10, 8 vpaddd xmm10, xmm10, xmm0 vpsrldq xmm0, xmm10, 4 vpaddd xmm10, xmm10, xmm0 vpsrldq xmm0, xmm9, 8 vpaddd xmm9, xmm9, xmm0 vpsrldq xmm0, xmm9, 4 vpaddd xmm9, xmm9, xmm0 vpsrldq xmm0, xmm8, 8 vpaddd xmm8, xmm8, xmm0 vpsrldq xmm0, xmm8, 4 vpaddd xmm8, xmm8, xmm0 vpsrldq xmm0, xmm7, 8 vpaddd xmm7, xmm7, xmm0 vpsrldq xmm0, xmm7, 4 vpaddd xmm7, xmm7, xmm0 vpsrldq xmm0, xmm6, 8 vpaddd xmm6, xmm6, xmm0 vpsrldq xmm0, xmm6, 4 vpaddd xmm6, xmm6, xmm0 vpsrldq xmm0, xmm5, 8 vpaddd xmm5, xmm5, xmm0 vpsrldq xmm0, xmm5, 4 vpaddd xmm5, xmm5, xmm0 vpsrldq xmm0, xmm4, 8 vpaddd xmm4, xmm4, xmm0 } v122 += _RDX; __asm { vmovd edx, xmm13 vpsrldq xmm0, xmm4, 4 } v550 += _RDX; __asm { vmovd edx, xmm12 vpaddd xmm4, xmm4, xmm0 } v121 += _RDX; __asm { vpsrldq xmm0, xmm3, 8 vmovd edx, xmm11 vpaddd xmm3, xmm3, xmm0 } v551 += _RDX; __asm { vmovd edx, xmm10 vpsrldq xmm0, xmm3, 4 } v120 += _RDX; __asm { vmovd edx, xmm9 vpaddd xmm3, xmm3, xmm0 } v552 += _RDX; __asm { vpsrldq xmm0, xmm2, 8 vmovd edx, xmm8 vpaddd xmm2, xmm2, xmm0 } v119 += _RDX; __asm { vmovd edx, xmm7 vpsrldq xmm0, xmm2, 4 } _ESI += _RDX; __asm { vmovd edx, xmm6 vpaddd xmm2, xmm2, xmm0 } v117 += _RDX; __asm { vpsrldq xmm0, xmm1, 8 vmovd edx, xmm5 vpaddd xmm1, xmm1, xmm0 } v548 += _RDX; __asm { vmovd edx, xmm4 } v116 += _RDX; __asm { vpsrldq xmm0, xmm1, 4 vmovd edx, xmm3 } v553 += _RDX; __asm { vpaddd xmm1, xmm1, xmm0 vmovd edx, xmm2 } v115 += _RDX; __asm { vmovd edx, xmm1 } _ECX += _RDX; v353 += v546 & 0xFFFFFFF8; if ( v546 != (v546 & 0xFFFFFFF8) ) { LABEL_25: do { v514 = *(_WORD *)(_RAX + 2LL * v353); _ECX += v514 & 1; v115 += (v514 & 2) >> 1; v553 += (v514 & 4) >> 2; v116 += (v514 & 8) >> 3; v548 += (v514 & 0x10) >> 4; v117 += (v514 & 0x20) >> 5; _ESI += (v514 & 0x40) >> 6; v119 += (v514 & 0x80) >> 7; v552 += (v514 & 0x100) >> 8; v120 += (v514 & 0x200) >> 9; v551 += (v514 & 0x400) >> 10; v121 += (v514 & 0x800) >> 11; v550 += (v514 & 0x1000) >> 12; v122 += (v514 & 0x2000) >> 13; ++v353; v549 += (v514 & 0x4000) >> 14; v123 += (v514 & 0x8000) >> 15; } while ( v353 < a2 ); } goto LABEL_19; } LABEL_20: result = a3; __asm { vmovdqa xmm5, xmmword ptr [rsp+230h+var_268] vmovdqa xmm6, xmmword ptr [rsp+230h+var_268+10h] vmovdqa xmm7, xmmword ptr [rsp+230h+var_248] vmovdqa xmm2, xmmword ptr [rsp+230h+var_248+10h] vmovdqu xmmword ptr [rax], xmm5 vmovdqu xmmword ptr [rax+10h], xmm6 vmovdqu xmmword ptr [rax+20h], xmm7 vmovdqu xmmword ptr [rax+30h], xmm2 vzeroupper } return result; } Q:[result,sub_402A70,]
A:{'result': '_RAX', 'sub_402A70': 'flag_stats_avx2_naive_counter'}
51e6fb24e7fcc0e38ee69e46da52a713c8f06e5a50757c5ec1f59f288bb13d70_51e6fb24e7fcc0e38ee69e46da52a713c8f06e5a50757c5ec1f59f288bb13d70.jsonl.gz
sub_403E7B
Help user generate meaningful names for variables and functions in the following code snippet.
_QWORD *sub_403E7B() { return sub_402A79(&off_41C260); } Q:[sub_403E7B,]
A:{'sub_403E7B': '_register_tls_basic_base_base'}
1f521185abebe790038be8fb8b4eb165b2fd6d5af5b82a99f02d98f6827de627_1f521185abebe790038be8fb8b4eb165b2fd6d5af5b82a99f02d98f6827de627.jsonl.gz
sub_41265E
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_41265E(__int64 a1) { __int64 result; // rax if ( a1 ) result = qword_4CD290(a1); else result = 0LL; return result; } Q:[a1,sub_41265E,]
A:{'a1': 'p', 'sub_41265E': 'sqlite3_mutex_try'}
89a56c46f037f898ed5be52119007206f2226613e013c90a587db00e358dc334_89a56c46f037f898ed5be52119007206f2226613e013c90a587db00e358dc334.jsonl.gz
sub_4074BE
Help user generate meaningful names for variables and functions in the following code snippet.
int __fastcall sub_4074BE(int a1) { int result; // eax if ( a1 <= 1 ) result = sub_407180(1); else result = sub_403B73((__int64)off_442920[0]); return result; } Q:[a1,sub_4074BE,sub_407180,sub_403B73,]
A:{'a1': 'argcp', 'sub_4074BE': 'cmd_pasv', 'sub_407180': 'discover', 'sub_403B73': 'resp_mgmt'}
6e348e984bd63ac982d83dafa4e61fb9925c759b418264e141a667eb3a0dba17_6e348e984bd63ac982d83dafa4e61fb9925c759b418264e141a667eb3a0dba17.jsonl.gz
sub_4AC582
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_4AC582(__int64 a1, __int64 a2, unsigned int *a3) { __int64 result; // rax *(_QWORD *)(a1 + 320) = sub_4B11EE(a1, a2, *a3); if ( *(_DWORD *)(a1 + 304) ) { if ( *(_DWORD *)(a1 + 304) != 2 ) { XtWarning(); *(_QWORD *)(a1 + 312) = sub_4B29E0(a1, a2, *a3); } } else { *(_QWORD *)(a1 + 312) = sub_4B29E0(a1, a2, *a3); } sub_4A64B2(a1); result = *(_QWORD *)(a1 + 336); if ( result > 1 ) { result = *(_DWORD *)(a1 + 632) & 0xFFFFFFFE; *(_DWORD *)(a1 + 632) = result; } return result; } Q:[a3,a1,a2,sub_4AC582,sub_4B11EE,sub_4B29E0,sub_4A64B2,]
A:{'a3': 'num_args', 'a1': 'widget', 'a2': 'args', 'sub_4AC582': 'InitializeHook', 'sub_4B11EE': 'XwAsciiSinkCreate', 'sub_4B29E0': 'XwStringSourceCreate', 'sub_4A64B2': 'ForceBuildLineTable'}
44e8aed08fe933b793e356a871e8f31cdd3a534e9dca1fb63610d519aee2b0ea_44e8aed08fe933b793e356a871e8f31cdd3a534e9dca1fb63610d519aee2b0ea.jsonl.gz
sub_419050
Help user generate meaningful names for variables and functions in the following code snippet.
void __fastcall sub_419050(_QWORD *a1) { _QWORD *v2; // rdi _QWORD *v3; // rdi sub_425F00(a1[11]); v2 = (_QWORD *)a1[7]; if ( v2 != a1 + 9 ) operator delete(v2); v3 = (_QWORD *)a1[3]; if ( v3 != a1 + 5 ) operator delete(v3); } Q:[a1,sub_419050,sub_425F00,]
A:{'a1': 'this', 'sub_419050': '~QPBuffers', 'sub_425F00': 'AL_RoiMngr_Destroy'}
e21ee1127331112975520015498a17d58c54789e99022cdbe64ddc7645b5d66c_e21ee1127331112975520015498a17d58c54789e99022cdbe64ddc7645b5d66c.jsonl.gz
sub_41B46A
Help user generate meaningful names for variables and functions in the following code snippet.
__int64 __fastcall sub_41B46A(__int64 a1, unsigned __int8 *a2, __int64 a3) { signed __int32 v3; // ecx unsigned __int8 v4; // al int v5; // ebx unsigned __int8 v6; // al char v7; // dl unsigned __int8 v8; // al __int64 v11; // [rsp+88h] [rbp-18h] v11 = *(_QWORD *)(a1 + 16); v3 = _InterlockedCompareExchange((volatile signed __int32 *)(v11 + 1136), 1, 0); if ( !v3 ) *(_QWORD *)(v11 + 1144) = "src/devices/ata.c@524"; if ( v3 ) sub_408136(v11 + 1136, (__int64)"src/devices/ata.c@524"); if ( !a3 ) { v4 = sub_418D3B(a2); v5 = *(unsigned __int8 *)(v11 + 1152); *(_BYTE *)(v11 + 552LL * v5 + 32) = sub_418C7B(v4, 1); v6 = sub_418D3B(a2); v7 = sub_418C7B(v6, 7) ? 8 : 0; *(_BYTE *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 31) = v7; v8 = sub_418D3B(a2); if ( sub_418C7B(v8, 2) ) { *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 16) = 0; *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 20) = 1; *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 24) = 0; *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 22) = 0; *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 18) = 1; *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 26) = 0; if ( *(_QWORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152)) ) { *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 28) = 1; *(_BYTE *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 30) = 80; } else { *(_WORD *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 28) = 0; *(_BYTE *)(v11 + 552LL * *(unsigned __int8 *)(v11 + 1152) + 30) = 0; } } } if ( (unsigned int)_InterlockedExchange((volatile __int32 *)(v11 + 1136), 0) > 1 ) sub_40845C(v11 + 1136); return 1LL; } Q:[a3,a1,a2,v11,sub_41B46A,sub_408136,sub_418D3B,sub_418C7B,sub_40845C,]
A:{'a3': 'offset', 'a1': 'device', 'a2': 'data', 'v11': 'ata', 'sub_41B46A': 'ata_ctl_mmio_write_handler', 'sub_408136': 'spin_lock_wait', 'sub_418D3B': 'read_uint8_1', 'sub_418C7B': 'bit_check_0', 'sub_40845C': 'spin_lock_wake'}
4e2ed58c720e8aef868433e557653493d44ce04bc42cc70b66578c0c40135f18_4e2ed58c720e8aef868433e557653493d44ce04bc42cc70b66578c0c40135f18.jsonl.gz
sub_403AFC
Help user generate meaningful names for variables and functions in the following code snippet.
int sub_403AFC() { return remove(template); } Q:[sub_403AFC,]
A:{'sub_403AFC': 'unlink_tempfile'}
ed44ca9dcc1242045d57739612f7f576c6fb3ac81cc29b7aa045231f88565267_ed44ca9dcc1242045d57739612f7f576c6fb3ac81cc29b7aa045231f88565267.jsonl.gz
sub_4210F0
Help user generate meaningful names for variables and functions in the following code snippet.
void __fastcall sub_4210F0(__int64 a1, unsigned int a2) { _QWORD *v2; // rbp _QWORD *v3; // rbx __int64 v4; // rdi void (*v5)(); // rax v2 = (_QWORD *)(a1 + 1248); v3 = *(_QWORD **)(a1 + 1248); if ( v3 != (_QWORD *)(a1 + 1248) ) { do { while ( 1 ) { v4 = v3[2]; v5 = *(void (**)())(*(_QWORD *)v4 + 48LL); if ( v5 != nullsub_3 ) break; v3 = (_QWORD *)*v3; if ( v3 == v2 ) return; } ((void (__fastcall *)(__int64, _QWORD))v5)(v4, a2); v3 = (_QWORD *)*v3; } while ( v3 != v2 ); } } Q:[a1,a2,sub_4210F0,]
A:{'a1': 'this', 'a2': 'iThreadId', 'sub_4210F0': 'ThreadEnd'}