Function at 0x45eb55
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov dword [ebp - 0xc], 0
jmp 0x45eb69
nop
jmp 0x45eb69
nop
mov eax, dword [0x6323e4]
cmp eax, 1
jne 0x45eb9f
mov dword [0x6323e4], 2
jmp 0x45eb90
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6323e4]
cmp eax, 2
sete al
test al, al
jne 0x45eb7f
mov eax, dword [0x642484]
test eax, eax
je 0x45ebb5
mov eax, dword [0x642480]
test eax, eax
je 0x45ef4b
call fcn.0040aeea
mov dword [0xa898ac], eax
mov edx, dword [0xa898ac]
mov eax, dword [0x70cffc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
mov dword [0xa898ac], eax
mov edx, dword [0xa898ac]
mov eax, dword [0x70cff8]
add eax, edx
mov dword [0xa898ac], eax
mov ecx, dword [0xa898ac]
mov edx, 0x31b5d43b
mov eax, ecx
mul edx
mov eax, edx
shr eax, 0x18
imul eax, eax, 0x5265c00
mov edx, ecx
sub edx, eax
mov eax, edx
mov dword [0xa898ac], eax
mov eax, dword [0xa898ac]
mov edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fld qword [0x5030f8]
fmulp st(1)
fnstcw word [ebp - 0x22]
movzx eax, word [ebp - 0x22]
mov ah, 0xc
mov word [ebp - 0x24], ax
fldcw word [ebp - 0x24]
fistp qword [ebp - 0x20]
fldcw word [ebp - 0x22]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [0xa898ac], eax
mov eax, dword [0xa898ac]
mov byte [0x51f6ec], al
mov eax, dword [0xa898ac]
shr eax, 8
mov byte [0x51f6ed], al
mov eax, dword [0xa898ac]
shr eax, 0x10
mov byte [0x51f6ee], al
mov eax, dword [0xa881d8]
test eax, eax
je 0x45eca4
mov eax, dword [0xa881d8]
cmp eax, 0xffffffff
je 0x45ec8e
mov dword [0xa881d8], 0xffffffff
jmp 0x45edbb
mov dword [esp], 0x40
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
jmp 0x45eb69
mov dword [esp], 0xf
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [0x70d00c], 1
mov dword [0x70d008], 1
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
movzx eax, byte [0x51f248]
test al, al
je 0x45ecf4
mov dword [0x6323e4], 2
jmp 0x45ef4c
call fcn.004372b1
xor dword [ebp - 0xc], 1
mov eax, dword [0x642440]
test eax, eax
jne 0x45edb5
mov dword [0x642454], 1
mov eax, dword [0x642450]
test eax, eax
je 0x45edab
mov dword [esp + 8], 1
fld qword [0x502fc8]
fstp qword [esp]
call fcn.0042c568
fld qword [0x642448]
fsubp st(1)
fabs
fld qword [0x503090]
fxch st(1)
fucompi st(1)
fstp st(0)
setae al
test al, al
je 0x45edab
mov eax, dword [0x642444]
mov dword [esp], eax
call fcn.0044ae5a
mov dword [0x642450], 0
call fcn.0043c885
mov dword [0xa898b0], eax
mov eax, dword [0x642444]
mov dword [esp], eax
call fcn.0043c7dc
mov dword [esp + 8], 2
mov dword [esp + 4], 0xf
mov dword [esp], 0
call fcn.00427f6d
mov eax, dword [0xa898b0]
mov dword [esp], eax
call fcn.0043c7dc
mov dword [0x642454], 0
cmp dword [ebp - 0xc], 1
jne 0x45edd6
mov eax, dword [0x4e6298]
test eax, eax
je 0x45edc9
call fcn.0045efc1
mov eax, dword [0x64ca8c]
add eax, 1
mov dword [0x64ca8c], eax
mov dword [0x70d008], 0
mov eax, dword [0xa881d8]
test eax, eax
jne 0x45eb65
cmp dword [ebp - 0xc], 0
jne 0x45eb68
mov dword [esp], 0x91
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
call eax
sub esp, 4
cwde
mov ebx, eax
and ebx, 1
mov dword [esp], 0x30d4b
call fcn.0040b0d3
cmp ebx, eax
setne al
test al, al
je 0x45ee57
mov dword [esp], 0x30d4b
call fcn.0040b0d3
test eax, eax
setne al
test al, al
je 0x45ee46
mov dword [esp], 0x30d4b
call fcn.0040b432
jmp 0x45ee52
mov dword [esp], 0x30d4b
call fcn.0040b340
call fcn.00460cb5
mov dword [esp], 0x14
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
call eax
sub esp, 4
cwde
mov ebx, eax
and ebx, 1
mov dword [esp], 0x187cd
call fcn.0040b0d3
cmp ebx, eax
setne al
test al, al
je 0x45eecb
mov dword [esp], 0x187cd
call fcn.0040b0d3
test eax, eax
setne al
test al, al
je 0x45eeb0
mov dword [0x642428], 0x12d
mov dword [esp], 0x187cd
call fcn.0040b70a
jmp 0x45eec6
mov dword [0x642428], 0x12d
mov dword [esp], 0x187cd
call fcn.0040b64f
call fcn.00460cb5
mov dword [esp], 0x90
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
call eax
sub esp, 4
cwde
mov ebx, eax
and ebx, 1
mov dword [esp], 0x187cc
call fcn.0040b0d3
cmp ebx, eax
setne al
test al, al
je 0x45ef3f
mov dword [esp], 0x187cc
call fcn.0040b0d3
test eax, eax
setne al
test al, al
je 0x45ef24
mov dword [0x642428], 0x12c
mov dword [esp], 0x187cc
call fcn.0040b70a
jmp 0x45ef3a
mov dword [0x642428], 0x12c
mov dword [esp], 0x187cc
call fcn.0040b64f
call fcn.00460cb5
mov eax, dword [0xa881d8]
test eax, eax
jmp 0x45eb69
nop
mov byte [0x51f279], 1
mov dword [0x51f274], 1
jmp 0x45ef70
mov dword [esp], 0x10
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x64243c]
cmp eax, 3
setne al
test al, al
jne 0x45ef5f
mov eax, dword [0x642450]
test eax, eax
je 0x45ef95
mov eax, dword [0x642444]
mov dword [esp], eax
call fcn.0044ae5a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0042d2ab
call fcn.004372bd
mov eax, dword [0x6323f8]
mov edx, dword [0x6323fc]
mov dword [esp], eax
call sub.msvcrt.dll_exit