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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x463020]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463001
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463010
or bl, 4
test esi, 0x20000000
je 0x46301b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463070
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00463024
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4696e8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4696fa
add esp, 0xfffffff0
call fcn.00403658
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ba0
mov eax, dword [0x492b3c]
mov dword [eax + 4], ebx
mov dword [eax], 0x469a8c
mov eax, dword [0x492b48]
mov dword [eax + 4], ebx
mov dword [eax], 0x469a98
mov eax, ebx
call fcn.00469aa4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
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, 0x465ec0
push eax
push 0
push 0
mov eax, dword [0x492cb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423624]
call fcn.00424e38
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423624]
call fcn.00424e38
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423624]
call fcn.00424e38
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00469ec4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469da0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469da0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x469da0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469837
call fcn.004036b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x469b84
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 0x469d2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x469d10
mov dl, 1
mov eax, dword [0x416cd8]
call fcn.004032c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404108
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x469cff
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.00457544
test al, al
je 0x469cf2
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, 0x469d40
lea eax, [ebp - 0x254]
call fcn.004091a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469cf2
xor eax, eax
push ebp
push 0x469ceb
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 0x469d78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469cd4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404378
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 0x469cd4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469cf2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469bf5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b698
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 0x469d36
lea eax, [ebp - 0x260]
call fcn.00404108
ret

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

Disassembly:
push ecx
mov eax, dword [0x493bc8]
cmp byte [eax + 0xa5], 0
jne 0x46a6d5
cmp dword [0x493be0], 0
jne 0x46a696
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a620
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x493be0], eax
cmp dword [0x493bdc], 0
jne 0x46a6b1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x493bdc], eax
cmp dword [0x493be4], 0
jne 0x46a6d5
push esp
push 0
push 0
push 0x46a5c4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x493be4], eax
pop edx
ret
Function at 0x46a7cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a7e3
add esp, 0xfffffff0
call fcn.00403658
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ba0
mov eax, dword [0x492c9c]
cmp word [eax + 2], 0
jne 0x46a80b
mov eax, dword [0x492c9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bea4
mov eax, dword [0x492d68]
cmp word [eax + 2], 0
jne 0x46a825
mov eax, dword [0x492d68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c09c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416674]
call fcn.004032c4
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 [0x4241a4]
call fcn.0042bf38
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46a9ac
mov eax, dword [0x492ba4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c308
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c64c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x492ba4]
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.0040c968
test eax, eax
je 0x46a91a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c990
test eax, eax
je 0x46a92e
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.00404378
mov eax, dword [0x492a5c]
cmp byte [eax], 0
jne 0x46a962
mov eax, ebx
call fcn.0046aad4
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.0046c828
mov eax, ebx
call fcn.0046d1ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a9a2
call fcn.004036b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ad54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493bc8]
cmp dword [eax + 0x30], 0
je 0x46adfe
cmp dword [ebx + 0x94], 0
jne 0x46adf8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46ace4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46adf8
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 0x46adbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46adf8
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.00418f38
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46adcd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46b960
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 0x46b995
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.004041f8
jmp 0x46b9a2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040415c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46ca04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46ca45
mov eax, esi
call fcn.00452bc0
test al, al
je 0x46ca45
mov eax, dword [ebx + 0x84]
call fcn.004528e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ca45
push 0
mov eax, dword [ebx + 0x84]
call fcn.004528e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46d774
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415c0c]
call fcn.00404a74
xor eax, eax
push ebp
push 0x46d8b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491ffc], 0
jne 0x46d7c7
mov ecx, dword [0x492a70]
mov dl, 1
mov eax, dword [0x4073c8]
call fcn.0040bc14
call fcn.00403ac0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d08
mov eax, ebx
call fcn.00404944
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46d8c8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004059f8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404954
test eax, eax
jle 0x46d85f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46d858
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404390
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404378
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408274
test eax, eax
jne 0x46d858
mov ebx, 0x15
jmp 0x46d864
mov ebx, 0x10
jmp 0x46d864
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x491ffc]
call fcn.0046d6cc
mov eax, dword [ebp - 8]
call fcn.0046d6cc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d8bf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040412c
lea eax, [ebp - 0x10]
mov edx, dword [0x415c0c]
call fcn.00404b44
ret

Function at 0x46ff44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46ffb5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x49202c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x46ff9f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0046ff34
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46e768]
call fcn.00470e04
mov dword [0x492094], eax
mov eax, dword [ebp - 4]
call fcn.0046fdc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ffbc
lea eax, [ebp - 8]
call fcn.004059f8
ret

Function at 0x470054
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x470067
or esi, 2
test dl, dl
je 0x470070
or esi, 0
jmp 0x470073
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x470c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004045b8
xor eax, eax
push ebp
push 0x470de8
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x46e550]
call fcn.00414fb8
test eax, eax
jl 0x470cf7
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00470038
and eax, 0x7f
mov eax, dword [eax*4 + 0x49202c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x470d5a
mov eax, dword [ebx]
call fcn.004043c8
test eax, eax
jle 0x470d5a
mov eax, dword [ebx]
call fcn.004043c8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x470d1e
mov eax, ebx
mov edx, 0x470e00
call fcn.004043d0
mov eax, dword [ebx]
call fcn.004043c8
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00404f04
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.0046ff34
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x470da5
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x492aa4]
call fcn.00405ed8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.00409228
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040415c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4073c8]
call fcn.0040bb58
call fcn.00403ac0
mov eax, dword [ebp - 8]
call fcn.00470c08
mov ebx, eax
test edi, edi
je 0x470dba
mov eax, edi
call fcn.004032f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470def
lea eax, [ebp - 0x1c]
call fcn.00404108
lea eax, [ebp - 0x18]
call fcn.004059f8
lea eax, [ebp - 0x14]
call fcn.00404108
lea eax, [ebp - 4]
call fcn.00404108
ret

Function at 0x4719cc
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00402d08
mov dword [esp], 0x3c
mov eax, dword [0x492d48]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x4724e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472652
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x492ee4]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x492ee4]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00469e34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004389ac
xor edx, edx
push ebp
push 0x472635
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4725a5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.004059f8
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.00470650
push eax
mov eax, dword [0x492d48]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x47259b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403b6c
jmp 0x47263c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4725e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0043858c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00472378
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4725bd
push 0
mov edx, 0x472310
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00438144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47263c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004389f8
mov eax, dword [0x492ee4]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.00469e34
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472659
lea eax, [ebp - 0x10]
call fcn.004059f8
ret
Function at 0x478904
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x478932
mov eax, ebx
call fcn.004793b8
cmp dword [ebx + 0x40], 0
je 0x47892b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4789a3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x478995
cmp dword [ebx + 8], 0
je 0x478954
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x478966
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478995
cmp dword [ebx + 8], 0
je 0x478947
cmp eax, 3
je 0x478979
dec eax
jne 0x478947
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x478947
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x478947
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4789c1
cmp dword [ebx + 0x14], 0xcc
je 0x4789c1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004789cc
pop ebx
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x57d008], 0x8088405
inc edx
mov dword [ebx + 0x57d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5666d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5666da
ret