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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ed75c]
cmp byte [eax + 0xc], 0
je 0x446de9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446de2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f0d24], 0
jne 0x446cd0
push 0x446df0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446df8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d24], eax
cmp dword [0x4ac424], 0
jne 0x446dcb
push 0x446e08
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ac424], eax
cmp dword [0x4ac424], 0
je 0x446dcb
push 0x446e14
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d28], eax
push 0x446e24
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d2c], eax
push 0x446e38
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d30], eax
push 0x446e50
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d34], eax
push 0x446e68
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d38], eax
push 0x446e7c
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d3c], eax
push 0x446e94
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d40], eax
push 0x446eac
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d44], eax
push 0x446ec8
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d48], eax
push 0x446ed4
mov eax, dword [0x4ac424]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f0d4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446de9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ac74
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.00404834
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44acc3
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.00404aa4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452450]
test si, 4
je 0x452414
or bl, 1
test si, 8
je 0x45241e
or bl, 4
test si, 1
je 0x452428
or bl, 8
test si, 2
je 0x452432
or bl, 0x10
test si, 0x10
je 0x45243c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45244b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452454
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45248c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45246d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45247c
or bl, 4
test esi, 0x20000000
je 0x452487
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458b34
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458b46
add esp, 0xfffffff0
call fcn.00403dcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004211dc
mov eax, dword [0x4ed1e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x458ed8
mov eax, dword [0x4ed1f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x458ee4
mov eax, ebx
call fcn.00458ef0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
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, 0x45530c
push eax
push 0
push 0
mov eax, dword [0x4ed430]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422c30]
call fcn.004243a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422c30]
call fcn.004243a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422c30]
call fcn.004243a4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459310
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458c83
call fcn.00403e24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458fd0
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 0x45917b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45915c
mov dl, 1
mov eax, dword [0x419458]
call fcn.00403a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404834
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45914b
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.00446fdc
test al, al
je 0x45913e
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, 0x45918c
lea eax, [ebp - 0x254]
call fcn.00409e30
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45913e
xor eax, eax
push ebp
push 0x459137
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 0x4591c4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459120
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa4
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 0x459120
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45913e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459041
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d338
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 0x459182
lea eax, [ebp - 0x260]
call fcn.00404834
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f0d70]
cmp byte [eax + 0xa5], 0
jne 0x459b21
cmp dword [0x4f0d88], 0
jne 0x459ae2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459a6c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f0d88], eax
cmp dword [0x4f0d84], 0
jne 0x459afd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f0d84], eax
cmp dword [0x4f0d8c], 0
jne 0x459b21
push esp
push 0
push 0
push 0x459a10
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f0d8c], eax
pop edx
ret
Function at 0x459c18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459c2f
add esp, 0xfffffff0
call fcn.00403dcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004211dc
mov eax, dword [0x4ed414]
cmp word [eax + 2], 0
jne 0x459c57
mov eax, dword [0x4ed414]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b2f0
mov eax, dword [0x4ed53c]
cmp word [eax + 2], 0
jne 0x459c71
mov eax, dword [0x4ed53c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b4e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418f84]
call fcn.00403a78
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 [0x423710]
call fcn.0042aa88
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459df8
mov eax, dword [0x4ed2a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ae58
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ba98
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ed2a0]
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.0040dca4
test eax, eax
je 0x459d66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409824
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dccc
test eax, eax
je 0x459d7a
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.00404aa4
mov eax, dword [0x4ed074]
cmp byte [eax], 0
jne 0x459dae
mov eax, ebx
call fcn.00459f20
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.0045bc74
mov eax, ebx
call fcn.0045c638
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459dee
call fcn.00403e24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a1a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f0d70]
cmp dword [eax + 0x30], 0
je 0x45a24a
cmp dword [ebx + 0x94], 0
jne 0x45a244
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a130
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a244
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 0x45a20a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a244
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.0041b3a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a219
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45adac
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 0x45ade1
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.00404924
jmp 0x45adee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404888
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45be50
Capabilities:
Hide graphical window

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

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.00475b18
test al, al
je 0x45dc68
xor eax, eax
mov dword [esp], eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x45dc70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dbd7
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 0x45dc94
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 0x45dc68
push 0x45dca8
call fcn.00475a64
push eax
call fcn.00475a58
mov edx, 0x4ec71c
pop ecx
call fcn.00407a74
mov ebx, eax
mov eax, ebx
and eax, 0x80
cmp eax, 0x80
jne 0x45dc56
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push 0x45dc70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dc56
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x45dc94
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 0x45dc68
mov eax, 1
call fcn.00475694
add esp, 0x10
pop ebx
ret
Function at 0x45e820
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 0x45e847
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 8]
call fcn.00405408
lea eax, [ebp - 0xc]
call fcn.00405408
lea esi, [ebp - 0x1c]
xor eax, eax
push ebp
push 0x45e995
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.004053c4
push esi
mov eax, dword [ebp - 0x10]
call fcn.0040517c
push eax
push 0x104
mov eax, dword [ebp - 8]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFullPathNameW
mov eax, dword [ebp - 0x10]
call fcn.0040517c
push eax
call sub.kernel32.dll_lstrlenW
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004053c4
cmp dword [esi], 0
je 0x45e97a
jmp 0x45e969
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, 0x45e9a8
call fcn.0040a4ac
mov eax, dword [ebp - 0x14]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45e90a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00404f98
mov bl, 1
jmp 0x45e97a
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, 0x45e9b8
call fcn.0040a4ac
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004053c4
push esi
mov eax, dword [ebp - 0x10]
call fcn.0040517c
push eax
push 0x104
mov eax, dword [ebp - 0x18]
call fcn.0040517c
push eax
call sub.kernel32.dll_GetFullPathNameW
mov eax, dword [ebp - 0x10]
call fcn.0040517c
push eax
call sub.kernel32.dll_lstrlenW
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004053c4
cmp dword [esi], 0
je 0x45e97a
mov eax, dword [esi]
cmp word [eax], 0
jne 0x45e8be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e99c
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404f74
ret

Function at 0x45fc00
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 0x45fc54
push 0x104
lea eax, [esp + 4]
push eax
push 0x45fc60
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
je 0x45fc54
push esp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45fc54
push 1
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x45fca0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setg bl
mov eax, ebx
add esp, 0x208
pop ebx
ret
Function at 0x4610a4
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 0x461108
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.00404aa4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00409228
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46110f
lea eax, [ebp - 0xc]
call fcn.00404834
ret

Function at 0x461118
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 0x461174
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x461143
call fcn.0040e420
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402ea8
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 0x461174
call fcn.0040e420
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4727b8
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
xor ebx, ebx
push 0
push 0x4727e0
call sub.user32.dll_FindWindowA
mov esi, eax
test esi, esi
je 0x4727da
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x473488
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
add esp, 0xffffff1c
mov ebx, eax
call fcn.0046feac
mov edx, ebx
call fcn.0046fc20
test bl, bl
je 0x473530
call fcn.0046feac
mov edx, esp
call fcn.0046f2a8
call fcn.0046feac
lea edx, [esp + 8]
call fcn.0046f2c8
call fcn.0046feac
lea edx, [esp + 0x20]
call fcn.0046f284
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.0046feac
call fcn.0046f26c
test eax, eax
je 0x47361f
call fcn.0046feac
call fcn.0046f26c
push eax
call sub.user32.dll_UnhookWindowsHookEx
call fcn.0046feac
xor edx, edx
call fcn.0046fc38
jmp 0x47361f
call fcn.0046feac
call fcn.0046f26c
test eax, eax
jne 0x473583
mov dword [esp + 0x38], 0x94
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x48], 2
jne 0x473583
cmp dword [esp + 0x3c], 4
jbe 0x473583
push 0
push 0
call sub.kernel32.dll_GetModuleHandleA_2
push eax
mov eax, 0x4733fc
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov ebx, eax
call fcn.0046feac
mov edx, ebx
call fcn.0046fc38
call fcn.0046feac
lea edx, [esp + 0x10]
call fcn.0046f2a8
test byte [esp + 0x14], 1
jne 0x4735b2
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.0046feac
lea edx, [esp + 0x18]
call fcn.0046f2c8
test byte [esp + 0x1c], 1
jne 0x4735e1
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.0046feac
lea edx, [esp + 0xcc]
call fcn.0046f284
test byte [esp + 0xd0], 1
jne 0x47361f
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 0x47d2a4
Capabilities:
Find taskbar
Hide the windows taskbar

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x47d2d4
call sub.user32.dll_FindWindowA
test eax, eax
je 0x47d2cd
test bl, bl
je 0x47d2c5
push 5
push eax
call sub.user32.dll_ShowWindow
jmp 0x47d2cd
push 0
push eax
call sub.user32.dll_ShowWindow
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x47d2d4
call sub.user32.dll_FindWindowA
test eax, eax
je 0x47d2cd
test bl, bl
je 0x47d2c5
push 5
push eax
call sub.user32.dll_ShowWindow
jmp 0x47d2cd
push 0
push eax
call sub.user32.dll_ShowWindow
mov al, 1
pop ebx
ret

Function at 0x47d2e4
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 0x47d306
xor eax, eax
pop edx
ret
mov al, 1
pop edx
ret
Function at 0x47d3f0
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 0x47d4fe
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 0x47d447
push 0
push 0x47d50c
push 0x47d528
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x47d500
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x47d471
push 0
push 0x47d50c
push 0x47d528
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x47d500
lea eax, [esp + 0xc]
push eax
push 0x47d534
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x47d49b
push 0
push 0x47d548
push 0x47d528
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x47d500
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 0x47d4e6
push 0
push 0x47d568
push 0x47d528
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x47d500
test esi, esi
jne 0x47d4f5
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
jmp 0x47d4fe
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 0x47d5c0
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.00405408
xor eax, eax
push ebp
push 0x47d634
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0x47d644
push 0x47d644
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ad8
mov eax, dword [ebp - 8]
call fcn.00404d10
push eax
push 0x47d648
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 0x47d63b
lea eax, [ebp - 8]
call fcn.00404834
lea eax, [ebp - 4]
call fcn.00404f5c
ret