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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x496e6c]
cmp byte [eax + 0xc], 0
je 0x44e18d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e186
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49bc6c], 0
jne 0x44e074
push 0x44e194
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e19c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc6c], eax
cmp dword [0x49561c], 0
jne 0x44e16f
push 0x44e1ac
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49561c], eax
cmp dword [0x49561c], 0
je 0x44e16f
push 0x44e1b8
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc70], eax
push 0x44e1c8
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc74], eax
push 0x44e1dc
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc78], eax
push 0x44e1f4
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc7c], eax
push 0x44e20c
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc80], eax
push 0x44e220
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc84], eax
push 0x44e238
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc88], eax
push 0x44e250
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc8c], eax
push 0x44e26c
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc90], eax
push 0x44e278
mov eax, dword [0x49561c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49bc94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e18d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4541d8
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 0x4541f9
test esi, 0x40000
je 0x454213
test bl, bl
jne 0x4542ad
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4542ad
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 0x454246
mov eax, dword [0x49bcb0]
cmp edi, dword [eax + 0x30]
jne 0x454242
mov eax, dword [0x49bcb0]
cmp byte [eax + 0x5b], 0
jne 0x454246
xor eax, eax
jmp 0x454248
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45425f
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x454274
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x454283
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x454294
cmp byte [esp + 2], 0
je 0x4542ad
cmp byte [esp + 2], 0
je 0x4542a5
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x4542ad
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x454550
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 0x454576
mov eax, esp
push eax
push 0x454518
call sub.user32.dll_EnumWindows
jmp 0x454589
mov eax, esp
push eax
push 0x4544f8
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 0x454614
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454668]
test si, 4
je 0x454629
or bl, 1
test si, 8
je 0x454633
or bl, 4
test si, 1
je 0x45463d
or bl, 8
test si, 2
je 0x454647
or bl, 0x10
test si, 0x10
je 0x454651
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454660
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45466c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4546a8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454686
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454695
or bl, 4
test esi, 0x20000000
je 0x4546a0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45c730
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c742
add esp, 0xfffffff0
call fcn.00403f3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042044c
mov eax, dword [0x4968c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45cad4
mov eax, dword [0x4968d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45cae0
mov eax, ebx
call fcn.0045caec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
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, 0x457f78
push eax
push 0
push 0
mov eax, dword [0x496b0c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4256d0]
call fcn.00426eec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4256d0]
call fcn.00426eec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4256d0]
call fcn.00426eec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045cf64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ce34
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ce34
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ce34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c87f
call fcn.00403f94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cc18
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 0x45cdc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45cda4
mov dl, 1
mov eax, dword [0x417700]
call fcn.00403be8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45cd93
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.0044e37c
test al, al
je 0x45cd86
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, 0x45cdd4
lea eax, [ebp - 0x254]
call fcn.0040a428
push eax
push reloc.Shell32.dll_SHChangeNotifyRegister
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45cd86
xor eax, eax
push ebp
push 0x45cd7f
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 0x45ce0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45cd68
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
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 0x45cd68
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cd86
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cc89
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bc08
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 0x45cdca
lea eax, [ebp - 0x260]
call fcn.00404b18
ret

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

Disassembly:
push ecx
mov eax, dword [0x49bcb0]
cmp byte [eax + 0xad], 0
jne 0x45d7ad
cmp dword [0x49bccc], 0
jne 0x45d76e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d6f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49bccc], eax
cmp dword [0x49bcc8], 0
jne 0x45d789
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49bcc8], eax
cmp dword [0x49bcd0], 0
jne 0x45d7ad
push esp
push 0
push 0
push 0x45d69c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49bcd0], eax
pop edx
ret
Function at 0x45d9b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d9c7
add esp, 0xfffffff0
call fcn.00403f3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042044c
mov eax, dword [0x496aec]
cmp word [eax + 2], 0
jne 0x45d9ef
mov eax, dword [0x496aec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f6b8
mov eax, dword [0x496c2c]
cmp word [eax + 2], 0
jne 0x45da09
mov eax, dword [0x496c2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f8c4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417150]
call fcn.00403be8
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 [0x4261a8]
call fcn.0042ddb4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45dbc0
mov eax, dword [0x496970]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e188
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ff88
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x496970]
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.0040e2e0
test eax, eax
je 0x45db10
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e314
test eax, eax
je 0x45db24
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.00404d88
mov byte [ebx + 0xd4], 0
push ebx
push 0x45f12c
call fcn.004215c8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x496768]
cmp byte [eax], 0
jne 0x45db75
mov eax, ebx
call fcn.0045dd04
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.0046016c
mov eax, ebx
call fcn.00460cd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dbb5
call fcn.00403f94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45df84
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49bcb0]
cmp dword [eax + 0x30], 0
je 0x45e399
test bl, bl
jne 0x45e2ea
cmp dword [esi + 0x9c], 0
jne 0x45e2df
mov eax, esi
call fcn.00460b4c
push eax
push 0x45e168
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45e2b0
mov eax, dword [0x49bcb0]
call fcn.0046122c
test al, al
je 0x45e2b0
mov eax, dword [0x49bcd4]
call fcn.00405cac
mov edi, eax
cmp edi, 0
jl 0x45e2b0
push 0
mov eax, dword [0x49bcd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e29a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e2df
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419700
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e2bf
inc dword [esi + 0x9c]
jmp 0x45e399
cmp dword [esi + 0x9c], 0
jle 0x45e399
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45e399
cmp dword [esi + 0x44], 0
je 0x45e345
mov eax, dword [0x49bcb0]
call fcn.0046122c
test al, al
je 0x45e345
mov eax, dword [0x49bcd4]
call fcn.00405cac
mov edi, eax
cmp edi, 0
jl 0x45e345
push 5
mov eax, dword [0x49bcd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e32f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e374
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419700
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e354
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49bcd4
mov ecx, 1
mov edx, dword [0x45e148]
call fcn.00405e60
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45ee80
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 0x45eeea
mov eax, ebx
call fcn.0046122c
test al, al
jne 0x45eeea
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.00404c08
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45eed7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45eef7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
jmp 0x45eef7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x460350
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4603be
mov eax, esi
call fcn.00449060
test al, al
je 0x4603be
mov eax, dword [ebx + 0x84]
call fcn.00448d04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4603be
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4603b2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448d04
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00440bb8
jmp 0x4603be
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046018c
pop esi
pop ebx
ret
Function at 0x461808
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40f8a4]
call fcn.00405588
xor eax, eax
push ebp
push 0x4619a9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4957ec], 0
jne 0x461863
mov ecx, dword [0x49678c]
mov dl, 1
mov eax, dword [0x407dd0]
call fcn.0040d4b0
call fcn.0040448c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403538
mov eax, ebx
call fcn.00405458
mov dword [ebp - 0x24], eax
mov esi, 0x4619b8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406550
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405468
test eax, eax
jle 0x46194c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x461938
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d88
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4618de
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404da0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4618f4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404da0
mov eax, dword [ebp - 0x54]
call fcn.00404fa8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d88
mov eax, dword [ebp - 0x58]
call fcn.00404fa8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46193a
xor eax, eax
test al, al
je 0x461945
mov ebx, 0x15
jmp 0x461951
mov ebx, 0x10
jmp 0x461951
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4957ec]
call fcn.00461688
mov eax, dword [ebp - 4]
call fcn.00461688
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619b0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b3c
lea eax, [ebp - 0xc]
mov edx, dword [0x40f8a4]
call fcn.00405658
ret
Function at 0x469a1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x469c0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x469bf6
mov eax, dword [edi + 0x30]
test eax, eax
je 0x469a5a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x469a7a
mov eax, dword [edi + 0x34]
test eax, eax
je 0x469a6a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x469a7a
mov eax, edi
call fcn.00469cb0
jmp 0x469bf6
cmp dword [edi + 0xa0], 0
jne 0x469ab1
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409a9c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49bd70]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x469ae8
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409a9c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49bd70]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00469cf0
mov ebx, eax
test bl, bl
jne 0x469bab
mov eax, dword [edi + 0x30]
test eax, eax
je 0x469b11
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x469b2b
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x469b24
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x469b2d
xor eax, eax
test al, al
jne 0x469bab
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x469b40
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x469b57
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409a9c
jmp 0x469b83
push dword [edi + 0x30]
push 0x469c2c
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404eac
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409a9c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x469bab
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00469cf0
mov ebx, eax
test bl, bl
jne 0x469bb8
mov eax, edi
call fcn.00469cb0
jmp 0x469bf6
mov eax, dword [edi + 0x58]
test eax, eax
je 0x469bc7
mov dword [edi + 0xa8], eax
jmp 0x469bd1
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00469d68
test al, al
je 0x469bf6
mov eax, edi
mov si, 0xffee
call fcn.00403e14
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00469e18
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c16
lea eax, [ebp - 0x108]
call fcn.00404b18
ret
Function at 0x488b98
Capabilities:
Create process on windows
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488d05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4247c4]
call fcn.004248c4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488ce8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, SHChangeNotifyRegister
mov eax, dword [ebp - 4]
call fcn.00424964
mov cl, 1
mov edx, 0x488d1c
mov eax, dword [ebp - 4]
call fcn.004249cc
test bl, bl
je 0x488c47
xor eax, eax
push ebp
push 0x488c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 1
mov edx, 0x488d60
mov eax, dword [ebp - 4]
call fcn.004250a8
xor ecx, ecx
mov edx, 0x488d80
mov eax, dword [ebp - 4]
call fcn.004250a8
xor ecx, ecx
mov edx, 0x488da0
mov eax, dword [ebp - 4]
call fcn.004250a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488c9c
xor eax, eax
push ebp
push 0x488c92
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x488d60
mov eax, dword [ebp - 4]
call fcn.004250a8
mov ecx, 1
mov edx, 0x488d80
mov eax, dword [ebp - 4]
call fcn.004250a8
mov ecx, 1
mov edx, 0x488da0
mov eax, dword [ebp - 4]
call fcn.004250a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488c9c
mov eax, dword [ebp - 4]
call fcn.00424934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488cef
mov eax, dword [ebp - 4]
call fcn.00403c18
push 0
push 0x488dc0
mov eax, dword [0x496884]
push dword [eax]
push 0x488dd8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404eac
mov eax, dword [ebp - 8]
call fcn.00404fa8
push eax
call sub.kernel32.dll_WinExec
ret

Function at 0x48a014
Capabilities:
Create thread

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
push 0
xor ecx, ecx
mov edx, 0x942
mov eax, 0x22
call fcn.00489e28
mov esi, eax
push 0
push 0x80
push 3
push 0
push 1
push 0
push 0x48a0b8
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48a052
xor eax, eax
jmp 0x48a0b3
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49cc8c], eax
push 0
lea eax, [esp + 4]
push eax
push 0
push 0
push 4
push 0x49cc8c
push esi
push ebx
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x48a08b
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
jmp 0x48a0b3
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x489e44
push 0
push 0
call sub.kernel32.dll_CreateThread_1
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 1
pop ecx
pop edx
pop esi
pop ebx
ret