Function at 0x52a0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x52a829
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00527990
test eax, eax
jle 0x52a14e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00527990
mov edx, eax
sub edx, 1
jno 0x52a119
call fcn.00403928
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.005279ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
call fcn.00529ef4
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00529964
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov byte [ebp - 6], 1
jmp 0x52a800
cmp byte [ebp - 6], 0
jne 0x52a162
call sub.user32.dll_WaitMessage
mov byte [ebp - 6], 0
jmp 0x52a7dc
mov eax, dword [ebp - 0x3d]
sub eax, 0x12
je 0x52a28b
add eax, 0xffffff71
sub eax, 9
jb 0x52a28b
sub eax, 0x157
jne 0x52a297
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x35]
call fcn.00408d5c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x41]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0043e990
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x52a21a
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
call fcn.00529a50
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x52a21a
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
jmp 0x52a297
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x25], 0
jmp 0x52a268
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
call fcn.0043e990
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
call fcn.00529a50
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x52a25f
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x52a274
cmp byte [ebp - 0x25], 0
je 0x52a226
cmp byte [ebp - 0x25], 0
jne 0x52a297
push ebp
call fcn.0052a074
pop ecx
call fcn.004042a8
jmp 0x52a830
push ebp
call fcn.0052a074
pop ecx
jmp 0x52a7dc
push 3
push 0
push 0
push 0
lea eax, [ebp - 0x41]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x52a7dc
mov eax, dword [ebp - 0x3d]
sub eax, 0x7b
je 0x52a7dc
add eax, 0xffffff7b
sub eax, 9
jb 0x52a2ec
add eax, 0xffffff09
sub eax, 0xb
jb 0x52a5b3
sub eax, 0x264
jne 0x52a7d3
mov eax, dword [ebp - 4]
call fcn.00529e3c
jmp 0x52a7dc
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x52a7dc
mov eax, dword [ebp - 0x3d]
sub eax, 0x100
je 0x52a322
sub eax, 2
je 0x52a562
sub eax, 2
je 0x52a322
sub eax, 2
je 0x52a562
jmp 0x52a7dc
mov eax, dword [ebp - 0x39]
cmp eax, 0x25
jg 0x52a365
je 0x52a421
cmp eax, 0x12
jg 0x52a34e
je 0x52a548
sub eax, 9
je 0x52a7dc
sub eax, 4
je 0x52a38a
jmp 0x52a554
sub eax, 0x1b
je 0x52a3f4
sub eax, 5
je 0x52a7dc
jmp 0x52a554
sub eax, 0x26
je 0x52a50b
dec eax
je 0x52a496
dec eax
je 0x52a525
sub eax, 0x51
je 0x52a548
jmp 0x52a554
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x52a3a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov bx, 0xfff0
call fcn.00403c18
mov eax, dword [ebp - 4]
call fcn.00529e3c
test al, al
jne 0x52a7dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x52a7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x24]
mov edx, 0x52a840
call fcn.00404c74
je 0x52a7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x29], 0
je 0x52a7dc
push ebp
call fcn.0052a074
pop ecx
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x52a407
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
call fcn.004042a8
jmp 0x52a830
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
je 0x52a437
mov eax, dword [ebp - 4]
call fcn.00529fb4
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x52a7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cmp byte [eax + 0x28], 0
je 0x52a477
push 0
push 0x25
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
call fcn.004042a8
jmp 0x52a830
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
je 0x52a4ac
mov eax, dword [ebp - 4]
call fcn.00529ef4
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x52a7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cmp byte [eax + 0x28], 0
je 0x52a4ec
push 0
push 0x27
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
call fcn.004042a8
jmp 0x52a830
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x52a7dc
mov eax, dword [ebp - 4]
call fcn.00529fb4
jmp 0x52a7dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x52a53b
mov eax, dword [ebp - 4]
call fcn.00529ef4
jmp 0x52a7dc
mov eax, dword [ebp - 4]
call fcn.00529e3c
jmp 0x52a7dc
push ebp
call fcn.0052a074
pop ecx
jmp 0x52a7dc
lea eax, [ebp - 0x41]
push eax
call sub.user32.dll_TranslateMessage
jmp 0x52a7dc
mov edx, dword [ebp - 0x39]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00528f20
test eax, eax
je 0x52a7dc
mov edx, dword [ebp - 0x39]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00528f20
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
jmp 0x52a7dc
mov eax, dword [ebp - 0x3d]
sub eax, 0x200
je 0x52a5cb
sub eax, 2
je 0x52a6e0
jmp 0x52a7dc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x35]
call fcn.00408d5c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x41]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x5985a4]
jne 0x52a5fd
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x5985a8]
je 0x52a7dc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
jmp 0x52a60e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
jne 0x52a605
cmp dword [ebp - 0x20], 0
je 0x52a6b8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00529964
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 0x1c]
je 0x52a6a5
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 4]
je 0x52a6a5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x52a681
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x52a656
push 0
push 0
push 0x46f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
call fcn.004042a8
jmp 0x52a830
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x52a621
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x52a6c9
mov eax, dword [ebp - 4]
call fcn.00529e3c
mov eax, dword [ebp - 0x10]
mov dword [0x5985a4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5985a8], eax
jmp 0x52a7dc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x35]
call fcn.00408d5c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x41]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0043e990
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x52a76a
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
call fcn.00529a50
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x52a76a
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00447144
push eax
call sub.user32.dll_PostMessageA
jmp 0x52a7dc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x25], 0
jmp 0x52a7b8
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
call fcn.0043e990
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
call fcn.00529a50
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x52a7af
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x52a7c4
cmp byte [ebp - 0x25], 0
je 0x52a776
cmp byte [ebp - 0x25], 0
jne 0x52a7dc
push ebp
call fcn.0052a074
pop ecx
jmp 0x52a7dc
lea eax, [ebp - 0x41]
push eax
call sub.user32.dll_DispatchMessageA
push ebp
call fcn.0052a0b8
pop ecx
test al, al
je 0x52a800
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x41]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x52a16b
push ebp
call fcn.0052a0b8
pop ecx
test al, al
jne 0x52a157
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a830
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
call sub.user32.dll_ReleaseCapture
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret