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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459174]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459155
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459164
or bl, 4
test esi, 0x20000000
je 0x45916f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f790
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f7a2
add esp, 0xfffffff0
call fcn.00403adc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425500
mov eax, dword [0x485774]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fb34
mov eax, dword [0x485784]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fb40
mov eax, ebx
call fcn.0045fb4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
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, 0x45c014
push eax
push 0
push 0
mov eax, dword [0x485918]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426f38]
call fcn.0042864c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426f38]
call fcn.0042864c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426f38]
call fcn.0042864c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ff6c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f8df
call fcn.00403b34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fc2c
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 0x45fdd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fdb8
mov dl, 1
mov eax, dword [0x41b360]
call fcn.00403748
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040458c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fda7
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.0044d224
test al, al
je 0x45fd9a
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, 0x45fde8
lea eax, [ebp - 0x254]
call fcn.00409954
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45fd9a
xor eax, eax
push ebp
push 0x45fd93
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 0x45fe20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45fd7c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
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 0x45fd7c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fd9a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fc9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f530
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 0x45fdde
lea eax, [ebp - 0x260]
call fcn.0040458c
ret

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

Disassembly:
push ecx
mov eax, dword [0x486c88]
cmp byte [eax + 0xa5], 0
jne 0x46077d
cmp dword [0x486ca0], 0
jne 0x46073e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4606c8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486ca0], eax
cmp dword [0x486c9c], 0
jne 0x460759
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486c9c], eax
cmp dword [0x486ca4], 0
jne 0x46077d
push esp
push 0
push 0
push 0x46066c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x486ca4], eax
pop edx
ret
Function at 0x460874
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46088b
add esp, 0xfffffff0
call fcn.00403adc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425500
mov eax, dword [0x485908]
cmp word [eax + 2], 0
jne 0x4608b3
mov eax, dword [0x485908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461f50
mov eax, dword [0x4859c0]
cmp word [eax + 2], 0
jne 0x4608cd
mov eax, dword [0x4859c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462148
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ae70]
call fcn.00403748
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], 0x80000018
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 [0x4279b8]
call fcn.0042efa0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460a54
mov eax, dword [0x4857f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f370
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4626c8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4857f8]
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.0040d13c
test eax, eax
je 0x4609c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040929c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d164
test eax, eax
je 0x4609d6
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.004047f4
mov eax, dword [0x48568c]
cmp byte [eax], 0
jne 0x460a0a
mov eax, ebx
call fcn.00460b7c
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.004628a4
mov eax, ebx
call fcn.00463254
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460a4a
call fcn.00403b34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460df0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486c88]
cmp dword [eax + 0x30], 0
je 0x460e9a
cmp dword [ebx + 0x94], 0
jne 0x460e94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460d80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460e94
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 0x460e5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460e94
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.0041d56c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460e69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461978
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 0x4619ad
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.0040467c
jmp 0x4619ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462a80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462ac1
mov eax, esi
call fcn.0044891c
test al, al
je 0x462ac1
mov eax, dword [ebx + 0x84]
call fcn.00448618
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462ac1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448618
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4669e8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466b51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403068
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x484f9c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x484fa0], eax
mov eax, dword [ebp - 0x24]
mov dword [0x484fa4], eax
mov eax, dword [0x485b54]
cmp dword [eax], 2
sete byte [0x484f0c]
push 0x466b5c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00466d20
cmp byte [0x484f0c], 0
jne 0x466a74
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00466dbc
test al, al
je 0x466a74
mov eax, dword [ebp - 0x4c]
mov dword [0x487240], eax
jmp 0x466a7b
xor eax, eax
mov dword [0x487240], eax
call fcn.00466884
and eax, 0x7f
cmp eax, 0xb
ja case.0x466a8c.0
jmp dword [eax*4 + 0x466a93]
mov byte [0x484ef8], 1
jmp case.0x466a8c.0
mov byte [0x484efc], 1
jmp case.0x466a8c.0
mov byte [0x484f00], 1
jmp case.0x466a8c.0
mov byte [0x484f04], 1
jmp case.0x466a8c.0
mov byte [0x484f08], 1
jmp case.0x466a8c.0
mov byte [0x484f10], 1
mov byte [0x484f14], 1
jmp case.0x466a8c.0
mov byte [0x484f10], 1
mov byte [0x484f18], 1
jmp case.0x466a8c.0
mov byte [0x484f10], 1
mov byte [0x484f1c], 1
jmp case.0x466a8c.0
mov byte [0x484f20], 1
jmp case.0x466a8c.0
mov byte [0x484f24], 1
jmp case.0x466a8c.0
mov byte [0x484f28], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b58
lea eax, [ebp - 4]
call fcn.0040458c
ret

Function at 0x466dbc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x466e63
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a3c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x466e4d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404bc8
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a3c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x466e4d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x466e74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x466e4d
cmp dword [ebp - 8], 0x34
jne 0x466e4d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466e6a
lea eax, [ebp - 0x10]
call fcn.0040458c
ret
Function at 0x466ed8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x466f5d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403068
mov dword [ebp - 0x26], ebx
mov dword [ebp - 0x22], 3
lea eax, [ebp - 8]
mov ecx, 0x466f74
mov edx, esi
call fcn.00404890
mov eax, dword [ebp - 8]
call fcn.00404a3c
mov dword [ebp - 0x1e], eax
mov al, byte [ebp - 1]
call fcn.00466eb0
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f64
lea eax, [ebp - 8]
call fcn.0040458c
ret

Function at 0x466f94
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467040
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2a]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403068
call sub.user32.dll_GetDesktopWindow
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], 4
lea eax, [ebp - 8]
mov ecx, 0x467058
mov edx, ebx
call fcn.00404890
lea eax, [ebp - 0xc]
mov ecx, 0x467058
mov edx, esi
call fcn.00404890
mov eax, dword [ebp - 8]
call fcn.00404a3c
mov dword [ebp - 0x22], eax
mov eax, dword [ebp - 0xc]
call fcn.00404a3c
mov dword [ebp - 0x1e], eax
mov al, byte [ebp - 1]
call fcn.00466f78
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x2a]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467047
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045b0
ret

Function at 0x467f14
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467fec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48735c], 0
jne 0x467fd0
lea eax, [ebp - 4]
mov edx, 0x468004
call fcn.00404624
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a3c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x467fd0
mov eax, ebx
call fcn.0040278c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x467fc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x467fb3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x468014
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x467fb3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48735c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fd0
mov eax, dword [ebp - 0xc]
call fcn.004027ac
ret
mov ebx, dword [0x48735c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ff3
lea eax, [ebp - 4]
call fcn.0040458c
ret
Function at 0x46a5b8
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.00429468
cmp ebx, dword [ebp - 8]
jge 0x46a61b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004296f8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004296f8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00429724
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46a5e1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46a624
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.00429468
cmp ebx, dword [ebp - 8]
jge 0x46a687
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004296f8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004296f8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00429724
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46a64d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46d15c
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 0x46d3bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x46d1bf
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0046ce04
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ccb0
cmp al, 1
jne 0x46d1bf
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0046d0cc
test al, al
je 0x46d34b
cmp dword [ebp - 8], 0
jge 0x46d1dd
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.0046ce04
mov eax, dword [ebp - 0x210]
call fcn.00404844
cmp ebx, eax
jge 0x46d227
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0046ce04
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x485b48]
and eax, 0xff
bt dword [edx], eax
jae 0x46d227
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x46d23b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046d138
cmp ebx, dword [ebp - 8]
je 0x46d33d
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 0x46d267
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403974
and eax, 0x7f
movzx eax, word [eax*2 + 0x4850dc]
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 0x46d32a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403974
and eax, 0x7f
movzx eax, word [eax*2 + 0x4850dc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00448618
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403974
and eax, 0x7f
movzx eax, word [eax*2 + 0x4850dc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00448618
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d331
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 0x46d39e
cmp dword [ebp - 8], 0
jge 0x46d356
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0046ce04
mov eax, dword [ebp - 0x218]
call fcn.00404844
cmp eax, dword [ebp - 8]
jg 0x46d390
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0046ce04
mov eax, dword [ebp - 0x21c]
call fcn.00404844
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046d138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d3c3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004045b0
ret
Function at 0x480ba4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403068
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00404a3c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00404a3c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404a3c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00404a3c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x44]
mov eax, dword [eax*4 + 0x48564c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x480cc3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 1
xor eax, eax
push ebp
push 0x480cbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x51], 0
je 0x480c93
mov eax, dword [ebp - 4]
cmp byte [eax + 0x50], 0
jne 0x480c89
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x34]
jmp 0x480c9b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x480c9b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480cff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x51], 0
je 0x480ce3
mov eax, dword [ebp - 4]
mov si, 0xffed
call fcn.00403974
jmp 0x480cff
mov eax, dword [ebp - 4]
push eax
mov dx, 0xffed
call fcn.0040398c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004252fc
pop esi
mov esp, ebp
pop ebp
ret