Function at 0x100f7240
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 + 0x338], 0
jne 0x100f7263
mov eax, 1
jmp 0x100f771c
cmp dword [0x10224a90], 0
je 0x100f7276
mov eax, 1
jmp 0x100f771c
push 0x10224a90
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 0x100f729c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x338]
add ecx, 0x68
call fcn.1001e1d0
cmp dword [ebp - 4], eax
jae 0x100f7426
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x338]
add ecx, 0x68
call fcn.1001e1f0
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
push 0x101cd730
push 0x101cd734
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 0x101cd740
mov eax, dword [ebp - 0xc]
push eax
call fcn.10166776
add esp, 8
test eax, eax
je 0x100f7403
push 0x101cd74c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10166776
add esp, 8
test eax, eax
je 0x100f7403
push 0x101cd758
mov edx, dword [ebp - 0xc]
push edx
call fcn.10166776
add esp, 8
test eax, eax
je 0x100f7403
mov eax, dword [ebp + 8]
add eax, 0xc0
je 0x100f734d
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov dword [ebp - 0x24], ecx
jmp 0x100f7354
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x338]
add ecx, 0x68
call fcn.1001e1f0
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 0x100f7403
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x184]
mov eax, dword [edx + 0xa8]
call eax
push 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [ebp + 8]
add ecx, 0xc0
je 0x100f73c8
mov edx, dword [ebp + 8]
add edx, 0x184
mov dword [ebp - 0x2c], edx
jmp 0x100f73cf
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x338]
add ecx, 0x68
call fcn.1001e1f0
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 0x100f771c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x184]
mov edx, dword [eax + 0xa8]
call edx
jmp 0x100f7293
cmp dword [ebp - 8], 9
jne 0x100f7626
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x100
jne 0x100f7626
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x100f745b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x338]
add ecx, 0x80
call fcn.1002bc80
cmp dword [ebp - 4], eax
jae 0x100f758a
mov eax, dword [ebp + 8]
add eax, 0xc0
je 0x100f7490
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov dword [ebp - 0x34], ecx
jmp 0x100f7497
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x338]
add ecx, 0x80
call fcn.100bc380
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 0x100f7585
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
je 0x100f74ee
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x100f74f7
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jb 0x100f7542
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x338]
add ecx, 0x80
call fcn.1002bc80
cmp dword [ebp - 4], eax
jae 0x100f7542
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x338]
add ecx, 0x80
call fcn.100bc380
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 0x100f7557
push 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, 1
jmp 0x100f771c
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x184]
mov edx, dword [eax + 0xc0]
call edx
push 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
jmp 0x100f771c
jmp 0x100f7452
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 + 0xc4]
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 0x100f7614
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0xc4]
je 0x100f7614
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x338]
add ecx, 0x80
call fcn.1002bc80
test eax, eax
je 0x100f7614
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x338]
add ecx, 0x80
call fcn.100bc380
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 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
jmp 0x100f771c
mov dword [ebp - 4], 0
jmp 0x100f7638
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x338]
add ecx, 0x80
call fcn.1002bc80
cmp dword [ebp - 4], eax
jae 0x100f770c
mov eax, dword [ebp + 8]
add eax, 0xc0
je 0x100f766d
mov ecx, dword [ebp + 8]
add ecx, 0x184
mov dword [ebp - 0x44], ecx
jmp 0x100f7674
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x338]
add ecx, 0x80
call fcn.100bc380
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 0x100f7707
push 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edx, dword [ebp + 8]
add edx, 0xc0
je 0x100f76cc
mov eax, dword [ebp + 8]
add eax, 0x184
mov dword [ebp - 0x4c], eax
jmp 0x100f76d3
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x338]
add ecx, 0x80
call fcn.100bc380
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 0x100f771c
jmp 0x100f762f
push 0x10224a90
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, 1
mov esp, ebp
pop ebp
ret 8