Function at 0x10027c8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10027d52
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10027d1f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x10027d00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x10027d1d
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10010682
mov dword [eax], 0xfffffffd
jmp 0x10027cf5
jmp 0x10027d4d
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x10027d4d
push 0
push 0x257a
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
jmp 0x1002803a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10027f57
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], 0x1a8d
cmp dword [ebp - 0x74], 0x571
jge 0x10027f31
lea eax, [ebp - 0x9c]
push eax
push 0x1000b1b8
call fcn.100578db
pop ecx
pop ecx
mov dword [ebp - 0x20], 1
jmp 0x10027dd0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x9c]
jg 0x10027f31
lea eax, [ebp - 0x1c]
push eax
push 0x1000b1b8
call fcn.100578db
pop ecx
pop ecx
and dword [ebp - 0x14], 0
jmp 0x10027dfc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x10027e1d
mov eax, dword [ebp - 0x14]
lea eax, [ebp + eax*4 - 0x158]
push eax
push 0x1000b1b8
call fcn.100578db
pop ecx
pop ecx
jmp 0x10027df5
and dword [ebp - 0x18], 0
jmp 0x10027e2a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shl eax, 1
cmp dword [ebp - 0x18], eax
jge 0x10027e41
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x108], 0
jmp 0x10027e23
and dword [ebp - 4], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0xc], 0
jmp 0x10027e56
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jge 0x10027f2c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + eax*4 - 0x158]
je 0x10027e8c
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0xe0], 0x28
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10027e62
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0xe0], 0x29
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 8], eax
jmp 0x10027eb2
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
test eax, eax
jne 0x10027ede
mov eax, dword [ebp - 8]
movsx eax, byte [ebp + eax - 0xe0]
cmp eax, 0x28
jne 0x10027ede
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x108], 1
jmp 0x10027ef7
mov eax, dword [ebp - 8]
movsx eax, byte [ebp + eax - 0xe0]
cmp eax, 0x29
jne 0x10027ef5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10027eab
push dword [ebp - 0x28]
push 0x1000b1b8
call fcn.10057af6
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
dec eax
cmp dword [ebp - 0xc], eax
jne 0x10027f1c
push 0x1000b510
call fcn.10057af6
pop ecx
jmp 0x10027f27
push 0x1000b53c
call fcn.10057af6
pop ecx
jmp 0x10027e4f
jmp 0x10027dc9
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x10027f52
push 0x187a
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1002803a
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
push 0
mov ecx, dword [ebp - 0x90]
call fcn.10010682
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x98]
cmp eax, dword [ecx]
jle 0x10027fcf
mov dword [ebp - 0x34], 1
jmp 0x10027fd3
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10027fee
mov dword [ebp - 0x2c], 1
jmp 0x10027ff2
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jle 0x10028003
mov dword [ebp - 0x3c], 1
jmp 0x10028007
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 7
jae 0x10028016
mov dword [ebp - 0x30], 1
jmp 0x1002801a
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xfc71010f
je 0x1002802c
mov dword [ebp - 0x38], 1
jmp 0x10028030
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
neg eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret