Function at 0x10054697
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
call fcn.100028c5
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x1008b904]
fstp qword [ebp - 0x40]
push 1
fld qword [ebp - 0x40]
fstp dword [ebp - 0x44]
push dword [ebp - 0x44]
push 0
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
fld qword [ebp - 0x2c]
call fcn.10001d9a
push eax
call fcn.10054b4f
fild dword [0x1012dab3]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001d9a
mov dword [ebp + 8], eax
fild dword [0x1012dab7]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001d9a
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [0x1012ddd3]
call fcn.100449ff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10047d70
fild dword [ebp + 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1008b8fc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001d9a
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
call fcn.100028c5
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10054b36
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
mov ebx, dword [ebp + 0x20]
fld dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x1c]
fsub qword [ebp - 0x24]
fcomp qword [0x1008c4fb]
fnstsw ax
test ah, 1
je 0x10054821
jmp 0x10054b2e
inc dword [ebp - 0xc]
mov eax, dword [0x1012ddd7]
mov dword [ebp - 0x10], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1008b8fc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001d9a
push eax
call fcn.1004f575
test eax, eax
je 0x100548ca
push dword [ebp - 4]
call fcn.1004f5e3
test eax, eax
je 0x100548ca
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fsub qword [0x1008c29f]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.10001d9a
push eax
call fcn.1004f5ac
test eax, eax
je 0x100548ca
fild dword [ebp - 4]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [0x1008c142]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.10001d9a
push eax
call fcn.1004f61a
test eax, eax
je 0x100548ca
mov eax, 1
jmp 0x100548cf
mov eax, 0
test eax, eax
je 0x10054922
mov eax, dword [0x1012dddf]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1005490d
push 0x49e
push 0x4011238
push 6
call fcn.100704da
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10054922
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
fild dword [ebp + 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fdiv qword [0x1008c58e]
fstp qword [ebp - 0x24]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [ebp - 0x24]
fcomp qword [0x1008c4fb]
fnstsw ax
test ah, 1
je 0x10054b2a
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1008b8fc]
fstp qword [ebp - 0x24]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x1008c2b2]
fstp qword [ebp - 0x34]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
cmp dword [ebp - 8], eax
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [0x1012dddb]
call fcn.100449ff
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x10]
call fcn.100449ff
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x38], 0
je 0x100549cb
mov eax, dword [ebp - 0x40]
jmp 0x100549ce
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x4c]
push 0x10
fld qword [ebp - 0x34]
call fcn.10001d9a
push eax
push dword [ebp - 4]
fld qword [ebp - 0x24]
call fcn.10001d9a
push eax
call fcn.10047d70
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
call fcn.100028de
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x10054a40
push 0x6a9
push 0x4011238
push 4
call fcn.100704da
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10054a5d
push 0x6a9
push 0x4011238
push 1
call fcn.100704da
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 0x10093ede
mov ecx, 2
call fcn.100017d7
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10054a98
push ebx
call fcn.100704d4
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1008bb96]
fstp qword [ebp - 0x24]
push 0x80000301
push 0
push 0x36
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10054acd
mov eax, 0x10089266
push eax
push 2
mov ebx, 0x134
call fcn.10071a20
add esp, 0x1c
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 0x41800000
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
fld qword [ebp - 0x24]
call fcn.10001d9a
push eax
call fcn.10044fde
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10054b2a
push ebx
call fcn.100704d4
add esp, 4
add dword [ebp - 4], 0x12
pop eax
pop ebx
pop ecx
jmp 0x100547e9
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10054b49
push ebx
call fcn.100704d4
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c