Function at 0x4a2338
Capabilities:
Create process on windows
Get number of processors
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a29f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80000002
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [0x4b6800]
mov eax, dword [eax]
mov edx, 0x4a2a10
call fcn.004a1260
push 5
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.004091c4
mov eax, dword [ebp - 0x30]
call fcn.00404784
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404784
push eax
push 0x4a2a20
mov eax, dword [0x4b6bcc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x38]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404584
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
mov edx, eax
add edx, 6
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004047e4
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047e4
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404824
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0xc]
call fcn.00404784
push eax
mov eax, dword [ebp - 8]
call fcn.00404784
push eax
call sub.user32.dll_FindWindowA
xor ebx, ebx
jmp 0x4a248a
inc ebx
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0xc]
call fcn.00404784
push eax
mov eax, dword [ebp - 8]
call fcn.00404784
push eax
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x4a2493
cmp ebx, 0xa
jl 0x4a2468
test eax, eax
je 0x4a29c8
lea edx, [ebp - 0x2c]
push edx
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x2c]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404584
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
mov edx, eax
add edx, 6
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004047e4
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047e4
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404824
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00408cc0
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00408cc0
mov ebx, eax
add ebx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov ebx, 0x33
push 0
push 0
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
dec ebx
jne 0x4a259a
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x61
call sub.user32.dll_VkKeyScanA
movsx eax, ax
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x61
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x61
call sub.user32.dll_VkKeyScanA
movsx eax, ax
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x61
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0xa
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x18]
call fcn.0040435c
mov eax, dword [ebp - 0x18]
call fcn.00404584
mov esi, eax
test esi, esi
jle 0x4a26c3
mov ebx, 1
push 0
push 0
push 1
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ebx - 1]
push eax
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ebx - 1]
push eax
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0xa
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x4a2686
push 0x64
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x1c]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404584
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
mov edx, eax
add edx, 6
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004047e4
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047e4
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404824
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00408cc0
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00408cc0
mov ebx, eax
add ebx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov ebx, 0x33
push 0
push 0
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 1
call sub.kernel32.dll_Sleep_1
dec ebx
jne 0x4a27bf
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x61
call sub.user32.dll_VkKeyScanA
movsx eax, ax
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x61
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x61
call sub.user32.dll_VkKeyScanA
movsx eax, ax
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x61
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
push 8
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0xa
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x24]
call fcn.0040435c
mov eax, dword [ebp - 0x1c]
call fcn.00404584
mov esi, eax
test esi, esi
jle 0x4a28ef
mov ebx, 1
push 0
push 0
push 1
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx - 1]
push eax
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 1
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx - 1]
push eax
call sub.user32.dll_VkKeyScanA
push eax
call sub.user32.dll_keybd_event
push 0xa
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x4a28b2
push 0x64
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x30]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404584
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a30
call fcn.004048c8
mov edx, eax
add edx, 6
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004047e4
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047e4
mov edx, dword [ebp - 0xc]
mov eax, 0x4a2a40
call fcn.004048c8
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404824
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00408cc0
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00408cc0
mov ebx, eax
add ebx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a29ff
lea eax, [ebp - 0x30]
call fcn.004042c4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004042e8
ret