joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44abf4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5386c0]
cmp byte [eax + 0xc], 0
je 0x44ad61
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ad5a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53c570], 0
jne 0x44ac48
push 0x44ad68
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ad70
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c570], eax
cmp dword [0x4636a4], 0
jne 0x44ad43
push 0x44ad80
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4636a4], eax
cmp dword [0x4636a4], 0
je 0x44ad43
push 0x44ad8c
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c574], eax
push 0x44ad9c
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c578], eax
push 0x44adb0
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c57c], eax
push 0x44adc8
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c580], eax
push 0x44ade0
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c584], eax
push 0x44adf4
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c588], eax
push 0x44ae0c
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c58c], eax
push 0x44ae24
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c590], eax
push 0x44ae40
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c594], eax
push 0x44ae4c
mov eax, dword [0x4636a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c598], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ad61
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4503d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450424]
test si, 4
je 0x4503e5
or bl, 1
test si, 8
je 0x4503ef
or bl, 4
test si, 1
je 0x4503f9
or bl, 8
test si, 2
je 0x450403
or bl, 0x10
test si, 0x10
je 0x45040d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45041c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450428
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450464]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450442
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450451
or bl, 4
test esi, 0x20000000
je 0x45045c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457b18
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x457b2a
add esp, 0xfffffff0
call fcn.00403bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6f4
mov eax, dword [0x538360]
mov dword [eax + 4], ebx
mov dword [eax], 0x457ebc
mov eax, dword [0x53836c]
mov dword [eax + 4], ebx
mov dword [eax], 0x457ec8
mov eax, ebx
call fcn.00457ed4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
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, 0x45396c
push eax
push 0
push 0
mov eax, dword [0x5384c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e2a8]
call fcn.0041fafc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e2a8]
call fcn.0041fafc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e2a8]
call fcn.0041fafc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458304
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4581d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4581d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4581d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457c67
call fcn.00403c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457fb8
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 0x458163
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458144
mov dl, 1
mov eax, dword [0x412754]
call fcn.0040387c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458133
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.0044af50
test al, al
je 0x458126
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, 0x458174
lea eax, [ebp - 0x254]
call fcn.004094f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458126
xor eax, eax
push ebp
push 0x45811f
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 0x4581ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458108
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404948
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 0x458108
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458126
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458029
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004164bc
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 0x45816a
lea eax, [ebp - 0x260]
call fcn.004046d8
ret

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

Disassembly:
push ecx
mov eax, dword [0x53c5a8]
cmp byte [eax + 0xad], 0
jne 0x458b4d
cmp dword [0x53c5c0], 0
jne 0x458b0e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458a98
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53c5c0], eax
cmp dword [0x53c5bc], 0
jne 0x458b29
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x53c5bc], eax
cmp dword [0x53c5c4], 0
jne 0x458b4d
push esp
push 0
push 0
push 0x458a3c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x53c5c4], eax
pop edx
ret
Function at 0x458d20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x458d37
add esp, 0xfffffff0
call fcn.00403bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6f4
mov eax, dword [0x5384b0]
cmp word [eax + 2], 0
jne 0x458d5f
mov eax, dword [0x5384b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a7d0
mov eax, dword [0x538560]
cmp word [eax + 2], 0
jne 0x458d79
mov eax, dword [0x538560]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a9dc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412330]
call fcn.0040387c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41edb8]
call fcn.00426488
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x458f30
mov eax, dword [0x5383cc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042685c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b09c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5383cc]
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.0040cd44
test eax, eax
je 0x458e80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e98
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd78
test eax, eax
je 0x458e94
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404948
mov byte [ebx + 0xd4], 0
push ebx
push 0x45a330
call fcn.0041b870
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5382b0]
cmp byte [eax], 0
jne 0x458ee5
mov eax, ebx
call fcn.00459074
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045b278
mov eax, ebx
call fcn.0045bdd8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458f25
call fcn.00403c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4592f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53c5a8]
cmp dword [eax + 0x30], 0
je 0x45939e
cmp dword [ebx + 0x94], 0
jne 0x459398
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459284
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459398
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 0x45935e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459398
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.00414764
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45936d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a0b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45a0ed
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.004047c8
jmp 0x45a0fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040472c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b45c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b4ca
mov eax, esi
call fcn.00445c30
test al, al
je 0x45b4ca
mov eax, dword [ebx + 0x84]
call fcn.00445890
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b4ca
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45b4be
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445890
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043dcb0
jmp 0x45b4ca
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045b298
pop esi
pop ebx
ret

Function at 0x45bed0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov ebp, edx
mov edi, eax
xor ebx, ebx
push 2
push 0
push 0xfffffffffffffff8
push edi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 0xc]
push eax
push 8
lea eax, [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_ReadFile
mov eax, esp
mov edx, str.ADDA
mov ecx, 4
call fcn.00403180
jne 0x45bf3d
mov eax, dword [esp + 4]
mov dword [esi], eax
push 2
push 0
mov edx, 0xfffffff8
sub edx, eax
push edx
push edi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push eax
push ebp
push edi
call sub.kernel32.dll_ReadFile
mov bl, 1
mov eax, ebx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45bf48
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov ebp, edx
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0045bfb8
test esi, esi
je 0x45bfab
push 2
push 0
push 0
push edi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 0xc]
push eax
push esi
push ebp
push edi
call sub.kernel32.dll_WriteFile_1
mov eax, dword [str.ADDA]
mov dword [esp], eax
mov dword [esp + 4], esi
push 2
push 0
push 0
push edi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 0xc]
push eax
push 8
lea eax, [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
mov bl, 1
mov eax, ebx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45bfb8
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
xor ebx, ebx
push 2
push 0
push 0xfffffffffffffff8
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 0xc]
push eax
push 8
lea eax, [esp + 0xc]
push eax
push esi
call sub.kernel32.dll_ReadFile
mov eax, esp
mov edx, str.ADDA
mov ecx, 4
call fcn.00403180
jne 0x45c010
push 2
push 0
mov eax, 0xfffffff8
sub eax, dword [esp + 0xc]
push eax
push esi
call sub.kernel32.dll_SetFilePointer
push esi
call sub.kernel32.dll_SetEndOfFile
mov bl, 1
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x401ca0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401ceb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401ce4
test esi, esi
je 0x401ce4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401cc0
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ed0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401ff8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f5e
cmp eax, 4
jne 0x401f80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f6e
cmp edx, 4
je 0x401f6e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ed0
Function at 0x417650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x4177ec
cmp dword [edx + 0x1c], 7
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jbe 0x41768b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x4176b4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x4176a0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004167a0
push 0x2c
push edi
call fcn.00464329
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x417719
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4176d0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x417708
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x41772b
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x41772e
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x4177df
nop dword [eax]
cmp dword [esi + 0x1c], 7
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x41774e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x417774
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x417760
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004167a0
push 0x2c
push edi
call fcn.00464329
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4177c9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x417788
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x417740
mov eax, dword [ebp - 8]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x418c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b7d3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4af280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 4]
push 0x30
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004642f9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push dword [edi]
sar eax, 2
push eax
mov byte [ebp - 4], 1
call fcn.004170d0
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x418df0
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov edx, ebx
jbe 0x418cd4
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x418cf2
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x418ce0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push ebx
push eax
call fcn.0041a2b0
cmp dword [ebp - 0x20], 0
jne 0x418de2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x5555555
je 0x418e06
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0x30
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.004642f9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push ebx
call fcn.004089c0
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x18]
add ecx, 0x18
mov byte [ebp - 4], 3
push eax
call fcn.00408490
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x494400]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x494400]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x418dc6
mov ecx, ebx
call fcn.0042c070
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.0041a2b0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x418dc9
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
push ecx
push edi
mov ecx, ebx
call fcn.004174b0
mov byte [ebp - 4], 1
jmp 0x418de5
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x418cc7
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
push str.unordered_map_set_too_long
call fcn.0044c366
int3