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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a14c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a12d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a13c
or bl, 4
test esi, 0x20000000
je 0x44a147
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4507f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450806
add esp, 0xfffffff0
call fcn.00403468
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419414
mov eax, dword [0x475808]
mov dword [eax + 4], ebx
mov dword [eax], 0x450b98
mov eax, dword [0x475814]
mov dword [eax + 4], ebx
mov dword [eax], 0x450ba4
mov eax, ebx
call fcn.00450bb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
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, 0x44cfcc
push eax
push 0
push 0
mov eax, dword [0x475964]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aeb0]
call fcn.0041c54c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aeb0]
call fcn.0041c54c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aeb0]
call fcn.0041c54c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450fd0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450eac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450eac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450eac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450943
call fcn.004034c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450c90
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 0x450e3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450e1c
mov dl, 1
mov eax, dword [0x411b28]
call fcn.00403114
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e94
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450e0b
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.0043ec80
test al, al
je 0x450dfe
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, 0x450e4c
lea eax, [ebp - 0x254]
call fcn.00408bb8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450dfe
xor eax, eax
push ebp
push 0x450df7
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 0x450e84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450de0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404104
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 0x450de0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450dfe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450d01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415604
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 0x450e42
lea eax, [ebp - 0x260]
call fcn.00403e94
ret

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

Disassembly:
push ecx
mov eax, dword [0x476bb0]
cmp byte [eax + 0xa5], 0
jne 0x4517e1
cmp dword [0x476bc8], 0
jne 0x4517a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45172c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476bc8], eax
cmp dword [0x476bc4], 0
jne 0x4517bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476bc4], eax
cmp dword [0x476bcc], 0
jne 0x4517e1
push esp
push 0
push 0
push 0x4516d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476bcc], eax
pop edx
ret
Function at 0x4518d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4518ef
add esp, 0xfffffff0
call fcn.00403468
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419414
mov eax, dword [0x475950]
cmp word [eax + 2], 0
jne 0x451917
mov eax, dword [0x475950]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452fb0
mov eax, dword [0x475a08]
cmp word [eax + 2], 0
jne 0x451931
mov eax, dword [0x475a08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004531a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41170c]
call fcn.00403114
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 [0x41b8b8]
call fcn.00423124
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451ab8
mov eax, dword [0x475874]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004234f4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453748
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x475874]
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.0040c280
test eax, eax
je 0x451a26
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004085ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c2a8
test eax, eax
je 0x451a3a
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.00404104
mov eax, dword [0x475740]
cmp byte [eax], 0
jne 0x451a6e
mov eax, ebx
call fcn.00451be0
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.00453924
mov eax, ebx
call fcn.004542e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451aae
call fcn.004034c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451e60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476bb0]
cmp dword [eax + 0x30], 0
je 0x451f0a
cmp dword [ebx + 0x94], 0
jne 0x451f04
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451df0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451f04
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 0x451eca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451f04
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.00413a74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451ed9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452a6c
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 0x452aa1
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.00403f84
jmp 0x452aae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ee8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453b00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453b41
mov eax, esi
call fcn.0043a3f4
test al, al
je 0x453b41
mov eax, dword [ebx + 0x84]
call fcn.0043a0f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453b41
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a0f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457208
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x457236
mov eax, ebx
call fcn.00457cbc
cmp dword [ebx + 0x40], 0
je 0x45722f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4572a7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x457299
cmp dword [ebx + 8], 0
je 0x457258
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45726a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x457299
cmp dword [ebx + 8], 0
je 0x45724b
cmp eax, 3
je 0x45727d
dec eax
jne 0x45724b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45724b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45724b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4572c5
cmp dword [ebx + 0x14], 0xcc
je 0x4572c5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004572d0
pop ebx
ret
Function at 0x468c48
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 0x468ea8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x468cab
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00468710
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040be6c
cmp al, 1
jne 0x468cab
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00468a28
test al, al
je 0x468e37
cmp dword [ebp - 8], 0
jge 0x468cc9
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.00468710
mov eax, dword [ebp - 0x210]
call fcn.00404154
cmp ebx, eax
jge 0x468d13
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00468710
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x475b50]
and eax, 0xff
bt dword [edx], eax
jae 0x468d13
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x468d27
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00468c24
cmp ebx, dword [ebp - 8]
je 0x468e29
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 0x468d53
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403340
and eax, 0x7f
movzx eax, word [eax*2 + 0x47570c]
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 0x468e16
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403340
and eax, 0x7f
movzx eax, word [eax*2 + 0x47570c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043a0f0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403340
and eax, 0x7f
movzx eax, word [eax*2 + 0x47570c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043a0f0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468e1d
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 0x468e8a
cmp dword [ebp - 8], 0
jge 0x468e42
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00468710
mov eax, dword [ebp - 0x218]
call fcn.00404154
cmp eax, dword [ebp - 8]
jg 0x468e7c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00468710
mov eax, dword [ebp - 0x21c]
call fcn.00404154
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00468c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468eaf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403eb8
ret
Function at 0x401131
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, ebx
add eax, 0x69
mov dword [ebp - 0x10], eax
je 0x40121a
mov eax, ebx
mov cl, bl
mov esi, ebx
xor eax, edi
mov dword [ebp - 0x14], 0
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
shl eax, cl
mov dword [ebp - 0x28], eax
lea eax, [ebx - 1]
and eax, edi
mov dword [ebp - 0x1c], eax
jmp 0x40120e
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or eax, 1
imul eax, ebx
add edi, ebx
sub edx, eax
mov eax, dword [ebp - 0x24]
imul edi, edx
cmp dword [ebp - 0x14], eax
jne 0x4011a6
mov eax, ebx
mov ecx, edi
sar eax, cl
sub eax, edi
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
je 0x40121a
mov dword [esp], ebx
call fcn.00401000
lea ecx, [ebx + 1]
imul ecx, dword [ebp - 0x10]
cdq
idiv ecx
test ebx, ebx
lea eax, [ebx + 0xd]
mov dword [ebp - 0x30], eax
lea ecx, [edx + edx]
cmovne edx, ecx
add edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], edi
jmp 0x401206
mov edx, dword [ebp + 8]
mov eax, ebx
mov dl, byte [edx + esi]
inc esi
mov byte [ebp - 0x1d], dl
or edx, 1
mov edi, edx
xor edx, edx
and edi, 0xff
div edi
mov edx, dword [ebp - 0x2c]
add al, byte [ebp - 0x1d]
mov byte [edx + ecx], al
mov eax, dword [ebp - 0x30]
add eax, esi
cmp ecx, dword [ebp - 0x18]
cmove esi, eax
inc ecx
cmp ecx, dword [ebp - 0x10]
jl 0x4011d6
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], ecx
jle 0x401178
add esp, 0x28
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40144f
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0x134]
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassW]
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 0x14
push ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x148]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x148]
sub esp, 0x14
leave
sub eax, 0x41
ret
Function at 0x40150b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040144f
test eax, eax
jne 0x4015a5
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40203e
sub eax, 0x4015dc
mov dword [esp], 0x4015dc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4015a5
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.0040133e
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004013c2
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401d41
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4062c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4114f8]
jne 0x4062d1
repz ret
jmp fcn.00409401

Function at 0x4098cd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4114f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004062d6
and dword [ebp - 0x14], 0
cmp dword [0x716b80], 0
mov dword [ebp - 0x18], eax
jne 0x409980
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409a28
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409a28
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x716b80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x716b84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x716b88], eax
call edi
push eax
call esi
mov dword [0x716b90], eax
test eax, eax
je 0x409980
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x716b8c], eax
mov eax, dword [0x716b8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4099d9
cmp dword [0x716b90], ecx
je 0x4099d9
push eax
call esi
push dword [0x716b90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4099d9
test ebx, ebx
je 0x4099d9
call edi
test eax, eax
je 0x4099d0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4099d0
test byte [ebp - 8], 1
jne 0x4099d9
or dword [ebp + 0x10], 0x200000
jmp 0x409a0c
mov eax, dword [0x716b84]
cmp eax, dword [ebp - 0x18]
je 0x409a0c
push eax
call esi
test eax, eax
je 0x409a0c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409a0c
mov eax, dword [0x716b88]
cmp eax, dword [ebp - 0x18]
je 0x409a0c
push eax
call esi
test eax, eax
je 0x409a0c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x716b80]
call esi
test eax, eax
je 0x409a28
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409a2a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004062c7
leave
ret
Function at 0x419710
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49347b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00485ce1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419792
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004832ea
mov eax, dword [eax]
push 0x4b8230
push eax
call fcn.00475104
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485f6c
test bl, bl
je 0x419792
push 0x4b8230
lea ecx, [esp + 0xc]
call fcn.00486348
push 0x4bbdac
lea ecx, [esp + 0xc]
call fcn.00486348
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4197ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485f6c
jmp 0x419899
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x419852
lea edx, [esp + 0x7c]
push 0x4bbda8
push edx
call fcn.00475104
add esp, 8
test eax, eax
je 0x419852
lea eax, [esp + 0x7c]
push 0x4bbda4
push eax
call fcn.00475104
add esp, 8
test eax, eax
je 0x419852
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4197e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00485f6c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41a090
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41a0f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc