Function at 0x100c5430
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1214], 0
jne 0x100c544c
mov eax, 1
jmp 0x100c58be
movzx ecx, byte [0x101e59f3]
test ecx, ecx
jne 0x100c5461
mov eax, 1
jmp 0x100c58be
mov byte [0x101e59f3], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100c5483
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x38
call fcn.1000c730
cmp dword [ebp - 4], eax
jae 0x100c5604
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1214]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
push 0x1019c07c
push 0x1019c080
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0xc], eax
push 0x1019c08c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1013b348
add esp, 8
test eax, eax
je 0x100c55e1
push 0x1019c098
mov edx, dword [ebp - 0xc]
push edx
call fcn.1013b348
add esp, 8
test eax, eax
je 0x100c55e1
push 0x1019c0a4
mov eax, dword [ebp - 0xc]
push eax
call fcn.1013b348
add esp, 8
test eax, eax
je 0x100c55e1
mov ecx, dword [ebp + 8]
add ecx, 0x64
je 0x100c5532
mov edx, dword [ebp + 8]
add edx, 0x128
mov dword [ebp - 0x24], edx
jmp 0x100c5539
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1214]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
je 0x100c55e1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x128
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x128]
mov eax, dword [edx + 0xa8]
call eax
mov byte [0x101e59f3], 1
mov ecx, dword [ebp + 8]
add ecx, 0x64
je 0x100c55a6
mov edx, dword [ebp + 8]
add edx, 0x128
mov dword [ebp - 0x2c], edx
jmp 0x100c55ad
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1214]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x4c]
call edx
jmp 0x100c58be
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x128
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
mov edx, dword [eax + 0xa8]
call edx
jmp 0x100c547a
cmp dword [ebp - 8], 9
jne 0x100c57de
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x100
jne 0x100c57de
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x100c5639
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x48
call fcn.10015190
cmp dword [ebp - 4], eax
jae 0x100c5752
mov eax, dword [ebp + 8]
add eax, 0x64
je 0x100c5669
mov ecx, dword [ebp + 8]
add ecx, 0x128
mov dword [ebp - 0x34], ecx
jmp 0x100c5670
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1214]
add ecx, 0x48
call fcn.100151d0
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
je 0x100c574d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
je 0x100c56c4
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x100c56cd
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jb 0x100c5712
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x48
call fcn.10015190
cmp dword [ebp - 4], eax
jae 0x100c5712
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1214]
add ecx, 0x48
call fcn.100151d0
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x78]
call eax
jmp 0x100c5723
mov byte [0x101e59f3], 1
mov eax, 1
jmp 0x100c58be
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x128
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x128]
mov edx, dword [eax + 0xc0]
call edx
mov byte [0x101e59f3], 1
xor eax, eax
jmp 0x100c58be
jmp 0x100c5630
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jne 0x100c57d0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x68]
je 0x100c57d0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1214]
add ecx, 0x48
call fcn.10015190
test eax, eax
je 0x100c57d0
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x48
call fcn.100151d0
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x74]
call eax
mov byte [0x101e59f3], 1
xor eax, eax
jmp 0x100c58be
mov dword [ebp - 4], 0
jmp 0x100c57f0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x48
call fcn.10015190
cmp dword [ebp - 4], eax
jae 0x100c58b2
mov eax, dword [ebp + 8]
add eax, 0x64
je 0x100c5820
mov ecx, dword [ebp + 8]
add ecx, 0x128
mov dword [ebp - 0x44], ecx
jmp 0x100c5827
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1214]
add ecx, 0x48
call fcn.100151d0
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
je 0x100c58ad
mov byte [0x101e59f3], 1
mov edx, dword [ebp + 8]
add edx, 0x64
je 0x100c5875
mov eax, dword [ebp + 8]
add eax, 0x128
mov dword [ebp - 0x4c], eax
jmp 0x100c587c
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1214]
add ecx, 0x48
call fcn.100151d0
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x100c58be
jmp 0x100c57e7
mov byte [0x101e59f3], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 8