Function at 0x180052b50
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [0x1800d5240]
xor rax, rsp
mov qword [rbp - 0x60], rax
mov rsi, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x28], r13d
mov r8d, dword [0x18019740c]
mov rax, qword gs:[0x58]
mov edi, 4
mov rbx, qword [rax + r8*8]
mov eax, dword [rbx + rdi]
cmp dword [0x180198a30], eax
jle 0x180052bfc
lea rcx, [0x180198a30]
call fcn.1800a2c48
cmp dword [0x180198a30], 0xffffffff
jne 0x180052bfc
lea rcx, [0x180198a38]
call fcn.180049780
lea rcx, [0x180198a30]
call fcn.1800a2bdc
mov byte [rsp + 0x20], r13b
mov eax, dword [rbx + rdi]
cmp dword [0x180198a18], eax
jle 0x180052c39
lea rcx, [0x180198a18]
call fcn.1800a2c48
cmp dword [0x180198a18], 0xffffffff
jne 0x180052c39
lea rcx, [0x180198a10]
call fcn.180049780
lea rcx, [0x180198a18]
call fcn.1800a2bdc
mov eax, dword [rbx + rdi]
cmp dword [0x180198a1c], eax
jle 0x180052c71
lea rcx, [0x180198a1c]
call fcn.1800a2c48
cmp dword [0x180198a1c], 0xffffffff
jne 0x180052c71
lea rcx, [0x180198a40]
call fcn.180049780
lea rcx, [0x180198a1c]
call fcn.1800a2bdc
mov ecx, 0x46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r14d, 1
test ax, ax
jns 0x180052dba
lea rcx, [rsp + 0x30]
call fcn.180049780
mov rdi, qword [rsp + 0x30]
mov rax, rdi
sub rax, qword [0x180198a10]
cmp rax, 0x14dc9380
jne 0x180052cc4
mov qword [0x180198a10], rdi
lea rcx, [rsp + 0x28]
call fcn.180049780
mov byte [rsp + 0x20], r14b
jmp 0x180052ce0
jl 0x180052dba
mov byte [rsp + 0x20], 1
mov qword [0x180198a10], rdi
lea rcx, [rsp + 0x28]
call fcn.180049780
mov rbx, qword [rsp + 0x28]
movabs rax, 0x7ffffffffff0bdbf
cmp rbx, rax
jge 0x180052cfd
add rbx, 0xf4240
jmp 0x180052d07
movabs rbx, 0x7fffffffffffffff
movabs rdi, 0x431bde82d7b634db
movabs r12, 0x4e94914f0000
nop dword [rax + rax]
lea rcx, [rsp + 0x38]
call fcn.180049780
mov rax, qword [rsp + 0x38]
cmp rbx, rax
je 0x180052da7
mov ecx, 0xff
cmovge ecx, r14d
test cl, cl
jle 0x180052da7
mov rcx, rbx
sub rcx, rax
cmp rcx, r12
jne 0x180052d69
mov rax, rdi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x180052d20
jl 0x180052d79
mov edx, 0x5265c00
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x180052d20
mov rax, rdi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x180052d9b
inc edx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x180052d20
mov byte [0x1801983f8], r14b
mov rdi, qword [rsp + 0x30]
mov qword [0x180198a40], rdi
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18001fb50
nop
mov dword [rsp + 0x28], r14d
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180052dda
mov rax, qword [rax]
cmp r8, 0x15
jne 0x180052df3
lea rdx, str.PlayerAuthInputPacket
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180052e2d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.18001fb50
mov r14d, 3
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180052e14
mov rax, qword [rax]
cmp r8, 0x10
jne 0x180052e31
lea rdx, str.MovePlayerPacket
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180052e31
mov bl, 1
jmp 0x180052e33
xor bl, bl
test r14b, 2
je 0x180052e90
and r14d, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180052e7d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052e78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a3074
movdqa xmm0, xmmword [0x1800c0640]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
test r14b, 1
je 0x180052ed8
and r14d, 0xfffffffe
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180052ed8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052ed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a3074
test bl, bl
je 0x1800538b8
lea rcx, [rsp + 0x40]
call fcn.180049780
mov qword [rsp + 0x30], r13
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18001fb50
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180052f09
mov rax, qword [rax]
cmp r8, 0x15
jne 0x180052f26
lea rdx, str.PlayerAuthInputPacket
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180052f26
mov bl, 1
jmp 0x180052f28
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180052f66
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052f61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052f61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a3074
test bl, bl
je 0x180053028
mov qword [rsp + 0x30], rsi
mov r8d, dword [rsi + 0x88]
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
shl ecx, 3
mov eax, r8d
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800c04c8]
movss xmm4, dword [rsi + 0x3c]
movaps xmm2, xmm4
xorps xmm3, xmm3
subss xmm2, xmm3
comiss xmm3, xmm0
ja 0x180052fc6
movss xmm3, dword [0x1800c03dc]
minss xmm3, xmm0
movaps xmm1, xmm2
maxss xmm1, xmm4
movaps xmm0, xmm2
minss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm3
comiss xmm4, xmm2
ja 0x180052fe8
xorps xmm1, xmmword [0x1800c0de0]
addss xmm2, xmm1
movss dword [rsi + 0x3c], xmm2
mov dword [rsi + 0x4c], 0xbd2aaaab
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
je 0x18005301a
cmp r8d, 0xc
jne 0x180053023
mov eax, 0x80000000
or qword [rsi + 0x70], rax
or qword [rsi + 0x70], 0x40
mov rcx, qword [0x180197520]
test rcx, rcx
je 0x1800538b8
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rsi, rax
test rax, rax
je 0x1800538b8
movss xmm9, dword [0x1800c04c4]
mov rbx, r13
mov qword [rsp + 0x38], rbx
mov rcx, qword [rax + 0x288]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
or r14d, 4
mov dword [rsp + 0x28], r14d
mov rax, qword [rcx]
mov r8, qword [rax + 0x930]
lea rdx, [rsp + 0x60]
call r8
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
movsd xmm10, qword [0x1800c0430]
cmp rdi, r12
je 0x180053179
nop dword [rax]
xor edx, edx
mov rcx, qword [rdi]
call fcn.18009e770
test al, al
je 0x180053167
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi]
call fcn.18003d780
mov rbx, rax
lea rdx, [rsp + 0x54]
mov rcx, rsi
call fcn.18003d780
movss xmm7, dword [rbx + 8]
subss xmm7, dword [rax + 8]
movss xmm6, dword [rbx + 4]
subss xmm6, dword [rax + 4]
movss xmm0, dword [rbx]
subss xmm0, dword [rax]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x180053141
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x18005314a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
comiss xmm9, xmm0
jbe 0x180053162
movaps xmm9, xmm0
mov rbx, qword [rdi]
mov qword [rsp + 0x38], rbx
jmp 0x180053167
mov rbx, qword [rsp + 0x38]
add rdi, 8
cmp rdi, r12
jne 0x1800530b0
mov rdi, qword [rsp + 0x60]
and r14d, 0xfffffffb
test rdi, rdi
je 0x1800531c6
mov rax, qword [rsp + 0x70]
sub rax, rdi
sar rax, 3
lea rdx, [rax*8]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800531be
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800531be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800a3074
movss xmm11, dword [0x1800c0338]
test rbx, rbx
je 0x1800532a2
movss dword [0x1801974f8], xmm9
cmp byte [rsp + 0x20], 0
je 0x1800532a2
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1800532a2
movss xmm8, dword [rbx + 0x34]
movss xmm0, dword [rbx + 0x30]
mulss xmm8, xmm11
mulss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
xorps xmm6, xmmword [0x1800c0de0]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
mulss xmm7, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm1, xmm0
mulss xmm1, xmm6
movss xmm8, dword [0x1800c04ac]
minss xmm8, xmm9
mulss xmm8, dword [0x1800c03a0]
movaps xmm6, xmm8
mulss xmm6, xmm7
movaps xmm0, xmm6
addss xmm0, dword [rbx + 0x38]
movss dword [rbx + 0x38], xmm0
mulss xmm8, xmm1
movss xmm0, dword [rbx + 0x40]
subss xmm0, xmm8
movss dword [rbx + 0x40], xmm0
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_Sleep]
addss xmm6, dword [rbx + 0x38]
movss dword [rbx + 0x38], xmm6
movss xmm0, dword [rbx + 0x40]
subss xmm0, xmm8
movss dword [rbx + 0x40], xmm0
mov rax, qword [0x180197520]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
mov dword [rax], 0x41a00000
mov rax, qword [rsp + 0x40]
mov rcx, rax
sub rcx, qword [0x180198a38]
je 0x1800532d7
test rcx, rcx
js 0x180053789
mov qword [0x180198a38], rax
cmp byte [0x1801983f8], 0
je 0x180053789
sub rax, qword [0x180198a40]
cmp rax, 0x3938700
jge 0x180053782
mov rcx, qword [rsi + 0x288]
test rcx, rcx
je 0x180053789
lea rdi, [r15 + 0xc0]
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x180053322
mov qword [rdi + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
or r14d, 8
mov dword [rsp + 0x28], r14d
mov rax, qword [rcx]
mov r8, qword [rax + 0x930]
lea rdx, [rsp + 0x60]
call r8
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rbx, r12
je 0x18005343a
nop
movzx edx, byte [r15 + 0xbc]
mov rcx, qword [rbx]
call fcn.18009e770
test al, al
je 0x180053428
mov r14, qword [rbx]
mov rax, qword [r14 + 0x2c8]
mov rcx, qword [rsi + 0x2c8]
movss xmm7, dword [rax + 8]
subss xmm7, dword [rcx + 8]
movss xmm6, dword [rax + 4]
subss xmm6, dword [rcx + 4]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x1800533eb
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x1800533f4
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [r15 + 0xb8]
comiss xmm0, xmm1
jbe 0x180053428
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18005341d
mov qword [rdx], r14
add qword [rdi + 8], 8
jmp 0x180053428
mov r8, rbx
mov rcx, rdi
call fcn.180009d80
add rbx, 8
cmp rbx, r12
jne 0x180053360
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18005347b
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x180053473
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053473
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800a3074
mov rcx, qword [r15 + 0xc0]
cmp rcx, qword [r15 + 0xc8]
je 0x180053789
mov rdx, qword [r15 + 0xc8]
mov r8, rdx
sub r8, rcx
sar r8, 3
lea r9, [0x180040920]
call fcn.18002a6f0
mov rax, qword [r15 + 0xc0]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x2c8]
mov rdi, qword [rsi + 0x2c8]
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rdi + 4]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm0, dword [rbx]
subss xmm0, dword [rdi]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
movss xmm2, dword [rbx + 8]
subss xmm2, dword [rdi + 8]
cvtps2pd xmm0, xmm2
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x180053521
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x180053529
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [r15 + 0x98]
comiss xmm0, xmm1
jbe 0x180053789
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053553
mov rax, r13
jmp 0x18005355f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053593
mov rax, r13
jmp 0x18005359f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x1800535d3
mov rax, r13
jmp 0x1800535df
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053613
mov rax, r13
jmp 0x18005361f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053653
mov rax, r13
jmp 0x18005365f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053693
mov rax, r13
jmp 0x18005369f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x1800536d3
mov rax, r13
jmp 0x1800536df
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
jne 0x180053713
mov rax, r13
jmp 0x18005371f
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov rcx, qword [rax + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov rcx, qword [0x180197520]
test rcx, rcx
je 0x18005375d
mov rax, qword [rcx]
mov rdx, qword [rax + 0xe0]
call rdx
mov r13, rax
mov rcx, qword [r13 + 0xf10]
mov rax, qword [rcx]
mov rdx, qword [r15 + 0xc0]
mov rdx, qword [rdx]
call qword [rax + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
jmp 0x180053789
mov byte [0x1801983f8], 0
cmp byte [rsp + 0x20], 0
je 0x1800538b8
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800537d8
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800537d8
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800537d8
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800538b8
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18005389d
movss xmm7, dword [rbx + 0x34]
mulss xmm7, xmm11
movss xmm0, dword [rbx + 0x30]
mulss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
xorps xmm6, xmmword [0x1800c0de0]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm8, xmm0
mulss xmm8, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
mulss xmm7, xmm6
movss xmm3, dword [0x1801974f8]
mulss xmm3, dword [0x1800c03a0]
movaps xmm2, xmm8
mulss xmm2, xmm3
movss xmm1, dword [rbx + 0x38]
subss xmm1, xmm2
movss dword [rbx + 0x38], xmm1
movaps xmm0, xmm7
mulss xmm0, xmm3
addss xmm0, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm0
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_Sleep]
movss xmm1, dword [0x1801974f8]
mulss xmm1, dword [0x1800c03a0]
mulss xmm8, xmm1
movss xmm0, dword [rbx + 0x38]
subss xmm0, xmm8
movss dword [rbx + 0x38], xmm0
mulss xmm7, xmm1
addss xmm7, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm7
mov rax, qword [0x180197520]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xd8]
mov dword [rax], 0x41a00000
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.1800a2b80
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret