Function at 0x5292cd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x30
mov eax, 0
mov edx, dword [ebp + 0x14]
cmp eax, edx
jne 0x5292ef
mov eax, dword [ebp + 0x10]
cmp eax, 0x3e8
jge 0x5292ef
jmp 0x5292f3
xor eax, eax
jmp 0x5292f6
xor eax, eax
inc eax
cmp eax, 0
je 0x529326
mov eax, 0
mov edx, dword [0x5803e4]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x529326
push dword [ebp + 8]
call fcn.005301fd
jmp 0x529a04
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, 0
mov edx, dword [0x580558]
cmp eax, edx
jne 0x529342
call fcn.00529280
jmp 0x52934c
mov eax, dword [0x580558]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
sar eax, 0x10
cmp eax, 0
je 0x5293bb
cmp eax, 3
je 0x52959e
cmp eax, 0x300
je 0x529657
cmp eax, 0x100
je 0x5296f1
cmp eax, 4
je 0x5296f1
cmp eax, 0x200
je 0x5297ca
cmp eax, 1
je 0x5297e9
cmp eax, 5
je 0x52993f
cmp eax, 0
je 0x5299c3
mov eax, 0
jmp 0x5299dd
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044e3f8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f910]
cmp eax, edx
jne 0x5293ff
mov eax, 9
jmp 0x52954e
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f91c]
cmp eax, edx
jne 0x529421
push dword [0x580558]
call fcn.0053ccad
mov eax, 0x1a
jmp 0x52954e
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f928]
cmp eax, edx
jne 0x5294cb
push 0xb
push dword [0x580558]
call fcn.0053b10e
push eax
call fcn.00524753
mov edx, eax
mov eax, 0x20000
and eax, edx
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x5294b6
push 0
push 0
push 0xf0
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0
je 0x52948d
cmp eax, 2
je 0x529494
cmp eax, 1
je 0x52949b
mov eax, 0
jmp 0x5294a0
mov eax, 1
jmp 0x5294a0
mov eax, 0
jmp 0x5294a0
mov eax, 2
mov dword [ebp - 0x28], eax
push 0
push dword [ebp - 0x28]
push 0xf1
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
push dword [0x580558]
call fcn.0053ccad
mov eax, 0x1a
jmp 0x52954e
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f934]
cmp eax, edx
jne 0x529514
push 0
push 0
push 0xf2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov edx, eax
mov eax, 1
and eax, edx
mov edx, eax
mov eax, 1
cmp eax, edx
je 0x529514
push 9
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
jne 0x529514
jmp 0x529518
xor eax, eax
jmp 0x52951b
xor eax, eax
inc eax
cmp eax, 0
je 0x529534
push dword [0x580558]
call fcn.0053ccad
mov eax, 9
jmp 0x52954e
xor eax, eax
inc eax
je 0x529540
mov eax, 0
jmp 0x52954e
call fcn.00529545
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f934]
cmp eax, edx
jne 0x529602
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0
push 0
push 0xf2
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
xor edi, edi
cmp eax, 0
je 0x5295e6
inc edi
mov eax, edi
xor al, 1
cmp eax, 0
je 0x529600
push 0x1a
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x529652
push dword [ebp + 8]
call fcn.0053b070
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x529628
mov eax, dword [ebp - 0x10]
add eax, 0xa0
push eax
push dword [ebp - 0x30]
call fcn.0052795c
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
push 0x11
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5299dd
mov eax, 0
mov edx, dword [0x580558]
cmp eax, edx
je 0x529679
push dword [ebp + 8]
call fcn.0053afa5
cmp eax, 0
jne 0x529679
xor eax, eax
jmp 0x52967c
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x5296e7
push dword [ebp - 0x30]
call fcn.0053afa5
xor al, 1
cmp eax, 0
je 0x5296e7
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0x1a
push 0xffffffffffffffff
push dword [0x580558]
call fcn.00528b75
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f94c]
cmp eax, edx
jne 0x5296e7
push 0x10
push dword [ebp - 0x30]
call fcn.0053f099
push 0
push dword [ebp - 0x30]
call fcn.0053b5f2
mov eax, 0
jmp 0x5299dd
push dword [ebp + 8]
call fcn.0053b070
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x529717
mov eax, dword [ebp - 0x10]
add eax, 0xa0
push eax
push dword [ebp - 0x30]
call fcn.0052795c
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044e3f8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f940]
cmp eax, edx
je 0x529762
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f94c]
cmp eax, edx
je 0x529762
xor eax, eax
jmp 0x529765
xor eax, eax
inc eax
cmp eax, 0
je 0x52977d
push dword [ebp - 0x30]
call fcn.0053b070
push eax
push dword [ebp - 0x30]
call fcn.0053f2ec
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f994]
cmp eax, edx
je 0x52979b
mov eax, dword [ebp - 0x24]
mov edx, dword [0x57f9a4]
cmp eax, edx
je 0x52979b
xor eax, eax
jmp 0x52979e
xor eax, eax
inc eax
cmp eax, 0
je 0x5297b6
push 0x12
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5297c5
push 0x11
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5299dd
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0x12
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5299dd
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push dword [ebp - 0x30]
call fcn.0053b070
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f968]
cmp eax, edx
jne 0x529824
mov eax, 0x188
jmp 0x529829
mov eax, 0x147
mov dword [ebp - 0x38], eax
push 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 0xa0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xb
jne 0x529872
mov eax, dword [ebp - 0x1c]
inc eax
push eax
pop edx
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
xchg edx, eax
cmp eax, edx
jne 0x529872
jmp 0x529876
xor eax, eax
jmp 0x529879
xor eax, eax
inc eax
cmp eax, 0
je 0x529885
jmp 0x529a04
push 0x19
push dword [ebp - 0x1c]
push dword [0x580558]
call fcn.00528b75
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0xf0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
je 0x5298b9
jmp 0x529a04
push 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xb
jne 0x5298f4
mov eax, dword [ebp - 0x1c]
inc eax
push eax
pop edx
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
xchg edx, eax
cmp eax, edx
jne 0x5298f4
jmp 0x5298f8
xor eax, eax
jmp 0x5298fb
xor eax, eax
inc eax
cmp eax, 0
je 0x529907
jmp 0x529a04
mov eax, 0xb
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
inc eax
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x20]
cmp eax, 1
jne 0x52993a
push 0x1a
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5299dd
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 0
push dword [0x580558]
call fcn.0053b10e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f968]
cmp eax, edx
je 0x529984
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f934]
cmp eax, edx
je 0x529984
xor eax, eax
jmp 0x529987
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x52999f
push 0x1a
push 0xffffffffffffffff
push dword [0x580558]
call fcn.00528b75
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [0x57f968]
cmp eax, edx
jne 0x5299c1
push 0x12
push 0
push dword [0x580558]
call fcn.00528b75
jmp 0x5299dd
mov eax, dword [ebp - 0x30]
xchg edx, eax
mov eax, dword [0x580558]
mov dword [eax], edx
push 1
push 0
push dword [0x580558]
call fcn.00528b75