Function at 0x729d90b3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
mov ecx, 0x72a4e470
mov dword [ebp - 4], edi
call fcn.7294596b
test eax, eax
jne 0x729d90de
mov eax, 0x800a0005
pop edi
pop esi
pop ebx
leave
ret 0xc
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x729d9117
cmp dword [esi + 0x38], edi
je 0x729d9117
cmp dword [ebp + 0x10], edi
jne 0x729d9144
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x729d9144
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x404]
cmp ecx, esi
jne 0x729d911b
mov ecx, dword [ebp + 0xc]
add eax, 0x400
cmp ecx, dword [eax]
jbe 0x729d9117
mov dword [eax], ecx
xor eax, eax
jmp 0x729d90d7
cmp ecx, edi
je 0x729d9130
push 1
push dword [eax + 0x400]
push ecx
call fcn.729d90b3
mov eax, dword [ebp - 8]
mov dword [eax + 0x404], esi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x400], eax
jmp 0x729d9117
mov eax, dword [ebp - 8]
add eax, 0x404
cmp esi, dword [eax]
jne 0x729d9163
mov dword [eax], edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x400]
cmp dword [ebp + 0xc], eax
jae 0x729d9163
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], edi
jne 0x729d9185
test byte [esi + 0x70], 0x20
je 0x729d917e
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xe8]
and eax, 0x30
cmp al, 0x20
jne 0x729d9185
mov dword [ebp + 0xc], 1
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 0x70]
or byte [esi + 0x71], 0xc1
mov eax, dword [esi + 0x70]
shl edi, 0x17
shl ebx, 0x11
sar edi, 0x1f
sar ebx, 0x1f
cmp dword [ebp + 0xc], 0
jne 0x729d91c7
shl eax, 0x1c
sar eax, 0x1f
test al, al
je 0x729d91ba
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x729d91d8
mov dword [ebp + 0xc], 1
cmp dword [esi + 0xc0], 0
je 0x729d9275
or byte [esi + 0x71], 8
mov ecx, dword [esi + 0x70]
and edi, 1
and ebx, 1
shl edi, 8
mov dword [ebp + 8], ebx
mov eax, edi
shl dword [ebp + 8], 0xe
mov ebx, 0xffffbeff
and ah, 0xbf
and ecx, ebx
or eax, ecx
or eax, dword [ebp + 8]
test ah, 8
mov dword [esi + 0x70], eax
jne 0x729d9251
cmp dword [ebp - 4], 0
jge 0x729d9251
mov ecx, eax
shl ecx, 0x1c
sar ecx, 0x1f
test cl, cl
je 0x729d923b
mov ecx, dword [esi + 8]
or ah, 0x41
mov dword [esi + 0x70], eax
lea eax, [esi + 8]
push 0
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0x70]
and edi, 0xffffbfff
and eax, ebx
or edi, eax
or edi, dword [ebp + 8]
mov dword [esi + 0x70], edi
cmp dword [ebp + 0xc], 0
je 0x729d9251
cmp dword [esi + 0x48], 0
je 0x729d9251
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
push eax
call dword [ecx + 0x2c]
and byte [esi + 0x71], 0x7f
mov eax, dword [esi + 0x70]
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x729d926d
test al, 4
jne 0x729d926d
push 0
push 0
push esi
call fcn.7298c2d7
mov eax, dword [ebp - 4]
jmp 0x729d90d7
cmp dword [ebp + 0xc], 1
jne 0x729d929c
mov eax, dword [esi + 0x48]
test eax, eax
je 0x729d928b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x729d91d8
mov dword [ebp + 0xc], 2
mov eax, dword [esi + 0x70]
shl eax, 0x16
sar eax, 0x1f
test al, al
je 0x729d92ba
push 1
push 0
push dword [esi + 0x38]
call dword [sym.imp.ole32.dll_OleLockRunning]
and byte [esi + 0x71], 0xfd
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x729d92c9
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x729d92ea
dec eax
jne 0x729d91d8
mov eax, dword [esi + 0x38]
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 4], eax
jmp 0x729d91d8
mov eax, dword [esi + 0x38]
push 0
mov ecx, dword [eax]
jmp 0x729d92de