Function at 0x100fc190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3b8], 0
jne 0x100fc1b3
mov eax, 1
jmp 0x100fc66c
cmp dword [0x1022ee44], 0
je 0x100fc1c6
mov eax, 1
jmp 0x100fc66c
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
jmp 0x100fc1ec
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b8]
add ecx, 0x68
call fcn.10012070
cmp dword [ebp - 4], eax
jae 0x100fc376
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b8]
add ecx, 0x68
call fcn.10012090
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
push 0x101d83f0
push 0x101d83f4
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0xc], eax
push 0x101d8400
mov eax, dword [ebp - 0xc]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x100fc353
push 0x101d840c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x100fc353
push 0x101d8418
mov edx, dword [ebp - 0xc]
push edx
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x100fc353
mov eax, dword [ebp + 8]
add eax, 0x120
je 0x100fc29d
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov dword [ebp - 0x24], ecx
jmp 0x100fc2a4
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b8]
add ecx, 0x68
call fcn.10012090
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
je 0x100fc353
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1e4]
mov eax, dword [edx + 0xa8]
call eax
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [ebp + 8]
add ecx, 0x120
je 0x100fc318
mov edx, dword [ebp + 8]
add edx, 0x1e4
mov dword [ebp - 0x2c], edx
jmp 0x100fc31f
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b8]
add ecx, 0x68
call fcn.10012090
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 0x100fc66c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax + 0xa8]
call edx
jmp 0x100fc1e3
cmp dword [ebp - 8], 9
jne 0x100fc576
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x100
jne 0x100fc576
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x100fc3ab
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
add ecx, 0x84
call fcn.1002e1e0
cmp dword [ebp - 4], eax
jae 0x100fc4da
mov eax, dword [ebp + 8]
add eax, 0x120
je 0x100fc3e0
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov dword [ebp - 0x34], ecx
jmp 0x100fc3e7
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b8]
add ecx, 0x84
call fcn.100bdc70
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 0x100fc4d5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
je 0x100fc43e
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x100fc447
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jb 0x100fc492
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
add ecx, 0x84
call fcn.1002e1e0
cmp dword [ebp - 4], eax
jae 0x100fc492
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b8]
add ecx, 0x84
call fcn.100bdc70
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 0x100fc4a7
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, 1
jmp 0x100fc66c
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax + 0xc0]
call edx
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
jmp 0x100fc66c
jmp 0x100fc3a2
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 + 0x124]
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 0x100fc564
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x124]
je 0x100fc564
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b8]
add ecx, 0x84
call fcn.1002e1e0
test eax, eax
je 0x100fc564
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
add ecx, 0x84
call fcn.100bdc70
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
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
jmp 0x100fc66c
mov dword [ebp - 4], 0
jmp 0x100fc588
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
add ecx, 0x84
call fcn.1002e1e0
cmp dword [ebp - 4], eax
jae 0x100fc65c
mov eax, dword [ebp + 8]
add eax, 0x120
je 0x100fc5bd
mov ecx, dword [ebp + 8]
add ecx, 0x1e4
mov dword [ebp - 0x44], ecx
jmp 0x100fc5c4
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b8]
add ecx, 0x84
call fcn.100bdc70
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 0x100fc657
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edx, dword [ebp + 8]
add edx, 0x120
je 0x100fc61c
mov eax, dword [ebp + 8]
add eax, 0x1e4
mov dword [ebp - 0x4c], eax
jmp 0x100fc623
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
add ecx, 0x84
call fcn.100bdc70
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 0x100fc66c
jmp 0x100fc57f
push 0x1022ee44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, 1
mov esp, ebp
pop ebp
ret 8