Function at 0x1400924e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0xd8]
sub rsp, 0x1d0
mov rax, qword [0x140160880]
xor rax, rsp
mov qword [rbp + 0x30], rax
cmp byte [0x1401ab1df], 0
je 0x140092a21
mov qword [r11 + 8], rbx
lea rcx, [0x140000000]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov edi, dword [rsp + 0x58]
mov qword [r11 - 0x10], r12
movabs r12, 0x7fffffffffffffff
mov qword [r11 - 0x18], r13
movabs r13, 0x7ffffffffff0bdbe
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x58], xmm8
movsd xmm8, qword [0x140149298]
movaps xmmword [r11 - 0x68], xmm9
movsd xmm9, qword [rsp + 0x50]
movaps xmmword [r11 - 0x78], xmm10
movsd xmm10, qword [0x140149280]
movaps xmmword [r11 - 0x88], xmm11
movss xmm11, dword [0x140149250]
movaps xmmword [r11 - 0x98], xmm12
movss xmm12, dword [0x1401491dc]
movaps xmmword [r11 - 0x48], xmm7
nop dword [rax]
movsxd rax, dword [0x1401a9804]
mov eax, dword [rcx + rax*4 + 0x144f10]
mov dword [0x1401a97f8], eax
movsxd rax, dword [0x1401a97dc]
mov eax, dword [rcx + rax*4 + 0x144f10]
xor ecx, ecx
mov dword [0x1401a97e0], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x1401a97f8]
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
call fcn.140090680
mov ebx, dword [0x1401a97f8]
lea rdx, [rbp - 0x10]
mov r8d, 0x40
mov rsi, rax
lea rcx, [rax + 0x60]
call fcn.14007e5d0
cmp dword [0x1401ab1a8], 0xaf2
lea rdx, [rbp - 0x30]
mov ecx, 0x430
mov eax, 0x410
cmovge ecx, eax
mov r8d, recv
shl ebx, 4
add ecx, ebx
movsxd rcx, ecx
add rcx, rsi
call fcn.14007e5d0
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call qword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
cmp byte [0x1401a97a9], 0
movss xmm0, dword [rbp - 0x50]
movss xmm1, dword [rbp - 0x4c]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rbp - 0x48]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x24], xmm1
je 0x1400926fb
mov ecx, dword [0x1401a97e0]
call fcn.140090680
mov ebx, dword [0x1401a97e0]
lea rdx, [rbp - 0x10]
mov r8d, 0x40
mov rdi, rax
lea rcx, [rax + 0x60]
call fcn.14007e5d0
cmp dword [0x1401ab1a8], 0xaf2
lea rdx, [rbp - 0x20]
mov ecx, 0x430
mov eax, 0x410
cmovge ecx, eax
mov r8d, recv
shl ebx, 4
add ecx, ebx
movsxd rcx, ecx
add rcx, rdi
call fcn.14007e5d0
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call qword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
movss xmm2, dword [rbp - 0x3c]
movss xmm9, dword [rbp - 0x40]
mov edi, dword [rbp - 0x38]
unpcklps xmm9, xmm2
cmp byte [0x1401a97aa], 0
je 0x14009274b
mov rcx, qword [0x1401ab128]
add rcx, qword [0x1401ab120]
call fcn.1400b09f0
lea rcx, [rax + 0x78]
call fcn.1400b09f0
mov rcx, qword [0x1401ab150]
add rcx, rax
call fcn.1400b09f0
mov r8d, recv
movsd qword [rbp - 0x80], xmm9
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x78], edi
lea rcx, [rax + 0x20]
call fcn.14007e660
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400844a0
mov rcx, qword [0x1401ab128]
lea rdx, [rsp + 0x30]
xor eax, eax
add rcx, 0x90
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
lea r8d, [rax + 0xc]
call fcn.14007e5d0
xor eax, eax
lea rcx, [rsi + 0x90]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
lea r8d, [rax + 0xc]
call fcn.14007e5d0
movss xmm0, dword [rsp + 0x64]
movd xmm1, r15d
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movd xmm1, r14d
movss xmm0, dword [rsp + 0x60]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x1400927fe
xorps xmm7, xmm7
sqrtss xmm7, xmm0
jmp 0x140092806
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmm0
movss xmm1, dword [rsp + 0x34]
subss xmm1, dword [rsp + 0x44]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [rsp + 0x30]
movaps xmm6, xmm0
subss xmm1, dword [rsp + 0x40]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [rsp + 0x38]
addsd xmm6, xmm0
subss xmm1, dword [rsp + 0x48]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140092868
sqrtsd xmm6, xmm6
jmp 0x140092873
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm6, xmm0
cmp byte [0x1401a97ad], 0
mulsd xmm6, xmm10
je 0x140092910
movd xmm1, dword [0x14016092c]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm7
jb 0x140092910
movd xmm1, dword [reloc.WLDAP32.dll_Ordinal_200]
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm6
jb 0x140092910
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140092910
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400928dd
movsd xmm0, qword [rsp + 0x20]
lea rcx, [rbp - 0x70]
mov eax, dword [rsp + 0x28]
movaps xmm3, xmm11
movsd qword [rbp - 0x70], xmm0
mov dword [rbp - 0x68], eax
jmp 0x140092900
cmp byte [0x1401a97fc], 0
je 0x140092910
movsd xmm0, qword [rsp + 0x20]
lea rcx, [rbp - 0x60]
mov eax, dword [rsp + 0x28]
movaps xmm3, xmm12
movsd qword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], eax
movd xmm2, dword [reloc.WS2_32.dll_accept]
cvtdq2ps xmm2, xmm2
call fcn.140090ac0
cmp byte [0x1401a97a9], 0
je 0x140092968
movd xmm0, dword [reloc.WLDAP32.dll_Ordinal_50]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jb 0x140092968
movd xmm0, dword [reloc.WLDAP32.dll_Ordinal_200]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jb 0x140092968
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140092963
lea rcx, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm9
mov dword [rsp + 0x58], edi
call fcn.14008c430
jmp 0x140092968
call fcn.14008c200
lea rcx, [rsp + 0x70]
call fcn.14007d6e0
mov rax, qword [rsp + 0x70]
cmp rax, r13
jg 0x140092989
add rax, 0xf4240
mov qword [rsp + 0x68], rax
jmp 0x14009298e
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x68]
call fcn.1400b8170
cmp byte [0x1401ab1df], 0
lea rcx, [0x140000000]
jne 0x1400925a0
movaps xmm12, xmmword [rsp + 0x140]
movaps xmm11, xmmword [rsp + 0x150]
movaps xmm10, xmmword [rsp + 0x160]
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
mov r15, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x1b8]
mov r13, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401263f0
add rsp, 0x1d0
pop rbp
ret