Function at 0x140111f20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
cmp dword [0x1408a688c], 1
movd xmm0, dword [reloc.WS2_32.dll_ntohs]
movd xmm1, dword [0x1406531bc]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movss xmm7, dword [0x1406531c0]
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x140372d90]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x1406531b4]
movaps xmmword [rax - 0x68], xmm10
movaps xmm10, xmm7
movaps xmmword [rax - 0x78], xmm11
movdqa xmm11, xmmword [0x1403805a0]
mulss xmm10, xmm8
movaps xmmword [rsp + 0x50], xmm12
movss xmm12, dword [0x14037b734]
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 0x1401120c1
call fcn.140026a30
movdqa xmm0, xmmword [0x140380570]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov rbx, rax
call fcn.140027050
movss xmm3, dword [rbp + 0x67]
lea r8, [rbp + 0x6f]
movss xmm2, dword [rbp + 0x6b]
lea rdx, [rbp + 0x77]
movss xmm6, dword [0x140372dd0]
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.14004b9c0
call fcn.140026a30
movdqa xmm0, xmmword [0x140380570]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov rbx, rax
call fcn.140027050
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.14004bad0
jmp 0x1401121bf
call fcn.140026a30
movdqa xmm0, xmmword [0x140380570]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov rbx, rax
call fcn.140027050
mov r9d, eax
mov dword [rsp + 0x20], 0x63
movaps xmm2, xmm10
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.14004c530
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
movss xmm0, dword [0x140372dd0]
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.14004c440
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
cvtps2pd xmm6, xmm10
lea rdx, [rbp + 0x67]
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x28], xmm12
movaps xmm0, xmm6
mov dword [rsp + 0x20], 0x63
divsd xmm0, qword [0x1403801e8]
cvtpd2ps xmm2, xmm0
call fcn.14004c440
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
divsd xmm6, qword [0x1403801d0]
lea rdx, [rbp + 0x67]
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x28], xmm12
cvtpd2ps xmm2, xmm6
mov dword [rsp + 0x20], 0x63
call fcn.14004c440
cmp byte [0x1408a5b79], 0
je 0x14011224d
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140112215
call fcn.140026a30
movdqa xmm0, xmmword [0x140372ee0]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov rbx, rax
call fcn.140027050
movaps xmm2, xmm9
mov dword [rsp + 0x20], listen
addss xmm2, dword [0x140372db8]
mov r9d, eax
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.14004c530
call fcn.140026a60
movdqa xmm0, xmmword [0x140380600]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov rbx, rax
call fcn.140027050
mov r9d, eax
mov dword [rsp + 0x20], listen
movaps xmm2, xmm9
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.14004c530
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
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], xmm12
mov r9d, eax
mov rcx, rbx
movss dword [rbp + 0x73], xmm0
movss dword [rbp + 0x7b], xmm2
call fcn.14004b850
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
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], xmm12
mov r9d, eax
mov rcx, rbx
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x77], xmm2
call fcn.14004b850
movss xmm0, dword [rdi]
movss xmm1, dword [rdi + 4]
comiss xmm1, xmm0
jbe 0x14011231b
addss xmm0, dword [rdi + 8]
comiss xmm0, xmm1
jmp 0x140112328
comiss xmm0, xmm1
jbe 0x140112332
subss xmm0, dword [rdi + 8]
comiss xmm1, xmm0
movss dword [rdi], xmm0
jbe 0x140112332
movss dword [rdi], xmm1
movd xmm0, dword [0x1408a6884]
mov ecx, 2
cvtdq2ps xmm0, xmm0
movss dword [rdi + 4], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14011235c
movss xmm0, dword [0x140372e08]
jmp 0x140112364
movss xmm0, dword [0x140380288]
movss dword [rdi + 4], xmm0
cmp dword [0x1408a688c], 1
movss xmm9, dword [rdi]
divss xmm9, dword [0x14037a208]
mov rdi, qword [rsp + 0xc0]
mulss xmm9, dword [0x1403799c4]
mulss xmm9, xmm8
jne 0x140112431
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm6, xmm0
mulss xmm6, xmm7
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
movss xmm1, dword [rbp + 0x67]
lea r8, [rbp + 0x6f]
subss xmm1, xmm6
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea rdx, [rbp + 0x67]
mov rcx, rbx
movss dword [rbp + 0x6f], xmm1
movd xmm1, dword [0x1406531bc]
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0x73], xmm1
call fcn.14004b850
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
movd xmm0, dword [0x1406531bc]
lea r8, [rbp + 0x6f]
addss xmm6, dword [rbp + 0x67]
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm6
movss dword [rbp + 0x73], xmm0
jmp 0x1401124f5
movaps xmm6, xmm9
xorps xmm6, xmmword [0x1403730b0]
subss xmm6, dword [0x1403799c0]
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 [0x1403799c0]
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.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
mov r9d, eax
movss dword [rsp + 0x20], xmm12
lea r8, [rbp + 0x6f]
mov rcx, rbx
lea rdx, [rbp + 0x67]
call fcn.14004b850
call fcn.140026a30
lea rcx, [rbp - 0x39]
mov rbx, rax
movups xmmword [rbp - 0x39], xmm11
call fcn.140027050
lea r8, [rbp + 0x77]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.14004b850
lea r11, [rsp + 0xc8]
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