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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d61e4]
cmp byte [eax + 0xc], 0
je 0x469659
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469652
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d7ba8], 0
jne 0x469540
push 0x469660
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x469668
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7ba8], eax
cmp dword [0x4d5168], 0
jne 0x46963b
push 0x469678
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d5168], eax
cmp dword [0x4d5168], 0
je 0x46963b
push 0x469684
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bac], eax
push 0x469694
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bb0], eax
push 0x4696a8
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bb4], eax
push 0x4696c0
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bb8], eax
push 0x4696d8
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bbc], eax
push 0x4696ec
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bc0], eax
push 0x469704
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bc4], eax
push 0x46971c
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bc8], eax
push 0x469738
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bcc], eax
push 0x469744
mov eax, dword [0x4d5168]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d7bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469659
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x474d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x474de0]
test si, 4
je 0x474da4
or bl, 1
test si, 8
je 0x474dae
or bl, 4
test si, 1
je 0x474db8
or bl, 8
test si, 2
je 0x474dc2
or bl, 0x10
test si, 0x10
je 0x474dcc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x474ddb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x474de4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x474e1c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x474dfd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x474e0c
or bl, 4
test esi, 0x20000000
je 0x474e17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x474e6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00474e20
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x47b4e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47b4f6
add esp, 0xfffffff0
call fcn.00403ed0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426c48
mov eax, dword [0x4d5c08]
mov dword [eax + 4], ebx
mov dword [eax], 0x47b888
mov eax, dword [0x4d5c1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47b894
mov eax, ebx
call fcn.0047b8a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
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, 0x477cbc
push eax
push 0
push 0
mov eax, dword [0x4d5e50]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429e78
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429e78
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428704]
call fcn.00429e78
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047bcc0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47bb9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47bb9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47bb9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47b633
call fcn.00403f28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47b980
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 0x47bb2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47bb0c
mov dl, 1
mov eax, dword [0x41bcd8]
call fcn.00403b3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a60
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47bafb
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.0046984c
test al, al
je 0x47baee
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, 0x47bb3c
lea eax, [ebp - 0x254]
call fcn.0040a3c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47baee
xor eax, eax
push ebp
push 0x47bae7
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 0x47bb74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47bad0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cd0
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 0x47bad0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47baee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47b9f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420680
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 0x47bb32
lea eax, [ebp - 0x260]
call fcn.00404a60
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d7bf4]
cmp byte [eax + 0xa5], 0
jne 0x47c4d1
cmp dword [0x4d7c0c], 0
jne 0x47c492
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47c41c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d7c0c], eax
cmp dword [0x4d7c08], 0
jne 0x47c4ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d7c08], eax
cmp dword [0x4d7c10], 0
jne 0x47c4d1
push esp
push 0
push 0
push 0x47c3c0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d7c10], eax
pop edx
ret
Function at 0x47c5c8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47c5df
add esp, 0xfffffff0
call fcn.00403ed0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426c48
mov eax, dword [0x4d5e30]
cmp word [eax + 2], 0
jne 0x47c607
mov eax, dword [0x4d5e30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047dd48
mov eax, dword [0x4d5f84]
cmp word [eax + 2], 0
jne 0x47c621
mov eax, dword [0x4d5f84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047df40
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b674]
call fcn.00403b3c
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 [0x4291e4]
call fcn.00430b00
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47c7a8
mov eax, dword [0x4d5ca8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430ed0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47e4e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d5ca8]
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.0040e280
test eax, eax
je 0x47c716
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409da8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e2a8
test eax, eax
je 0x47c72a
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.00404cd0
mov eax, dword [0x4d5ab0]
cmp byte [eax], 0
jne 0x47c75e
mov eax, ebx
call fcn.0047c8d0
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.0047e6bc
mov eax, ebx
call fcn.0047f080
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47c79e
call fcn.00403f28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47cb50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d7bf4]
cmp dword [eax + 0x30], 0
je 0x47cbfa
cmp dword [ebx + 0x94], 0
jne 0x47cbf4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47cae0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47cbf4
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 0x47cbba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47cbf4
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.0041df38
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47cbc9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47d75c
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 0x47d791
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.00404b50
jmp 0x47d79e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ab4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47e898
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47e8d9
mov eax, esi
call fcn.00464dd0
test al, al
je 0x47e8d9
mov eax, dword [ebx + 0x84]
call fcn.00464acc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47e8d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00464acc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4809b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480c10
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x480a13
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00480478
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ddf4
cmp al, 1
jne 0x480a13
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00480790
test al, al
je 0x480b9f
cmp dword [ebp - 8], 0
jge 0x480a31
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00480478
mov eax, dword [ebp - 0x210]
call fcn.00404d20
cmp ebx, eax
jge 0x480a7b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00480478
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d61c4]
and eax, 0xff
bt dword [edx], eax
jae 0x480a7b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x480a8f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048098c
cmp ebx, dword [ebp - 8]
je 0x480b91
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x480abb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d68
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d53a8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x480b7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d68
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d53a8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00464acc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403d68
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d53a8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00464acc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480b85
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x480bf2
cmp dword [ebp - 8], 0
jge 0x480baa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00480478
mov eax, dword [ebp - 0x218]
call fcn.00404d20
cmp eax, dword [ebp - 8]
jg 0x480be4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00480478
mov eax, dword [ebp - 0x21c]
call fcn.00404d20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048098c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c17
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a84
ret
Function at 0x4a705c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4a7081
cmp dword [esp + 4], 5
jb 0x4a7081
mov al, 1
jmp 0x4a7083
xor eax, eax
add esp, 0x94
ret
Function at 0x4b9ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b9b51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d59cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4b9b3b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004b9ad0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b82b4]
call fcn.004ba9a0
mov dword [0x4d5a34], eax
mov eax, dword [ebp - 4]
call fcn.004b995c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9b58
lea eax, [ebp - 8]
call fcn.00406844
ret

Function at 0x4b9bf0
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4b9c03
or esi, 2
test dl, dl
je 0x4b9c0c
or esi, 0
jmp 0x4b9c0f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x4ba82c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404f10
xor eax, eax
push ebp
push 0x4ba984
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4b809c]
call fcn.00419f18
test eax, eax
jl 0x4ba893
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.004b9bd4
and eax, 0x7f
mov eax, dword [eax*4 + 0x4d59cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4ba8f6
mov eax, dword [ebx]
call fcn.00404d20
test eax, eax
jle 0x4ba8f6
mov eax, dword [ebx]
call fcn.00404d20
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4ba8ba
mov eax, ebx
mov edx, 0x4ba99c
call fcn.00404d28
mov eax, dword [ebx]
call fcn.00404d20
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405a28
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.004b9ad0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4ba941
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d5b08]
call fcn.00406d24
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040a448
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404ab4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x40841c]
call fcn.0040d3f0
call fcn.004043fc
mov eax, dword [ebp - 8]
call fcn.004ba7a4
mov ebx, eax
test edi, edi
je 0x4ba956
mov eax, edi
call fcn.00403b6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba98b
lea eax, [ebp - 0x1c]
call fcn.00404a60
lea eax, [ebp - 0x18]
call fcn.00406844
lea eax, [ebp - 0x14]
call fcn.00404a60
lea eax, [ebp - 4]
call fcn.00404a60
ret

Function at 0x4bb568
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.004031cc
mov dword [esp], 0x3c
mov eax, dword [0x4d5f44]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x4bc084
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bc1ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d61a8]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4d61a8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0047bc30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004443bc
xor edx, edx
push ebp
push 0x4bc1d1
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4bc141
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406844
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004ba1ec
push eax
mov eax, dword [0x4d5f44]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4bc137
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004044a8
jmp 0x4bc1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc17d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00443f9c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004bbf14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4bc159
push 0
mov edx, 0x4bbeac
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00443b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc1d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00444408
mov eax, dword [0x4d61a8]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0047bc30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc1f5
lea eax, [ebp - 0x10]
call fcn.00406844
ret

Function at 0x4c1cfc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x4c1cbc
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret