Function at 0x5bd230
Capabilities:
Get number of processors
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x5bd239
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5bd664
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x30]
mov eax, esi
call sym.UltraISO.exe__Taocntrr_TtaoFormat_FormatEtc_qqrv
lea edx, [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor al, 1
or al, byte [ebp + 8]
je 0x5bd280
mov dword [ebp - 4], 0x80040064
jmp 0x5bd61d
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0x5bd678
call fcn.005f6c28
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
xor edx, edx
push ebp
push 0x5bd5f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
push eax
push 0x42
call sub.KERNEL32.DLL_GlobalAlloc
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
test edi, edi
jne 0x5bd2d5
call fcn.005e583c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5bd5e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
dec ebx
test ebx, ebx
jl 0x5bd566
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov dword [ebp - 0x14], eax
push 1
mov ecx, 0x5bd690
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.005f5d20
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x40]
push 0
mov ecx, 0x5bd6a4
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd397
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x50]
call fcn.005f5cf8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x14]
or dword [eax], 4
push 0
mov ecx, 0x5bd6b8
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd3eb
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x68]
call fcn.005f5d10
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x58]
call fcn.005bd1f4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x14]
or dword [eax], 8
push 0
mov ecx, 0x5bd6cc
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd43f
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x78]
call fcn.005f5d10
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x58]
call fcn.005bd1f4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x14]
or dword [eax], 0x10
push 0
mov ecx, 0x5bd6e0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd499
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x88]
call fcn.005f5d10
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x58]
call fcn.005bd1f4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x14]
or dword [eax], 0x20
push 0
mov ecx, 0x5bd6f4
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd517
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0x98]
call fcn.005f5cf8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], eax
push 0
mov ecx, 0x5bd708
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd511
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0xa8]
call fcn.005f5cf8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x14]
or dword [eax], 0x40
push 0
mov ecx, 0x5bd71c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b6a04
mov ebx, eax
test ebx, ebx
jl 0x5bd55a
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea eax, [ebp - 0xb8]
call fcn.005f5d08
test al, al
je 0x5bd55a
mov eax, dword [ebp - 0x14]
or dword [eax], 0x8000
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x5bd30b
mov eax, dword [0x821940]
cmp dword [eax], 2
jne 0x5bd5c4
mov eax, dword [0x821944]
cmp dword [eax], 5
jne 0x5bd5c4
mov eax, dword [0x821948]
cmp dword [eax], 1
jne 0x5bd5c4
push 1
call sub.USER32.DLL_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5bd5c4
push 2
call sub.USER32.DLL_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5bd5c4
push 0x5bd724
push 0x5bd734
call sub.USER32.DLL_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x5bd5c4
push 0x64
call sub.KERNEL32.DLL_Sleep
push ebx
call sub.USER32.DLL_BringWindowToTop
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd5ea
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd66b
lea eax, [ebp - 0xb8]
mov edx, dword [0x5f1b34]
mov ecx, 6
call fcn.005f57c8
lea eax, [ebp - 0x50]
mov edx, dword [0x5f1b34]
mov ecx, 2
call fcn.005f57c8
lea eax, [ebp - 0x18]
call fcn.005f4c54
lea eax, [ebp - 0xc]
call fcn.005f6be4
ret