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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x477e10]
cmp byte [eax + 0xc], 0
je 0x44c705
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c6fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x478b98], 0
jne 0x44c5ec
push 0x44c70c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44c714
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b98], eax
cmp dword [0x476d90], 0
jne 0x44c6e7
push 0x44c724
call sub.kernel32.dll_LoadLibraryA
mov dword [0x476d90], eax
cmp dword [0x476d90], 0
je 0x44c6e7
push 0x44c730
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b9c], eax
push 0x44c740
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba0], eax
push 0x44c754
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba4], eax
push 0x44c76c
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba8], eax
push 0x44c784
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bac], eax
push 0x44c798
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb0], eax
push 0x44c7b0
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb4], eax
push 0x44c7c8
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb8], eax
push 0x44c7e4
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bbc], eax
push 0x44c7f0
mov eax, dword [0x476d90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c705
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4505ac
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.00404194
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4505fb
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.00404404
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457d38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457d88]
test si, 4
je 0x457d4c
or bl, 1
test si, 8
je 0x457d56
or bl, 4
test si, 1
je 0x457d60
or bl, 8
test si, 2
je 0x457d6a
or bl, 0x10
test si, 0x10
je 0x457d74
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457d83
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457d8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457dc4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457da5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457db4
or bl, 4
test esi, 0x20000000
je 0x457dbf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e46c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e47e
add esp, 0xfffffff0
call fcn.004036e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420b14
mov eax, dword [0x4778c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e810
mov eax, dword [0x4778d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e81c
mov eax, ebx
call fcn.0045e828
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
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, 0x45ac44
push eax
push 0
push 0
mov eax, dword [0x477b1c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422580]
call fcn.00423cf4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422580]
call fcn.00423cf4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422580]
call fcn.00423cf4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ec48
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45eb24
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45eb24
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45eb24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e5bb
call fcn.0040373c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e908
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 0x45eab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ea94
mov dl, 1
mov eax, dword [0x418808]
call fcn.00403390
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404194
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ea83
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.0044c8f8
test al, al
je 0x45ea76
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, 0x45eac4
lea eax, [ebp - 0x254]
call fcn.004093a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ea76
xor eax, eax
push ebp
push 0x45ea6f
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 0x45eafc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ea58
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
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 0x45ea58
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea76
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e979
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c768
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 0x45eaba
lea eax, [ebp - 0x260]
call fcn.00404194
ret

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

Disassembly:
push ecx
mov eax, dword [0x478be4]
cmp byte [eax + 0xa5], 0
jne 0x45f459
cmp dword [0x478bfc], 0
jne 0x45f41a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f3a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478bfc], eax
cmp dword [0x478bf8], 0
jne 0x45f435
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478bf8], eax
cmp dword [0x478c00], 0
jne 0x45f459
push esp
push 0
push 0
push 0x45f348
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x478c00], eax
pop edx
ret
Function at 0x45f550
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f567
add esp, 0xfffffff0
call fcn.004036e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420b14
mov eax, dword [0x477afc]
cmp word [eax + 2], 0
jne 0x45f58f
mov eax, dword [0x477afc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460cd0
mov eax, dword [0x477c14]
cmp word [eax + 2], 0
jne 0x45f5a9
mov eax, dword [0x477c14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460ec8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418334]
call fcn.00403390
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423060]
call fcn.0042a44c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f730
mov eax, dword [0x477978]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a81c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461478
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x477978]
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.0040d050
test eax, eax
je 0x45f69e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d078
test eax, eax
je 0x45f6b2
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.00404404
mov eax, dword [0x477774]
cmp byte [eax], 0
jne 0x45f6e6
mov eax, ebx
call fcn.0045f858
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.00461654
mov eax, ebx
call fcn.00462018
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f726
call fcn.0040373c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fad8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478be4]
cmp dword [eax + 0x30], 0
je 0x45fb82
cmp dword [ebx + 0x94], 0
jne 0x45fb7c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fa68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fb7c
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 0x45fb42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fb7c
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.0041a7d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fb51
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4606e4
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 0x460719
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.00404284
jmp 0x460726
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461830
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461871
mov eax, esi
call fcn.00447ee0
test al, al
je 0x461871
mov eax, dword [ebx + 0x84]
call fcn.00447bdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461871
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447bdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46997c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
inc eax
call fcn.0040276c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4699d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4699c1
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040438c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699de
mov eax, dword [ebp - 4]
call fcn.0040278c
ret
Function at 0x4699e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x469bcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x49]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x105
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x469be8
mov edx, ebx
call fcn.004044a0
mov eax, dword [ebp - 0x70]
call fcn.00404654
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x469a6d
mov eax, esi
mov edx, 0x469bf4
call fcn.004041e8
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x6a]
call fcn.00408f38
mov edx, dword [ebp - 0x74]
mov eax, edi
call fcn.004041e8
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x78]
mov eax, 8
call fcn.00408750
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.004041e8
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x49]
call fcn.00408f38
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + 0x14]
call fcn.004041e8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x469be8
mov edx, ebx
call fcn.004044a0
mov eax, dword [ebp - 0x80]
call fcn.00404654
push eax
mov eax, dword [0x477a40]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x469af4
mov eax, esi
mov edx, 0x469c14
call fcn.0040445c
fild qword [ebp - 0x20]
fdiv dword [0x469c28]
fdiv dword [0x469c28]
fdiv dword [0x469c28]
fmul dword [0x469c2c]
call fcn.00402b90
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
fild qword [ebp - 0x8c]
fdiv dword [0x469c2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.00409e48
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x10]
call fcn.004041e8
fild qword [ebp - 0x28]
fdiv dword [0x469c28]
fdiv dword [0x469c28]
fdiv dword [0x469c28]
fmul dword [0x469c2c]
call fcn.00402b90
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
fild qword [ebp - 0x8c]
fdiv dword [0x469c2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x90]
call fcn.00409e48
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 0xc]
call fcn.004041e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469bd4
lea eax, [ebp - 0x90]
call fcn.00404194
lea eax, [ebp - 0x84]
mov edx, 6
call fcn.004041b8
ret
Function at 0x469c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
xor eax, eax
push ebp
push 0x469c99
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x469cb0
call fcn.004044a0
mov eax, dword [ebp - 8]
call fcn.00404654
push eax
call sub.kernel32.dll_WinExec
test eax, eax
jne 0x469c7e
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469ca0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041b8
ret

Function at 0x469cc8
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404644
mov eax, dword [ebp - 8]
call fcn.00404644
xor eax, eax
push ebp
push 0x469d60
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x469d43
push 4
mov eax, dword [ebp - 8]
call fcn.00404654
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
jbe 0x469d3d
lea eax, [ebp - 0x24]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x469d37
mov esi, dword [ebp - 0x20]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469d67
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041b8
ret

Function at 0x4738c0
Capabilities:
Create process on windows
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404644
mov eax, dword [ebp - 8]
call fcn.00404644
xor eax, eax
push ebp
push 0x473990
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402dd4
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov eax, dword [0x477bdc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00404654
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00404654
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x473975
jmp 0x473963
mov eax, dword [0x477bdc]
mov eax, dword [eax]
call fcn.00460a24
mov eax, dword [0x477bdc]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x473975
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x473947
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473997
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041b8
ret
Function at 0x48e000
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x48e1e4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x52000]
push edi
or ebp, 0xffffffff
jmp 0x48e02a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48e031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e020
mov eax, 1
add ebx, ebx
jne 0x48e043
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48e054
jne 0x48e073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e073
dec eax
add ebx, ebx
jne 0x48e060
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48e038
add ebx, ebx
jne 0x48e06f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48e0c5
xor ecx, ecx
sub eax, 3
jb 0x48e08b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48e0fa
sar eax, 1
mov ebp, eax
jmp 0x48e096
add ebx, ebx
jne 0x48e096
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e064
inc ecx
add ebx, ebx
jne 0x48e0a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e064
add ebx, ebx
jne 0x48e0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48e0a6
jne 0x48e0c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48e0a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48e0e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48e0d6
jmp 0x48e026
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48e0e4
add edi, ecx
jmp 0x48e026
pop esi
mov edi, esi
mov ecx, 0x111b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48e102
cmp byte [edi], 6
jne 0x48e102
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 al, bl
loop 0x48e107
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48e176
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8e5ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8e650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48e134
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8e654]
or eax, eax
je 0x48e170
mov dword [ebx], eax
add ebx, 4
jmp 0x48e151
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x48e1a7
cmp al, 0xef
ja 0x48e19a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x48e17c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x48e189
mov ebp, dword [esi + 0x8e658]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48e1db
sub esp, 0xffffff80
jmp 0x41f5a8