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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46e7ac]
cmp byte [eax + 0xc], 0
je 0x452871
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45286a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474058], 0
jne 0x452758
push 0x452878
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x452880
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474058], eax
cmp dword [0x46de20], 0
jne 0x452853
push 0x452890
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46de20], eax
cmp dword [0x46de20], 0
je 0x452853
push 0x45289c
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47405c], eax
push 0x4528ac
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474060], eax
push 0x4528c0
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474064], eax
push 0x4528d8
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474068], eax
push 0x4528f0
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47406c], eax
push 0x452904
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474070], eax
push 0x45291c
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474074], eax
push 0x452934
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474078], eax
push 0x452950
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47407c], eax
push 0x45295c
mov eax, dword [0x46de20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474080], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452871
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x455330
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x474084]
cmp esi, dword [eax + 0x30]
jne 0x455357
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x455386
mov eax, dword [0x474084]
cmp esi, dword [eax + 0x30]
jne 0x455382
mov eax, dword [0x474084]
cmp byte [eax + 0x5b], 0
jne 0x455386
xor eax, eax
jmp 0x455388
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x45539d
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x4553b4
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4553c3
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x4553d2
test bl, bl
je 0x4553e8
test bl, bl
je 0x4553e0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4553e8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45568c
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 0x4556b2
mov eax, esp
push eax
push 0x455654
call sub.user32.dll_EnumWindows
jmp 0x4556c5
mov eax, esp
push eax
push 0x455634
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 0x455750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4557a4]
test si, 4
je 0x455765
or bl, 1
test si, 8
je 0x45576f
or bl, 4
test si, 1
je 0x455779
or bl, 8
test si, 2
je 0x455783
or bl, 0x10
test si, 0x10
je 0x45578d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45579c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4557a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4557e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4557c2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4557d1
or bl, 4
test esi, 0x20000000
je 0x4557dc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d6b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45d6c2
add esp, 0xfffffff0
call fcn.00404718
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ac44
mov eax, dword [0x46e450]
mov dword [eax + 4], ebx
mov dword [eax], 0x45da54
mov eax, dword [0x46e45c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45da60
mov eax, ebx
call fcn.0045da6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
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, 0x45911c
push eax
push 0
push 0
mov eax, dword [0x46e5b4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41cc0c]
call fcn.0041e460
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41cc0c]
call fcn.0041e460
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41cc0c]
call fcn.0041e460
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045de9c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d7ff
call fcn.00404770
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45db50
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 0x45dcfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45dcdc
mov dl, 1
mov eax, dword [0x412e18]
call fcn.004043c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405220
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45dccb
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.00452a60
test al, al
je 0x45dcbe
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, 0x45dd0c
lea eax, [ebp - 0x254]
call fcn.00409e54
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dcbe
xor eax, eax
push ebp
push 0x45dcb7
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 0x45dd44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dca0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405490
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 0x45dca0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dcbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45dbc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416af0
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 0x45dd02
lea eax, [ebp - 0x260]
call fcn.00405220
ret

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

Disassembly:
push ecx
mov eax, dword [0x474084]
cmp byte [eax + 0xad], 0
jne 0x45e6e5
cmp dword [0x4740a0], 0
jne 0x45e6a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e630
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4740a0], eax
cmp dword [0x47409c], 0
jne 0x45e6c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47409c], eax
cmp dword [0x4740a4], 0
jne 0x45e6e5
push esp
push 0
push 0
push 0x45e5d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4740a4], eax
pop edx
ret
Function at 0x45e8b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e8cf
add esp, 0xfffffff0
call fcn.00404718
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ac44
mov eax, dword [0x46e5a0]
cmp word [eax + 2], 0
jne 0x45e8f7
mov eax, dword [0x46e5a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004602fc
mov eax, dword [0x46e650]
cmp word [eax + 2], 0
jne 0x45e911
mov eax, dword [0x46e650]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460508
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4129f4]
call fcn.004043c4
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 [0x41d71c]
call fcn.004250b4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45eac8
mov eax, dword [0x46e4bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425488
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460bcc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e4bc]
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.0040d610
test eax, eax
je 0x45ea18
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040980c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d644
test eax, eax
je 0x45ea2c
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.00405490
mov byte [ebx + 0xd4], 0
push ebx
push 0x45ffe0
call fcn.0041bdc0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46e3ac]
cmp byte [eax], 0
jne 0x45ea7d
mov eax, ebx
call fcn.0045ec0c
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.00460da4
mov eax, ebx
call fcn.00461908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45eabd
call fcn.00404770
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ee8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45ef2b
cmp dword [ebx + 0x94], 0
jne 0x45ef25
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ee14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ef25
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 0x45eeeb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ef25
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.00414d98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45eefa
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x474084]
cmp dword [eax + 0x30], 0
je 0x45f2a1
test bl, bl
jne 0x45f1f2
cmp dword [esi + 0x9c], 0
jne 0x45f1e7
mov eax, esi
call fcn.00461784
push eax
push 0x45f070
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45f1b8
mov eax, dword [0x474084]
call fcn.00461e64
test al, al
je 0x45f1b8
mov eax, dword [0x4740a8]
call fcn.00406124
mov edi, eax
cmp edi, 0
jl 0x45f1b8
push 0
mov eax, dword [0x4740a8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f1a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f1e7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414d98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f1c7
inc dword [esi + 0x9c]
jmp 0x45f2a1
cmp dword [esi + 0x9c], 0
jle 0x45f2a1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45f2a1
cmp dword [esi + 0x44], 0
je 0x45f24d
mov eax, dword [0x474084]
call fcn.00461e64
test al, al
je 0x45f24d
mov eax, dword [0x4740a8]
call fcn.00406124
mov edi, eax
cmp edi, 0
jl 0x45f24d
push 5
mov eax, dword [0x4740a8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45f237
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45f27c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414d98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45f25c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4740a8
mov ecx, 1
mov edx, dword [0x45f050]
call fcn.004062d8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45fd34
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 0x45fd9e
mov eax, ebx
call fcn.00461e64
test al, al
jne 0x45fd9e
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.00405310
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45fd8b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45fdab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405274
jmp 0x45fdab
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405274
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x460f88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460ff6
mov eax, esi
call fcn.0044d7d8
test al, al
je 0x460ff6
mov eax, dword [ebx + 0x84]
call fcn.0044d4cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460ff6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x460fea
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d4cc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044552c
jmp 0x460ff6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00460dc4
pop esi
pop ebx
ret
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
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 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40bd80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a384
cmp eax, 0x3f6
jae 0x40bf94
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a289
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bdc8
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bdcb
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40be10
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bdec
jmp 0x40bde0
cmp byte [eax + esi], 0x22
je 0x40bde8
inc eax
cmp byte [eax + esi], bl
jne 0x40bdda
jmp 0x40bdec
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40be03
cmp byte [eax + esi + 1], 0x2f
je 0x40be03
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bdd3
jmp 0x40be10
add eax, esi
cmp byte [eax], 0x20
jne 0x40be0c
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40be24
cmp byte [0x41a392], bl
je 0x40be24
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00407690
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40be50
push str..inf
push eax
call fcn.0040a59a
test eax, eax
jne 0x40be50
mov dword [ebp - 0x38], 0x412648
push ebx
push dword [ebp - 0x34]
call fcn.00405767
mov byte [ebp - 1], al
cmp al, bl
je 0x40be78
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.00405822
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40beb7
cmp byte [ebp - 1], bl
jne 0x40beb7
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a477
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a5e2
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.00405767
test al, al
je 0x40bf92
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40bee9
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf92
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40beff
cmp byte [ebp + 8], bl
je 0x40bf36
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40bf20
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bf20
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle_]
push dword [ebp - 0xc]
call fcn.0040b6ea
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf55
push str..exe
push dword [ebp - 8]
call fcn.0040a59a
test eax, eax
je 0x40bf83
cmp byte [0x419f88], bl
je 0x40bf69
cmp byte [ebp + 8], bl
jne 0x40bf69
push 0x1b58
jmp 0x40bf7d
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf92
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x401020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov dword [0x413400], 0x101
mov dword [0x4133fc], 5
mov dword [0x413408], 0x1600
mov dword [0x413404], 0x3301fa00
mov dword [0x413610], 0x10
mov dword [0x413614], 0x80000018
mov dword [0x413628], 1
mov dword [0x41362c], 0x80000030
mov dword [0x413640], 0
mov dword [0x413644], 0x48
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], section..rdata
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
lea eax, [ebp - 8]
mov dword [esp], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xc00
mov dword [esp + 4], 0x413000
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret