Function at 0x45bf40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov ecx, esi
call fcn.0044ce00
push 5
mov ecx, esi
call fcn.0044cde0
fstp qword [esp + 0x18]
xor edi, edi
push 0x11
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x45bf8d
mov dword [esp + 0x10], 2
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x45bfa4
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
lea eax, [ebx + 0x58]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x60]
push edx
lea ecx, [ebx + 0x614]
push eax
call fcn.00479b20
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x58]
push edi
push eax
lea ecx, [ebx + 0x614]
call fcn.0046fb00
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45bfec
mov dword [ebx + 0x54], eax
jmp 0x45bff3
mov ecx, esi
call fcn.0045f910
cmp dword [esp + 0x18], 1
jb 0x45c21b
test byte [esp + 0x10], 1
jne 0x45c2c8
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00453f50
fld qword [esi + 0x100]
fsub qword [esp + 0x18]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x45c124
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x45c137
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x100], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x104], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x110], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x118], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x11c], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x124], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x128], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], edx
fld qword [esi + 0x11c]
fadd qword [esi + 0x100]
fmul qword [0x5e7c18]
fstp qword [esi + 0x138]
fld qword [esi + 0x124]
fadd qword [esi + 0x108]
fmul qword [0x5e7c18]
fstp qword [esi + 0x140]
fld qword [esi + 0x12c]
fadd qword [esi + 0x110]
fmul qword [0x5e7c18]
fstp qword [esi + 0x148]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x45c041
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x10c]
push ecx
mov ecx, dword [esi + 0x108]
push edx
push eax
push ecx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x45c041
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x114]
push edx
mov edx, dword [esi + 0x110]
push eax
push ecx
push edx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x45c041
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x120]
push eax
mov eax, dword [esi + 0x11c]
push ecx
push edx
push eax
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x45c041
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x128]
push ecx
mov ecx, dword [esi + 0x124]
push edx
push eax
push ecx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x45c041
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x130]
push edx
mov edx, dword [esi + 0x12c]
push eax
push ecx
push edx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x45c041
mov ecx, dword [esi + 0x2f4]
xor eax, eax
cmp ecx, edi
sete al
mov dword [esi + 0x2f4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x2710
mov dword [ebx + 0x54], edi
mov dword [esi + 0x118], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
mov dword [esi + 0x100], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x110], edi
push eax
lea ecx, [esi + 0x11c]
mov dword [esi + 0x104], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x114], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0042cf80
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x2f8], edi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, esi
call fcn.00454200
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push 1
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0045cd10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8