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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a2210]
cmp byte [eax + 0xc], 0
je 0x45f4d1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f4ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7c8c], 0
jne 0x45f3b8
push 0x45f4d8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45f4e0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7c8c], eax
cmp dword [0x4a18d4], 0
jne 0x45f4b3
push 0x45f4f0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a18d4], eax
cmp dword [0x4a18d4], 0
je 0x45f4b3
push 0x45f4fc
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7c90], eax
push 0x45f50c
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7c94], eax
push 0x45f520
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7c98], eax
push 0x45f538
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7c9c], eax
push 0x45f550
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7ca0], eax
push 0x45f564
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7ca4], eax
push 0x45f57c
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7ca8], eax
push 0x45f594
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cac], eax
push 0x45f5b0
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cb0], eax
push 0x45f5bc
mov eax, dword [0x4a18d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f4d1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46645c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x46647d
test edi, 0x40000
je 0x466497
test bl, bl
jne 0x466518
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x466518
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4664ca
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4664df
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4664ee
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4664ff
cmp byte [esp + 2], 0
je 0x466518
cmp byte [esp + 2], 0
je 0x466510
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x466518
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4667bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4667e2
mov eax, esp
push eax
push 0x466784
call sub.user32.dll_EnumWindows
jmp 0x4667f5
mov eax, esp
push eax
push 0x466764
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x466880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4668d4]
test si, 4
je 0x466895
or bl, 1
test si, 8
je 0x46689f
or bl, 4
test si, 1
je 0x4668a9
or bl, 8
test si, 2
je 0x4668b3
or bl, 0x10
test si, 0x10
je 0x4668bd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4668cc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4668d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x466914]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4668f2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466901
or bl, 4
test esi, 0x20000000
je 0x46690c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x466964
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00466918
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x46e9a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46e9b2
add esp, 0xfffffff0
call fcn.00404428
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423d08
mov eax, dword [0x4a1dd4]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ed44
mov eax, dword [0x4a1de0]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ed50
mov eax, ebx
call fcn.0046ed5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
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, 0x46a204
push eax
push 0
push 0
mov eax, dword [0x4a1f88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427b90]
call fcn.004293e4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427b90]
call fcn.004293e4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427b90]
call fcn.004293e4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046f1d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46f0a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46f0a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46f0a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46eaef
call fcn.00404480
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46ee88
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 0x46f033
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46f014
mov dl, 1
mov eax, dword [0x418e10]
call fcn.00404094
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46f003
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.0045f6c0
test al, al
je 0x46eff6
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, 0x46f044
lea eax, [ebp - 0x254]
call fcn.0040a3d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46eff6
xor eax, eax
push ebp
push 0x46efef
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 0x46f07c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46efd8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051a0
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 0x46efd8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eff6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46eef9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041d83c
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 0x46f03a
lea eax, [ebp - 0x260]
call fcn.00404f30
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a7cd0]
cmp byte [eax + 0xad], 0
jne 0x46fa1d
cmp dword [0x4a7cec], 0
jne 0x46f9de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46f968
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a7cec], eax
cmp dword [0x4a7ce8], 0
jne 0x46f9f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a7ce8], eax
cmp dword [0x4a7cf0], 0
jne 0x46fa1d
push esp
push 0
push 0
push 0x46f90c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a7cf0], eax
pop edx
ret
Function at 0x46fc4c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46fc63
add esp, 0xfffffff0
call fcn.00404428
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423d08
mov eax, dword [0x4a1f68]
cmp word [eax + 2], 0
jne 0x46fc8b
mov eax, dword [0x4a1f68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00471954
mov eax, dword [0x4a2050]
cmp word [eax + 2], 0
jne 0x46fca5
mov eax, dword [0x4a2050]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00471b60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418740]
call fcn.00404094
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 [0x4286a0]
call fcn.00430504
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46fe5c
mov eax, dword [0x4a1e58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004308d8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x472224
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a1e58]
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.0040dc88
test eax, eax
je 0x46fdac
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409d8c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dcbc
test eax, eax
je 0x46fdc0
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.004051a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x4713c8
call fcn.00424e98
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a1cdc]
cmp byte [eax], 0
jne 0x46fe11
mov eax, ebx
call fcn.0046ffa0
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.00472438
mov eax, ebx
call fcn.00472f9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46fe51
call fcn.00404480
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470220
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4702bf
cmp dword [ebx + 0x94], 0
jne 0x4702b9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4701a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4702b9
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 0x47027f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4702b9
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.0041b030
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47028e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4704d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a7cd0]
cmp dword [eax + 0x30], 0
je 0x470635
test bl, bl
jne 0x470586
cmp dword [esi + 0x9c], 0
jne 0x47057b
mov eax, esi
call fcn.00472e18
push eax
push 0x470404
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x47054c
mov eax, dword [0x4a7cd0]
call fcn.004734f8
test al, al
je 0x47054c
mov eax, dword [0x4a7cf4]
call fcn.00406260
mov edi, eax
cmp edi, 0
jl 0x47054c
push 0
mov eax, dword [0x4a7cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x470536
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47057b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b030
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47055b
inc dword [esi + 0x9c]
jmp 0x470635
cmp dword [esi + 0x9c], 0
jle 0x470635
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x470635
cmp dword [esi + 0x44], 0
je 0x4705e1
mov eax, dword [0x4a7cd0]
call fcn.004734f8
test al, al
je 0x4705e1
mov eax, dword [0x4a7cf4]
call fcn.00406260
mov edi, eax
cmp edi, 0
jl 0x4705e1
push 5
mov eax, dword [0x4a7cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4705cb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x470610
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b030
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4705f0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a7cf4
mov ecx, 1
mov edx, dword [0x4703e4]
call fcn.00406414
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47111c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x471186
mov eax, ebx
call fcn.004734f8
test al, al
jne 0x471186
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.00405020
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x471173
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x471193
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f84
jmp 0x471193
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f84
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47261c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47268a
mov eax, esi
call fcn.0045a264
test al, al
je 0x47268a
mov eax, dword [ebx + 0x84]
call fcn.00459ec4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47268a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47267e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00459ec4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00451cf0
jmp 0x47268a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00472458
pop esi
pop ebx
ret
Function at 0x49da00
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
sub dl, 1
jb 0x49da0c
je 0x49da1d
jmp 0x49da24
push 1
mov eax, ebx
call fcn.004053c0
push eax
call sub.kernel32.dll_WinExec
pop ebx
ret
mov eax, ebx
call fcn.0049d9fc
pop ebx
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x598e213a
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x19ba5f45
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402f7c
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403658
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45c024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036d0
xor eax, eax
push ebp
push 0x4036c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40370c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x45c024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45c024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f7048], 0
je 0x404545
cmp word [0x4f721c], 0xd7b2
jne 0x40450d
cmp dword [0x4f7224], 0
jbe 0x40450d
mov eax, 0x4f7218
call dword [0x4f7234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40456c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45c030], 0
jne 0x404561
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4080c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408158
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408158
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40810b
test edx, 3
jne 0x4080fa
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408105
jmp 0x40810b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40810b
cmp dword [ecx - 8], 1
je 0x408115
mov edx, ebx
or edx, 3
call fcn.00404db0
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408127
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404664

Function at 0x408164
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4081f4
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4081f4
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4081a7
test edx, 3
jne 0x408196
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4081a1
jmp 0x4081a7
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4081a7
cmp dword [ecx - 8], 1
je 0x4081b1
mov edx, ebx
or edx, 3
call fcn.00404db0
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4081c3
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404664

Function at 0x40b3d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b411
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404754
jmp 0x40b41a
mov eax, ebx
mov edx, esi
call fcn.004046b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b424
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b446
movzx eax, byte [esp]
jmp 0x40b448
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret