joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d9420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x61c5f4]
xor edx, edx
cmp eax, edx
jne 0x4d9446
xor eax, eax
mov byte [eax + 0x61c4f4], al
inc eax
cmp eax, 0x100
jl 0x4d942e
mov dword [0x61c5f4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x61c4f4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d94d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d94aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d9478
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d9550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d95a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d958a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dff50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a5ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e0870
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x576d04
call fcn.00513e14
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4dffe3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00513e14
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4dffdc
push 0
mov ecx, eax
call fcn.004d7050
mov dword [esi + 0xc], eax
jmp 0x4dffe5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4dffe5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f0f5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4f107b
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4f105f
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4f0fb1
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4f0f8f
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x4f1ac3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4f1b1a
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4f1b1a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4f1b1a
xor eax, eax
inc eax
jmp 0x4f1b1c
xor eax, eax
leave
ret 0x10
Function at 0x4f1b45
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4f1bb3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x57aba4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f1baa
cmp dword [ebp - 0xc], 4
jne 0x4f1baa
cmp dword [ebp - 0x10], edi
je 0x4f1baa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5b7070], edi
xor eax, eax
jmp 0x4f1bf2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5b7070], edi
jge 0x4f1bed
lea eax, [ebp - 0x34]
push eax
mov dword [0x5b7070], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4f1bed
cmp word [ebp - 0x14], 5
jb 0x4f1bed
call fcn.004f1b20
test eax, eax
je 0x4f1bed
emms
mov dword [0x5b7070], 1
mov eax, dword [0x5b7070]
pop edi
leave
ret

Function at 0x51654a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x516582
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0051452e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00514506
jmp 0x51658e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x517dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x517e02
call fcn.0051e882
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x517e02
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x517df9
xor eax, eax
jmp 0x517e0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00517e10
pop edi
pop esi
pop ebx
ret 4

Function at 0x51edb2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x51ede0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51edfe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051ed18
jmp 0x51edfe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51edfe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051ed18
test edi, edi
mov eax, edi
jne 0x51ede8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5216cd
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x5216f5
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x521706
push 2
call edi
test ax, ax
jge 0x521706
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00515b80
cmp dword [esi + 0x30], ebx
jne 0x5217e0
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00515b80
cmp eax, dword [esp + 0x34]
jne 0x5217e0
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x52177c
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x5217c1
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x5217e0
cmp eax, 0x205
je 0x5217e0
cmp eax, 0x201
je 0x5217e0
cmp eax, 0x204
je 0x5217e0
cmp eax, ebx
jne 0x5217a7
cmp dword [esp + 0x1c], 0x1b
je 0x5217e0
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x630524]
jbe 0x5217d6
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x521739
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x10001c10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
jne 0x10001ca8
mov eax, dword [0x10052a44]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10052a38]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x10001d7b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x430], 0
jne 0x10001d03
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov ecx, 0x53f424
mov eax, dword [ecx]
mov dword [edi + 0x430], eax
mov ax, word [ecx + 4]
mov word [edi + 0x434], ax
mov al, byte [ecx + 6]
mov ecx, 0x90909090
mov byte [edi + 0x436], al
mov eax, 0x53f424
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
jmp 0x10001d3b
cmp byte [0x53f424], 0x90
je 0x10001d44
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, 0x53f424
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 7
push 0x53f424
call esi
cmp dword [ebp + 8], 2
mov eax, dword [0x10052a44]
jne 0x10001d6e
mov dword [edi + 0x42c], 2
pop edi
mov byte [eax], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x42c], 1
mov byte [eax], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4
Function at 0x10002b70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

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 0x1003ce2f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x10002bf4
mov ecx, edi
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jge 0x10002bf4
add ecx, edi
call fcn.10001290
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jl 0x10002be0
push 0x18
call fcn.1001b225
add esp, 4
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [eax], xmm0
push 1
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x10], esi
call fcn.1001b225
mov edx, dword [ebp - 0x2c]
mov ecx, eax
mov eax, esi
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp - 0x20]
add esp, 4
mov byte [ecx], al
mov dword [edx + 4], esi
mov esi, dword [ebx + 0x10]
mov dword [edx + 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edx], ecx
mov dword [edx + 0x14], esi
lea edx, [ebp - 0x18]
push edx
push 0x40
push eax
push ecx
call edi
mov esi, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.1001cc40
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x28]
call edi
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x14]
sub eax, 0
je 0x10002c90
sub eax, 1
je 0x10002c90
sub eax, 1
jne 0x10002c9d
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
call fcn.100145e0
jmp 0x10002c9d
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x24]
call fcn.10014820
mov ecx, dword [ebp - 0x34]
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0
push eax
call fcn.10003b40
mov eax, dword [eax]
mov dword [eax + 0x20], esi
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x10002cec
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ce2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002d0e
push ecx
push edx
call fcn.1001b25a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28
call fcn.10020319
int3
Function at 0x10002d20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce75
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10052024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10003780
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10002daa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10002ef4
cmp dword [ebx + 8], 0x4924924
je 0x10002f0a
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x28], 0
call fcn.1001b225
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004bfb0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1004bfb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10002ea7
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10038e50
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1003a600
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10002e89
cmp eax, 0x200
jae 0x10002e87
shl eax, 3
cmp eax, ecx
jae 0x10002e89
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10003430
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10003780
mov edx, dword [eax]
jmp 0x10002eaa
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10002ed5
mov dword [ecx + eax*8], esi
jmp 0x10002ee7
cmp ebx, edx
jne 0x10002ede
mov dword [ecx + eax*8], esi
jmp 0x10002eeb
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10002eeb
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
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.10019e71
int3
Function at 0x10003430
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1000358b
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002a70
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000355e
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x100034e4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10003551
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000351e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10003516
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 0x10003551
cmp ebx, edx
je 0x1000352e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10003567
cmp ebx, edx
jne 0x10003522
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 ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x10003492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 0x10003551
push str.invalid_hash_bucket_count
call fcn.10019e71
int3
Function at 0x10004220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x100042c8
cmp dword [edi + 0x42c], 2
jne 0x100042d1
mov eax, dword [0x10052a44]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10052a38]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x100042d1
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4
push 2
mov ecx, edi
call fcn.10001c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4

Function at 0x10004320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
cmp dword [eax], 0
jne 0x100043c8
cmp dword [edi + 0x42c], 1
jne 0x100043d1
mov eax, dword [0x10052a44]
mov dword [edi + 0x42c], 0
mov byte [eax], 0
mov eax, dword [0x10052a38]
mov dword [eax], 0
cmp byte [edi + 0x430], 0
je 0x100043d1
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x430]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0x434]
mov word [ecx + 4], ax
mov al, byte [edi + 0x436]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4
push 1
mov ecx, edi
call fcn.10001c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001b217
mov esp, ebp
pop ebp
ret 4