Function at 0x1400c5560
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140cec080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rcx
xorps xmm12, xmm12
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
movss xmm10, dword [0x140cccf34]
movss dword [rsp + 0x60], xmm10
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r12b
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r12b
mov qword [rbp + 8], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], r12b
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], r12b
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], r12b
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], r12b
mov qword [rbp + 0x90], r12
movdqa xmm0, xmmword [0x140ccd010]
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], r12b
mov qword [rbp + 0xf0], r12
movdqa xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], r12b
mov esi, r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov r14, qword [0x1412d4868]
mov rbx, qword [0x1412d4860]
cmp rbx, r14
je 0x1400c6010
movss xmm7, dword [0x140ccce34]
movss xmm8, dword [0x140ccccc0]
movss xmm11, dword [0x140cccc78]
movsd xmm15, qword [0x140cccd28]
movss xmm14, dword [0x140cccc24]
nop dword [rax]
cmp byte [0x1412d4774], 1
jne 0x1400c5747
comiss xmm12, dword [rbx + 0x24]
jb 0x1400c5747
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400c5972
cmp byte [0x1412d477c], 1
jne 0x1400c575a
cmp byte [rbx + 4], 1
je 0x1400c5972
movsd xmm0, qword [rbx + 0x1a0]
mov eax, dword [rbx + 0x1a8]
mov dword [rsp + 0x58], eax
movaps xmm3, xmm0
shufps xmm3, xmm3, 0x55
movsd qword [rsp + 0x50], xmm0
movaps xmm4, xmm3
mulss xmm4, dword [0x1412d3a6c]
movss xmm5, dword [rsp + 0x50]
movaps xmm0, xmm5
mulss xmm0, dword [0x1412d3a5c]
addss xmm4, xmm0
movss xmm6, dword [rsp + 0x58]
movaps xmm1, xmm6
mulss xmm1, dword [0x1412d3a7c]
addss xmm1, dword [0x1412d3a8c]
addss xmm4, xmm1
movaps xmm0, xmm4
divss xmm0, xmm7
cvttss2si edi, xmm0
comiss xmm14, xmm4
ja 0x1400c5972
movaps xmm2, xmm8
divss xmm2, xmm4
mov ecx, dword [0x1412d3a4c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
mov r8d, dword [0x1412d3a48]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
movaps xmm4, xmm3
mulss xmm4, dword [0x1412d3a60]
movaps xmm0, xmm5
mulss xmm0, dword [0x1412d3a50]
addss xmm4, xmm0
movaps xmm1, xmm6
mulss xmm1, dword [0x1412d3a70]
addss xmm4, xmm1
addss xmm4, dword [0x1412d3a80]
mulss xmm4, xmm2
mulss xmm4, xmm8
addss xmm4, xmm8
mulss xmm3, dword [0x1412d3a64]
mulss xmm5, dword [0x1412d3a54]
addss xmm3, xmm5
mulss xmm6, dword [0x1412d3a74]
addss xmm3, xmm6
addss xmm3, dword [0x1412d3a84]
mulss xmm3, xmm2
mulss xmm3, xmm9
movaps xmm7, xmm9
subss xmm7, xmm3
cmp byte [0x1412d4767], 0
je 0x1400c5961
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
mulss xmm0, xmm11
movaps xmm3, xmm4
subss xmm3, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, r8d
mulss xmm1, xmm11
movaps xmm2, xmm7
subss xmm2, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm3
movss xmm0, dword [0x140eeb024]
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1400c5961
cmp dword [0x1412d47ac], 0
jne 0x1400c592b
subss xmm4, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm4
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
subss xmm7, xmm9
cvtps2pd xmm0, xmm7
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400c591d
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
jmp 0x1400c5932
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
jmp 0x1400c5932
movd xmm0, edi
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
jbe 0x1400c5961
cmp edi, dword [0x140e7f6c4]
jge 0x1400c5961
movaps xmm10, xmm0
inc esi
mov rdx, rbx
lea rcx, [0x1412cc130]
call fcn.140039c60
mov eax, dword [rbx + 0x158]
mov dword [0x1412d34a8], eax
movss xmm7, dword [0x140ccce34]
movss xmm8, dword [0x140ccccc0]
add rbx, 0x298
cmp rbx, r14
jne 0x1400c5720
test esi, esi
movss xmm14, dword [rsp + 0x60]
je 0x1400c6010
cmp byte [0x1412d478a], 0
je 0x1400c5f97
lea r8, [0x1412cc2d0]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rbx, rcx
je 0x1400c59e0
movsd xmm0, qword [0x1412cc2dc]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc2e4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c59fe
lea r8, [0x1412cc2dc]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5a23
movsd xmm0, qword [0x1412cc2f4]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc2fc]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5a41
lea r8, [0x1412cc2f4]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5a66
movsd xmm0, qword [0x1412cc2e8]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc2f0]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5a84
lea r8, [0x1412cc2e8]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5aa9
movsd xmm0, qword [0x1412cc300]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc308]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5ac7
lea r8, [0x1412cc300]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5aec
movsd xmm0, qword [0x1412cc30c]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc314]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5b0a
lea r8, [0x1412cc30c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5b2f
movsd xmm0, qword [0x1412cc318]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc320]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5b4d
lea r8, [0x1412cc318]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5b72
movsd xmm0, qword [0x1412cc324]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc32c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5b90
lea r8, [0x1412cc324]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5bb5
movsd xmm0, qword [0x1412cc330]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc338]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5bd3
lea r8, [0x1412cc330]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5bf8
movsd xmm0, qword [0x1412cc33c]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc344]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5c16
lea r8, [0x1412cc33c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5c3b
movsd xmm0, qword [0x1412cc348]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc350]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5c59
lea r8, [0x1412cc348]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5c7e
movsd xmm0, qword [0x1412cc354]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc35c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5c9c
lea r8, [0x1412cc354]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5cc1
movsd xmm0, qword [0x1412cc360]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc368]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5cdf
lea r8, [0x1412cc360]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5d04
movsd xmm0, qword [0x1412cc36c]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc374]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c5d22
lea r8, [0x1412cc36c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c5d42
movsd xmm0, qword [0x1412cc378]
movsd qword [rbx], xmm0
mov eax, dword [0x1412cc380]
mov dword [rbx + 8], eax
add rbx, 0xc
jmp 0x1400c5d5b
lea r8, [0x1412cc378]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036910
mov rbx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
mov rdi, r13
cmp r13, rbx
je 0x1400c5f90
mov r12d, dword [0x140e7f6c4]
movss xmm12, dword [0x1412cc2d8]
movss xmm13, dword [0x1412cc2d4]
mov r14d, dword [reloc.WS2_32.dll_listen]
nop dword [rax]
movsd xmm11, qword [rdi]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x58], eax
movsd qword [rsp + 0x50], xmm11
movaps xmm2, xmm11
mulss xmm2, dword [0x1412d3a5c]
movss xmm10, dword [rsp + 0x54]
movaps xmm0, xmm10
mulss xmm0, dword [0x1412d3a6c]
addss xmm2, xmm0
movss xmm9, dword [rsp + 0x58]
movaps xmm1, xmm9
mulss xmm1, dword [0x1412d3a7c]
addss xmm1, dword [0x1412d3a8c]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm7
cvttss2si esi, xmm0
movss xmm0, dword [0x140cccc24]
comiss xmm0, xmm2
ja 0x1400c5f7a
movaps xmm5, xmm8
divss xmm5, xmm2
mov eax, dword [0x1412d3a4c]
cdq
sub eax, edx
sar eax, 1
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
mov eax, dword [0x1412d3a48]
cdq
sub eax, edx
sar eax, 1
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
movaps xmm3, xmm11
mulss xmm3, dword [0x1412d3a50]
movaps xmm0, xmm10
mulss xmm0, dword [0x1412d3a60]
addss xmm3, xmm0
movaps xmm1, xmm9
mulss xmm1, dword [0x1412d3a70]
addss xmm3, xmm1
addss xmm3, dword [0x1412d3a80]
mulss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm4
movaps xmm2, xmm11
mulss xmm2, dword [0x1412d3a54]
movaps xmm0, xmm10
mulss xmm0, dword [0x1412d3a64]
addss xmm2, xmm0
movaps xmm1, xmm9
mulss xmm1, dword [0x1412d3a74]
addss xmm2, xmm1
addss xmm2, dword [0x1412d3a84]
mulss xmm2, xmm5
mulss xmm2, xmm8
movaps xmm7, xmm8
subss xmm7, xmm2
subss xmm3, xmm4
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
subss xmm7, xmm8
cvtps2pd xmm0, xmm7
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400c5ef5
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400c5efd
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm14, xmm1
jbe 0x1400c5f72
cmp esi, r12d
jge 0x1400c5f72
ucomiss xmm11, dword [0x1412cc2d0]
jp 0x1400c5f59
jne 0x1400c5f59
ucomiss xmm10, xmm13
jp 0x1400c5f59
jne 0x1400c5f44
ucomiss xmm9, xmm12
jp 0x1400c5f40
jne 0x1400c5f40
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
addss xmm0, xmm9
movss dword [rsp + 0x40], xmm0
jmp 0x1400c5f60
ucomiss xmm10, xmm13
jp 0x1400c5f59
jne 0x1400c5f59
ucomiss xmm9, xmm12
jp 0x1400c5f59
jne 0x1400c5f59
subss xmm9, dword [0x140cccd80]
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x38], xmm11
movss dword [rsp + 0x3c], xmm10
movaps xmm14, xmm1
movss xmm7, dword [0x140ccce34]
add rdi, 0xc
cmp rdi, rbx
movss xmm8, dword [0x140ccccc0]
jne 0x1400c5d90
mov qword [rsp + 0x28], r13
jmp 0x1400c5ffb
mov eax, dword [0x1412d4770]
test eax, eax
jne 0x1400c5fc4
movss xmm0, dword [0x1412cc2d0]
movss dword [rsp + 0x38], xmm0
movd xmm0, dword [reloc.WS2_32.dll_listen]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1412cc2d8]
jmp 0x1400c5fe7
cmp eax, 1
jne 0x1400c5ffb
movss xmm0, dword [0x1412cc2d0]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x1412cc2d8]
subss xmm0, dword [0x140cccd80]
movss xmm1, dword [0x1412cc2d4]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x3c], xmm1
movsd xmm0, qword [rsp + 0x38]
movsd qword [r15], xmm0
mov eax, dword [rsp + 0x40]
mov dword [r15 + 8], eax
jmp 0x1400c602e
mov dword [0x1412d34a8], r12d
mov dword [r15], 0x461c3c00
mov dword [r15 + 4], 0x461c3c00
mov dword [r15 + 8], 0x461c3c00
lea rcx, [rsp + 0x20]
call fcn.140034850
nop
lea rcx, [rbp + 0xf0]
call fcn.14002ca90
lea rcx, [rbp + 0x90]
call fcn.14002ca90
lea rcx, [rbp + 0x68]
call fcn.14002ca90
lea rcx, [rbp + 0x48]
call fcn.14002ca90
lea rcx, [rbp + 0x28]
call fcn.14002ca90
lea rcx, [rbp + 8]
call fcn.14002ca90
lea rcx, [rbp - 0x18]
call fcn.14002ca90
lea rcx, [rbp - 0x38]
call fcn.14002ca90
lea rcx, [rbp - 0x58]
call fcn.1400348d0
mov rax, r15
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140138a50
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret