Function at 0x10042aa7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e5b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x70], 0x2e32
mov dword [ebp - 0xcc], 0x1000b348
cmp dword [ebp - 0x70], 0x30b5
jle 0x10042b5a
and dword [ebp - 0x54], 0
jmp 0x10042af3
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x46de
jge 0x10042b5a
and dword [ebp - 0x44], 0
jmp 0x10042b09
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x5ead
jge 0x10042b58
and dword [ebp - 0x4c], 0
jmp 0x10042b1f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x7de1
jge 0x10042b56
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x10042b18
jmp 0x10042b02
jmp 0x10042aec
mov dword [ebp - 0x34], 0x9cd4431f
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0x2a56
jge 0x10042b7e
mov edx, dword [ebp - 0xcc]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x10042b9a
or dword [ebp - 4], 0xffffffff
jmp 0x10042ba4
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x20], 0x5943e2f7
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x50], 0x767dbf12
push 3
lea ecx, [ebp - 0x108]
call fcn.1002a6d6
mov dword [ebp - 4], 2
mov dword [ebp - 0xdc], 0xfffffffc
mov dword [ebp - 0xe8], 0xa5e2b195
mov dword [ebp - 0xac], 0xe904
mov dword [ebp - 0x14], 0
jmp 0x10042c02
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10042c15
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 7
jmp 0x10042bfb
mov dword [ebp - 0x14], 0
jmp 0x10042c25
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10042c3b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc8], 0xfffffffd
jmp 0x10042c1e
mov dword [ebp - 0x14], 0
jmp 0x10042c4b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10042c67
push dword [ebp - 0x14]
lea ecx, [ebp - 0x108]
call fcn.1002a774
mov dword [eax], 7
jmp 0x10042c44
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x64], 0xce3051eb
jne 0x10042c82
mov dword [ebp - 0xb0], 1
jmp 0x10042c89
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x34], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
add eax, 0xce4a
cmp eax, dword [ebp - 0x34]
jl 0x10042cb2
mov dword [ebp - 0xbc], 1
jmp 0x10042cb9
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xbc], eax
jl 0x10042cd4
mov dword [ebp - 0x78], 1
jmp 0x10042cd8
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x78], eax
jle 0x10042cf3
mov dword [ebp - 0xa0], 1
jmp 0x10042cfa
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
jne 0x10042d0c
mov dword [ebp - 0x80], 1
jmp 0x10042d10
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x80], eax
jg 0x10042d2b
mov dword [ebp - 0xe4], 1
jmp 0x10042d32
and dword [ebp - 0xe4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0xfffffff7
ja 0x10042d5b
mov dword [ebp - 0xc0], 1
jmp 0x10042d62
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc0], eax
je 0x10042d7f
cmp dword [ebp - 0x30], 0
je 0x10042d7f
mov dword [ebp - 0x88], 1
jmp 0x10042d86
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
add eax, 0xf2d
mov dword [ebp - 0x20], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp + eax - 0x64]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xc8], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xc8], 7
cmp dword [ebp - 0x18], 7
jne 0x10042dd7
mov dword [ebp - 0x90], 1
jmp 0x10042dde
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
neg eax
je 0x10042e5c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x114], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x64], 0xffffffff
jg 0x10042e14
mov dword [ebp - 0xa8], 1
jmp 0x10042e1b
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
je 0x10042e38
mov dword [ebp - 0xd8], 1
jmp 0x10042e3f
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jg 0x10042e5c
mov dword [ebp - 0xb8], 1
jmp 0x10042e63
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xb8]
jg 0x10042e7d
mov dword [ebp - 0x98], 1
jmp 0x10042e84
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + eax - 0x64]
jl 0x10042ea5
mov dword [ebp - 0x6c], 1
jmp 0x10042ea9
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x6c], eax
jl 0x10042eca
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 0
je 0x10042eca
mov dword [ebp - 0x74], 1
jmp 0x10042ece
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xfffffffa
jle 0x10042eea
cmp dword [ebp - 0x50], 0
je 0x10042eea
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x10042eea
mov dword [ebp - 0x7c], 1
jmp 0x10042eee
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x7c]
jl 0x10043152
mov dword [ebp - 0x38], 0x698b
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x3c], 0
jmp 0x10042f25
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10042f3b
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x138], 0x726993c4
jmp 0x10042f1e
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x34], 0xc499
cmp dword [ebp - 0x34], 0
jne 0x10042fba
mov eax, 0xffff36f9
test eax, eax
je 0x10042f9e
cmp dword [ebp - 0x38], 5
jl 0x10042f6c
mov dword [ebp - 0x84], 1
jmp 0x10042f73
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x84], eax
je 0x10042f8a
mov dword [ebp - 0x8c], 1
jmp 0x10042f91
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
push 0
lea ecx, [ebp - 0x108]
call fcn.1002a774
and dword [eax], 0
cmp dword [ebp - 0x20], 0
jne 0x10042fba
and dword [ebp - 0x68], 0
jmp 0x10042fc1
mov dword [ebp - 0x68], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xdc]
je 0x10042feb
mov dword [ebp - 0x94], 1
jmp 0x10042ff2
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x94]
jne 0x10043009
mov dword [ebp - 0xd4], 1
jmp 0x10043010
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xe8]
jl 0x10043030
mov dword [ebp - 0x9c], 1
jmp 0x10043037
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x9c], eax
jge 0x1004304e
mov dword [ebp - 0xa4], 1
jmp 0x10043055
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xb4], 0x43ca
mov dword [ebp - 0xf4], 0x1000b398
cmp dword [ebp - 0xb4], 0x4562
jle 0x100430f7
and dword [ebp - 0x40], 0
jmp 0x1004308e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7674
jge 0x100430f7
and dword [ebp - 0x48], 0
jmp 0x100430a4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5082
jge 0x100430f5
and dword [ebp - 0x58], 0
jmp 0x100430ba
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x18e9
jge 0x100430f3
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x58]
sar eax, cl
cdq
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x100430b3
jmp 0x1004309d
jmp 0x10043087
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb4], 0x433c
jge 0x10043124
mov edx, dword [ebp - 0xf4]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x10043140
mov dword [ebp - 4], 2
jmp 0x10043150
jmp 0x10043170
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10043170
push 0x1172
push 0
push 0x5bb
call dword [sym.imp.GDI32.dll_Polyline]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.1002a758
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffd
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x120], 0xffffffff
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0
jmp 0x100431cb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x100431e7
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100431e5
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x100431c4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x10043206
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 3
jge 0x10043226
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0xd0]
call fcn.1002a774
mov dword [eax], 7
jmp 0x100431fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret