Function at 0x1400cdde0
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 - 0x2d8]
sub rsp, 0x3b0
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 [0x140cf0080]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, rcx
mov qword [rsp + 0x28], rcx
xorps xmm11, xmm11
xorps xmm13, xmm13
xorps xmm9, xmm9
movss xmm10, dword [0x140cd2280]
xor esi, esi
lea rcx, [rsp + 0x60]
call fcn.1400306e0
nop
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], rax
movss dword [rsp + 0x24], xmm10
mov r14, qword [0x1411dfde0]
mov rbx, qword [0x1411dfdd8]
movss xmm12, dword [0x140cd2184]
movsd xmm14, qword [0x140cd2060]
cmp rbx, r14
je 0x1400ce0ec
movss xmm15, dword [0x140cd1f24]
nop dword [rax]
cmp byte [0x1411dfcae], 1
jne 0x1400cdef5
comiss xmm11, dword [rbx + 0x24]
jb 0x1400cdef5
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400ce0cd
cmp byte [0x1411dfcaf], 1
jne 0x1400cdf08
cmp byte [rbx + 4], 1
je 0x1400ce0cd
movsd xmm0, qword [rbx + 0x1a0]
movaps xmm4, xmm0
shufps xmm4, xmm4, 0x55
movsd qword [rsp + 0x30], xmm0
movaps xmm2, xmm4
mulss xmm2, dword [0x1411df59c]
movss xmm6, dword [rsp + 0x30]
movaps xmm0, xmm6
mulss xmm0, dword [0x1411df58c]
addss xmm2, xmm0
movss xmm8, dword [rbx + 0x1a8]
movaps xmm1, xmm8
mulss xmm1, dword [0x1411df5ac]
addss xmm1, dword [0x1411df5bc]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm12
cvttss2si edi, xmm0
comiss xmm15, xmm2
ja 0x1400ce0cd
movss xmm3, dword [0x140cd1fdc]
divss xmm3, xmm2
mov ecx, dword [0x1411def40]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov r8d, dword [0x1411def3c]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
movaps xmm5, xmm4
mulss xmm5, dword [0x1411df590]
movaps xmm0, xmm6
mulss xmm0, dword [0x1411df580]
addss xmm5, xmm0
movaps xmm1, xmm8
mulss xmm1, dword [0x1411df5a0]
addss xmm5, xmm1
addss xmm5, dword [0x1411df5b0]
mulss xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm2
mulss xmm4, dword [0x1411df594]
mulss xmm6, dword [0x1411df584]
addss xmm4, xmm6
mulss xmm8, dword [0x1411df5a4]
addss xmm4, xmm8
addss xmm4, dword [0x1411df5b4]
mulss xmm4, xmm3
mulss xmm4, xmm7
subss xmm7, xmm4
cmp dword [0x1411dfd00], 0
jne 0x1400ce099
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm5, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm5
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x1400ce088
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
jmp 0x1400ce0a0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
jmp 0x1400ce0a0
movd xmm6, edi
cvtdq2ps xmm6, xmm6
comiss xmm10, xmm6
jbe 0x1400ce0cd
cmp edi, dword [0x1411d755c]
jge 0x1400ce0cd
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140039340
inc esi
mov r8d, dword [rbx + 0x158]
mov dword [rsp + 0x20], r8d
movaps xmm10, xmm6
add rbx, 0x298
cmp rbx, r14
jne 0x1400cded0
test esi, esi
jne 0x1400ce274
mov rbx, qword [0x1411dfdd8]
cmp byte [0x1411dfd14], 0
je 0x1400ce91b
mov r13d, 0xf423f
xor r12d, r12d
mov rcx, qword [0x1411dfde0]
sub rcx, rbx
movabs rax, 0x3159721ed7e75347
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400ce916
xor r15d, r15d
xor edi, edi
cmp byte [0x1411dfcae], 1
jne 0x1400ce15f
comiss xmm11, dword [rdi + rbx + 0x24]
jb 0x1400ce15f
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [0x1411dfdd8]
test ax, ax
js 0x1400ce22c
cmp byte [0x1411dfcaf], 1
jne 0x1400ce173
cmp byte [rdi + rbx + 4], 1
je 0x1400ce22c
movss xmm6, dword [0x1411de1dc]
subss xmm6, dword [rdi + rbx + 0x10]
movss xmm7, dword [0x1411de1e0]
subss xmm7, dword [rdi + rbx + 0x14]
movss xmm0, dword [0x1411de1d8]
subss xmm0, dword [rdi + rbx + 0xc]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x1400ce1e3
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x1400ce1ec
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
divss xmm0, xmm12
cvttss2si r14d, xmm0
cmp r14d, r13d
jge 0x1400ce22c
imul rdx, r15, 0x298
add rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140039340
inc esi
mov rbx, qword [0x1411dfdd8]
mov r8d, dword [rdi + rbx + 0x158]
mov dword [rsp + 0x20], r8d
mov r13d, r14d
inc r12d
add rdi, 0x298
movsxd r15, r12d
mov rcx, qword [0x1411dfde0]
sub rcx, rbx
movabs rax, 0x3159721ed7e75347
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jb 0x1400ce132
mov r13, qword [rsp + 0x28]
test esi, esi
je 0x1400ce91b
lea rdx, [rsp + 0x60]
lea rcx, [0x1411dfea0]
call fcn.140039340
mov eax, dword [rsp + 0x20]
mov dword [0x1411de26c], eax
cmp byte [0x1411dfcda], 0
je 0x1400ce8b9
lea r8, [0x1411e0040]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
cmp rbx, rcx
je 0x1400ce2de
movsd xmm0, qword [0x1411e004c]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0054]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce2fc
lea r8, [0x1411e004c]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce321
movsd xmm0, qword [0x1411e0064]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e006c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce33f
lea r8, [0x1411e0064]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce364
movsd xmm0, qword [0x1411e0058]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0060]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce382
lea r8, [0x1411e0058]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce3a7
movsd xmm0, qword [0x1411e0070]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0078]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce3c5
lea r8, [0x1411e0070]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce3ea
movsd xmm0, qword [0x1411e007c]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0084]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce408
lea r8, [0x1411e007c]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce42d
movsd xmm0, qword [0x1411e0088]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0090]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce44b
lea r8, [0x1411e0088]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce470
movsd xmm0, qword [0x1411e0094]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e009c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce48e
lea r8, [0x1411e0094]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce4b3
movsd xmm0, qword [0x1411e00a0]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00a8]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce4d1
lea r8, [0x1411e00a0]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce4f6
movsd xmm0, qword [0x1411e00ac]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00b4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce514
lea r8, [0x1411e00ac]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce539
movsd xmm0, qword [0x1411e00b8]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00c0]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce557
lea r8, [0x1411e00b8]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce57c
movsd xmm0, qword [0x1411e00c4]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00cc]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce59a
lea r8, [0x1411e00c4]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce5bf
movsd xmm0, qword [0x1411e00d0]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00d8]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce5dd
lea r8, [0x1411e00d0]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce602
movsd xmm0, qword [0x1411e00dc]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00e4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce620
lea r8, [0x1411e00dc]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ce645
movsd xmm0, qword [0x1411e00e8]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00f0]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ce65e
lea r8, [0x1411e00e8]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rdi, r14
cmp r14, rbx
je 0x1400ce904
mov ecx, dword [0x1411def40]
mov r8d, dword [0x1411def3c]
mov r12d, dword [0x1411d755c]
movss xmm15, dword [0x1411e0048]
mov r15d, dword [reloc.WS2_32.dll_listen]
movsd xmm7, qword [rdi]
movsd qword [rsp + 0x30], xmm7
movaps xmm2, xmm7
mulss xmm2, dword [0x1411df58c]
movss xmm8, dword [rsp + 0x34]
movaps xmm0, xmm8
mulss xmm0, dword [0x1411df59c]
addss xmm2, xmm0
movss xmm10, dword [rdi + 8]
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5ac]
addss xmm1, dword [0x1411df5bc]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm12
cvttss2si esi, xmm0
movss xmm0, dword [0x140cd1f24]
comiss xmm0, xmm2
ja 0x1400ce8a0
movss xmm3, dword [0x140cd1fdc]
divss xmm3, xmm2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
movaps xmm4, xmm8
mulss xmm4, dword [0x1411df590]
movaps xmm0, xmm7
mulss xmm0, dword [0x1411df580]
addss xmm4, xmm0
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5a0]
addss xmm4, xmm1
addss xmm4, dword [0x1411df5b0]
mulss xmm4, xmm3
mulss xmm4, xmm2
addss xmm4, xmm2
movaps xmm2, xmm8
mulss xmm2, dword [0x1411df594]
movaps xmm0, xmm7
mulss xmm0, dword [0x1411df584]
addss xmm2, xmm0
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5a4]
addss xmm2, xmm1
addss xmm2, dword [0x1411df5b4]
mulss xmm2, xmm3
mulss xmm2, xmm6
subss xmm6, xmm2
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm6, xmm0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm4, xmm0
cvtps2pd xmm0, xmm4
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm12, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm12, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm12
ja 0x1400ce7fb
xorps xmm0, xmm0
sqrtsd xmm0, xmm12
jmp 0x1400ce804
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [rsp + 0x24]
comiss xmm0, xmm1
jbe 0x1400ce88a
cmp esi, r12d
jge 0x1400ce88a
movss xmm4, dword [0x1411e0040]
ucomiss xmm7, xmm4
movss xmm3, dword [0x1411e0044]
jp 0x1400ce878
jne 0x1400ce855
ucomiss xmm8, xmm3
jp 0x1400ce852
jne 0x1400ce852
ucomiss xmm10, xmm15
jp 0x1400ce852
jne 0x1400ce852
movd xmm9, r15d
cvtdq2ps xmm9, xmm9
addss xmm9, xmm10
jmp 0x1400ce87c
ucomiss xmm7, xmm4
jp 0x1400ce878
jne 0x1400ce878
ucomiss xmm8, xmm3
jp 0x1400ce878
jne 0x1400ce878
ucomiss xmm10, xmm15
jp 0x1400ce878
jne 0x1400ce878
movaps xmm9, xmm10
subss xmm9, dword [0x140cd20c0]
jmp 0x1400ce87c
movaps xmm9, xmm10
movaps xmm11, xmm7
movaps xmm13, xmm8
movss dword [rsp + 0x24], xmm1
movss xmm12, dword [0x140cd2184]
mov ecx, dword [0x1411def40]
mov r8d, dword [0x1411def3c]
add rdi, 0xc
cmp rdi, rbx
jne 0x1400ce693
cmp r14, rbx
je 0x1400ce904
mov qword [rsp + 0x48], r14
jmp 0x1400ce904
mov eax, dword [0x1411dfcc4]
test eax, eax
jne 0x1400ce8db
movd xmm9, dword [reloc.WS2_32.dll_listen]
cvtdq2ps xmm9, xmm9
addss xmm9, dword [0x1411e0048]
jmp 0x1400ce8f2
cmp eax, 1
jne 0x1400ce904
movss xmm9, dword [0x1411e0048]
subss xmm9, dword [0x140cd20c0]
movss xmm13, dword [0x1411e0044]
movss xmm11, dword [0x1411e0040]
unpcklps xmm11, xmm13
movsd qword [r13], xmm11
movss dword [r13 + 8], xmm9
jmp 0x1400ce93d
mov r13, qword [rsp + 0x28]
mov dword [0x1411de26c], 0
mov dword [r13], 0x461c3c00
mov dword [r13 + 4], 0x461c3c00
mov dword [r13 + 8], 0x461c3c00
lea rcx, [rsp + 0x40]
call fcn.140037690
nop
lea rcx, [rbp + 0xe0]
call fcn.14002f260
lea rcx, [rbp + 0x80]
call fcn.14002f260
lea rcx, [rbp + 0x58]
call fcn.14002f260
lea rcx, [rbp + 0x38]
call fcn.14002f260
lea rcx, [rbp + 0x18]
call fcn.14002f260
lea rcx, [rbp - 8]
call fcn.14002f260
lea rcx, [rbp - 0x28]
call fcn.14002f260
lea rcx, [rbp - 0x48]
call fcn.14002f260
lea rcx, [rbp - 0x68]
call fcn.140037710
mov rax, r13
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14013f230
lea r11, [rsp + 0x3b0]
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