Function at 0x4585b0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521168
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x56d370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test dword [edi - 0x34], 0x2000
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
je 0x458689
mov eax, dword [edi - 0x70]
lea ecx, [edi - 0x70]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax + 0x1c]
call eax
mov esi, dword [ebp + 0x10]
test al, al
je 0x45868c
cmp esi, 0x201
je 0x458639
cmp esi, 0x203
je 0x458639
cmp esi, 0xa1
je 0x458639
cmp esi, 0xa3
jne 0x45865a
push dword [ebp - 0x70]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x45865a
mov ecx, dword [ebp - 0x78]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov al, 1
jmp 0x458bb6
cmp esi, 0x112
je 0x45867c
mov eax, dword [ebp - 0x70]
cmp dword [edi + 8], eax
jne 0x45868f
cmp esi, 6
jne 0x45868f
cmp word [ebp + 0x14], 0
jne 0x45868f
cmp dword [ebp - 0x6c], 0
jne 0x45868f
mov eax, dword [edi - 0x70]
lea ecx, [edi - 0x70]
push 0
call dword [eax + 0x18]
jmp 0x45868c
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x70]
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x4586a9
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4586a9
xor al, al
jmp 0x458bb6
mov ecx, dword [edi - 0x14]
test ecx, ecx
je 0x4586c6
cmp esi, 0x201
jne 0x4586c6
mov edx, dword [ecx]
lea eax, [edi - 0x70]
push eax
mov eax, dword [edx]
call eax
test al, al
jne 0x458653
cmp dword [edi - 0x10], 0
je 0x4587db
cmp esi, 0x201
jne 0x4587db
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x7c]
movsx eax, cx
mov dword [ebp - 0x9c], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x98], eax
lea eax, [edi - 0x70]
push eax
mov dword [ebp - 0x84], eax
call fcn.0046d9b0
add esp, 8
mov dword [ebp - 0x78], eax
test eax, eax
je 0x45887a
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x44], 1
jne 0x45887a
mov ecx, dword [edi - 0x10]
lea edx, [edi - 0x70]
lea esi, [ebp - 0x9c]
push esi
push dword [ebp - 0x78]
mov eax, dword [ecx]
push edx
mov eax, dword [eax]
call eax
mov esi, dword [ebp + 0x10]
test al, al
je 0x45887a
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov dword [esi + 0xa8], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x78]
mov dword [esi + 0xac], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push dword [esi + 0x78]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call dword [sym.imp.USER32.dll_SetCapture]
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0xbc], eax
mov al, 1
mov byte [esi + 0xa4], 1
jmp 0x458bb6
cmp esi, 0x100
je 0x4587ef
cmp esi, 0x104
jne 0x45887a
cmp dword [edi - 8], 0
je 0x458850
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x11
mov dword [ebp - 0x84], eax
call esi
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edi - 8]
shr eax, 0xf
shr edx, 0x10
and eax, 0xffffff01
mov dword [ebp - 0x78], eax
movzx eax, byte [ebp + 0x14]
mov esi, dword [ecx]
mov dword [ebp - 0x98], edx
and edx, 0x100
or edx, eax
push edx
push dword [ebp - 0x84]
push dword [ebp - 0x78]
call dword [esi]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x98]
jmp 0x458856
mov ecx, dword [ebp - 0x6c]
shr ecx, 0x10
mov edx, dword [edi + 0x50]
test edx, edx
je 0x45887a
movzx eax, byte [ebp + 0x14]
and ecx, 0x100
or ecx, eax
push ecx
lea ecx, [edx + 0x78]
call fcn.00474d90
test al, al
jne 0x458af8
lea eax, [edi + 4]
cmp dword [ebp - 0x7c], eax
jne 0x4586a2
cmp esi, 0x111
ja 0x458a3a
je 0x4589bb
lea eax, [esi - 5]
cmp eax, 0x1f
ja case.0x4588ab.7
movzx eax, byte [eax + 0x458bf0]
jmp dword [eax*4 + 0x458bd4]
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 1
jmp 0x458bb6
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x24], esi
lea eax, [edi - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.0046d6b0
push dword [ebp - 0x70]
mov esi, eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00457cb0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x20]
push esi
mov dword [ebp - 0x8c], ecx
movups xmm0, xmmword [ebp - 0x94]
push eax
push dword [ebp - 0x68]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EndPaint]
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 1
jmp 0x458bb6
mov eax, dword [edi - 0x70]
lea ecx, [edi - 0x70]
call dword [eax + 0xa0]
jmp case.0x4588ab.7
xor eax, eax
lea ecx, [edi - 0x70]
cmp word [ebp + 0x14], ax
sete al
add eax, 4
push eax
push ecx
call fcn.0046a370
jmp case.0x4588ab.7
lea ecx, [edi - 0x70]
call fcn.00463800
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 0
jmp 0x458bb6
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4589a7
cmp dword [edi + 0x28], eax
je case.0x4588ab.7
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x14]
jmp 0x458b7c
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x4589d5
push dword [ebp + 0x14]
add ecx, 0x78
call fcn.00474b50
test al, al
jne 0x458653
mov eax, dword [ebp + 0x14]
movzx esi, ax
shr eax, 0x10
test eax, eax
jne 0x4586a2
cmp esi, 1
je 0x458a2a
cmp esi, 2
jne 0x458a03
mov eax, 1
lea ecx, [edi - 0x70]
push eax
call fcn.00463990
jmp 0x458bb6
mov eax, dword [edi - 0x20]
test eax, eax
je 0x4586a2
push 1
push eax
call fcn.0046dc30
add esp, 8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp esi, eax
jne 0x4586a2
xor eax, eax
lea ecx, [edi - 0x70]
push eax
call fcn.00463990
jmp 0x458bb6
cmp esi, 0x215
ja 0x458b22
je 0x458b08
mov eax, esi
sub eax, 0x112
je 0x458ae0
sub eax, 0xee
je 0x458a8b
sub eax, 2
jne case.0x4588ab.7
cmp byte [edi + 0x34], al
je case.0x4588ab.7
mov byte [edi + 0x34], al
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x458bb6
cmp byte [edi + 0x34], 0
mov ecx, dword [ebp - 0x6c]
je 0x4589b3
movsx eax, cx
mov dword [ebp - 0x80], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x3c]
add eax, dword [ebp - 0x7c]
push 1
push 0
push 0
push eax
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x38]
add eax, dword [ebp - 0x80]
push eax
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
jmp 0x458bb6
mov eax, dword [ebp + 0x14]
cmp eax, 0xf060
jne 0x458b79
test byte [edi - 0x34], 4
je 0x458b79
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 0
jmp 0x458bb6
cmp byte [edi + 0x34], 0
je case.0x4588ab.7
push dword [edi + 0x4c]
mov byte [edi + 0x34], 0
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x458bb6
cmp esi, 0x31a
je 0x458b5e
cmp esi, 0x400
jne case.0x4588ab.7
mov eax, dword [edi - 0x20]
test eax, eax
je case.0x4588ab.7
push 1
push eax
call fcn.0046dc30
add esp, 8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [ebp - 0x74]
movzx eax, ax
or eax, 0x534b0000
mov dword [edx], eax
mov al, 1
jmp 0x458bb6
mov eax, dword [edi - 0x70]
lea esi, [edi - 0x70]
mov ecx, esi
call dword [eax + 0x54]
push 7
push esi
mov ecx, esi
call fcn.0046a370
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x6c]
test byte [edi - 0x34], 0x10
jne 0x458b9c
mov edx, dword [ebp - 0x74]
push edx
push ecx
push eax
push esi
push dword [ebp - 0x70]
lea ecx, [edi + 4]
call fcn.004cfb40
test al, al
jne 0x458653
push dword [ebp - 0x74]
lea eax, [edi + 4]
push dword [ebp - 0x6c]
push dword [ebp + 0x14]
push esi
push eax
lea eax, [edi - 0x70]
push eax
call fcn.0046dd20
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047fc61
mov esp, ebp
pop ebp
ret 0x18