Function at 0x100c8b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x220
push 0xffffffffffffffff
push 0x102cbce0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x1ec]
test edi, edi
je 0x100c8dc7
mov ebx, dword [ebp + 0x228]
cmp ebx, 0xd
jne 0x100c8bf3
cmp byte [edi + 0x140], 0
jne 0x100c8bf3
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x100c8bec
mov eax, dword [ecx]
call dword [eax + 8]
mov al, 1
jmp 0x100c8dc9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x100c8dc7
mov al, byte [edi + 0x121]
test al, al
jne 0x100c8dc7
cmp ebx, 0x56
jne 0x100c8c80
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x100c8c80
lea ecx, [ebp]
call fcn.100c8a20
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.100c9f20
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100c90d0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10080040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10018a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10018a30
mov al, 1
jmp 0x100c8dc9
push 0x200
lea eax, [ebp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [ebp + 0x22c]
cmp eax, 1
jne 0x100c8d68
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
lea eax, [ebp + 0x1c]
push eax
movzx eax, di
push eax
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
jne 0x100c8d10
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
jne 0x100c8d10
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
jne 0x100c8d10
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_ispunct]
add esp, 4
test eax, eax
je 0x100c8d68
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov dword [ebp - 4], 2
mov ecx, esi
mov ax, word [ebp + 0x18]
mov word [ebp], ax
xor eax, eax
mov word [ebp + 2], ax
lea eax, [ebp]
push eax
mov dword [ebp + 0x10], 1
call fcn.100c9f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10018a30
cmp ebx, 0xd
je 0x100c8d8c
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x100c8d8c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x100c8d8c
mov eax, dword [ecx]
push 0
push edi
push ebx
push 0x100
call dword [eax + 0xc]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100c90d0
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10080040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10018a30
mov ecx, esi
call fcn.100ca0a0
mov al, 1
jmp 0x100c8dc9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.102af9d5
lea esp, [ebp + 0x220]
pop ebp
ret 0xc