Function at 0x140092a40
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x78]
sub rsp, 0x170
mov rax, qword [0x140160880]
xor rax, rsp
mov qword [rbp - 0x20], rax
cmp byte [0x1401ab1df], 0
je 0x140092ed0
mov qword [r11 + 8], rbx
lea rcx, [0x140144f10]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r12
xor r12d, r12d
mov qword [r11 - 0x18], r13
movabs r13, 0x7ffffffffff0bdbe
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
movabs r15, 0x7fffffffffffffff
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movsd xmm7, qword [0x140149298]
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [0x140149830]
movaps xmmword [r11 - 0x78], xmm10
movss xmm10, dword [0x1401492e0]
movaps xmmword [r11 - 0x88], xmm11
movsd xmm11, qword [0x140149280]
nop dword [rax + rax]
movsxd rax, dword [0x1401ab0e8]
mov eax, dword [rcx + rax*4]
xor ecx, ecx
mov dword [0x1401ab0ec], 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 edi, eax
call fcn.140090680
mov ebx, dword [0x1401a97f8]
lea rdx, [rbp - 0x60]
mov r8d, 0x40
mov rsi, rax
lea rcx, [rax + 0x60]
call fcn.14007e5d0
cmp dword [0x1401ab1a8], 0xaf2
lea rdx, [rbp - 0x70]
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 - 0x60]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
movss xmm0, dword [rbp - 0x80]
lea rdx, [rsp + 0x60]
movss xmm1, dword [rbp - 0x7c]
lea rcx, [rsp + 0x58]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x64], xmm1
call fcn.1400844a0
movss xmm8, dword [rsp + 0x58]
movss xmm6, dword [rsp + 0x5c]
movaps xmm1, xmm8
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
andps xmm1, xmm9
comiss xmm10, xmm1
jb 0x140092bff
movd xmm0, edi
movaps xmm1, xmm6
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
andps xmm1, xmm9
comiss xmm10, xmm1
jb 0x140092bff
mov bl, 1
jmp 0x140092c01
xor bl, bl
mov rcx, qword [0x1401ab128]
lea rdx, [rsp + 0x38]
xor eax, eax
add rcx, 0x90
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
lea r8d, [rax + 0xc]
call fcn.14007e5d0
xor eax, eax
lea rcx, [rsi + 0x90]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
lea r8d, [rax + 0xc]
call fcn.14007e5d0
cmp byte [0x1401a983d], r12b
je 0x140092de3
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
cvtps2pd xmm0, xmm6
subsd xmm0, xmm1
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
xorps xmm1, xmm1
movaps xmm6, xmm0
cvtsi2sd xmm1, r14d
cvtps2pd xmm0, xmm8
subsd xmm0, xmm1
movaps xmm1, xmm7
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 0x140092c9f
sqrtss xmm0, xmm0
jmp 0x140092ca4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [reloc.WLDAP32.dll_Ordinal_200]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x140092de3
movss xmm0, dword [rsp + 0x3c]
movaps xmm1, xmm7
subss xmm0, dword [rsp + 0x4c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x48]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [rsp + 0x40]
addsd xmm6, xmm0
subss xmm1, dword [rsp + 0x50]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140092d1a
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x140092d22
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movd xmm1, dword [reloc.WLDAP32.dll_Ordinal_200]
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm11
comisd xmm1, xmm0
jb 0x140092de3
cmp byte [0x1401a983c], r12b
je 0x140092d4e
test bl, bl
je 0x140092e20
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140092e20
cmp byte [0x1401a983a], r12b
jne 0x140092e20
movsxd rbx, dword [0x140160af8]
lea rcx, [rsp + 0x70]
mov byte [0x1401a983a], 1
mov qword [0x1401aa8f0], rsi
call fcn.14007d6e0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
cmp rbx, 1
jl 0x140092dc1
imul rdx, rbx, 0xf4240
mov rcx, r15
sub rcx, rdx
cmp rax, rcx
jge 0x140092dbc
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
jmp 0x140092dc1
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400b8170
xor edx, edx
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140092e20
cmp byte [0x1401a983a], r12b
je 0x140092e20
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140092e12
xor edx, edx
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1401aa8f0], r12
mov byte [0x1401a983a], r12b
lea rcx, [rsp + 0x78]
call fcn.14007d6e0
mov rax, qword [rsp + 0x78]
cmp rax, r13
jg 0x140092e41
add rax, 0xf4240
mov qword [rsp + 0x30], rax
jmp 0x140092e46
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400b8170
cmp byte [0x1401ab1df], r12b
lea rcx, [0x140144f10]
jne 0x140092af0
movaps xmm11, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1401263f0
add rsp, 0x170
pop rbp
ret