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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x483078]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x483059
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x483068
or bl, 4
test esi, 0x20000000
je 0x483073
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4830c8
Capabilities:
Log keystrokes via polling

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

Function at 0x489740
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x489752
add esp, 0xfffffff0
call fcn.00403a08
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426920
mov eax, dword [0x56e644]
mov dword [eax + 4], ebx
mov dword [eax], 0x489ae4
mov eax, dword [0x56e65c]
mov dword [eax + 4], ebx
mov dword [eax], 0x489af0
mov eax, ebx
call fcn.00489afc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
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, 0x485f18
push eax
push 0
push 0
mov eax, dword [0x56e918]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4284b8]
call fcn.00429ce0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4284b8]
call fcn.00429ce0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4284b8]
call fcn.00429ce0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00489f64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x489e40
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x489e40
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x489e40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48988f
call fcn.00403a60
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x489c24
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 0x489dcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x489db0
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403674
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404514
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x489d9f
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.00476e60
test al, al
je 0x489d92
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, 0x489de0
lea eax, [ebp - 0x254]
call fcn.0040a248
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x489d92
xor eax, eax
push ebp
push 0x489d8b
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 0x489e18
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x489d74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404784
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 0x489d74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489d92
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x489c95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004208cc
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 0x489dd6
lea eax, [ebp - 0x260]
call fcn.00404514
ret

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

Disassembly:
push ecx
mov eax, dword [0x56fc14]
cmp byte [eax + 0xa5], 0
jne 0x48a775
cmp dword [0x56fc2c], 0
jne 0x48a736
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48a6c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x56fc2c], eax
cmp dword [0x56fc28], 0
jne 0x48a751
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x56fc28], eax
cmp dword [0x56fc30], 0
jne 0x48a775
push esp
push 0
push 0
push 0x48a664
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x56fc30], eax
pop edx
ret
Function at 0x48a8c8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48a8df
add esp, 0xfffffff0
call fcn.00403a08
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426920
mov eax, dword [0x56e8f8]
cmp word [eax + 2], 0
jne 0x48a907
mov eax, dword [0x56e8f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048c048
mov eax, dword [0x56ea64]
cmp word [eax + 2], 0
jne 0x48a921
mov eax, dword [0x56ea64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048c240
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b8f0]
call fcn.00403674
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 [0x42904c]
call fcn.00430c38
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48aaa8
mov eax, dword [0x56e71c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431008
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48c7f0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x56e71c]
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.0040e268
test eax, eax
je 0x48aa16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e290
test eax, eax
je 0x48aa2a
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.00404784
mov eax, dword [0x56e484]
cmp byte [eax], 0
jne 0x48aa5e
mov eax, ebx
call fcn.0048abd0
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.0048c9cc
mov eax, ebx
call fcn.0048d3e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48aa9e
call fcn.00403a60
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ae50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x56fc14]
cmp dword [eax + 0x30], 0
je 0x48aefa
cmp dword [ebx + 0x94], 0
jne 0x48aef4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48ade0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48aef4
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 0x48aeba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48aef4
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.0041e1ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48aec9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48ba5c
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 0x48ba91
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.00404604
jmp 0x48ba9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404568
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48cba8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48cbe9
mov eax, esi
call fcn.004722d4
test al, al
je 0x48cbe9
mov eax, dword [ebx + 0x84]
call fcn.00471fd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48cbe9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00471fd0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4a7480
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4a74a1
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4a74a1
xor eax, eax
ret
mov al, 1
ret

Function at 0x4aa868
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4aa8a0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4aa87e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4aa88d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4aa89c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4abc3c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x56ea18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4abc62
push 0
mov eax, dword [0x56ea18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4ad220
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 0x4ad480
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ad283
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004acce8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dd50
cmp al, 1
jne 0x4ad283
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ad000
test al, al
je 0x4ad40f
cmp dword [ebp - 8], 0
jge 0x4ad2a1
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.004acce8
mov eax, dword [ebp - 0x210]
call fcn.004047d4
cmp ebx, eax
jge 0x4ad2eb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004acce8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x56ece0]
and eax, 0xff
bt dword [edx], eax
jae 0x4ad2eb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ad2ff
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ad1fc
cmp ebx, dword [ebp - 8]
je 0x4ad401
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 0x4ad32b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x56a450]
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 0x4ad3ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x56a450]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00471fd0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038a0
and eax, 0x7f
movzx eax, word [eax*2 + 0x56a450]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00471fd0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad3f5
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 0x4ad462
cmp dword [ebp - 8], 0
jge 0x4ad41a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004acce8
mov eax, dword [ebp - 0x218]
call fcn.004047d4
cmp eax, dword [ebp - 8]
jg 0x4ad454
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004acce8
mov eax, dword [ebp - 0x21c]
call fcn.004047d4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ad1fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad487
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404538
ret
Function at 0x4d8130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042ac50
cmp ebx, dword [ebp - 8]
jge 0x4d8193
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b0a4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b0a4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042b0d0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4d8159
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d819c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042ac50
cmp ebx, dword [ebp - 8]
jge 0x4d81ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b0a4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b0a4
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042b0d0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4d81c5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ebeec
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 0x4ebf11
cmp dword [esp + 4], 5
jb 0x4ebf11
mov al, 1
jmp 0x4ebf13
xor eax, eax
add esp, 0x94
ret
Function at 0x51084f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x56bdf2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5108a7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x56be13
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x51089d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x5108ab
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x5204b4
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, eax
push 0
push 0
push 0
push 6
push ebx
call sub.kernel32.dll_MapViewOfFile
pop ebx
ret
Function at 0x565ea0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x565f67
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 5
mov eax, 0x565f80
call fcn.0043c764
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
mov edx, 2
mov eax, 0x565fb0
call fcn.0043c764
mov edx, dword [ebp - 0xc]
pop eax
call fcn.00404920
jne 0x565eff
lea edx, [ebp - 0x10]
mov eax, 0x565fc0
call fcn.00408c78
push 0
push 0
push 0xe
push esi
call sub.user32.dll_SendMessageA
mov ebx, eax
inc ebx
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b60
lea eax, [ebp - 4]
call fcn.00404a2c
push eax
push ebx
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x565fb0
mov edx, 0x565fd0
mov eax, 0x565fdc
call fcn.0043c6c8
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565f6e
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404538
ret
Function at 0x4011a1
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 8
call fcn.004089c7
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004089c7
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.00401387
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x401219
mov eax, 0
jmp 0x401367
cmp dword [ebp + 0xc], 0
jne 0x401245
mov dword [ebp - 0x10], esp
mov eax, 2
call fcn.004089d9
cmp dword [ebp - 0x10], esp
je 0x401242
push 6
call fcn.004089d3
add esp, 4
mov dword [ebp + 8], eax
cmp dword [ebp + 0x14], 0
jne 0x40126d
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401267
push ebx
call fcn.004089cd
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 4]
push eax
push 0x28
push dword [ebp + 8]
mov eax, 3
call fcn.004089d9
cmp dword [ebp - 0x10], esp
je 0x401298
push 6
call fcn.004089d3
add esp, 4
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0
mov eax, 4
call fcn.004089d9
cmp dword [ebp - 0x10], esp
je 0x4012c4
push 6
call fcn.004089d3
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 2
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
mov eax, 5
call fcn.004089d9
cmp dword [ebp - 0x10], esp
je 0x401353
push 6
call fcn.004089d3
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
mov eax, 0
setne al
jmp 0x401367
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.004089cd
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004089cd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401387
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4013c6
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4013b4
mov al, 1
jmp 0x40140e
cmp dword [ebx + 0x54], ecx
jne 0x4013bd
mov al, 2
jmp 0x40140e
cmp dword [ebx + 0x7c], ecx
jne 0x40140e
mov al, 3
jmp 0x40140e
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4013db
mov al, 4
jmp 0x40140e
cmp ecx, 5
jne 0x4013fb
cmp ebx, 0
jne 0x4013e9
mov al, 5
jmp 0x40140e
cmp ebx, 1
jne 0x4013f2
mov al, 6
jmp 0x40140e
cmp ebx, 2
jne 0x4013fb
mov al, 7
jmp 0x40140e
cmp ecx, 6
jne 0x40140e
cmp ebx, 0
jne 0x401407
mov al, 8
cmp ebx, 1
jne 0x40140e
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4129b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x479fbb
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.0046e945
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412a32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c402
mov eax, dword [eax]
push 0x4c11f0
push eax
call fcn.0045ea44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ebd0
test bl, bl
je 0x412a32
push 0x4c11f0
lea ecx, [esp + 0xc]
call fcn.0046ef60
push 0x4c4d6c
lea ecx, [esp + 0xc]
call fcn.0046ef60
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 0x412a6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ebd0
jmp 0x412b39
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 0x412af2
lea edx, [esp + 0x7c]
push 0x4c4d68
push edx
call fcn.0045ea44
add esp, 8
test eax, eax
je 0x412af2
lea eax, [esp + 0x7c]
push 0x4c4d64
push eax
call fcn.0045ea44
add esp, 8
test eax, eax
je 0x412af2
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 0x412a82
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.0046ebd0
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 0x413330
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 0x413392
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