Function at 0x45d385
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov dword [ebp - 0xc], 0
jmp 0x45d399
nop
jmp 0x45d399
nop
mov eax, dword [0x631424]
cmp eax, 1
jne 0x45d3cf
mov dword [0x631424], 2
jmp 0x45d3c0
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x631424]
cmp eax, 2
sete al
test al, al
jne 0x45d3af
mov eax, dword [0x6414c4]
test eax, eax
je 0x45d3e5
mov eax, dword [0x6414c0]
test eax, eax
je 0x45d77b
call fcn.0040971a
mov dword [0xa888ec], eax
mov edx, dword [0xa888ec]
mov eax, dword [0x70c03c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
mov dword [0xa888ec], eax
mov edx, dword [0xa888ec]
mov eax, dword [0x70c038]
add eax, edx
mov dword [0xa888ec], eax
mov ecx, dword [0xa888ec]
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 [0xa888ec], eax
mov eax, dword [0xa888ec]
mov edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fld qword [0x501d58]
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 [0xa888ec], eax
mov eax, dword [0xa888ec]
mov byte [0x51e6ec], al
mov eax, dword [0xa888ec]
shr eax, 8
mov byte [0x51e6ed], al
mov eax, dword [0xa888ec]
shr eax, 0x10
mov byte [0x51e6ee], al
mov eax, dword [0xa87218]
test eax, eax
je 0x45d4d4
mov eax, dword [0xa87218]
cmp eax, 0xffffffff
je 0x45d4be
mov dword [0xa87218], 0xffffffff
jmp 0x45d5eb
mov dword [esp], 0x40
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
jmp 0x45d399
mov dword [esp], 0xf
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [0x70c04c], 1
mov dword [0x70c048], 1
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
movzx eax, byte [0x51e248]
test al, al
je 0x45d524
mov dword [0x631424], 2
jmp 0x45d77c
call fcn.00435ae1
xor dword [ebp - 0xc], 1
mov eax, dword [0x641480]
test eax, eax
jne 0x45d5e5
mov dword [0x641494], 1
mov eax, dword [0x641490]
test eax, eax
je 0x45d5db
mov dword [esp + 8], 1
fld qword [0x501c28]
fstp qword [esp]
call fcn.0042ad98
fld qword [0x641488]
fsubp st(1)
fabs
fld qword [0x501cf0]
fxch st(1)
fucompi st(1)
fstp st(0)
setae al
test al, al
je 0x45d5db
mov eax, dword [0x641484]
mov dword [esp], eax
call fcn.0044968a
mov dword [0x641490], 0
call fcn.0043b0b5
mov dword [0xa888f0], eax
mov eax, dword [0x641484]
mov dword [esp], eax
call fcn.0043b00c
mov dword [esp + 8], 2
mov dword [esp + 4], 0xf
mov dword [esp], 0
call fcn.0042679d
mov eax, dword [0xa888f0]
mov dword [esp], eax
call fcn.0043b00c
mov dword [0x641494], 0
cmp dword [ebp - 0xc], 1
jne 0x45d606
mov eax, dword [0x4e5298]
test eax, eax
je 0x45d5f9
call fcn.0045d7f1
mov eax, dword [0x64bacc]
add eax, 1
mov dword [0x64bacc], eax
mov dword [0x70c048], 0
mov eax, dword [0xa87218]
test eax, eax
jne 0x45d395
cmp dword [ebp - 0xc], 0
jne 0x45d398
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.00409903
cmp ebx, eax
setne al
test al, al
je 0x45d687
mov dword [esp], 0x30d4b
call fcn.00409903
test eax, eax
setne al
test al, al
je 0x45d676
mov dword [esp], 0x30d4b
call fcn.00409c62
jmp 0x45d682
mov dword [esp], 0x30d4b
call fcn.00409b70
call fcn.0045f4e5
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.00409903
cmp ebx, eax
setne al
test al, al
je 0x45d6fb
mov dword [esp], 0x187cd
call fcn.00409903
test eax, eax
setne al
test al, al
je 0x45d6e0
mov dword [0x641468], 0x12d
mov dword [esp], 0x187cd
call fcn.00409f3a
jmp 0x45d6f6
mov dword [0x641468], 0x12d
mov dword [esp], 0x187cd
call fcn.00409e7f
call fcn.0045f4e5
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.00409903
cmp ebx, eax
setne al
test al, al
je 0x45d76f
mov dword [esp], 0x187cc
call fcn.00409903
test eax, eax
setne al
test al, al
je 0x45d754
mov dword [0x641468], 0x12c
mov dword [esp], 0x187cc
call fcn.00409f3a
jmp 0x45d76a
mov dword [0x641468], 0x12c
mov dword [esp], 0x187cc
call fcn.00409e7f
call fcn.0045f4e5
mov eax, dword [0xa87218]
test eax, eax
jmp 0x45d399
nop
mov byte [0x51e279], 1
mov dword [0x51e274], 1
jmp 0x45d7a0
mov dword [esp], 0x10
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x64147c]
cmp eax, 3
setne al
test al, al
jne 0x45d78f
mov eax, dword [0x641490]
test eax, eax
je 0x45d7c5
mov eax, dword [0x641484]
mov dword [esp], eax
call fcn.0044968a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0042badb
call fcn.00435aed
mov eax, dword [0x631438]
mov edx, dword [0x63143c]
mov dword [esp], eax
call sub.msvcrt.dll_exit