joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002590
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10101040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc], ecx
mov al, byte [esi]
cmp al, 0xe9
je 0x100025b8
cmp al, 0xe8
jne 0x1000261e
mov dword [ebx + 0x18], ecx
mov ecx, esi
mov dword [ebx + 0x1c], esi
call fcn.1004bd30
mov al, byte [esi]
xor edi, edi
cmp al, 0xe8
je 0x100025dc
cmp al, 0xe9
je 0x100025dc
cmp al, 0xff
jne 0x100025e4
mov eax, dword [esi + 2]
mov edi, dword [eax]
jmp 0x100025e4
mov edi, dword [esi + 1]
lea eax, [esi + 5]
add edi, eax
mov ecx, esi
call fcn.1004bda0
lea eax, [ebp - 8]
mov dword [ebx + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 5
push esi
call edi
mov eax, dword [esi]
mov dword [ebx], eax
mov al, byte [esi + 4]
mov byte [ebx + 4], al
mov eax, dword [ebp - 0xc]
push 0
push dword [ebp - 8]
sub eax, esi
push 5
sub eax, 5
push esi
mov dword [esi + 1], eax
call edi
push 5
lea edi, [ebx + 0x10]
call fcn.1006429d
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call ebx
mov ecx, dword [edi]
mov dword [esi], ecx
mov cl, byte [edi + 4]
mov byte [esi + 4], cl
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [edi], eax
mov al, byte [ecx + 4]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006399c
mov esp, ebp
pop ebp
ret 8

Function at 0x10002680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10101040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
cmp dword [ebx + 0x24], 2
je 0x100026f4
mov ebx, dword [ebx + 0x1c]
push esi
push 5
call fcn.1006429d
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebx]
mov dword [esi], ecx
movzx eax, byte [ebx + 4]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 4], al
mov eax, dword [ecx]
mov dword [ebx], eax
movzx eax, byte [ecx + 4]
mov byte [ebx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006399c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x1000270d
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x1000270d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006399c
mov esp, ebp
pop ebp
ret
Function at 0x10003700
Capabilities:
Get geographical location
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10101040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10103540]
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 0x100038cb
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100038cb
push 0x38
call fcn.10072637
mov esi, dword [0x10103540]
add esp, 4
mov edi, eax
test esi, esi
je 0x100037a2
movsx edx, word [esi + 0x5fa4]
lea eax, [esi + 0x5fa8]
mov ecx, dword [esi + 0x3fe0]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x10003798
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5f9c]
test edi, edi
je 0x100037b5
push 0x38
push 0
push edi
call fcn.10065d90
add esp, 0xc
jmp 0x100037b7
xor edi, edi
or dword [ebx + 0xc], 0xc06
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x70], str.imgui_impl_win32
mov dword [edi], eax
mov byte [edi + 0x28], 1
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 0x100037f9
mov esi, dword [esi + 0x78]
jmp 0x100037fb
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 0x1000381e
mov dword [esi], eax
mov eax, dword [0x10103540]
mov eax, dword [eax + 0x4ae8]
mov ecx, dword [eax]
mov eax, dword [edi]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x3c], eax
test dword [ebx + 8], 0x400
je 0x10003841
call fcn.100065d0
mov byte [edi + 0x2a], 1
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 dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
nop word [eax + eax]
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x10003899
inc esi
cmp esi, 5
jl 0x10003870
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006399c
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.1006399c
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.1006399c
mov esp, ebp
pop ebp
ret
Function at 0x10006ce0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a2d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x10101040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x48
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 fcn.10065d90
lea edi, [esi + 0x80]
mov dword [esi + 0x5c], 0
lea eax, [edi + 0x10]
mov dword [esi + 0x60], 0
mov dword [ebp - 0x14], edi
add esp, 0xc
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 0x10006dff
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.1002bd30
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
or eax, 0xffffffff
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 + 0xc4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc8], 0
movups xmmword [esi + 0xb8], xmm0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x70], 0xffffffff
mov word [esi + 0x6e], ax
mov eax, esi
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x58], 0
mov dword [esi + 0x68], 0x3f800000
mov dword [esi + 0x64], 0x3f800000
mov byte [esi + 0x6c], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0xdc], 0x7f7fffff
mov dword [esi + 0xe0], 0x7f7fffff
mov dword [esi + 0xd4], 0x7f7fffff
mov dword [esi + 0xd8], 0x7f7fffff
mov dword [esi + 0xcc], 0x7f7fffff
mov dword [esi + 0xd0], 0x7f7fffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10009540
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 0x100095a1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10009584
cmp edi, 2
jb 0x10009584
cmp byte [esi], cl
jne 0x10009584
cmp byte [esi + 1], cl
jne 0x10009584
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f45f8]
jmp 0x10009555
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100f45f8]
test edi, edi
jne 0x10009555
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100095d0
cmp cl, 0x23
jne 0x100095b7
cmp byte [esi], cl
jne 0x100095b7
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 + 0x100f45f8]
test cl, cl
jne 0x100095a8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10009680
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 0x10009693
mov dword [ebx], 0
mov edx, 0x100f39a8
call fcn.100095e0
mov esi, eax
test esi, esi
je 0x100097ab
push esi
call fcn.100698a7
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100097a2
push 2
push 0
push esi
call fcn.1006a23c
add esp, 0xc
test eax, eax
jne 0x100097a2
push esi
call fcn.100698a7
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100097a2
push 0
push dword [ebp + 8]
push esi
call fcn.1006a23c
add esp, 0xc
test eax, eax
jne 0x100097a2
mov ecx, edi
call fcn.1000d2d0
mov dword [ebp + 8], eax
test eax, eax
je 0x100097a2
push esi
push edi
push 1
push eax
call fcn.1006dad8
add esp, 0x10
push esi
cmp eax, edi
je 0x1000978c
call fcn.10069ef7
mov ecx, dword [0x10103540]
add esp, 4
test ecx, ecx
je 0x1000977a
movsx edx, word [ecx + 0x5fa4]
lea eax, [ecx + 0x5fa8]
mov esi, dword [ecx + 0x3fe0]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x10009770
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push dword [ebp + 8]
call fcn.1006d8d7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10069ef7
add esp, 4
test ebx, ebx
je 0x1000979a
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10069ef7
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1000ca70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10101040]
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 + 0x11c]
mov ebx, dword [edi + 0x124]
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 + 0x100f45f8]
sub esi, 1
jne 0x1000cab0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x4098], ebx
jne 0x1000cae7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1002afa0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006399c
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10101040]
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 + 0x138]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x13c]
subss xmm0, xmm1
mov ecx, dword [edx + 0x11c]
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 + 0x124]
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 + 0x100f45f8]
sub edi, 1
jne 0x1000cb80
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.1006399c
mov esp, ebp
pop ebp
ret 4
Function at 0x1001fa30
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 [0x10103540]
test bl, bl
je 0x1001fa76
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001fa57
cmp byte [esi], bl
jne 0x1001fa57
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 + 0x100f45f8]
test bl, bl
jne 0x1001fa48
mov edi, dword [0x10103540]
mov ecx, dword [edi + 0x5ea8]
not eax
mov edx, dword [edi + 0x5eb0]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001fa9d
cmp dword [edx + 4], eax
je 0x1001faa0
add edx, 0x24
cmp edx, ecx
jne 0x1001fa91
xor eax, eax
ret
mov eax, edx
ret
Function at 0x1004b060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x1004b1cd
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10001df0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x1004b1a8
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
jb 0x1004b0e1
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x1004b10a
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x1004b0f3
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x1004b126
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1004b19e
mov ebx, dword [ecx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.1004b480
test al, al
je 0x1004b15e
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1004b156
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x1004b19b
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x1004b17e
mov ebx, dword [ebx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.1004b480
test al, al
jne 0x1004b1b1
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x1004b165
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x1004b0c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x1004b19b
push str.invalid_hash_bucket_count
call fcn.1004eab0
int3
Function at 0x1004bd30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x10101040]
xor eax, esp
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
mov dword [esp + 8], ecx
push eax
lea eax, [esp + 4]
push eax
call fcn.1004bfb0
mov eax, dword [eax]
mov dword [eax + 0x10], 5
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
call fcn.1004bfb0
mov eax, dword [eax]
add eax, 0xc
push eax
push 0x40
push 5
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1006399c
mov esp, ebp
pop ebp
ret
Function at 0x1004bfb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008acd5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10101040]
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 - 0x20], 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 - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.1004c370
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1004c033
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1004c194
cmp dword [0x10103568], 0xccccccc
je 0x1004c1aa
mov dword [ebp - 0x28], 0x10103564
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x24], 0
call fcn.100639aa
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [0x10103568]
mov ebx, dword [0x1010357c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f9370]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f9370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10103560]
comiss xmm1, xmm0
jbe 0x1004c143
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10073c30
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10064980
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1004c123
cmp ebx, 0x200
jae 0x1004c121
shl ebx, 3
cmp ebx, ecx
jae 0x1004c123
mov ebx, ecx
push ebx
call fcn.1004c1f0
push dword [ebp - 0x1c]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004c370
mov ecx, dword [0x10103568]
mov edx, dword [eax]
jmp 0x1004c146
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x10103568], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x10103578]
and eax, dword [ebp - 0x1c]
mov ecx, dword [0x1010356c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x10103564]
jne 0x1004c178
mov dword [ecx + eax*8], esi
jmp 0x1004c187
cmp edi, edx
jne 0x1004c181
mov dword [ecx + eax*8], esi
jmp 0x1004c18b
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1004c18b
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
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
push str.unordered_map_set_too_long
call fcn.1004eab0
int3
Function at 0x1004c1f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1004c35d
lea eax, [ecx - 1]
mov esi, dword [0x10103564]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1010356c
lea eax, [edi + edi]
push eax
call fcn.10001df0
mov eax, dword [0x10103564]
lea ebx, [edi - 1]
mov dword [0x10103578], ebx
mov dword [0x1010357c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1004c354
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x1010356c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x1004c2b2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1004c31f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1004c2ec
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1004c2e4
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x1004c31f
cmp ebx, edx
je 0x1004c2fc
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1004c330
cmp ebx, edx
jne 0x1004c2f0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1004c354
mov ebx, dword [0x10103578]
jmp 0x1004c260
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1004c31f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1004eab0
int3