Function at 0x729a0211
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, dword [ebp + 0xc]
push 9
pop ecx
xor edx, edx
lea eax, [edi - 0x200]
mov ebx, 0xff
cmp eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
ja case.default.0x729a023d
jmp dword [eax*4 + 0x729a0536]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
lea eax, [edi - 0x1ff]
shr eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x28]
movzx edx, byte [eax + edx + 0xec]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 8]
cmp edx, ebx
je 0x729a027b
movzx edx, byte [eax + edx + 0xec]
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], ebx
jne 0x729a035f
cmp dword [ebp - 4], 1
jne 0x729a02ba
test byte [eax + 0x2a], 0x40
jne 0x729a02ba
mov edx, dword [eax]
cmp edx, 0x72a4dfe0
je 0x729a02ba
cmp edx, 0x72a4df08
je 0x729a02ba
add edi, 0xfffffdff
mov dword [ebp - 4], ecx
shr edi, 1
mov dword [ebp - 0xc], edi
movzx eax, byte [eax + 0xf5]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
jne 0x729a035f
cmp dword [ebp - 8], ebx
jne 0x729a035f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp - 4], 0xb
mov dword [ebp - 8], edx
jmp 0x729a0250
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
mov cl, byte [ecx + 0x37]
cmp cl, 0x1d
jb 0x729a02f9
cmp cl, 0x1f
jbe 0x729a0303
push edx
push eax
push dword [eax + 0x3c]
call fcn.72971423
push 2
mov dword [ebp - 4], 0xa
call esi
test ax, ax
jge 0x729a0347
mov dword [ebp - 0x10], 2
push 4
call esi
test ax, ax
jge 0x729a034d
mov dword [ebp + 0xc], 4
push 1
call esi
xor ecx, ecx
push 9
test ax, ax
setl cl
or ecx, dword [ebp + 0xc]
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
pop ecx
jmp case.default.0x729a023d
and dword [ebp - 0x10], 0
jmp 0x729a031a
and dword [ebp + 0xc], 0
jmp 0x729a032a
mov dword [ebp - 4], 1
jmp case.default.0x729a023d
mov eax, dword [ebp - 4]
and dword [ebp - 0x10], 0
sub eax, ecx
je 0x729a04fc
dec eax
dec eax
jne 0x729a041c
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
call fcn.7298c410
cmp eax, dword [ebp + 8]
jne 0x729a041c
push 1
call esi
test ax, ax
jl 0x729a03b0
push 4
call esi
test ax, ax
jl 0x729a03b0
push 2
call esi
test ax, ax
jl 0x729a03b0
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
call fcn.7298c57e
cmp dword [ebp - 8], ebx
je 0x729a041c
movsx eax, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
cmp byte [eax + 0x37], 0x11
jne 0x729a03f5
push edi
call fcn.7298b523
test eax, eax
je 0x729a03f5
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x729a03f5
lea edx, [ebp - 0x1c]
push 1
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.7298c02a
push 1
push 1
push dword [edi + 0x30]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.7298c5b8
cmp edi, eax
jne 0x729a041c
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp + 0xc], ebx
je 0x729a04d7
cmp dword [ebp - 4], 1
je 0x729a04c8
push 0x11
call esi
test ax, ax
jge 0x729a0528
push 2
pop ebx
push 0x12
call esi
test ax, ax
jge 0x729a052f
push 4
pop edi
push 0x10
call esi
push dword [ebp + 8]
xor ecx, ecx
test ax, ax
setl cl
or ecx, edi
or ecx, ebx
mov dword [ebp - 4], ecx
call fcn.729961a5
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x72a4e808]
mov edi, eax
movsx eax, si
imul ecx, eax
mov dword [ebp + 0x14], ecx
push ecx
fild dword [ebp + 0x14]
fstp dword [esp]
push edi
call fcn.729b02fc
shr esi, 0x10
movsx eax, si
fstp dword [ebp - 0x14]
imul eax, dword [0x72a4e804]
mov dword [ebp + 0x14], eax
push ecx
fild dword [ebp + 0x14]
fstp dword [esp]
push edi
call fcn.729b0342
lea eax, [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 4]
fstp dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7299264c
test eax, eax
jne 0x729a02ce
cmp dword [ebp - 0x10], eax
je 0x729a02ce
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.7299264c
jmp 0x729a02ce
push 1
call esi
test ax, ax
jl 0x729a051b
push 4
call esi
test ax, ax
jl 0x729a051b
push 2
call esi
test ax, ax
jge 0x729a041c
push dword [ebp + 8]
call fcn.7298c4c0
jmp 0x729a041c
xor ebx, ebx
jmp 0x729a0441
xor edi, edi
jmp 0x729a0451