Function at 0x62d030
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.00420a50
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00481ef8
push eax
call sub.user32.dll_GetWindowRect
lea ecx, [ebp - 0x9c]
xor edx, edx
xor eax, eax
call fcn.00420a50
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x18]
call fcn.00478dfc
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x68]
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x64]
sub dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x4c]
dec edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
dec eax
call fcn.00420a50
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [ebp - 0x2d]
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x289], 0
setne byte [ebp - 0x35]
mov dl, 1
mov eax, dword [0x41f3a0]
call fcn.00404294
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x62d53d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x289], 2
je 0x62d114
push ebp
call fcn.0062cf00
pop ecx
jmp 0x62d131
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x218], 0
je 0x62d131
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x21c]
mov eax, dword [ebp - 0x34]
call fcn.004225d8
mov dl, 1
mov eax, dword [0x41f3a0]
call fcn.00404294
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x62d520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xc
call fcn.00402bc0
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x62d1d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [eax], edx
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x21c]
call fcn.00627004
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xd4]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x90]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x58]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x18]
call fcn.0062ace0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
call fcn.004225d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62d1f0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x62d312
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0
mov eax, 0xc
call fcn.00402bc0
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x62d2ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
call fcn.0042286c
mov edx, dword [ebp - 0x60]
mov dword [edx], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
call fcn.0042286c
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x21c]
je 0x62d292
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x21c]
call fcn.00627004
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xd4]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x90]
mov dword [eax + 8], edx
jmp 0x62d2b5
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0xa4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov al, byte [eax + 0x210]
add al, 0xfe
sub al, 2
setb cl
mov eax, dword [ebp - 0x60]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x18]
call fcn.0062aca4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
call fcn.004225d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62d306
inc dword [ebp - 0x54]
dec dword [ebp - 0x5c]
jne 0x62d20a
call fcn.006272e4
call sub.user32.dll_GetCursor
mov dword [ebp - 0x3c], eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_LockWindowUpdate
push 0x403
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDCEx
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x62d4d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.00481ef8
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_SetRectEmpty
push ebp
call fcn.0062ca4c
pop ecx
jmp 0x62d444
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x62d45b
dec eax
je 0x62d395
jmp 0x62d3a6
mov eax, dword [ebp - 0x84]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x62d45b
mov eax, dword [ebp - 0x88]
cmp eax, 0x202
jg 0x62d3cf
je 0x62d426
add eax, 0xffffff00
sub eax, 2
jb 0x62d3e2
sub eax, 0xfe
je 0x62d41d
dec eax
je 0x62d45b
jmp 0x62d42c
sub eax, 0x203
je 0x62d45b
dec eax
sub eax, 6
jb 0x62d444
jmp 0x62d42c
mov eax, dword [ebp - 0x84]
sub eax, 0x11
je 0x62d3f4
sub eax, 0xa
je 0x62d45b
jmp 0x62d444
cmp dword [ebp - 0x88], 0x100
sete al
cmp al, byte [ebp - 0x2d]
je 0x62d444
cmp dword [ebp - 0x88], 0x100
sete byte [ebp - 0x2d]
push ebp
call fcn.0062ca4c
pop ecx
jmp 0x62d444
push ebp
call fcn.0062ca4c
pop ecx
jmp 0x62d444
mov byte [ebp - 0x49], 1
jmp 0x62d45b
lea eax, [ebp - 0x8c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x8c]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, dword [ebp - 0x18]
call fcn.00481ef8
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
je 0x62d375
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d4dd
mov eax, dword [ebp - 0x18]
call fcn.00481ef8
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x62d480
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0x403
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDCEx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x14]
push eax
push 1
cmp dword [ebp - 4], 0
setne al
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.0062c378
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0
call sub.user32.dll_LockWindowUpdate
ret