joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431c68
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x431c84
cmp dword [esi + 4], 0
je 0x431cb1
test byte [ebx + 0x55], 1
jne 0x431ca3
mov eax, ebx
call fcn.00430874
test eax, eax
jne 0x431ca3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431dc1
mov edx, esi
mov eax, ebx
call fcn.0043178c
jmp 0x431dc1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x431dba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433ad8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042e590
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431c68
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433ad8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431dc1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4381d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x451640]
cmp byte [eax + 0xc], 0
je 0x43833d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438336
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4530f8], 0
jne 0x438224
push 0x438344
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43834c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4530f8], eax
cmp dword [0x450ed4], 0
jne 0x43831f
push 0x43835c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450ed4], eax
cmp dword [0x450ed4], 0
je 0x43831f
push 0x438368
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4530fc], eax
push 0x438378
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453100], eax
push 0x43838c
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453104], eax
push 0x4383a4
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453108], eax
push 0x4383bc
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45310c], eax
push 0x4383d0
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453110], eax
push 0x4383e8
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453114], eax
push 0x438400
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453118], eax
push 0x43841c
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45311c], eax
push 0x438428
mov eax, dword [0x450ed4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453120], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43833d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c1c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004043d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c217
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404644
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4439c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443a10]
test si, 4
je 0x4439d4
or bl, 1
test si, 8
je 0x4439de
or bl, 4
test si, 1
je 0x4439e8
or bl, 8
test si, 2
je 0x4439f2
or bl, 0x10
test si, 0x10
je 0x4439fc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443a0b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443a14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443a4c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443a2d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443a3c
or bl, 4
test esi, 0x20000000
je 0x443a47
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a110
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44a122
add esp, 0xfffffff0
call fcn.00403960
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419728
mov eax, dword [0x451280]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a4b4
mov eax, dword [0x45128c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a4c0
mov eax, ebx
call fcn.0044a4cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a20]
call fcn.00403610
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a20]
call fcn.00403610
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a20]
call fcn.00403610
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a20]
call fcn.00403610
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a20]
call fcn.00403610
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, 0x4468e4
push eax
push 0
push 0
mov eax, dword [0x45140c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ca60]
call fcn.0041dec8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ca60]
call fcn.0041dec8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ca60]
call fcn.0041dec8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a91c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a7e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a7e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a7e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a25f
call fcn.004039b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44a5c8
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 0x44a773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a754
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.00403610
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a743
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.00438530
test al, al
je 0x44a736
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, 0x44a784
lea eax, [ebp - 0x254]
call fcn.00408e48
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a736
xor eax, eax
push ebp
push 0x44a72f
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 0x44a7bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a718
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404644
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 0x44a718
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a736
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a639
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415918
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 0x44a77a
lea eax, [ebp - 0x260]
call fcn.004043d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x453144]
cmp byte [eax + 0xa5], 0
jne 0x44b12d
cmp dword [0x45315c], 0
jne 0x44b0ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44b078
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45315c], eax
cmp dword [0x453158], 0
jne 0x44b109
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453158], eax
cmp dword [0x453160], 0
jne 0x44b12d
push esp
push 0
push 0
push 0x44b01c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453160], eax
pop edx
ret
Function at 0x44b7c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453144]
cmp dword [eax + 0x30], 0
je 0x44b86a
cmp dword [ebx + 0x94], 0
jne 0x44b864
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b750
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b864
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 0x44b82a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b864
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.00413d88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b839
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c3c8
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 0x44c3fd
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.004044c4
jmp 0x44c40a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404428
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d398
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d3d9
mov eax, esi
call fcn.00433d38
test al, al
je 0x44d3d9
mov eax, dword [ebx + 0x84]
call fcn.00433ad8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d3d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433ad8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44f650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2d
push 0
push 0
dec ecx
jne 0x44f658
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404884
xor eax, eax
push ebp
push 0x44f86e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.0041b574
mov edi, eax
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.0041b594
mov esi, eax
jmp 0x44f83a
test bl, bl
jne 0x44f763
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404644
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004086e0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00407e94
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.00407e94
mov edx, dword [ebp - 0x140]
pop eax
call fcn.004047e0
je 0x44f810
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404644
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00407e94
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.00407e94
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.004047e0
je 0x44f810
test bl, bl
je 0x44f7c4
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00407e94
mov eax, dword [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404644
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.004086e0
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00407e94
mov eax, dword [ebp - 0x154]
pop edx
call fcn.0044f5bc
test al, al
jne 0x44f810
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.00407e94
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404644
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00407e94
mov eax, dword [ebp - 0x164]
pop edx
call fcn.0044f5bc
test al, al
je 0x44f82b
push 0
mov eax, dword [ebp - 0x128]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.0041b5b4
mov esi, eax
test esi, esi
jne 0x44f6ae
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f875
lea eax, [ebp - 0x168]
mov edx, 0xe
call fcn.004043f8
lea eax, [ebp - 4]
call fcn.004043d4
ret

Function at 0x44f880
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffd0
lea eax, [esp + 0xc]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
push esp
push 0x44f8e8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 2
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x30
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret

Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x47f676eb
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x20092081
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x408959
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop eax
add ebx, 0xb656c84c
call fcn.00408982
or esi, ebx
inc esi
xor dword [edx], eax
inc edx
cmp edx, ecx
jne main
sub ebx, esi
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4