Function at 0x1006b586
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x10110130
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 0x10145c76
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 0x101101b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x101106f0
mov dword [ebp - 0x1c], 0x109
mov eax, dword [0x108c6a3c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x108c56fc]
cmp eax, dword [edx + 0x104]
jle 0x1011020d
push 0x108c56fc
call fcn.1006d403
add esp, 4
cmp dword [0x108c56fc], 0xffffffff
jne 0x1011020d
mov ecx, 0x108c56e0
call fcn.1006c10c
push 0x1014a7a0
call fcn.1006bfae
add esp, 4
push 0x108c56fc
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 0x108c3d88
push 0x108c3d87
push 0x108c3c88
call fcn.1006bcbb
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x10110250
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xff
jge 0x10110289
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10110271
mov byte [ebp - 0x271], 1
jmp 0x10110278
mov byte [ebp - 0x271], 0
mov ecx, dword [ebp - 0x30]
mov dl, byte [ebp - 0x271]
mov byte [ecx + 0x108c3c88], dl
jmp 0x10110247
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 0x10110315
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 0x10110315
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
test ecx, ecx
je 0x10110315
movzx eax, byte [0x108c56bb]
test eax, eax
jne 0x10110315
mov byte [0x108c5dde], 1
mov byte [0x108c56bb], 1
movzx eax, byte [0x108c56bb]
test eax, eax
je 0x101103e2
mov dword [ebp - 0xc8], 0
jmp 0x1011033f
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xff
jge 0x101103e2
mov eax, dword [ebp - 0xc8]
push eax
call fcn.1006b5ef
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x101103dd
cmp dword [ebp - 0xc8], 0x1b
jne 0x101103a5
mov dword [0x108c5700], 0xffffffff
mov eax, dword [ebx + 8]
mov ecx, dword [0x108c5700]
mov dword [eax], ecx
mov byte [0x108c5dde], 0
mov byte [0x108c56bb], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x101106f0
mov eax, dword [ebp - 0xc8]
mov dword [0x108c5700], eax
mov eax, dword [ebx + 8]
mov ecx, dword [0x108c5700]
mov dword [eax], ecx
mov byte [0x108c5dde], 0
mov byte [0x108c56bb], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.1006bd38
jmp 0x101106f0
jmp 0x10110330
movzx eax, byte [0x108c56bb]
test eax, eax
je 0x1011042f
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 0x1011049f
mov eax, dword [ebx + 8]
cmp dword [eax], 0
jl 0x1011048a
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 0x1011045b
mov byte [0x108c5704], 1
jmp 0x1011048a
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 0x1011048a
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [0x108c5704], 1
movzx eax, byte [0x108c5704]
test eax, eax
jne 0x1011049f
mov dword [ebp - 0xb4], 0x10154fa4
movzx eax, byte [0x108c367f]
test eax, eax
je 0x101104bc
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov dword [0x108c5700], ecx
mov byte [0x108c367f], 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