Function at 0x464f1b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x1c
call fcn.004a49c8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 0x10
push ebx
push 0x38
call fcn.004a49c8
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x52ba4c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0xc
push ecx
push ebx
push 8
call fcn.004a49c8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0xc
call fcn.004a49c8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x464f68
pop ebx
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
and eax, 1
xor eax, 1
test eax, eax
je 0x465084
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 7
je 0x465070
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 8
je 0x465070
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x20a
je 0x465070
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x200
jl 0x46502d
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x205
jg 0x46502d
mov eax, 1
jmp 0x465032
mov eax, 0
test eax, eax
jne 0x465070
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x100
jl 0x46505f
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x102
jg 0x46505f
mov eax, 1
jmp 0x465064
mov eax, 0
test eax, eax
jne 0x465070
xor eax, eax
jmp 0x465075
mov eax, 1
test eax, eax
je 0x465084
mov eax, 1
jmp 0x465089
mov eax, 0
test eax, eax
je 0x4657a1
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x102
je 0x4650f8
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 7
je 0x4650f8
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 8
je 0x4650f8
mov eax, 1
jmp 0x4650fd
mov eax, 0
test eax, eax
je 0x46527c
mov dword [ebp - 0xc], esp
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x465129
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x4000
mov eax, dword [ebp - 0x10]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004a51b0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46516a
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], esp
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x46518e
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x4000
mov eax, dword [ebp - 0x10]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004a51b0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4651f3
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc8
call fcn.004a5a20
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x12
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x465217
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x4000
mov eax, dword [ebp - 0x10]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.004a51b0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46527c
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc8
call fcn.004a5a20
add esp, 0x1c
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x200
jl 0x4652a1
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x205
jg 0x4652a1
mov eax, 1
jmp 0x4652a6
mov eax, 0
test eax, eax
je 0x46540e
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x200
jne 0x4652d4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0xfffffffa
jmp 0x4652fe
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
fld qword [0x52ba3c]
mov ebx, dword [ebp + 0x14]
fild dword [ebx]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0045fa29
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 3
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 0
cmp eax, ecx
jl 0x465331
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0xffff
push 0x80000301
push 0
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.004a51b0
add esp, 0x1c
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 1
cmp eax, ecx
jl 0x465391
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 2
mov ebx, 0x9fc
call fcn.004a5b40
add esp, 0x1c
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 2
cmp eax, ecx
jl 0x4653f1
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4656ea
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 7
je 0x46542a
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 8
je 0x46542a
xor eax, eax
jmp 0x46542f
mov eax, 1
test eax, eax
je 0x4654a1
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x14]
fild dword [ebx]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fchs
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0045fa29
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
push dword [ebp + 0xc]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004a49ce
add esp, 4
mov eax, 1
jmp 0x4657ab
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x100
je 0x4654c3
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x101
je 0x4654c3
xor eax, eax
jmp 0x4654c8
mov eax, 1
test eax, eax
je 0x465585
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
fld qword [0x52ba44]
mov ebx, dword [ebp + 0x14]
fild dword [ebx]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0045fa29
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 2
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 0
cmp eax, ecx
jl 0x46552d
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 1
cmp eax, ecx
jl 0x465568
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4656ea
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x102
jne 0x4655f8
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0xfffffff5
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 0
cmp eax, ecx
jl 0x4655d9
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4656ea
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x20a
jne 0x4656ea
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0xfffffff4
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 2
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 0
cmp eax, ecx
jl 0x46564c
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push 2
mov ebx, 0x9fc
call fcn.004a5b40
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
mov eax, 0
setg al
test eax, eax
je 0x4656a3
mov eax, 1
jmp 0x4656a8
mov eax, 0xffffffff
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x10]
call fcn.0046018e
mov eax, 1
cmp eax, ecx
jl 0x4656d2
push 1
call fcn.004a49d4
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
cdq
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push dword [ebp + 0xc]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004a49ce
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x46574c
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
and eax, 1
xor eax, 1
test eax, eax
jne 0x46574c
xor eax, eax
jmp 0x465751
mov eax, 1
test eax, eax
je 0x465763
mov eax, 1
jmp 0x4657ab
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0x102
jne 0x465785
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
mov eax, 0
setne al
jmp 0x4657ab
mov eax, 1
jmp 0x4657ab
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4657d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4657cd
imul eax, dword [ebx]
jmp 0x4657c2
mov ecx, eax
test ecx, ecx
je 0x4657f9
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004a49ce
add esp, 4
pop ebx
call fcn.004a49ce
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4657d7
call fcn.004a49ce
add esp, 4
pop ebx
call fcn.004a49ce
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18