Function at 0x1005422d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
fild dword [0x1012dab3]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001d9a
mov dword [ebp + 8], eax
fild dword [0x1012dab7]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001d9a
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x1012ddc7]
call fcn.100449ff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10047d70
mov dword [ebp - 8], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x10054303
push 0x155
push 0x4011237
push 6
call fcn.100704da
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10054407
push dword [ebp + 8]
call fcn.1004f575
test eax, eax
je 0x1005438d
push dword [ebp + 0xc]
call fcn.1004f5e3
test eax, eax
je 0x1005438d
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1c]
fadd qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001d9a
push eax
call fcn.1004f5ac
test eax, eax
je 0x1005438d
fild dword [ebp + 0xc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001d9a
push eax
call fcn.1004f61a
test eax, eax
je 0x1005438d
mov eax, 1
jmp 0x10054392
mov eax, 0
test eax, eax
je 0x10054407
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001d9a
mov dword [0x1012de23], eax
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xff
jg 0x10054404
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x10054400
push 0x2c2
push 0x4011237
push 6
call fcn.100704da
add esp, 0xc
pop ebx
pop ecx
jmp 0x100543c3
add esp, 8
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fild dword [0x1012de23]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x1c]
fsub qword [ebp - 0x24]
ftst
fnstsw ax
test ah, 1
je 0x10054436
fchs
fcomp qword [0x1008bb72]
fnstsw ax
test ah, 0x41
je 0x10054549
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0xff
call fcn.100449ff
push eax
push 0x3f800000
fild dword [ebp + 0x14]
fstp dword [ebp - 0x10]
push dword [ebp - 0x10]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x14]
push dword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x18]
push dword [ebp - 0x18]
fild dword [ebp + 8]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.10047934
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xff
jg 0x10054541
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x100544d0
push 0x44b
push 0x4011237
push 6
call fcn.100704da
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1005453a
cmp dword [ebp - 4], 0x1b
je 0x100544f8
cmp dword [ebp - 4], 8
je 0x100544f8
mov eax, 1
jmp 0x100544fd
mov eax, 0
test eax, eax
je 0x1005453a
cmp dword [ebp - 4], 1
jne 0x10054514
jmp 0x1005453a
cmp dword [ebp - 4], 2
jne 0x10054523
jmp 0x1005453a
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov dword [0x1012de23], 0
jmp 0x10054541
pop ebx
pop ecx
jmp 0x10054493
add esp, 8
jmp 0x1005458e
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0xff8800
call fcn.100449ff
push eax
push 0x3f800000
fild dword [ebp + 0x14]
fstp dword [ebp - 0x10]
push dword [ebp - 0x10]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x14]
push dword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x18]
push dword [ebp - 0x18]
fild dword [ebp + 8]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.10047934
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x1008b8fc]
fstp qword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1008b904]
fstp qword [ebp - 0x24]
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.100485e8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [0x1012ddb3]
call fcn.100449ff
mov dword [ebp - 0x30], eax
push 0x41600000
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
fld qword [ebp - 0x24]
call fcn.10001d9a
push eax
fld qword [ebp - 0x14]
call fcn.10001d9a
push eax
call fcn.10044fde
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1005460c
push ebx
call fcn.100704d4
add esp, 4
mov esp, ebp
pop ebp
ret 0x14