joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001baab
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x10281635], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x1001bccc
mov ecx, dword [0x102472a8]
mov eax, dword [0x102815e0]
cmp ecx, 3
ja case.0x1001ba92.0
jmp dword [ecx*4 + 0x1001bcd0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1001baca
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1001baca
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1001bccc
mov edi, dword [0x10281360]
test edi, edi
je 0x1001bccc
mov eax, dword [0x1028135c]
test eax, eax
jne 0x1001bb17
mov edx, 0xe80c2f78
mov ecx, 0x10219689
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195b1
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x1028135c], eax
cmp dword [eax + edi], 0
jle 0x1001bccc
call fcn.1000b770
cmp eax, 9
je 0x1001bccc
cmp eax, 8
je 0x1001bccc
cmp byte [0x102496a5], 0
je 0x1001bccc
mov eax, dword [0x1028159c]
mov ecx, dword [0x1024b2f0]
mov esi, dword [eax + 0x1c]
mov eax, dword fs:[0x2c]
dec esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10286fd0]
cmp eax, dword [ecx + 4]
jle 0x1001bba1
push 0x10286fd0
call fcn.1018b6e4
add esp, 4
cmp dword [0x10286fd0], 0xffffffff
jne 0x1001bba1
mov edx, str.55_8B_EC_8B_4D___56_E8_________8B_75
mov ecx, str.client.dll
call fcn.10007f00
push 0x10286fd0
mov dword [0x10286fd4], eax
call fcn.1018b693
add esp, 4
push esi
push 0
call dword [0x10286fd4]
cmp byte [0x102496a4], 0
jne 0x1001bc40
mov eax, dword [0x102496ac]
cmp eax, dword [ebx + 8]
jge 0x1001bbf1
cmp byte [0x102815e9], 0
je 0x1001bbe6
cmp byte [0x10286f5b], 0
jne 0x1001bbe6
push str._gravity___print_pixelbug
push dword [0x102813dc]
call fcn.1000b720
add esp, 8
mov byte [0x102496a4], 1
mov al, 1
jmp 0x1001bbf3
xor al, al
mov byte [0x10281674], al
lea edx, [ebx + 0x30]
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x30]
mov dword [edx], eax
mov ecx, dword [0x102496b4]
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x2c], eax
jmp 0x1001bc43
lea edx, [ebx + 0x30]
cmp byte [0x102496a6], 0
mov eax, dword [edx]
je 0x1001bc53
or eax, 4
jmp 0x1001bc56
and eax, 0xfffffffb
mov dword [edx], eax
cmp byte [0x102496a4], 0
je 0x1001bccc
mov eax, dword [0x102813d8]
mov edi, dword [0x10281360]
test eax, eax
jne 0x1001bc9e
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
movss xmm0, dword [eax + edi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10240958]
lahf
test ah, 0x44
jnp 0x1001bccc
mov byte [0x10286f5e], 0
mov byte [0x10281674], 0
mov word [0x102496a4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x1001baba
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [0x10281635], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x1001bccc
mov ecx, dword [0x102472a8]
mov eax, dword [0x102815e0]
cmp ecx, 3
ja case.0x1001ba92.0
jmp dword [ecx*4 + 0x1001bcd0]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x1001baca
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x1001baca
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x1001bccc
mov edi, dword [0x10281360]
test edi, edi
je 0x1001bccc
mov eax, dword [0x1028135c]
test eax, eax
jne 0x1001bb17
mov edx, 0xe80c2f78
mov ecx, 0x10219689
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195b1
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x1028135c], eax
cmp dword [eax + edi], 0
jle 0x1001bccc
call fcn.1000b770
cmp eax, 9
je 0x1001bccc
cmp eax, 8
je 0x1001bccc
cmp byte [0x102496a5], 0
je 0x1001bccc
mov eax, dword [0x1028159c]
mov ecx, dword [0x1024b2f0]
mov esi, dword [eax + 0x1c]
mov eax, dword fs:[0x2c]
dec esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10286fd0]
cmp eax, dword [ecx + 4]
jle 0x1001bba1
push 0x10286fd0
call fcn.1018b6e4
add esp, 4
cmp dword [0x10286fd0], 0xffffffff
jne 0x1001bba1
mov edx, str.55_8B_EC_8B_4D___56_E8_________8B_75
mov ecx, str.client.dll
call fcn.10007f00
push 0x10286fd0
mov dword [0x10286fd4], eax
call fcn.1018b693
add esp, 4
push esi
push 0
call dword [0x10286fd4]
cmp byte [0x102496a4], 0
jne 0x1001bc40
mov eax, dword [0x102496ac]
cmp eax, dword [ebx + 8]
jge 0x1001bbf1
cmp byte [0x102815e9], 0
je 0x1001bbe6
cmp byte [0x10286f5b], 0
jne 0x1001bbe6
push str._gravity___print_pixelbug
push dword [0x102813dc]
call fcn.1000b720
add esp, 8
mov byte [0x102496a4], 1
mov al, 1
jmp 0x1001bbf3
xor al, al
mov byte [0x10281674], al
lea edx, [ebx + 0x30]
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x30]
mov dword [edx], eax
mov ecx, dword [0x102496b4]
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [0x102496b4]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x2c], eax
jmp 0x1001bc43
lea edx, [ebx + 0x30]
cmp byte [0x102496a6], 0
mov eax, dword [edx]
je 0x1001bc53
or eax, 4
jmp 0x1001bc56
and eax, 0xfffffffb
mov dword [edx], eax
cmp byte [0x102496a4], 0
je 0x1001bccc
mov eax, dword [0x102813d8]
mov edi, dword [0x10281360]
test eax, eax
jne 0x1001bc9e
mov edx, 0xe80c2f78
mov ecx, 0x10219945
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195d9
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x102813d8], eax
movss xmm0, dword [eax + edi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10240958]
lahf
test ah, 0x44
jnp 0x1001bccc
mov byte [0x10286f5e], 0
mov byte [0x10281674], 0
mov word [0x102496a4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x10026440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1002646c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10026494
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1002649a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10026502
jg 0x100264b1
test esi, esi
je 0x10026502
test ecx, ecx
jl 0x100264fd
jg 0x100264bb
test eax, eax
je 0x100264fd
cmp edi, ecx
jg 0x100264cf
jl 0x100264c5
cmp esi, eax
jae 0x100264cf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10026505
mov ecx, dword [ebp + 8]
jmp 0x1002650f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10026529
jg 0x1002650f
test esi, esi
je 0x10026529
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10026529
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10026540
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x10026561
jl 0x10026557
test esi, esi
jne 0x10026561
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10026579
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edx, dword [eax]
mov edi, esi
test edx, edx
je 0x100265c0
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x100265c7
cmp eax, dword [esp + 0x1c]
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x100265c7
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x10026636
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100265f1
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10026624
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call eax
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10026636
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10026600
test edi, edi
je 0x10026636
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call eax
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x100269b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100269ca
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x100269f2
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx]
add ecx, eax
cmp eax, ecx
jae 0x100269f2
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x10026ac2
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10026a1b
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10026a27
movsx eax, bl
jmp 0x10026a67
lea eax, [esp + 0x38]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10026a87
sub eax, 1
je 0x10026a87
sub eax, 2
jne 0x10026ac2
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
sub edi, eax
je 0x10026aa7
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10026ac2
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x10], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 4
Function at 0x10026f20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10026fb2
cmp byte [esi + 0x3d], 0
je 0x10026fb2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10026faa
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10026f79
sub eax, 1
je 0x10026f7d
sub eax, 2
jne 0x10026faa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x10026f9d
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10026faa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov al, 1
pop esi
add esp, 0x24
ret
Function at 0x10030da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ebx
push esi
push edi
cmp ecx, eax
je 0x10030f01
mov eax, dword [ebx + 4]
mov esi, ecx
mov edi, dword [ecx + 0xc]
mov edx, 0x811c9dc5
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
xor ecx, ecx
test edi, edi
je 0x10030e05
mov ebx, eax
nop word [eax + eax]
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10030df0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x18]
and eax, edx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.1018b662
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x24]
je 0x10030e69
cmp esi, dword [ebp + 0xc]
jne 0x10030e22
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10030ef5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x10030e7e
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x10030e82
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, dword [ebp + 0xc]
je 0x10030ef5
nop word [eax + eax]
mov edi, dword [esi + 0xc]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10030eb6
mov ebx, dword [esi + 8]
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10030ea1
mov ebx, dword [esp + 0x14]
and edx, dword [ebx + 0x18]
mov eax, dword [esp + 0x18]
lea eax, [eax + edx*8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
nop dword [eax + eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.1018b662
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x24]
je 0x10030f0a
cmp esi, dword [ebp + 0xc]
jne 0x10030ed0
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp esi, dword [ebp + 0xc]
jne 0x10030e90
mov eax, dword [esp + 0x20]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10035590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [ebp + 0xc]
sub esp, 0x34
mov edx, dword [eax + 4]
push ebx
push esi
mov ebx, ecx
mov esi, 0x811c9dc5
xor ecx, ecx
push edi
mov edi, dword [eax]
test edx, edx
je 0x100355c5
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100355b1
mov eax, dword [ebp + 0xc]
push esi
push eax
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.10036e00
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100355ff
mov eax, dword [ebp + 0x10]
movq xmm0, qword [eax]
movq qword [ecx + 0x10], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 8], 0x9249249
jne 0x10035613
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push 0x1c
call fcn.1018b313
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
movq xmm0, qword [eax]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10240be0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10240be0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100356f1
divss xmm2, xmm3
sub esp, 8
movss dword [esp + 0x40], xmm2
fld dword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
call fcn.1018c740
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100356d4
cmp eax, 0x200
jae 0x100356d2
shl eax, 3
cmp eax, ecx
jae 0x100356d4
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10036c40
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10036e00
mov edx, dword [eax]
jmp 0x100356f5
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1003571e
mov dword [ecx + eax*8], edi
jmp 0x10035741
cmp esi, edx
jne 0x10035737
mov dword [ecx + eax*8], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0x38]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10035745
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10036c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [esp + 0x18], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
jbe 0x10036c75
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edx - 1]
or eax, 1
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x14], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10031120
mov ecx, dword [esp + 0x10]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x10036da2
mov eax, dword [eax]
xor edx, edx
mov ebx, 0x811c9dc5
mov dword [esp + 0x14], eax
cmp dword [edi + 0xc], edx
jbe 0x10036cde
mov ecx, dword [edi + 8]
movzx esi, byte [ecx + edx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, dword [edi + 0xc]
jb 0x10036cc8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
and ebx, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea edx, [edx + ebx*8]
mov dword [esp + 0x18], edx
cmp dword [edx], ecx
jne 0x10036cfd
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10036d98
mov esi, dword [edx + 4]
mov ebx, dword [edi + 0xc]
mov edx, ebx
mov ecx, dword [edi + 8]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10014090
add esp, 8
test al, al
je 0x10036d45
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
cmp ecx, edi
je 0x10036d3c
mov ebx, dword [edi + 4]
mov dword [ebx], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], edi
mov dword [ecx + 4], esi
mov dword [eax + 4], ebx
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], edi
jmp 0x10036d94
mov eax, dword [esp + 0x18]
cmp dword [eax], esi
je 0x10036d72
nop dword [eax]
mov esi, dword [esi + 4]
mov edx, ebx
mov ecx, dword [edi + 8]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10014090
add esp, 8
test al, al
jne 0x10036dab
mov eax, dword [esp + 0x18]
cmp dword [eax], esi
jne 0x10036d50
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov dword [esi + 4], edx
mov dword [eax + 4], ebx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jne 0x10036cb3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x10036d94
Function at 0x10036ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov ebx, dword [eax + 8]
mov dword [esp + 0xc], ecx
test edi, edi
je 0x10036ed3
movzx ecx, byte [ebx + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, edi
jb 0x10036ec2
mov ebx, dword [esp + 0xc]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and edx, esi
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x10036f01
cmp esi, eax
jne 0x10036ef8
mov eax, dword [ebx + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x10036f0a
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x10036f0a
cmp esi, eax
jne 0x10036f0d
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
dec dword [ebx + 8]
mov ecx, dword [eax + 4]
push 0x1c
mov dword [ecx], esi
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push dword [ebp + 0xc]
call fcn.1018b662
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8