Function at 0x10085690
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x100b8c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x2c0]
test edi, edi
je 0x10085928
mov ebx, dword [esp + 0x258]
cmp ebx, 0xd
jne 0x10085706
mov al, byte [edi + 0x1d0]
test al, al
jne 0x10085706
mov ecx, dword [esi + 0x2c4]
test ecx, ecx
je 0x100856ff
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x1008592a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x10085928
mov al, byte [edi + 0x199]
test al, al
jne 0x10085928
cmp ebx, 0x56
jne 0x100857a9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x100857a9
lea eax, [esp + 0x2c]
push eax
call fcn.10086110
add esp, 4
mov dword [esp + 0x250], 0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.100866e0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.10084420
mov byte [esp + 0x250], 1
lea ecx, [esi + 0x2a4]
push eax
call fcn.10007820
mov byte [esp + 0x250], 0
lea ecx, [esp + 0x10]
call fcn.10006f00
mov dword [esp + 0x250], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10006f00
mov al, 1
jmp 0x1008592a
push 0x1ff
lea eax, [esp + 0x49]
mov byte [esp + 0x48], 0
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [esp + 0x25c]
cmp eax, 1
jne 0x100858a5
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x4c]
push eax
movzx eax, di
push eax
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [esp + 0x28]
push eax
call fcn.1003ba0f
add esp, 4
test eax, eax
jne 0x10085844
movzx eax, word [esp + 0x28]
push eax
call fcn.1003b9e2
add esp, 4
test eax, eax
jne 0x10085844
movzx eax, word [esp + 0x28]
push eax
call fcn.1003ba65
add esp, 4
test eax, eax
jne 0x10085844
movzx eax, word [esp + 0x28]
push eax
call fcn.1003ba3a
add esp, 4
test eax, eax
je 0x100858a5
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x250], 2
lea ecx, [esp + 0x2c]
push dword [esp + 0x28]
push 1
call fcn.100176e0
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.100866e0
mov dword [esp + 0x250], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10006f00
cmp ebx, 0xd
je 0x100858c5
mov ecx, dword [esi + 0x17c]
call fcn.10031bd0
push 0
push edi
push ebx
mov edx, dword [eax]
mov ecx, eax
push 0x100
call dword [edx + 0xc]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.10084420
mov dword [esp + 0x250], 3
lea ecx, [esi + 0x2a4]
push eax
call fcn.10007820
mov dword [esp + 0x250], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x10085906
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov ecx, esi
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.10086f20
mov al, 1
jmp 0x1008592a
xor al, al
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.10033901
add esp, 0x244
ret 0xc