Function at 0x140036480
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x78]
sub rsp, 0x170
movsxd rax, dword [0x1400c80e8]
cmp eax, 0xffffffff
je 0x1400369bf
cmp byte [0x1400eda1b], 0
je 0x1400369bf
lea rcx, [rax + rax*2]
mov qword [r11 - 0x10], rbx
mov rax, qword [0x1400edc68]
mov qword [r11 - 0x18], rdi
movups xmm1, xmmword [rax + rcx*8]
movsd xmm0, qword [rax + rcx*8 + 0x10]
movq rdi, xmm1
movsd qword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
lea rdx, [rdi + 0xa10]
call fcn.14003c800
mov edx, dword [0x1400edf40]
lea r9, [rbp + 0x90]
mov qword [rsp + 0x20], 4
lea r8, [rax + 0x1b0]
call fcn.140030a90
lea rdx, [rdi + 0x438]
call fcn.14003c800
mov rbx, rax
lea rdx, [rax + 0x5e0]
call fcn.14003c800
mov r8d, 8
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140031dd0
movsd xmm0, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x40]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
call fcn.140031fc0
mov edx, dword [0x1400edf40]
lea r8, [rdi + 0x100]
lea r9, [rbp + 0x80]
mov qword [rsp + 0x20], 1
call fcn.140030a90
cmp byte [rbp + 0x80], 0
je 0x1400369af
mov edx, dword [0x1400edf40]
lea r8, [rdi + 0x3f0]
lea r9, [rbp + 0x98]
mov qword [rsp + 0x20], 8
call fcn.140030a90
mov r8, qword [rbp + 0x98]
lea r9, [rsp + 0x60]
mov edx, dword [0x1400edf40]
add r8, 0x628
mov qword [rsp + 0x20], 8
call fcn.140030a90
mov r8, qword [rsp + 0x60]
lea r9, [rbp + 0x80]
mov edx, dword [0x1400edf40]
add r8, 0xf8
mov qword [rsp + 0x20], 4
call fcn.140030a90
mov r8, qword [0x1400eda58]
lea r9, [rsp + 0x68]
mov edx, dword [0x1400edf40]
add r8, 0x3f0
mov ebx, dword [rbp + 0x80]
mov qword [rsp + 0x20], 8
call fcn.140030a90
mov r8, qword [rsp + 0x68]
lea r9, [rsp + 0x50]
mov edx, dword [0x1400edf40]
add r8, 0x628
mov qword [rsp + 0x20], 8
call fcn.140030a90
mov r8, qword [rsp + 0x50]
lea r9, [rbp + 0x88]
mov edx, dword [0x1400edf40]
add r8, 0xf8
mov qword [rsp + 0x20], 4
call fcn.140030a90
cmp ebx, dword [rbp + 0x88]
je 0x1400369af
mov r8, qword [0x1400eda40]
lea r9, [rsp + 0x70]
mov edx, dword [0x1400edf40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm6
add r8, 0x1ff0
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm8
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
xorps xmm11, xmm11
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov qword [rsp + 0x20], Ordinal_32
call fcn.140030a90
movss xmm4, dword [rsp + 0x78]
subss xmm4, dword [rsp + 0x38]
movss xmm8, dword [rsp + 0x70]
subss xmm8, dword [rsp + 0x30]
movss xmm7, dword [rsp + 0x74]
subss xmm7, dword [rsp + 0x34]
movaps xmm1, xmm4
mulss xmm1, xmm4
movaps xmm0, xmm8
movaps xmm3, xmm7
mulss xmm0, xmm8
mulss xmm3, xmm7
addss xmm3, xmm0
addss xmm3, xmm1
movaps xmm2, xmm3
rsqrtss xmm1, xmm2
mulss xmm2, xmm1
divss xmm4, xmm2
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
divss xmm7, xmm8
mulsd xmm1, qword [0x1400b8808]
movaps xmm0, xmm7
cvtpd2ps xmm9, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movss xmm10, dword [0x1400b8884]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
comiss xmm8, xmm11
mulsd xmm1, qword [0x1400b8808]
movaps xmm8, xmmword [rsp + 0x130]
cvtpd2ps xmm6, xmm1
jb 0x140036796
addss xmm6, xmm10
mov eax, dword [0x1400edba4]
xorps xmm0, xmm0
addss xmm9, dword [0x1400b8894]
shr eax, 1
xorps xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [0x1400edba0]
shr eax, 1
cvtsi2ss xmm1, rax
subss xmm0, dword [rsp + 0x40]
subss xmm1, dword [rsp + 0x44]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x1400c80e4]
mulss xmm0, xmm0
comiss xmm0, xmm1
jb 0x140036984
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140036806
lea rcx, [rbp - 0x70]
call fcn.140030b40
test al, al
je 0x140036984
movss xmm7, dword [0x1400b87d4]
movss xmm0, dword [rbp + 0x90]
comiss xmm0, xmm7
jb 0x140036984
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036984
mov r8, qword [0x1400eda30]
lea r9, [rsp + 0x30]
mov edx, dword [0x1400edf40]
add r8, 0x448
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], recv
call fcn.140030a90
comiss xmm11, xmm9
movss xmm3, dword [0x1400b889c]
movaps xmm2, xmm9
jbe 0x140036882
addss xmm2, xmm3
comiss xmm9, xmm3
movss xmm4, dword [0x1400b88e0]
jbe 0x140036894
addss xmm2, xmm4
comiss xmm11, xmm6
movaps xmm1, xmm6
jbe 0x1400368a1
addss xmm1, xmm3
comiss xmm6, xmm3
jbe 0x1400368aa
addss xmm1, xmm4
movss xmm5, dword [rsp + 0x30]
movss xmm6, dword [rsp + 0x34]
subss xmm2, xmm5
subss xmm1, xmm6
comiss xmm2, dword [0x1400b8874]
jbe 0x1400368cd
subss xmm2, xmm3
jmp 0x1400368de
movss xmm0, dword [0x1400b88d4]
comiss xmm0, xmm2
jbe 0x1400368de
addss xmm2, xmm3
comiss xmm1, xmm10
jbe 0x1400368ee
addss xmm1, xmm4
comiss xmm1, xmm10
ja 0x1400368e4
movss xmm0, dword [0x1400b88dc]
comiss xmm0, xmm1
jbe 0x140036909
nop dword [rax + rax]
addss xmm1, xmm3
comiss xmm0, xmm1
ja 0x140036900
divss xmm7, dword [0x1400c80dc]
mov rax, qword [0x1400eda30]
mov ecx, dword [0x1400edf40]
add rax, 0x448
movss dword [rsp + 0x48], xmm11
movaps xmm0, xmm7
mulss xmm7, xmm1
mulss xmm0, xmm2
addss xmm7, xmm6
addss xmm0, xmm5
unpcklps xmm0, xmm7
movsd qword [rsp + 0x40], xmm0
test ecx, ecx
je 0x140036984
test rax, rax
je 0x140036984
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x40]
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], recv
mov dword [rbp - 0x30], 0x52398715
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [0x1400edf38]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm11, xmmword [rsp + 0x100]
mov rbx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x160]
add rsp, 0x170
pop rbp
ret