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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486240]
cmp byte [eax + 0xc], 0
je 0x43bd71
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43bd6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487bbc], 0
jne 0x43bc58
push 0x43bd78
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43bd80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bbc], eax
cmp dword [0x4849f4], 0
jne 0x43bd53
push 0x43bd90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4849f4], eax
cmp dword [0x4849f4], 0
je 0x43bd53
push 0x43bd9c
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bc0], eax
push 0x43bdac
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bc4], eax
push 0x43bdc0
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bc8], eax
push 0x43bdd8
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bcc], eax
push 0x43bdf0
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bd0], eax
push 0x43be04
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bd4], eax
push 0x43be1c
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bd8], eax
push 0x43be34
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bdc], eax
push 0x43be50
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487be0], eax
push 0x43be5c
mov eax, dword [0x4849f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bd71
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43f984
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.00404534
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43f9d3
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.0040479c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447814
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447864]
test si, 4
je 0x447828
or bl, 1
test si, 8
je 0x447832
or bl, 4
test si, 1
je 0x44783c
or bl, 8
test si, 2
je 0x447846
or bl, 0x10
test si, 0x10
je 0x447850
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44785f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447868
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4478a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447881
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447890
or bl, 4
test esi, 0x20000000
je 0x44789b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44dea4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44deb6
add esp, 0xfffffff0
call fcn.00403b2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fe78
mov eax, dword [0x485dd0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e248
mov eax, dword [0x485de0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e254
mov eax, ebx
call fcn.0044e260
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
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, 0x44a728
push eax
push 0
push 0
mov eax, dword [0x485fac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00422c0c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00422c0c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421808]
call fcn.00422c0c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e680
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e55c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e55c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e55c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dff3
call fcn.00403b84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e340
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 0x44e4eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e4cc
mov dl, 1
mov eax, dword [0x415e50]
call fcn.004037b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404534
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e4bb
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.0043bf64
test al, al
je 0x44e4ae
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, 0x44e4fc
lea eax, [ebp - 0x254]
call fcn.0040958c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e4ae
xor eax, eax
push ebp
push 0x44e4a7
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 0x44e534
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e490
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
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 0x44e490
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040479c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e4ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e3b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a510
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 0x44e4f2
lea eax, [ebp - 0x260]
call fcn.00404534
ret

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

Disassembly:
push ecx
mov eax, dword [0x487c00]
cmp byte [eax + 0xa5], 0
jne 0x44ee91
cmp dword [0x487c18], 0
jne 0x44ee52
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44eddc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x487c18], eax
cmp dword [0x487c14], 0
jne 0x44ee6d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x487c14], eax
cmp dword [0x487c1c], 0
jne 0x44ee91
push esp
push 0
push 0
push 0x44ed80
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x487c1c], eax
pop edx
ret
Function at 0x44ef88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ef9f
add esp, 0xfffffff0
call fcn.00403b2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fe78
mov eax, dword [0x485f9c]
cmp word [eax + 2], 0
jne 0x44efc7
mov eax, dword [0x485f9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045053c
mov eax, dword [0x486070]
cmp word [eax + 2], 0
jne 0x44efe1
mov eax, dword [0x486070]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450734
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004037b0
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], 0x80000018
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 [0x421fb8]
call fcn.00427bc4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44f168
mov eax, dword [0x485e4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427f94
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450cb4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x485e4c]
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.0040d178
test eax, eax
je 0x44f0d6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408eb8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1a0
test eax, eax
je 0x44f0ea
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.0040479c
mov eax, dword [0x485ce0]
cmp byte [eax], 0
jne 0x44f11e
mov eax, ebx
call fcn.0044f290
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.00450e90
mov eax, ebx
call fcn.004517d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f15e
call fcn.00403b84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f504
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x487c00]
cmp dword [eax + 0x30], 0
je 0x44f5ae
cmp dword [ebx + 0x94], 0
jne 0x44f5a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f494
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f5a8
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 0x44f56e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f5a8
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.00418000
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f57d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45008c
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 0x4500c1
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.00404624
jmp 0x4500ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404588
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45106c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4510ad
mov eax, esi
call fcn.00437828
test al, al
je 0x4510ad
mov eax, dword [ebx + 0x84]
call fcn.00437524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4510ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437524
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x451c68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004519e4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004049e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x451cc6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x485fb0]
mov dl, 1
mov eax, dword [0x451908]
call fcn.0040c598
call fcn.00403f94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475663
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x485b06
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4756bb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x485b27
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4756b1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4756bf
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x401000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [0x41a4fc], eax
mov eax, dword [0x41a4fc]
mov dword [0x41a50c], eax
mov dword [0x41a4f8], 0
mov dword [0x41a514], 0
mov dword [0x41a3e8], 0
mov dword [0x41a510], 0
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0040979d
push 0x105
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x41a3f0
lea eax, [ebp - 0x218]
push eax
call fcn.004090f4
push 0x41a3f0
call fcn.0040975c
call fcn.00402235
call fcn.004020c3
push dword [ebp + 0x10]
call fcn.0040150b
add esp, 4
call fcn.00402517
test eax, eax
jne 0x4010be
lea eax, [ebp - 0x110]
push eax
call fcn.0040975c
call fcn.004021e0
xor eax, eax
jmp 0x4011cd
cmp dword [0x41a83c], 0
je 0x40111d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.00401d1d
add esp, 4
test eax, eax
jne 0x4010ff
call fcn.004021e0
lea eax, [ebp - 0x110]
push eax
call fcn.0040975c
xor eax, eax
jmp 0x4011cd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x7d0
jae 0x401118
jmp 0x4010ff
call fcn.00401cbf
call fcn.00401430
test eax, eax
jne 0x401142
call fcn.004021e0
lea eax, [ebp - 0x110]
push eax
call fcn.0040975c
xor eax, eax
jmp 0x4011cd
cmp dword [0x41a834], 0
jne 0x401181
cmp dword [0x41a830], 0
jne 0x401181
cmp dword [0x41a838], 0
jne 0x401181
call fcn.004021e0
lea eax, [ebp - 0x110]
push eax
call fcn.0040975c
xor eax, eax
jmp 0x4011cd
push dword [0x41a3ec]
push dword [0x41a508]
call fcn.00411205
call fcn.0040297a
call fcn.00401326
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004029fe
add esp, 4
call fcn.00411311
call fcn.004014d5
call fcn.004021e0
lea eax, [ebp - 0x110]
push eax
call fcn.0040975c
mov eax, dword [ebp - 4]
jmp 0x4011cd
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x401cbf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push dword [0x41c004]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x41c004]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x41c008], 0
je 0x401cf8
push dword [0x41c008]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x41c00c], 0
je 0x401d11
push dword [0x41c00c]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x401d18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d1d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [0x41c00c], 0
push 0x1d4c
push dword [0x41a4fc]
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [0x41c008], eax
cmp dword [0x41c008], 0
jne 0x401d8d
push 0x41c00c
call fcn.004022d2
add esp, 4
mov dword [0x41c008], eax
cmp dword [0x41c008], 0
jne 0x401d8d
push 0x10
push str.Error
push str.Unable_to_locate_process_internal_binary_resource.__Please_contact_your_software_vendor.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x401ec4
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0x401ec9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [0x41a4fc]
mov dword [ebp - 0x18], eax
push 0x3e8
push dword [0x41a4fc]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x41c030
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x401e06
xor eax, eax
jmp 0x401ec4
lea eax, [ebp - 0x40]
push eax
push 0x18
push dword [0x41c008]
call dword [sym.imp.GDI32.dll_GetObjectA]
add dword [ebp - 0x3c], 2
add dword [ebp - 0x38], 2
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
push 0
push dword [0x41a4fc]
push 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push 0x80800000
push str.DeIsAbtWinName
push str.DeIsAbtClsName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x401e89
xor eax, eax
jmp 0x401ec4
mov eax, dword [ebp - 0x4c]
mov dword [0x41c004], eax
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
jmp 0x401ec4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4022d2
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 4], 0
call fcn.00402816
test eax, eax
je 0x40231c
push 0x3e8
push 0x3e9
push dword [0x41a4fc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x9c], eax
jmp 0x402338
push 0x3e8
push 0x3e8
push dword [0x41a4fc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x40234c
xor eax, eax
jmp 0x402512
push dword [ebp - 0x9c]
push dword [0x41a4fc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c0], eax
push dword [ebp - 0x9c]
push dword [0x41a4fc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402396
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x402512
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
jne 0x4023d1
xor eax, eax
jmp 0x402512
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1bc], 0
jmp 0x4023f5
inc dword [ebp - 0x1bc]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1bc], eax
jge 0x402424
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x98]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x4023ef
push 1
push 0xaf325de9
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040e0dc
push 0x105
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x1b4]
push eax
call fcn.004091d8
push str._bmp23_.bm_
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x1b8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll__hwrite]
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll__lclose]
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004123d8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00406935
cmp dword [ebp - 0xc], 0
je 0x4024fc
xor eax, eax
jmp 0x402512
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xac]
jmp 0x402512
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4026a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 1
cmp dword [0x41a500], 0
je 0x4026c9
mov dword [ebp - 0x2c], 1
jmp 0x402809
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004025ca
test eax, eax
je 0x4026ea
mov dword [ebp - 0x2c], 7
jmp 0x402809
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
jmp 0x402747
mov dword [ebp - 0x2c], 2
jmp 0x402809
mov dword [ebp - 0x2c], 2
jmp 0x402809
mov dword [ebp - 0x2c], 4
jmp 0x402809
mov dword [ebp - 0x2c], 3
jmp 0x402809
mov dword [ebp - 0x2c], 5
jmp 0x402809
cmp dword [ebp - 0x34], 0x1e6
ja 0x40276c
je 0x402706
cmp dword [ebp - 0x34], 0x182
je 0x402706
jmp 0x402809
cmp dword [ebp - 0x34], 0x259
ja 0x402791
je 0x402736
cmp dword [ebp - 0x34], 0x24a
je 0x402706
jmp 0x402809
cmp dword [ebp - 0x34], 0x26c
ja 0x4027c3
je 0x402736
cmp dword [ebp - 0x34], 0x25b
jb 0x402809
cmp dword [ebp - 0x34], 0x25c
jbe 0x402736
jmp 0x402809
cmp dword [ebp - 0x34], 0x35c
je 0x402712
cmp dword [ebp - 0x34], 0x7d0
je 0x40271e
cmp dword [ebp - 0x34], 0xbb8
je 0x40271e
cmp dword [ebp - 0x34], 0xfa0
je 0x40271e
cmp dword [ebp - 0x34], 0x5248
je 0x40272a
jmp 0x402809
mov eax, dword [ebp - 0x2c]
jmp 0x402811
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4037c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x10c]
push eax
call fcn.004091d8
mov dword [ebp - 4], 1
push dword [ebp - 4]
push 0x41c218
lea eax, [ebp - 0x10c]
push eax
push 0x41c220
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp + 8]
call fcn.00407fb8
test eax, eax
je 0x40384e
inc dword [ebp - 4]
push dword [ebp - 4]
push str._detmp
lea eax, [ebp - 0x10c]
push eax
push 0x41c230
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x403816
mov eax, 1
jmp 0x403858
pop edi
pop esi
pop ebx
leave
ret 4