Function at 0x1006ca12
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1010a650
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101459f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x10165f34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, 0x108cb880
call fcn.1006d309
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
add ecx, 0x12
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1090], ecx
jg 0x1010a6d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x1010acf3
mov dword [ebp - 0x1c], 0x109
lea ecx, [ebx + 0xc]
call fcn.1006cd50
mov dword [ebp - 0x194], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x198]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006d921
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1010a76e
push 0x14
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
push ecx
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx edx, al
test edx, edx
je 0x1010a76e
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
test ecx, ecx
je 0x1010a76e
movzx eax, byte [0x108c574c]
test eax, eax
je 0x1010a767
cmp dword [ebx + 8], 0
je 0x1010a767
call dword [ebx + 8]
mov byte [0x108c574c], 0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1010a7bc
push 0x14
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
push ecx
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx edx, al
test edx, edx
je 0x1010a7bc
movzx eax, byte [0x108c574c]
test eax, eax
jne 0x1010a7bc
mov byte [0x108c574c], 1
push 0x14
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x14
push ecx
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx edx, al
test edx, edx
je 0x1010a908
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1010a908
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0x2b
push 0x24
push 0x23
lea ecx, [ebp - 0x7c]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x88], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x14
mov dword [ebp - 0x198], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xb0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
push 0x14
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a082
jmp 0x1010aa0e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0x2b
push 0x2b
push 0x2b
lea ecx, [ebp - 0xc0]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0xd0], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x14
mov dword [ebp - 0x198], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xf0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xec]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xe8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xe4]
mov dword [ecx + 0xc], eax
push 0x14
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a082
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1080]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x100]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x110], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x108], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x14
mov dword [ebp - 0x198], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x130]
mov dword [ecx], edx
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x128]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x124]
mov dword [ecx + 0xc], eax
push 0x14
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006b504
lea ecx, [ebx + 0xc]
call fcn.1006cd50
mov dword [ebp - 0x194], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x140]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x14c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x148], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
add edx, 0xa
sub edx, eax
sub edx, 1
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x107c]
lea eax, [edx + eax + 0x14]
sub eax, ecx
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x194]
push ecx
push 0
mov edx, dword [ebp - 0x198]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x190]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x188]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x184]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
mov edx, dword [0x108c6388]
push edx
call fcn.1006ad8e
add esp, 0x28
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
add ecx, 0x1a
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1078], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006b644
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20