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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451164]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451145
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451154
or bl, 4
test esi, 0x20000000
je 0x45115f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45780c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45781e
add esp, 0xfffffff0
call fcn.00403714
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004238e8
mov eax, dword [0x4e4194]
mov dword [eax + 4], ebx
mov dword [eax], 0x457bb0
mov eax, dword [0x4e41a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x457bbc
mov eax, ebx
call fcn.00457bc8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x453fe4
push eax
push 0
push 0
mov eax, dword [0x4e441c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425314]
call fcn.00426758
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425314]
call fcn.00426758
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425314]
call fcn.00426758
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457fe8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ec4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ec4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ec4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45795b
call fcn.0040376c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457ca8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457e53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457e34
mov dl, 1
mov eax, dword [0x41aff4]
call fcn.004033d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457e23
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00445cb4
test al, al
je 0x457e16
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457e64
lea eax, [ebp - 0x254]
call fcn.00409b54
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457e16
xor eax, eax
push ebp
push 0x457e0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457e9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457df8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457df8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457d19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f3f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e5a
lea eax, [ebp - 0x260]
call fcn.004042a4
ret

Function at 0x458788
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e5bb8]
cmp byte [eax + 0xa5], 0
jne 0x4587f9
cmp dword [0x4e5bd0], 0
jne 0x4587ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458744
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e5bd0], eax
cmp dword [0x4e5bcc], 0
jne 0x4587d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e5bcc], eax
cmp dword [0x4e5bd4], 0
jne 0x4587f9
push esp
push 0
push 0
push 0x4586e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e5bd4], eax
pop edx
ret
Function at 0x4588f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x458907
add esp, 0xfffffff0
call fcn.00403714
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004238e8
mov eax, dword [0x4e43f4]
cmp word [eax + 2], 0
jne 0x45892f
mov eax, dword [0x4e43f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459fc8
mov eax, dword [0x4e4544]
cmp word [eax + 2], 0
jne 0x458949
mov eax, dword [0x4e4544]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a1c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425ac4]
call fcn.0042b70c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458ad0
mov eax, dword [0x4e4244]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042badc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a760
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e4244]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d8a4
test eax, eax
je 0x458a3e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409548
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d8cc
test eax, eax
je 0x458a52
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov eax, dword [0x4e4054]
cmp byte [eax], 0
jne 0x458a86
mov eax, ebx
call fcn.00458bf8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045a93c
mov eax, ebx
call fcn.0045b300
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458ac6
call fcn.0040376c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458e78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e5bb8]
cmp dword [eax + 0x30], 0
je 0x458f22
cmp dword [ebx + 0x94], 0
jne 0x458f1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458e08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458f1c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458ee2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458f1c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d048
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458ef1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459a84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459ab9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404394
jmp 0x459ac6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ab18
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ab59
mov eax, esi
call fcn.004412e0
test al, al
je 0x45ab59
mov eax, dword [ebx + 0x84]
call fcn.00440fdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ab59
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440fdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x498cdc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x498cf9
add esp, 0xfffffff0
call fcn.00403714
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x498e95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048f4e8
test al, al
jne 0x498d36
mov ecx, 0x498ec8
mov dl, 1
mov eax, dword [0x483be4]
call fcn.0040cb20
call fcn.00403c40
xor eax, eax
push ebp
push 0x498d62
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0048df94
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0048de80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498d82
mov eax, dword [ebp - 0x10]
mov edx, 0x498f04
call fcn.00404c58
je 0x498d9f
mov eax, esi
mov edx, 0x498f04
call fcn.00404c58
jne 0x498dc3
mov eax, edi
mov edx, 0x498f14
call fcn.00404c58
je 0x498dc3
mov ecx, 0x498eec
mov dl, 1
mov eax, dword [0x483e8c]
call fcn.0040cb20
call fcn.00403c40
mov eax, edi
xor edx, edx
call fcn.00404c58
jne 0x498df0
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404c58
je 0x498df0
mov ecx, 0x498eec
mov dl, 1
mov eax, dword [0x483e8c]
call fcn.0040cb20
call fcn.00403c40
mov eax, dword [ebp - 0x10]
mov edx, 0x498f54
call fcn.00404c58
jne 0x498e23
mov eax, edi
mov edx, 0x498f60
call fcn.00404c58
je 0x498e23
mov ecx, 0x498eec
mov dl, 1
mov eax, dword [0x483e8c]
call fcn.0040cb20
call fcn.00403c40
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00496dcc
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049ec
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.004049ec
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.004049ec
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004049ec
lea eax, [ebx + 8]
call fcn.004049b0
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x498fac]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e9c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004049c8
ret
Function at 0x49a790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x49a7ad
add esp, 0xfffffff0
call fcn.00403714
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x49a948
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048f4e8
test al, al
jne 0x49a7ea
mov ecx, 0x49a97c
mov dl, 1
mov eax, dword [0x483be4]
call fcn.0040cb20
call fcn.00403c40
xor eax, eax
push ebp
push 0x49a816
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0048df94
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0048de80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a836
mov eax, edi
xor edx, edx
call fcn.00404c58
jne 0x49a863
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404c58
je 0x49a863
mov ecx, 0x49a9a0
mov dl, 1
mov eax, dword [0x483e8c]
call fcn.0040cb20
call fcn.00403c40
mov eax, dword [ebp - 0x10]
mov edx, 0x49a9b8
call fcn.00404c58
jne 0x49a896
mov eax, edi
mov edx, 0x49a9c4
call fcn.00404c58
je 0x49a896
mov ecx, 0x49a9a0
mov dl, 1
mov eax, dword [0x483e8c]
call fcn.0040cb20
call fcn.00403c40
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00496dcc
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049ec
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.004049ec
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.004049ec
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004049ec
lea eax, [ebx + 8]
call fcn.004049b0
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41a990]
call fcn.004033d0
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x49aa10]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x486c08]
call fcn.00496024
mov dword [ebx + 0x3c], eax
mov ax, word [0x49aa14]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a94f
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004049c8
ret
Function at 0x49d3a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x49d3c6
add esp, 0xfffffff0
call fcn.00403714
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x49d531
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048f4e8
test al, al
jne 0x49d403
mov ecx, 0x49d564
mov dl, 1
mov eax, dword [0x483be4]
call fcn.0040cb20
call fcn.00403c40
push dword [0x4e3d80]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4e3d80]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0xc]
call fcn.0048ffc0
test al, al
jne 0x49d4d5
push dword [0x4e3d7c]
push dword [ebp + 8]
push dword [0x4e3d7c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x14]
call fcn.0048ffc0
test al, al
jne 0x49d4d5
push dword [0x4e3d80]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4e3d80]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x18]
call fcn.004900d8
test al, al
jne 0x49d4d5
push dword [0x4e3d7c]
push edi
push dword [0x4e3d7c]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x20]
call fcn.004900d8
test al, al
jne 0x49d4d5
mov ecx, 0x49d564
mov dl, 1
mov eax, dword [0x483be4]
call fcn.0040cb20
call fcn.00403c40
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00496dcc
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049ec
lea eax, [ebx + 8]
call fcn.004049b0
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.004049ec
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.004049ec
mov byte [ebx + 0xc], 0xc
mov ax, word [0x49d580]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d538
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.004049c8
ret

Function at 0x4d2034
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d20af
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4d2096
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004089dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d20b6
lea eax, [ebp - 0x104]
call fcn.004042a4
ret
Function at 0x409ff0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x40a021
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40a010
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40c370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443f13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x454040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 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 dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x40c46a
test dl, 0x10
jne 0x40c46a
mov al, 1
jmp 0x40c46c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x40c490
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x40c4c3
jbe 0x40c4c3
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x40c4a8
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.00403560
jmp 0x40c4c3
sub esi, edx
je 0x40c4c0
shl esi, 3
push esi
push 0
push ebx
call fcn.00421530
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
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 0x1c
Function at 0x412390
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444605
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x454040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00411e10
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x412423
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 8], 0x38e38e3
je 0x412583
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0041f802
mov edx, dword [ebp + 0x14]
mov esi, eax
mov ecx, dword [ebx]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push dword [edx]
push dword [eax]
call fcn.00412c90
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x447210]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x447210]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x412525
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.0042ea40
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00420020
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x412507
cmp ebx, 0x200
jae 0x412505
shl ebx, 3
cmp ebx, ecx
jae 0x412507
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00419240
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00411e10
mov edx, dword [eax]
jmp 0x412528
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x412553
mov dword [ecx + eax*8], esi
jmp 0x412562
cmp edi, edx
jne 0x41255c
mov dword [ecx + eax*8], esi
jmp 0x412566
cmp dword [ecx + eax*8 + 4], ebx
jne 0x412566
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.unordered_map_set_too_long
call fcn.0041d029
int3