joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000dcbc
cmp byte [esi + 0x3d], 0
je 0x1000dcbc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000dcaa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
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 0x1000dc71
sub eax, 1
je 0x1000dc75
sub eax, 2
jne 0x1000dcaa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000dc93
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 0x1000dcaa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
Function at 0x10011820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e8e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100b1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x2c
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x3c]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10011918
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1002d910
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100144c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10014521
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10014504
cmp edi, 2
jb 0x10014504
cmp byte [esi], cl
jne 0x10014504
cmp byte [esi + 1], cl
jne 0x10014504
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0320]
jmp 0x100144d5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0320]
test edi, edi
jne 0x100144d5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10014550
cmp cl, 0x23
jne 0x10014537
cmp byte [esi], cl
jne 0x10014537
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100a0320]
test cl, cl
jne 0x10014528
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100146e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100146f3
mov dword [ebx], 0
mov edx, 0x1009fef0
call fcn.10014560
mov esi, eax
test esi, esi
je 0x10014812
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10014808
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10014808
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10014808
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10014808
mov ecx, edi
call fcn.10018dc0
mov dword [ebp + 8], eax
test eax, eax
je 0x10014808
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x100147f1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x100b2110]
add esp, 4
test ecx, ecx
je 0x100147de
movsx edx, word [ecx + 0x5ee4]
lea eax, [ecx + 0x5ee8]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x100147d4
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5ee4], ax
cwde
add eax, 0xbdd
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee0]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10014800
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1001c300
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1001c33d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001c323
cmp byte [esi], bl
jne 0x1001c323
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x100a0320]
test bl, bl
jne 0x1001c314
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1001c2a0

Function at 0x10022460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100a0320]
sub esi, 1
jne 0x100224a0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x100224d7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1002ccd0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c18b
mov esp, ebp
pop ebp
ret 4

Function at 0x100224f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a0320]
sub edi, 1
jne 0x10022570
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.1007c18b
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5e2c], 0
lea esi, [edi + 0x5e30]
je 0x1002b762
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002b71c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002dd00
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10014d30
mov edx, dword [esi]
mov ecx, 0x100b210c
push dword [edi + 0x5e2c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e38]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10014d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002bb70
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100b2110]
test bl, bl
je 0x1002bbb6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1002bb97
cmp byte [esi], bl
jne 0x1002bb97
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x100a0320]
test bl, bl
jne 0x1002bb88
mov edi, dword [0x100b2110]
mov ecx, dword [edi + 0x5dd0]
not eax
mov edx, dword [edi + 0x5dd8]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1002bbdd
cmp dword [edx + 4], eax
je 0x1002bbe0
add edx, 0x24
cmp edx, ecx
jne 0x1002bbd1
xor eax, eax
ret
mov eax, edx
ret
Function at 0x1003f780
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100b1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x100b2110]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1003f92c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1003f92c
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x100b2110]
add esp, 4
mov edi, eax
test esi, esi
je 0x1003f823
movsx edx, word [esi + 0x5ee4]
lea eax, [esi + 0x5ee8]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x1003f819
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ee4], ax
cwde
add eax, 0xbdd
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5edc]
test edi, edi
je 0x1003f836
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1003f838
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x1003f873
mov esi, dword [esi + 0x74]
jmp 0x1003f875
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1003f898
mov dword [esi], eax
mov eax, dword [0x100b2110]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a34]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1003f8fa
inc esi
cmp esi, 5
jl 0x1003f8d1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
Function at 0x1004e7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1004e8d0
Function at 0x10058320
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push ecx
mov edi, edx
call fcn.100441b0
movss xmm1, dword [0x100ab1ec]
add esp, 4
xorps xmm0, xmm0
call fcn.10024fd0
cmp byte [edi + 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
je 0x1005835f
mov ecx, str.Press_any_key...
jmp 0x100583cc
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
jne 0x1005836e
mov ecx, str.None
jmp 0x100583cc
lea ecx, [eax - 1]
cmp ecx, 5
ja case.0x10058376.3
jmp dword [ecx*4 + 0x10058458]
mov ecx, str.Left_Mouse_Button
jmp 0x100583cc
mov ecx, str.Right_Mouse_Button
jmp 0x100583cc
mov ecx, str.Middle_Mouse_Button
jmp 0x100583cc
mov ecx, str.Mouse_Button_4
jmp 0x100583cc
mov ecx, str.Mouse_Button_5
jmp 0x100583cc
push 0x80
push 0x100b26f0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
mov ecx, 0x100b26f0
mov edx, str.Unknown
cmove ecx, edx
push ecx
lea edx, [ebp - 8]
call fcn.10044a50
add esp, 4
test al, al
je 0x100583ef
cmp byte [edi + 4], 0
jne 0x100583ef
mov al, 1
mov byte [edi + 4], 1
mov byte [0x100b24c8], al
jmp 0x100583f4
mov al, byte [0x100b24c8]
cmp byte [edi + 4], 0
je 0x10058451
test al, al
je 0x10058444
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 1
nop dword [eax]
push esi
call ebx
test ax, ax
js 0x10058435
inc esi
cmp esi, 0xfe
jle 0x10058410
push str.Press_any_key...
call fcn.100441b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov byte [0x100b24c8], 0
mov dword [eax], esi
mov byte [edi + 4], 0
push str.Press_any_key...
call fcn.100441b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005e410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, 0x811c9dc5
cmp dword [0x100b121c], 0xf
push esi
mov esi, 0x100b1208
cmova esi, dword [0x100b1208]
xor ecx, ecx
push edi
mov edi, dword [0x100b1218]
test edi, edi
je 0x1005e451
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1005e440
push edx
push 0x100b1208
lea eax, [ebp - 8]
push eax
call fcn.1005ee20
mov ecx, dword [0x100b1544]
pop edi
pop esi
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005e480
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f225
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1005edb0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005e503
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1005e64e
cmp dword [0x100b22a4], 0xaaaaaaa
jne 0x1005e51a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x24], 0x100b22a0
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x20], 0
call fcn.1007c199
mov ecx, dword [ebx]
mov esi, eax
lea edi, [esi + 8]
xorps xmm0, xmm0
mov dword [edi], ecx
add esp, 4
movq qword [edi + 4], xmm0
mov dword [ebp - 0x20], esi
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100b22a4]
mov ebx, dword [0x100b22b8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ab6a0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x100ab6a0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x100b229c]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1005e5fd
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.1002eb80
call fcn.1007d440
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1005e5e0
cmp ebx, 0x200
jae 0x1005e5de
shl ebx, 3
cmp ebx, ecx
jae 0x1005e5e0
mov ebx, ecx
push ebx
call fcn.1005ea50
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.1005edb0
mov ecx, dword [0x100b22a4]
mov edx, dword [eax]
jmp 0x1005e600
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x100b22a4], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x100b22b4]
and eax, dword [ebp - 0x10]
mov ecx, dword [0x100b22a8]
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x100b22a0]
jne 0x1005e632
mov dword [ecx + eax*8], esi
jmp 0x1005e641
cmp edi, edx
jne 0x1005e63b
mov dword [ecx + eax*8], esi
jmp 0x1005e645
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1005e645
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x14]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005e670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f265
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100b1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x100b121c], 0xf
mov edx, 0x100b1208
mov edi, dword [0x100b1218]
mov esi, 0x811c9dc5
cmova edx, dword [0x100b1208]
xor ecx, ecx
mov ebx, dword [ebp + 8]
test edi, edi
je 0x1005e6d1
nop
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1005e6c0
push esi
push 0x100b1208
lea eax, [ebp - 0x14]
push eax
call fcn.1005ee20
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1005e6f2
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1005e843
cmp dword [0x100b1548], 0x71c71c7
jne 0x1005e709
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x100b1544
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.1007c199
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea ecx, [edi + 8]
push 0x100b1208
call fcn.1000d930
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [0x100b1548]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ab6a0]
mov eax, dword [0x100b155c]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x100ab6a0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x100b1540]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1005e7f2
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.1002eb80
call fcn.1007d440
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x100b155c]
cmp eax, ecx
jae 0x1005e7ce
cmp eax, 0x200
jae 0x1005e7cc
shl eax, 3
cmp eax, ecx
jae 0x1005e7ce
mov eax, ecx
push eax
call fcn.1005ebc0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1005ee20
mov edx, dword [0x100b1548]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x1005e7f5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x100b1548], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x100b1558]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100b154c]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x100b1544]
jne 0x1005e827
mov dword [eax + esi*8], edi
jmp 0x1005e839
cmp edx, ecx
jne 0x1005e830
mov dword [eax + esi*8], edi
jmp 0x1005e83d
mov ecx, dword [ebp - 0x10]
cmp dword [eax + esi*8 + 4], ecx
jne 0x1005e83d
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8