Function at 0x45c430
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x2c], ebx
jne 0x45c9e9
mov eax, dword [ebp + 0xc]
mov edx, 1
cmp eax, 0x86
jne 0x45c486
mov dword [edi + 0x300], edx
mov dword [ebx], edx
jmp 0x45c9c8
cmp eax, 0x14
jne 0x45c498
mov dword [edi + 0x300], edx
mov dword [ebx], edx
jmp 0x45c9c8
cmp eax, 0x83
jne 0x45c5c1
mov dword [edi + 0x300], edx
test ecx, ecx
je 0x45c9c2
test dword [edi + 0x2c0], 0x40000000
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jne 0x45c4e8
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x45c4f6
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test cl, 1
jne 0x45c9c2
test ecx, 2
jne 0x45c51b
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
jmp 0x45c521
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov ebx, dword [edi + 0x2b8]
cmp eax, ebx
mov esi, dword [edi + 0x2bc]
cmovge ebx, eax
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x8c]
mov eax, ebx
add eax, ecx
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
cmp eax, ebx
cmovge ebx, eax
add ebx, edx
cmp dword [edi + 0x2d8], 0
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x2c]
je 0x45c5a5
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x45c5a5
cmp dword [edi + 0x2b4], 0
mov dword [ebp - 0x30], eax
je 0x45c5a5
add eax, ecx
mov dword [ebp - 0x88], eax
mov eax, dword [edi + 0x2b4]
add eax, edx
mov dword [ebp - 0x84], eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x88]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x84]
mov dword [esi + 0xc], ecx
jmp 0x45c9c2
cmp eax, 0x46
jne 0x45c602
cmp dword [edi + 0x2d8], 0
je 0x45c5f3
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x45c5f3
cmp dword [edi + 0x2b4], 0
mov eax, ecx
mov dword [ebp - 0x30], eax
je 0x45c5f3
mov dword [esi + 0x10], ecx
mov eax, dword [edi + 0x2b4]
mov dword [esi + 0x14], eax
mov dword [edi + 0x300], 0
jmp 0x45c9c2
cmp eax, 0x24
jne 0x45c757
push 0
push dword [edi + 4]
mov dword [edi + 0x300], edx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x45c9c2
xor ecx, ecx
mov dword [ebp - 0x60], 0x28
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [edi + 0x2b0]
mov cl, 0x20
mov edx, dword [edi + 0x2b4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
call fcn.00545ee0
cmp dword [edi + 0x2d4], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
cmove eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [edi + 0x2d4], 0
je 0x45c6bb
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
jmp 0x45c6da
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
cdq
xor eax, edx
sub eax, edx
mov dword [esi + 0x10], eax
mov eax, ecx
sub eax, dword [ebp - 0x20]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x84], edx
js 0x45c717
mov eax, edx
jmp 0x45c71a
sub eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
sub eax, ecx
js 0x45c728
mov edx, eax
jmp 0x45c72d
mov edx, ecx
sub edx, dword [ebp - 8]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
cmp dword [ebp - 0x84], 0
cmovge edx, dword [ebp - 0x84]
sub ecx, dword [ebp - 8]
test eax, eax
mov dword [esi + 0x20], edx
cmovns ecx, eax
mov dword [esi + 0x24], ecx
jmp 0x45c9c2
cmp eax, 5
jne 0x45c81e
mov dword [edi + 0x300], edx
cmp ecx, 1
je 0x45c5f3
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c5f3
cmp dword [ebp - 0x84], 2
jne 0x45c7c7
cmp dword [edi + 0x2d4], 0
jne 0x45c7c7
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfeffffff
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
lea ecx, [edi + 4]
call fcn.0044a6c0
mov dword [edi + 0x300], 0
jmp 0x45c9c2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [edi + 0x300], 0
jmp 0x45c9c2
cmp eax, 0x100
jne 0x45c888
push dword [edi + 4]
mov dword [edi + 0x300], edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45c9c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x45c5f3
mov eax, dword [ebp - 0x84]
cmp eax, 0x1b
jne 0x45c85e
push 0
push 2
jmp 0x45c86b
cmp eax, 0xd
jne 0x45c5f3
push 0
push 1
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x300], 0
jmp 0x45c9c2
cmp eax, 0x10
jne 0x45c8aa
push 0
push 2
push 0x111
push dword [edi + 4]
mov dword [edi + 0x300], edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45c9c2
cmp eax, 0x20a
jne 0x45c90a
movsx ecx, si
shr esi, 0x10
movsx eax, si
push eax
push ecx
mov dword [edi + 0x300], edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_GetScrollPos]
movzx edx, ax
mov eax, dword [ebp - 0x84]
shr eax, 0x10
movsx ecx, ax
sar ecx, 0x1f
and ecx, 1
shl edx, 0x10
add ecx, 2
or edx, ecx
push edx
push 0x115
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 1
jmp 0x45c9c8
cmp eax, 7
jne 0x45c91a
mov dword [edi + 0x300], edx
jmp 0x45c9c2
cmp eax, 0x111
jne 0x45c9e9
movzx esi, cx
cmp dx, si
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x45c982
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x28]
push ecx
push 0x3e8
push 0x4e
push eax
mov dword [edi + 0x300], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x3e8
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x5ae038
call edx
mov dword [ebx], 0
cmp dword [edi + 0x300], 0
jne 0x45c9d1
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 2
cmp ax, si
jne 0x45c9e9
mov ecx, dword [edi + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0x3e8
push 0x4e
push ecx
mov dword [edi + 0x300], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x3e8
mov dword [ebp - 0x18], 0x5ae038
call edx
mov dword [ebx], 0
cmp dword [edi + 0x300], 0
je 0x45c9e9
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18