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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406634
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004359c8
test ebx, ebx
jne 0x43acfb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043abe4
mov ebx, eax
test ebx, ebx
je 0x43ade6
cmp esi, ebx
je 0x43ad24
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43ad39
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43ad71
add eax, 0xffffff5f
sub eax, 2
jb 0x43ad89
dec eax
sub eax, 2
jb 0x43ad9d
dec eax
sub eax, 2
jb 0x43ad93
jmp 0x43ada7
add eax, 0xfffffdff
sub eax, 2
jb 0x43ad89
dec eax
sub eax, 2
jb 0x43ad9d
dec eax
sub eax, 2
jb 0x43ad93
jmp 0x43ada7
mov byte [esp + 0x120], 0
jmp 0x43adaf
mov byte [esp + 0x120], 2
jmp 0x43adaf
mov byte [esp + 0x120], 1
jmp 0x43adaf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044963c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00437164
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ade8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x442fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x459afc]
cmp byte [eax + 0xc], 0
je 0x44311d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443116
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ec50], 0
jne 0x443004
push 0x443124
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44312c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec50], eax
cmp dword [0x45954c], 0
jne 0x4430ff
push 0x44313c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45954c], eax
cmp dword [0x45954c], 0
je 0x4430ff
push 0x443148
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec54], eax
push 0x443158
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec58], eax
push 0x44316c
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec5c], eax
push 0x443184
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec60], eax
push 0x44319c
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec64], eax
push 0x4431b0
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec68], eax
push 0x4431c8
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec6c], eax
push 0x4431e0
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec70], eax
push 0x4431fc
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec74], eax
push 0x443208
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44311d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x449168
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov edi, eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
mov esi, eax
test bl, bl
je 0x449189
test esi, 0x40000
je 0x4491a3
test bl, bl
jne 0x44923d
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x44923d
push edi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4491d6
mov eax, dword [0x45ec94]
cmp edi, dword [eax + 0x30]
jne 0x4491d2
mov eax, dword [0x45ec94]
cmp byte [eax + 0x5b], 0
jne 0x4491d6
xor eax, eax
jmp 0x4491d8
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4491ef
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x449204
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x449213
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x449224
cmp byte [esp + 2], 0
je 0x44923d
cmp byte [esp + 2], 0
je 0x449235
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x44923d
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4494e0
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 0x449506
mov eax, esp
push eax
push 0x4494a8
call sub.user32.dll_EnumWindows
jmp 0x449519
mov eax, esp
push eax
push 0x449488
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 0x4495a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4495f8]
test si, 4
je 0x4495b9
or bl, 1
test si, 8
je 0x4495c3
or bl, 4
test si, 1
je 0x4495cd
or bl, 8
test si, 2
je 0x4495d7
or bl, 0x10
test si, 0x10
je 0x4495e1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4495f0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4495fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x449638]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449616
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449625
or bl, 4
test esi, 0x20000000
je 0x449630
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4516a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4516b6
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419fb0
mov eax, dword [0x4597d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x451a48
mov eax, dword [0x4597dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x451a54
mov eax, ebx
call fcn.00451a60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
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, 0x44cf08
push eax
push 0
push 0
mov eax, dword [0x45991c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41db44]
call fcn.0041f064
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41db44]
call fcn.0041f064
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41db44]
call fcn.0041f064
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451ed8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451da8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451da8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451da8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4517f3
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451b8c
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 0x451d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451d18
mov dl, 1
mov eax, dword [0x412184]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404814
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451d07
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.0044330c
test al, al
je 0x451cfa
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, 0x451d48
lea eax, [ebp - 0x254]
call fcn.00409254
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451cfa
xor eax, eax
push ebp
push 0x451cf3
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 0x451d80
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451cdc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
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 0x451cdc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451cfa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451bfd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415e5c
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 0x451d3e
lea eax, [ebp - 0x260]
call fcn.00404814
ret

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

Disassembly:
push ecx
mov eax, dword [0x45ec94]
cmp byte [eax + 0xad], 0
jne 0x452721
cmp dword [0x45ecb0], 0
jne 0x4526e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45266c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ecb0], eax
cmp dword [0x45ecac], 0
jne 0x4526fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ecac], eax
cmp dword [0x45ecb4], 0
jne 0x452721
push esp
push 0
push 0
push 0x452610
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ecb4], eax
pop edx
ret
Function at 0x452924
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45293b
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419fb0
mov eax, dword [0x459908]
cmp word [eax + 2], 0
jne 0x452963
mov eax, dword [0x459908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454614
mov eax, dword [0x4599ac]
cmp word [eax + 2], 0
jne 0x45297d
mov eax, dword [0x4599ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454820
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411d60]
call fcn.004039d0
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 [0x41e320]
call fcn.004241ec
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x452b34
mov eax, dword [0x459834]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004245c0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454ee4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459834]
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.0040c97c
test eax, eax
je 0x452a84
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c9b0
test eax, eax
je 0x452a98
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.00404a84
mov byte [ebx + 0xd4], 0
push ebx
push 0x4540a0
call fcn.0041b12c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x459740]
cmp byte [eax], 0
jne 0x452ae9
mov eax, ebx
call fcn.00452c78
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.004550c8
mov eax, ebx
call fcn.00455c2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452b29
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452ef8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x452f97
cmp dword [ebx + 0x94], 0
jne 0x452f91
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452e80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452f91
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 0x452f57
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452f91
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.00414104
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452f66
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x45ec94]
cmp dword [eax + 0x30], 0
je 0x45330d
test bl, bl
jne 0x45325e
cmp dword [esi + 0x9c], 0
jne 0x453253
mov eax, esi
call fcn.00455aa8
push eax
push 0x4530dc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x453224
mov eax, dword [0x45ec94]
call fcn.00456098
test al, al
je 0x453224
mov eax, dword [0x45ecb8]
call fcn.004056d0
mov edi, eax
cmp edi, 0
jl 0x453224
push 0
mov eax, dword [0x45ecb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45320e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x453253
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414104
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x453233
inc dword [esi + 0x9c]
jmp 0x45330d
cmp dword [esi + 0x9c], 0
jle 0x45330d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45330d
cmp dword [esi + 0x44], 0
je 0x4532b9
mov eax, dword [0x45ec94]
call fcn.00456098
test al, al
je 0x4532b9
mov eax, dword [0x45ecb8]
call fcn.004056d0
mov edi, eax
cmp edi, 0
jl 0x4532b9
push 5
mov eax, dword [0x45ecb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4532a3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4532e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414104
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4532c8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x45ecb8
mov ecx, 1
mov edx, dword [0x4530bc]
call fcn.00405884
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x453df4
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 0x453e5e
mov eax, ebx
call fcn.00456098
test al, al
jne 0x453e5e
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.00404904
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x453e4b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x453e6b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404868
jmp 0x453e6b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404868
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4552ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45531a
mov eax, esi
call fcn.0043e144
test al, al
je 0x45531a
mov eax, dword [ebx + 0x84]
call fcn.0043ddd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45531a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45530e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ddd0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00435da0
jmp 0x45531a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004550e8
pop esi
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408e54
nop
mov ecx, 0x94b6894
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x431b2015
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402272
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e7b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0
push 0x43c678
push 0xd2
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4022d2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004245aa
jmp 0x40245a
mov eax, dword [ebp - 0x128]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x128]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x402319
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004245aa
jmp 0x40245a
mov edx, dword [ebp - 0x120]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x402345
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004245aa
jmp 0x40245a
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00414c40
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x43c67c
lea ecx, [ebp - 0x114]
push ecx
call fcn.00414aa0
add esp, 8
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x4023d8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004245aa
jmp 0x40245a
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x440e90
lea ecx, [ebp + 8]
call fcn.00402c30
push eax
lea eax, [ebp - 0x114]
push eax
push 0x43c688
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40242f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004245aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4