Function at 0x458690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x527964]
push ebx
push esi
push edi
cmp eax, 7
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
je 0x4587be
mov eax, dword [ecx + 0x6a4]
test eax, eax
je 0x4587be
push 0
call fcn.004d0b16
mov esi, eax
test esi, esi
je 0x4587ab
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4587ab
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x4587ab
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x458710
mov eax, dword [eax + 0x1c]
push eax
call edi
test eax, eax
je 0x4587ab
mov eax, dword [esi + 0xf8]
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4587c8
lea ecx, [ebp - 0x18]
push 5
push ecx
mov ecx, dword [esi + 0xf8]
add ecx, 0x200
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51d7e4
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x458795
test cl, cl
je 0x458791
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x458795
add eax, 2
add esi, 2
test cl, cl
jne 0x45876d
xor eax, eax
jmp 0x45879a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x18]
sete bl
call fcn.004c5787
test bl, bl
je 0x4587c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x527964], 0
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push edi
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
push 0x5269d8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.004c57f5
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
cmp di, word [ebp - 0x1c]
jae 0x458917
and edi, 0xffff
push 0
push 0
push edi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov esi, eax
inc esi
and esi, 0xffff
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x458906
mov eax, dword [ebp + 8]
push esi
push ebx
push edi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
push ebx
lea ecx, [ebp - 0x14]
call fcn.004c5910
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push 0
push ecx
mov ecx, edi
call fcn.0043c7d0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [ebp - 0x24]
push 4
push edx
lea ecx, [ebp - 0x14]
call fcn.004bd68d
mov eax, dword [eax]
push 0x51cbec
push eax
call fcn.004ad810
add esp, 8
lea ecx, [ebp - 0x24]
test eax, eax
sete bl
call fcn.004c5787
test bl, bl
je 0x45889e
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call fcn.004c54fc
mov ecx, edi
call fcn.0045d410
jmp 0x458906
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4588f3
push 0
mov ecx, edi
call fcn.004d0b16
mov esi, eax
test esi, esi
je 0x4588e9
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x4588e9
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00413500
mov ecx, dword [esi + 0xf8]
mov dword [ecx + 0xa0], 0
jmp 0x458906
mov edx, dword [ebp - 0x14]
push 0
push 0
push edx
jmp 0x4588fb
mov eax, dword [ebp - 0x14]
push 1
push 0
push eax
push 2
push 1
mov ecx, edi
call fcn.00450380
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
mov edi, eax
jmp 0x4587f2
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004c5787
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4