Function at 0x14008e520
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
xor esi, esi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14008e57a
imul rax, rax, 0x64
jmp 0x14008e595
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7ffffffffd050f7f
cmp rax, rcx
jge 0x14008e5ac
add rax, 0x2faf080
jmp 0x14008e5b6
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
call fcn.1400275e0
mov ecx, 0x18
call fcn.1400cd110
mov ecx, dword [rdi + 4]
mov dword [rax], ecx
mov ecx, dword [rdi]
mov dword [rax + 4], ecx
mov byte [rax + 8], 1
lea rcx, [0x14009d680]
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140028640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008e7b9
cmp dword [rsp + 0x38], 0
jne 0x14008e62d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14008e64e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [0x140124ae0]
movss xmm6, dword [rax + 0x1c0]
movss xmm7, dword [rax + 0x1c4]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 8
lea rdx, str.OnSetPos
lea rcx, [rsp + 0x30]
call fcn.140025ca0
nop
lea rbx, [0x140003820]
mov qword [rsp + 0x20], rbx
lea r9, [0x1400037b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x60]
call fcn.1400cd4a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400246a0
nop
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x60], eax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400246a0
nop
lea rcx, [rsp + 0x70]
call fcn.1400245d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400245d0
mov dword [rbp - 0x20], 3
movss dword [rbp - 0x10], xmm6
movss dword [rbp - 0xc], xmm7
mov rax, qword [0x140124ae0]
movss dword [rax + 0x1c0], xmm6
movss dword [rax + 0x1c4], xmm7
mov r9, rbx
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x60]
call fcn.1400cd14c
nop
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400cd0f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3