Function at 0x481f90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1390
call fcn.005d9990
mov ecx, dword [esp + 0x1394]
push ebp
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00591060
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x482469
mov edx, dword [ebp + 0x1e90]
push edx
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x482469
push ebx
push esi
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x1068
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x33c]
push eax
call fcn.004232e0
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 0x482466
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x1488]
test eax, eax
je 0x482053
cmp esi, eax
jne 0x482053
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x482056
mov esi, dword [ebp]
test esi, esi
je 0x482466
mov eax, dword [ebp + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
mov eax, dword [esp + 0x13a8]
jne 0x482150
test eax, eax
jne 0x48211c
push 0
push 0
push 0x18e
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ebp + 0x189c]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, edx
cmp ecx, eax
jg 0x4820d5
push 0
push esi
call fcn.00422f60
add esp, 8
push 0
push 0
push 0x18e
push esi
call ebx
cmp edi, eax
jle 0x4820d5
mov eax, dword [ebp + 0x189c]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x189c]
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
cmp dword [esp + 0x14], ecx
jl 0x48211c
push 1
push esi
call fcn.00422f60
add esp, 8
push 0
push 0
push 0x18e
push esi
call ebx
cmp edi, eax
jge 0x48211c
mov ecx, dword [ebp + 0x189c]
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.00481ee0
mov edi, eax
mov eax, dword [esp + 0x13b4]
add esp, 0xc
test eax, eax
jne 0x482180
cmp edi, dword [0x619f10]
je 0x482466
mov dword [0x619f10], edi
jmp 0x482180
or edi, 0xffffffff
test eax, eax
jne 0x482180
mov ecx, dword [0x642fe0]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jne 0x482175
cmp dword [0x642fe4], ecx
je 0x482466
mov dword [0x642fe0], eax
mov dword [0x642fe4], ecx
mov eax, dword [ebp + 0x1314]
cmp eax, 1
jne 0x4821ed
mov eax, dword [ebp + 0x1488]
cmp esi, eax
jne 0x4821c6
cmp edi, 0xffffffff
je 0x482268
cmp edi, 0xfffffffe
je 0x482268
push 0xffffffffffffffff
push 0
push 0x185
push eax
call ebx
mov edx, dword [ebp + 0x1488]
push edi
push 1
push 0x185
push edx
call ebx
jmp 0x4821f2
mov eax, dword [esp + 0x13a8]
test eax, eax
je 0x482466
lea eax, [ebp + 8]
lea edx, [esp + 0x338]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4821e1
jmp 0x482268
cmp eax, 2
jne 0x48221a
mov eax, dword [esp + 0x13a8]
test eax, eax
je 0x482466
mov eax, dword [ebp + 0x1e90]
mov edx, dword [esp + 0x13a4]
push eax
lea ecx, [esp + 0x33c]
push ecx
push edx
jmp 0x482260
cmp eax, 7
jne 0x482268
cmp edi, 0xffffffff
je 0x482268
cmp edi, 0xfffffffe
je 0x482268
mov eax, dword [ebp + 0x1488]
push 0
push edi
push 0x186
push eax
call ebx
mov eax, dword [esp + 0x13a8]
test eax, eax
je 0x482466
mov ecx, dword [ebp + 0x1e90]
mov eax, dword [esp + 0x13a4]
push ecx
lea edx, [esp + 0x33c]
push edx
push eax
call fcn.0051d480
add esp, 0xc
mov eax, dword [esp + 0x13a8]
test eax, eax
je 0x482466
mov al, byte [esp + 0x338]
test al, al
jne 0x48228e
push 0
call fcn.00421dc0
jmp 0x48244a
lea eax, [esp + 0x338]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x482298
sub eax, edx
add eax, 0xa
push eax
call fcn.005d9f91
mov edi, eax
xor esi, esi
add esp, 4
cmp edi, esi
jne 0x4822bb
push esi
jmp 0x482438
mov edx, edi
lea ecx, [esp + 0x338]
lea eax, [esp + 0x338]
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4822d0
mov ebx, dword [esp + 0x13a8]
push esi
push esi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, esi
mov dword [esp + 0x24], eax
jg 0x4822fa
push esi
jmp 0x482438
test eax, eax
mov dword [esp + 0x18], esi
jle 0x482436
jmp 0x482310
push 0x1068
push 0x67feb8
call fcn.00423310
add esp, 8
push eax
push 0x67feb8
push esi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test eax, eax
jbe 0x482421
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x67feb8
call fcn.005da53c
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0x5f4a5c
push 0x67feb8
call fcn.005d9929
mov edx, dword [esp + 0x44]
push edx
push 0x676ee8
push 0x67feb8
call fcn.00481cf0
add esp, 0x30
test eax, eax
je 0x482421
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x28]
push eax
push str._s_s_s_s
push 0x67feb8
call fcn.005d9929
push 0x20
push 0x67feb8
call fcn.005d9b20
add esp, 0x20
test eax, eax
push 0x67feb8
push edi
je 0x4823e0
push str._s___s_
jmp 0x4823e5
push 0x5f5598
push 0x677f50
call fcn.005d9929
mov ecx, dword [ebp + 0x1e90]
mov edx, dword [esp + 0x13b4]
add esp, 0x10
push ecx
push 0
push 0
push 1
push 0x677f50
push 0x676ee8
push edx
call fcn.00448030
add esp, 0x1c
test eax, eax
je 0x482440
inc dword [esp + 0x18]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x482310
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x482440
push 0
call fcn.00421dc0
add esp, 4
test edi, edi
je 0x48244d
push edi
call fcn.005d9fa3
add esp, 4
push 1
push ebp
call fcn.0058ee20
mov eax, dword [esp + 0x13ac]
add esp, 8
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1390
ret