Function at 0x45fc50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60df88
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x1d0]
push ecx
push edx
mov ecx, edi
call eax
mov ecx, dword [0x6b4194]
cmp ecx, edi
mov esi, eax
mov dword [esp + 0x10], esi
je 0x45fcd0
cmp dword [0x6b4174], 0
je 0x45fcd0
test ecx, ecx
mov dword [0x6b4194], edi
je 0x45fcd0
mov eax, dword [ecx + 0x5c0]
mov esi, ecx
mov dword [ecx + 0x5c0], 0xffffffff
call fcn.0045f870
mov esi, dword [esp + 0x10]
test esi, esi
jge 0x45fd45
or ebx, 0xffffffff
cmp dword [0x6b4174], 0
mov dword [edi + 0x5b8], ebx
je 0x45fd1d
cmp dword [edi + 0x574], 0
jne 0x45fd1d
mov eax, dword [edi + 0x5c0]
cmp eax, ebx
mov dword [edi + 0x5c0], ebx
je 0x45fd10
mov esi, edi
call fcn.0045f870
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
mov edx, dword [edi]
mov eax, dword [edx + 0x1ec]
push ebx
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0057f018
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
mov ecx, edi
call fcn.0045f850
mov ebx, eax
test ebx, ebx
je 0x4601ca
cmp dword [0x6b4190], 0
mov dword [0x6b4178], 0
je 0x45fd8b
cmp dword [0x6b4174], 0
jne 0x45fd9d
push 0x12
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x45fd8b
mov dword [0x6b4178], 1
cmp dword [0x6b4174], 0
jne 0x45fd9d
cmp dword [0x6b4178], 0
je 0x45fdaa
cmp dword [edi + 0x574], 0
je 0x45fe93
mov eax, esi
mov ecx, edi
mov dword [edi + 0x5b8], esi
call fcn.00460e10
test dword [ebx + 0xc], 0x40000
je 0x45fdf1
push 0x6a32f4
mov ecx, ebx
call fcn.00566997
test eax, eax
jne 0x45fdf1
mov dword [edi + 0x5b8], 0xffffffff
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or dword [ebx + 0xc], 0x20000
mov eax, esi
mov esi, edi
call fcn.0045f870
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
mov edx, dword [edi]
mov eax, dword [ebx + 8]
mov edx, dword [edx + 0x23c]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push 0
push edi
mov ecx, ebx
call edx
test eax, eax
je 0x45fe78
push 0
push ebx
lea ecx, [edi + 0x5c8]
call fcn.0058d0a6
test eax, eax
je 0x45fe44
and dword [ebx + 0xc], 0xfffdffff
mov edx, dword [edi]
or eax, 0xffffffff
mov dword [edi + 0x5b8], eax
mov dword [edi + 0x5bc], eax
push eax
mov eax, dword [edx + 0x1ec]
mov ecx, edi
call eax
mov eax, dword [esp + 0x10]
call fcn.0045f870
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x460195
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.user32.dll_SetCapture]
push eax
call fcn.005606e4
mov dword [edi + 0x698], eax
jmp 0x460195
mov eax, dword [edi + 0x5c0]
mov edx, dword [edi]
mov edx, dword [edx + 0x1a0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, edi
mov dword [edi + 0x5c0], esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x45fec9
mov esi, edi
call fcn.0045f870
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x5c0]
mov ecx, edi
call fcn.0045f850
mov ecx, dword [ebp + 8]
and ecx, 8
mov dword [edi + 0x65c], eax
mov dword [edi + 0x668], ecx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
jne 0x45ff2e
mov dword [edi + 0x65c], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov dword [edi + 0x5c0], 0xffffffff
je 0x4601ca
mov esi, edi
call fcn.0045f870
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
mov esi, edi
call fcn.0045f870
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
mov ecx, dword [edi + 0x65c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
xor esi, esi
test eax, eax
je 0x45ffd3
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 6
jg 0x45ffd3
cmp dword [0x6b4178], esi
jne 0x45ffd3
mov ecx, dword [edi + 0x65c]
mov dword [edi + 0x66c], 1
mov edx, dword [ecx + 0x30]
mov dword [edi + 0x670], edx
mov eax, dword [ecx + 0x34]
lea esi, [edi + 0x670]
mov dword [esi + 4], eax
mov edx, dword [ecx + 0x38]
mov dword [esi + 8], edx
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0xc], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
test eax, eax
je 0x45ffb4
push 2
push 2
push esi
call dword [sym.imp.user32.dll_InflateRect]
mov ecx, edi
call fcn.00466d00
mov dword [edi + 0x698], eax
mov ecx, dword [0x6b4b1c]
push ecx
call dword [sym.imp.user32.dll_SetCursor]
jmp 0x460195
mov ecx, dword [edi + 0x65c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
test eax, eax
je 0x46018f
mov ecx, dword [edi + 0x65c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
je 0x46018f
lea ecx, [esp + 0x30]
call fcn.00572411
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], esi
push ecx
mov ecx, dword [edi + 0x65c]
call fcn.00468270
mov edx, dword [edi]
mov eax, dword [ebx + 8]
mov edx, dword [edx + 0x23c]
push eax
mov ecx, edi
call edx
cmp dword [0x6b4178], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [0x6b4c20], esi
mov ebx, dword [edi + 0x20]
mov dword [edi + 0x660], eax
mov dword [edi + 0x664], ecx
je 0x460057
mov dword [0x6b4174], 1
push 0x6b4bd8
lea edx, [esp + 0x24]
push edx
push 3
lea ecx, [esp + 0x3c]
call fcn.00570e39
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
jne 0x4600b5
cmp dword [0x6b4178], esi
je 0x46008f
mov dword [0x6b4174], esi
mov dword [0x6b4178], esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call fcn.0057243c
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.user32.dll_GetCursorPos]
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.user32.dll_ScreenToClient]
cmp dword [0x6b4c20], esi
je 0x460152
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00413710
test eax, eax
jne 0x460152
cmp dword [esp + 0x14], 1
je 0x460136
mov eax, dword [edi + 0x65c]
cmp eax, esi
je 0x460136
cmp dword [0x6b4c1c], esi
jne 0x460136
mov esi, eax
mov ecx, edi
call fcn.0045ed90
push eax
mov ecx, edi
call fcn.0045eb20
mov edx, dword [edi]
mov eax, dword [edx + 0x1cc]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
xor esi, esi
jmp 0x460169
mov eax, dword [edi + 0x65c]
cmp eax, esi
je 0x460169
mov edx, dword [edi + 0x20]
push 1
add eax, 0x30
push eax
push edx
call dword [sym.imp.user32.dll_InvalidateRect]
jmp 0x460169
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov dword [edi + 0x5bc], eax
push eax
mov eax, dword [edx + 0x1ec]
mov ecx, edi
call eax
or ecx, 0xffffffff
mov eax, ecx
mov dword [edi + 0x664], ecx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x30]
mov dword [edi + 0x65c], esi
mov dword [edi + 0x660], eax
call fcn.0057243c
jmp 0x460195
mov dword [edi + 0x65c], esi
cmp dword [0x6b4178], 0
je 0x4601ca
push 0
mov dword [0x6b4178], 0
call fcn.00461330
mov ecx, dword [edi + 0x20]
add esp, 4
push 1
push 0
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc