Function at 0x480ba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x710
push ebp
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00584d10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x481069
mov edx, dword [ebp + 0xbf4]
push edx
call fcn.00502a60
add esp, 4
test eax, eax
je 0x481069
push ebx
push esi
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x3e7
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x23c]
push eax
call fcn.00423a00
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x481066
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x88c]
test eax, eax
je 0x480c5c
cmp esi, eax
jne 0x480c5c
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x480c5f
mov esi, dword [ebp]
test esi, esi
je 0x481066
mov eax, dword [ebp + 0x88c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
mov eax, dword [esp + 0x728]
jne 0x480d59
test eax, eax
jne 0x480d25
push 0
push 0
push 0x18e
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ebp + 0xa00]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, edx
cmp ecx, eax
jg 0x480cde
push 0
push esi
call fcn.00422f20
add esp, 8
push 0
push 0
push 0x18e
push esi
call ebx
cmp edi, eax
jle 0x480cde
mov eax, dword [ebp + 0xa00]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0xa00]
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
cmp dword [esp + 0x14], ecx
jl 0x480d25
push 1
push esi
call fcn.00422f20
add esp, 8
push 0
push 0
push 0x18e
push esi
call ebx
cmp edi, eax
jge 0x480d25
mov ecx, dword [ebp + 0xa00]
mov eax, dword [esp + 0x14]
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
call fcn.00480af0
mov edi, eax
mov eax, dword [esp + 0x734]
add esp, 0xc
test eax, eax
jne 0x480d89
cmp edi, dword [0x609a60]
je 0x481066
mov dword [0x609a60], edi
jmp 0x480d89
or edi, 0xffffffff
test eax, eax
jne 0x480d89
mov ecx, dword [0x615358]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jne 0x480d7e
cmp dword [0x61535c], ecx
je 0x481066
mov dword [0x615358], eax
mov dword [0x61535c], ecx
mov eax, dword [ebp + 0x71c]
cmp eax, 1
jne 0x480dfc
mov eax, dword [ebp + 0x88c]
cmp esi, eax
jne 0x480dcf
cmp edi, 0xffffffff
je 0x480e77
cmp edi, 0xfffffffe
je 0x480e77
push 0xffffffffffffffff
push 0
push 0x185
push eax
call ebx
mov edx, dword [ebp + 0x88c]
push edi
push 1
push 0x185
push edx
call ebx
jmp 0x480e01
mov eax, dword [esp + 0x728]
test eax, eax
je 0x481066
lea eax, [ebp + 8]
lea edx, [esp + 0x238]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x480df0
jmp 0x480e77
cmp eax, 2
jne 0x480e29
mov eax, dword [esp + 0x728]
test eax, eax
je 0x481066
mov eax, dword [ebp + 0xbf4]
mov edx, dword [esp + 0x724]
push eax
lea ecx, [esp + 0x23c]
push ecx
push edx
jmp 0x480e6f
cmp eax, 7
jne 0x480e77
cmp edi, 0xffffffff
je 0x480e77
cmp edi, 0xfffffffe
je 0x480e77
mov eax, dword [ebp + 0x88c]
push 0
push edi
push 0x186
push eax
call ebx
mov eax, dword [esp + 0x728]
test eax, eax
je 0x481066
mov ecx, dword [ebp + 0xbf4]
mov eax, dword [esp + 0x724]
push ecx
lea edx, [esp + 0x23c]
push edx
push eax
call fcn.005169a0
add esp, 0xc
mov eax, dword [esp + 0x728]
test eax, eax
je 0x481066
mov al, byte [esp + 0x238]
test al, al
jne 0x480e9d
push 0
call fcn.00421c80
jmp 0x48104a
lea eax, [esp + 0x238]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480ea7
sub eax, edx
add eax, 0xa
push eax
call fcn.005cc381
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x480eca
push ebx
jmp 0x481038
mov edx, edi
lea ecx, [esp + 0x238]
lea eax, [esp + 0x238]
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x480ee0
mov edx, dword [esp + 0x728]
push ebx
push ebx
push 0xffffffffffffffff
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, ebx
mov dword [esp + 0x24], eax
jg 0x480f0a
push ebx
jmp 0x481038
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x481036
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea esp, [esp]
mov eax, dword [esp + 0x728]
push 0x3e7
push 0x63dcd8
push ebx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test eax, eax
jbe 0x481021
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x628]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x63dcd8
call fcn.005cc984
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x50]
push eax
push 0x5e6a64
push 0x63dcd8
call esi
mov ecx, dword [esp + 0x44]
push ecx
push 0x63b6f0
push 0x63dcd8
call fcn.00480910
add esp, 0x30
test eax, eax
je 0x481021
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x628]
push ecx
lea edx, [esp + 0x28]
push edx
push str._s_s_s_s
push 0x63dcd8
call esi
push 0x20
push 0x63dcd8
call fcn.005cbf10
add esp, 0x20
test eax, eax
push 0x63dcd8
push edi
je 0x480fe3
push str._s___s_
jmp 0x480fe8
push 0x5e7598
push 0x63bad8
call esi
mov eax, dword [ebp + 0xbf4]
mov ecx, dword [esp + 0x734]
add esp, 0x10
push eax
push 0
push 0
push 1
push 0x63bad8
push 0x63b6f0
push ecx
call fcn.00447670
add esp, 0x1c
test eax, eax
je 0x481040
inc dword [esp + 0x18]
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x480f20
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x481040
push 0
call fcn.00421c80
add esp, 4
test edi, edi
je 0x48104d
push edi
call fcn.005cc393
add esp, 4
push 1
push ebp
call fcn.00582bc0
mov edx, dword [esp + 0x72c]
add esp, 8
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x710
ret