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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452b74]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b55
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b64
or bl, 4
test esi, 0x20000000
je 0x452b6f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45921c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45922e
add esp, 0xfffffff0
call fcn.00403738
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421158
mov eax, dword [0x4f2b38]
mov dword [eax + 4], ebx
mov dword [eax], 0x4595c0
mov eax, dword [0x4f2b48]
mov dword [eax + 4], ebx
mov dword [eax], 0x4595cc
mov eax, ebx
call fcn.004595d8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
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, 0x4559f4
push eax
push 0
push 0
mov eax, dword [0x4f2d88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422bac]
call fcn.00424320
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422bac]
call fcn.00424320
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422bac]
call fcn.00424320
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004599f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4598d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4598d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4598d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45936b
call fcn.00403790
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4596b8
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 0x459863
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459844
mov dl, 1
mov eax, dword [0x419398]
call fcn.004033e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459833
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.004471dc
test al, al
je 0x459826
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, 0x459874
lea eax, [ebp - 0x254]
call fcn.00409c98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459826
xor eax, eax
push ebp
push 0x45981f
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 0x4598ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459808
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404418
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 0x459808
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459826
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459729
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d2b4
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 0x45986a
lea eax, [ebp - 0x260]
call fcn.004041a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f4be0]
cmp byte [eax + 0xa5], 0
jne 0x45a209
cmp dword [0x4f4bf8], 0
jne 0x45a1ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a154
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f4bf8], eax
cmp dword [0x4f4bf4], 0
jne 0x45a1e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f4bf4], eax
cmp dword [0x4f4bfc], 0
jne 0x45a209
push esp
push 0
push 0
push 0x45a0f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f4bfc], eax
pop edx
ret
Function at 0x45a300
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a317
add esp, 0xfffffff0
call fcn.00403738
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421158
mov eax, dword [0x4f2d6c]
cmp word [eax + 2], 0
jne 0x45a33f
mov eax, dword [0x4f2d6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ba68
mov eax, dword [0x4f2e9c]
cmp word [eax + 2], 0
jne 0x45a359
mov eax, dword [0x4f2e9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bc60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418ec4]
call fcn.004033e4
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 [0x42368c]
call fcn.0042aa04
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a4e0
mov eax, dword [0x4f2bf4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042add4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c210
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f2bf4]
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.0040db0c
test eax, eax
je 0x45a44e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040968c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040db34
test eax, eax
je 0x45a462
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.00404418
mov eax, dword [0x4f29c8]
cmp byte [eax], 0
jne 0x45a496
mov eax, ebx
call fcn.0045a608
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.0045c3ec
mov eax, ebx
call fcn.0045cdd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a4d6
call fcn.00403790
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a888
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f4be0]
cmp dword [eax + 0x30], 0
je 0x45a932
cmp dword [ebx + 0x94], 0
jne 0x45a92c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a818
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a92c
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 0x45a8f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a92c
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.0041b2e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a901
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b494
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 0x45b4c9
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.00404298
jmp 0x45b4d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c5c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c609
mov eax, esi
call fcn.00442808
test al, al
je 0x45c609
mov eax, dword [ebx + 0x84]
call fcn.00442504
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c609
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442504
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45e314
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.0047bbe4
test al, al
je 0x45e40c
xor eax, eax
mov dword [esp], eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x45e414
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e37b
mov dword [esp + 0xc], 4
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x45e438
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [esp], 0
jne 0x45e40c
push 0x45e44c
call fcn.0047bb30
push eax
call fcn.0047bb24
mov edx, 0x4f202c
pop ecx
call fcn.00407664
mov ebx, eax
mov eax, ebx
and eax, 0x80
cmp eax, 0x80
jne 0x45e3fa
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push 0x45e414
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e3fa
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x45e438
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
and ebx, 0xf
cmp ebx, 7
jne 0x45e40c
mov eax, 1
call fcn.0047b760
add esp, 0x10
pop ebx
ret
Function at 0x45efc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x45efeb
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 8]
call fcn.00404ec4
lea eax, [ebp - 0xc]
call fcn.00404ec4
lea esi, [ebp - 0x1c]
xor eax, eax
push ebp
push 0x45f139
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.00404e80
push esi
mov eax, dword [ebp - 0x10]
call fcn.00404b0c
push eax
push 0x104
mov eax, dword [ebp - 8]
call fcn.00404b0c
push eax
call sub.kernel32.dll_GetFullPathNameW
mov eax, dword [ebp - 0x10]
call fcn.00404b0c
push eax
call sub.kernel32.dll_lstrlenW
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404e80
cmp dword [esi], 0
je 0x45f11e
jmp 0x45f10d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xf
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x45f14c
call fcn.0040a314
mov eax, dword [ebp - 0x14]
call fcn.00404b0c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45f0ae
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040490c
mov bl, 1
jmp 0x45f11e
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xf
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x45f15c
call fcn.0040a314
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.00404e80
push esi
mov eax, dword [ebp - 0x10]
call fcn.00404b0c
push eax
push 0x104
mov eax, dword [ebp - 0x18]
call fcn.00404b0c
push eax
call sub.kernel32.dll_GetFullPathNameW
mov eax, dword [ebp - 0x10]
call fcn.00404b0c
push eax
call sub.kernel32.dll_lstrlenW
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404e80
cmp dword [esi], 0
je 0x45f11e
mov eax, dword [esi]
cmp word [eax], 0
jne 0x45f062
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f140
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004048e8
ret

Function at 0x4603a4
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query environment variable

Disassembly:
push ebx
add esp, 0xfffffdf8
xor ebx, ebx
push 0x57
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x4603f8
push 0x104
lea eax, [esp + 4]
push eax
push 0x460404
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
je 0x4603f8
push esp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4603f8
push 1
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x460444
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setg bl
mov eax, ebx
add esp, 0x208
pop ebx
ret
Function at 0x463c8c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4f2aa4]
cmp byte [eax], 0
jne 0x463cba
mov ecx, 0xaf
mov edx, 0x463d08
mov eax, 0x463d54
call fcn.00404180
mov eax, ebx
call fcn.004048d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x463cf9
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404a74
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463d68
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x4f2aa4]
cmp byte [eax], 0
jne 0x463d8b
mov ecx, 0xbd
mov edx, 0x463dcc
mov eax, 0x463e18
call fcn.00404180
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x463dbe
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x463dbe
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x463dbe
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x466710
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4f30a4]
cmp dword [eax], 2
je 0x46672e
mov ecx, 0x35f
mov edx, 0x466760
mov eax, 0x4667ac
call fcn.00404180
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4666b0
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4f4eb4], eax
cmp dword [0x4f4eb4], 0
jne 0x466755
call fcn.0040e288
ret

Function at 0x46705c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4670c0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404418
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409090
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4670c7
lea eax, [ebp - 0xc]
call fcn.004041a8
ret

Function at 0x4670f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x467150
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x46711f
call fcn.0040e288
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402950
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x467150
call fcn.0040e288
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x479554
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
add esp, 0xffffff1c
mov ebx, eax
call fcn.00475f78
mov edx, ebx
call fcn.00475cec
test bl, bl
je 0x4795fc
call fcn.00475f78
mov edx, esp
call fcn.00475374
call fcn.00475f78
lea edx, [esp + 8]
call fcn.00475394
call fcn.00475f78
lea edx, [esp + 0x20]
call fcn.00475350
push 0
lea eax, [esp + 4]
push eax
push 8
push 0x3b
call sub.user32.dll_SystemParametersInfoA
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x35
call sub.user32.dll_SystemParametersInfoA
push 0
lea eax, [esp + 0x24]
push eax
push 0x18
push 0x33
call sub.user32.dll_SystemParametersInfoA
call fcn.00475f78
call fcn.00475338
test eax, eax
je 0x4796eb
call fcn.00475f78
call fcn.00475338
push eax
call sub.user32.dll_UnhookWindowsHookEx
call fcn.00475f78
xor edx, edx
call fcn.00475d04
jmp 0x4796eb
call fcn.00475f78
call fcn.00475338
test eax, eax
jne 0x47964f
mov dword [esp + 0x38], 0x94
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x48], 2
jne 0x47964f
cmp dword [esp + 0x3c], 4
jbe 0x47964f
push 0
push 0
call sub.kernel32.dll_GetModuleHandleA_2
push eax
mov eax, 0x4794c8
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov ebx, eax
call fcn.00475f78
mov edx, ebx
call fcn.00475d04
call fcn.00475f78
lea edx, [esp + 0x10]
call fcn.00475374
test byte [esp + 0x14], 1
jne 0x47967e
and dword [esp + 0x14], 0xfffffffb
and dword [esp + 0x14], 0xfffffff7
push 0
lea eax, [esp + 0x14]
push eax
push 8
push 0x3b
call sub.user32.dll_SystemParametersInfoA
call fcn.00475f78
lea edx, [esp + 0x18]
call fcn.00475394
test byte [esp + 0x1c], 1
jne 0x4796ad
and dword [esp + 0x1c], 0xfffffffb
and dword [esp + 0x1c], 0xfffffff7
push 0
lea eax, [esp + 0x1c]
push eax
push 8
push 0x35
call sub.user32.dll_SystemParametersInfoA
call fcn.00475f78
lea edx, [esp + 0xcc]
call fcn.00475350
test byte [esp + 0xd0], 1
jne 0x4796eb
and dword [esp + 0xd0], 0xfffffffb
and dword [esp + 0xd0], 0xfffffff7
push 0
lea eax, [esp + 0xd0]
push eax
push 0x18
push 0x33
call sub.user32.dll_SystemParametersInfoA
add esp, 0xe4
pop ebx
ret

Function at 0x483370
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x4833a0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x483399
test bl, bl
je 0x483391
push 5
push eax
call sub.user32.dll_ShowWindow
jmp 0x483399
push 0
push eax
call sub.user32.dll_ShowWindow
mov al, 1
pop ebx
ret

Function at 0x4833b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4833d2
xor eax, eax
pop edx
ret
mov al, 1
pop edx
ret
Function at 0x4834bc
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffff44
mov esi, eax
mov dword [esp + 0x28], 0x94
lea eax, [esp + 0x28]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x38], 2
jne 0x4835ca
xor eax, eax
mov dword [esp + 4], eax
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x483513
push 0
push 0x4835d8
push 0x4835f4
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4835cc
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x48353d
push 0
push 0x4835d8
push 0x4835f4
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4835cc
lea eax, [esp + 0xc]
push eax
push 0x483600
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x483567
push 0
push 0x483614
push 0x4835f4
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4835cc
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test al, al
je 0x4835b2
push 0
push 0x483634
push 0x4835f4
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4835cc
test esi, esi
jne 0x4835c1
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
jmp 0x4835ca
push 0
push 7
call sub.user32.dll_ExitWindowsEx
mov bl, 1
mov eax, ebx
add esp, 0xbc
pop esi
pop ebx
ret

Function at 0x48368c
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
lea eax, [ebp - 4]
call fcn.00404ec4
xor eax, eax
push ebp
push 0x483700
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0x483710
push 0x483710
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040444c
mov eax, dword [ebp - 8]
call fcn.00404684
push eax
push 0x483714
push 0
call sub.shell32.dll_ShellExecuteA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483707
lea eax, [ebp - 8]
call fcn.004041a8
lea eax, [ebp - 4]
call fcn.004048d0
ret
Function at 0x48c988
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404674
xor eax, eax
push ebp
push 0x48c9d3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0048c9ec
mov ebx, eax
push 5
mov eax, dword [ebp - 4]
call fcn.00404684
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c9da
lea eax, [ebp - 4]
call fcn.004041a8
ret