Function at 0x1006a7e4
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1010f2a0
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 0x10145b96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x270
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, 0x29
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1090], ecx
jg 0x1010f320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x1010f860
mov dword [ebp - 0x1c], 0x109
mov eax, dword [0x108c6a3c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x108c56b0]
cmp eax, dword [edx + 0x104]
jle 0x1010f37d
push 0x108c56b0
call fcn.1006d403
add esp, 4
cmp dword [0x108c56b0], 0xffffffff
jne 0x1010f37d
mov ecx, 0x108c5694
call fcn.1006c10c
push 0x1014a760
call fcn.1006bfae
add esp, 4
push 0x108c56b0
call fcn.1006d49e
add esp, 4
mov byte [0x108c5dde], 0
push 0xff
push 0x78
push 0x78
push 0x78
lea ecx, [ebp - 0x2c]
call fcn.1006a230
push 0x108c3988
push 0x108c3987
push 0x108c3888
call fcn.1006bcbb
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x1010f3c0
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xff
jge 0x1010f3f9
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1010f3e1
mov byte [ebp - 0x271], 1
jmp 0x1010f3e8
mov byte [ebp - 0x271], 0
mov ecx, dword [ebp - 0x30]
mov dl, byte [ebp - 0x271]
mov byte [ecx + 0x108c3888], dl
jmp 0x1010f3b7
mov dword [ebp - 0xb4], 0x10154fa4
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [0x108bb068]
push ecx
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [0x108c6388]
call fcn.1006d921
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1010f485
push 0xa
push 0x14
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1078]
sub ecx, 0x14
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x107c]
add eax, 0x104
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx ecx, al
test ecx, ecx
je 0x1010f485
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
test ecx, ecx
je 0x1010f485
movzx eax, byte [0x108c564f]
test eax, eax
jne 0x1010f485
mov byte [0x108c5dde], 1
mov byte [0x108c564f], 1
movzx eax, byte [0x108c564f]
test eax, eax
je 0x1010f552
mov dword [ebp - 0xc8], 0
jmp 0x1010f4af
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xff
jge 0x1010f552
mov eax, dword [ebp - 0xc8]
push eax
call fcn.1006b0ea
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1010f54d
cmp dword [ebp - 0xc8], 0x1b
jne 0x1010f515
mov dword [0x108c56b4], 0xffffffff
mov eax, dword [ebx + 8]
mov ecx, dword [0x108c56b4]
mov dword [eax], ecx
mov byte [0x108c5dde], 0
mov byte [0x108c564f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x1010f860
mov eax, dword [ebp - 0xc8]
mov dword [0x108c56b4], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x108c56b4]
mov dword [eax], ecx
mov byte [0x108c5dde], 0
mov byte [0x108c564f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x1010f860
jmp 0x1010f4a0
movzx eax, byte [0x108c564f]
test eax, eax
je 0x1010f59f
mov dword [ebp - 0xb4], 0x10156368
push 0xff
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0x20c]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x1010f60f
mov eax, dword [ebx + 8]
cmp dword [eax], 0
jl 0x1010f5fa
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x10165558]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x1010f5cb
mov byte [0x108c56b8], 1
jmp 0x1010f5fa
push 0x7f
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x1010f5fa
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [0x108c56b8], 1
movzx eax, byte [0x108c56b8]
test eax, eax
jne 0x1010f60f
mov dword [ebp - 0xb4], 0x10154fa4
movzx eax, byte [0x108c367d]
test eax, eax
je 0x1010f62c
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov dword [0x108c56b4], ecx
mov byte [0x108c367d], 0
push 0x98
lea ecx, [ebp - 0x160]
call fcn.1006c639
push 1
lea ecx, [ebp - 0x160]
call fcn.1006ccf6
mov byte [ebp - 4], 1
push 0x10151344
lea eax, [ebp - 0x160]
push eax
call fcn.1006b94b
add esp, 8
mov ecx, dword [ebp - 0xb4]
push ecx
push eax
call fcn.1006b94b
add esp, 8
push 0x1015636c
push eax
call fcn.1006b94b
add esp, 8
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x160]
call fcn.1006b568
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.1006cd50
mov dword [ebp - 0x274], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1080]
push edx
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0x21c]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x230], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x22c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x228], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1078]
sub edx, 0x14
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x107c]
add ecx, 0x109
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x274]
push edx
push 0
mov eax, dword [ebp - 0x278]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x270]
mov dword [ecx], edx
mov eax, dword [ebp - 0x26c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x268]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x264]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x280]
push edx
mov eax, dword [0x108c6388]
push eax
call fcn.1006ad8e
add esp, 0x28
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.1006bd38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.1006ad57
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