Function at 0x1401346b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x5f]
sub rsp, 0xd8
cmp dword [0x14043708c], 1
movd xmm0, dword [reloc.WS2_32.dll_ntohs]
movd xmm1, dword [reloc.WLDAP32.dll_Ordinal_60]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movss xmm7, dword [0x1402fd3bc]
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x14026cbc4]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x1402fd3b0]
movaps xmmword [rax - 0x68], xmm10
movaps xmm10, xmm7
movaps xmmword [rax - 0x78], xmm11
movss xmm11, dword [0x14026cbec]
movaps xmmword [rsp + 0x60], xmm12
movdqa xmm12, xmmword [0x140279850]
mulss xmm10, xmm8
movaps xmmword [rsp + 0x50], xmm13
movss xmm13, dword [0x140275374]
cvtdq2ps xmm0, xmm0
mov qword [rax - 0x18], rdi
mov rdi, rcx
cvtdq2ps xmm1, xmm1
addss xmm0, xmm10
mulss xmm7, xmm8
addss xmm1, xmm10
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
jne 0x14013485f
call fcn.140054dd0
movdqa xmm0, xmmword [0x140273950]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.1400553f0
movss xmm3, dword [rbp + 0x67]
lea r8, [rbp + 0x6f]
movss xmm2, dword [rbp + 0x6b]
lea rdx, [rbp + 0x77]
movss xmm6, dword [0x14026cc00]
movaps xmm0, xmm7
addss xmm0, xmm3
movss dword [rsp + 0x30], xmm6
movaps xmm1, xmm7
mov dword [rsp + 0x28], 0
addss xmm1, xmm2
movss dword [rsp + 0x20], xmm6
subss xmm3, xmm7
mov r9d, eax
subss xmm2, xmm7
mov rcx, rbx
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x73], xmm1
movss dword [rbp + 0x77], xmm3
movss dword [rbp + 0x7b], xmm2
call fcn.140078ed0
call fcn.140054dd0
movss xmm1, dword [0x140279510]
lea rcx, [0x140436c78]
mov rbx, rax
call fcn.140051ce0
movss xmm3, dword [rbp + 0x67]
lea r8, [rbp + 0x6f]
movss xmm2, dword [rbp + 0x6b]
lea rdx, [rbp + 0x77]
movaps xmm0, xmm7
mov dword [rsp + 0x28], 0
addss xmm0, xmm3
movss dword [rsp + 0x20], xmm6
movaps xmm1, xmm7
subss xmm3, xmm7
addss xmm1, xmm2
mov r9d, eax
subss xmm2, xmm7
mov rcx, rbx
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x77], xmm3
movss dword [rbp + 0x73], xmm1
movss dword [rbp + 0x7b], xmm2
call fcn.140078fb0
jmp 0x14013496b
call fcn.140054dd0
movss xmm1, dword [0x140279510]
lea rcx, [0x140436c78]
mov rbx, rax
call fcn.140051ce0
mov r9d, eax
mov dword [rsp + 0x20], 0x63
movaps xmm2, xmm10
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140079a00
call fcn.140054dd0
movdqa xmm0, xmmword [0x140273950]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.1400553f0
movss xmm0, dword [0x14026cc00]
lea rdx, [rbp + 0x67]
movss dword [rsp + 0x28], xmm0
mov r9d, eax
movaps xmm2, xmm10
mov dword [rsp + 0x20], 0x63
mov rcx, rbx
call fcn.140079910
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
cvtps2pd xmm6, xmm10
lea rdx, [rbp + 0x67]
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x28], xmm13
movaps xmm0, xmm6
mov dword [rsp + 0x20], 0x63
divsd xmm0, qword [0x140279540]
cvtpd2ps xmm2, xmm0
call fcn.140079910
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
divsd xmm6, qword [0x140279528]
lea rdx, [rbp + 0x67]
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x28], xmm13
cvtpd2ps xmm2, xmm6
mov dword [rsp + 0x20], 0x63
call fcn.140079910
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1401349b1
call fcn.140054dd0
movdqa xmm0, xmmword [0x140273950]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.1400553f0
movaps xmm2, xmm9
mov dword [rsp + 0x20], recvfrom
addss xmm2, xmm11
mov r9d, eax
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140079a00
call fcn.140054e00
movdqa xmm0, xmmword [0x140279940]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.1400553f0
mov r9d, eax
mov dword [rsp + 0x20], recvfrom
movaps xmm2, xmm9
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140079a00
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
movss xmm2, dword [rbp + 0x6b]
lea r8, [rbp + 0x6f]
movss xmm1, dword [rbp + 0x67]
lea rdx, [rbp + 0x77]
movaps xmm0, xmm2
movss dword [rbp + 0x6f], xmm1
addss xmm0, xmm10
movss dword [rbp + 0x77], xmm1
subss xmm2, xmm10
movss dword [rsp + 0x20], xmm13
mov r9d, eax
mov rcx, rbx
movss dword [rbp + 0x73], xmm0
movss dword [rbp + 0x7b], xmm2
call fcn.140078e00
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
movss xmm2, dword [rbp + 0x67]
lea r8, [rbp + 0x6f]
movss xmm1, dword [rbp + 0x6b]
lea rdx, [rbp + 0x77]
movaps xmm0, xmm2
movss dword [rbp + 0x73], xmm1
addss xmm0, xmm10
movss dword [rbp + 0x7b], xmm1
subss xmm2, xmm10
movss dword [rsp + 0x20], xmm13
mov r9d, eax
mov rcx, rbx
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x77], xmm2
call fcn.140078e00
movss xmm0, dword [rdi]
movss xmm1, dword [rdi + 4]
comiss xmm1, xmm0
jbe 0x140134abf
addss xmm0, dword [rdi + 8]
comiss xmm0, xmm1
jmp 0x140134acc
comiss xmm0, xmm1
jbe 0x140134ad6
subss xmm0, dword [rdi + 8]
comiss xmm1, xmm0
movss dword [rdi], xmm0
jbe 0x140134ad6
movss dword [rdi], xmm1
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140134af0
movss xmm0, dword [0x14026cc3c]
jmp 0x140134af8
movss xmm0, dword [0x1402795d0]
movss dword [rdi + 4], xmm0
cmp dword [0x14043708c], 1
movss xmm9, dword [rdi]
divss xmm9, dword [0x1402795d4]
mov rdi, qword [rsp + 0xd0]
mulss xmm9, dword [0x1402735d4]
mulss xmm9, xmm8
jne 0x140134bcd
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm6, xmm0
mulss xmm6, xmm7
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
movd xmm0, dword [reloc.WLDAP32.dll_Ordinal_60]
lea r8, [rbp + 0x6f]
movss xmm1, dword [rbp + 0x67]
lea rdx, [rbp + 0x67]
cvtdq2ps xmm0, xmm0
mov r9d, eax
mov rcx, rbx
subss xmm1, xmm6
movss dword [rsp + 0x20], xmm13
movss dword [rbp + 0x73], xmm0
movss dword [rbp + 0x6f], xmm1
call fcn.140078e00
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
movd xmm0, dword [reloc.WLDAP32.dll_Ordinal_60]
lea r8, [rbp + 0x6f]
addss xmm6, dword [rbp + 0x67]
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm6
movss dword [rbp + 0x73], xmm0
jmp 0x140134c99
movaps xmm6, xmm9
xorps xmm6, xmmword [0x14026cd20]
subss xmm6, dword [0x1402735d0]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm10
addss xmm0, dword [rbp + 0x67]
movss dword [rbp + 0x6f], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
subss xmm9, dword [0x1402735d0]
mulss xmm0, xmm10
addss xmm0, dword [rbp + 0x6b]
movss dword [rbp + 0x73], xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm10
addss xmm0, dword [rbp + 0x67]
movss dword [rbp + 0x77], xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm10
addss xmm0, dword [rbp + 0x6b]
movss dword [rbp + 0x7b], xmm0
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea r8, [rbp + 0x6f]
mov rcx, rbx
lea rdx, [rbp + 0x67]
call fcn.140078e00
call fcn.140054dd0
movaps xmm1, xmm11
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm12
call fcn.140051ce0
lea r8, [rbp + 0x77]
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140078e00
movaps xmm13, xmmword [rsp + 0x50]
lea r11, [rsp + 0xd8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
mov rsp, r11
pop rbx
pop rbp
ret