Function at 0x14008cd70
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x460
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rbx, rcx
xor esi, esi
lea ecx, [rsi + 0x18]
call fcn.1400cd110
mov edx, dword [0x1401239c4]
mov dword [rax], edx
mov edx, dword [0x140123a5c]
mov dword [rax + 4], edx
mov byte [rax + 8], 1
lea r15, [0x14009d680]
mov qword [rax + 0x10], r15
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x48]
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 + 0x40], rax
test rax, rax
je 0x14008d4e1
cmp dword [rsp + 0x48], esi
jne 0x14008ce20
lea ecx, [rsi + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14008ce41
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movabs r14, 0x7fffffffffffffff
lea r12, [0x140003820]
cmp byte [0x140123a19], 0
je 0x14008d13f
mov eax, dword [rbx + 4]
mov ecx, dword [rbx]
sub eax, dword [0x140123a40]
sub ecx, dword [0x140123a68]
imul ecx, ecx
imul eax, eax
add ecx, eax
cmp ecx, 0x10
jg 0x14008cfa1
movsxd rbx, dword [0x14011a078]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14008ceaf
imul rax, rax, 0x64
jmp 0x14008ceca
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rbp - 0x60], rax
test rbx, rbx
jle 0x14008cef3
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x14008ceef
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x14008cef3
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.1400275e0
mov ecx, 0x18
call fcn.1400cd110
mov ecx, dword [0x140123a40]
mov dword [rax], ecx
mov ecx, dword [0x140123a68]
mov dword [rax + 4], ecx
mov byte [rax + 8], 1
mov qword [rax + 0x10], r15
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x48]
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 + 0x40], rax
test rax, rax
je 0x14008cf91
cmp dword [rsp + 0x48], 0
jne 0x14008cf62
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14008cf83
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x14008d13f
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rsp + 0x40]
call fcn.140025ca0
nop
mov qword [rsp + 0x20], r12
lea r9, [0x1400037b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x170]
call fcn.1400cd4a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x60], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400246a0
nop
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0x170], eax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x178], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x180], xmm0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x190]
call fcn.1400246a0
nop
lea rcx, [rbp - 0x80]
call fcn.1400245d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400245d0
mov rcx, qword [0x1401248c0]
mov rax, r14
sub rax, rcx
cmp rax, 0x28
jb 0x14008d4f1
lea r9, [0x1401248b0]
cmp qword [0x1401248c8], 0x10
cmovae r9, qword [0x1401248b0]
mov qword [rsp + 0x30], 0x28
lea rax, str._9You_are__4not_in__9range_for_lamp__2__
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.140026970
nop
mov dword [rbp + 0x1b0], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.1400246a0
nop
lea rcx, [rsp + 0x40]
call fcn.1400245d0
mov dword [rsp + 0x20], esi
mov r9d, 0xffffffff
lea r8, [rbp + 0x170]
mov rcx, qword [0x140124ae0]
call fcn.1400cbd90
nop
mov r9, r12
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x170]
call fcn.1400cd14c
nop
movsxd rbx, dword [0x14011a08c]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14008d164
imul rax, rax, 0x64
jmp 0x14008d17f
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rbp - 0x60], rax
test rbx, rbx
jle 0x14008d1a8
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x14008d1a4
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x14008d1a8
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.1400275e0
mov ecx, 0x18
call fcn.1400cd110
mov ecx, dword [0x140123a78]
mov dword [rax], ecx
mov ecx, dword [0x140123a14]
mov dword [rax + 4], ecx
mov byte [rax + 8], 1
mov qword [rax + 0x10], r15
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x48]
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 + 0x40], rax
test rax, rax
je 0x14008d4d1
cmp dword [rsp + 0x48], 0
jne 0x14008d21b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14008d23c
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movsxd rbx, dword [0x14011a08c]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14008d26a
imul rax, rax, 0x64
jmp 0x14008d285
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rbp - 0x60], rax
test rbx, rbx
jle 0x14008d2ae
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x14008d2aa
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x14008d2ae
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.1400275e0
mov ecx, 0x18
call fcn.1400cd110
mov ecx, dword [0x140123a78]
mov dword [rax], ecx
mov ecx, dword [0x140123a14]
mov dword [rax + 4], ecx
mov byte [rax + 8], 1
mov qword [rax + 0x10], r15
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x48]
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 + 0x40], rax
test rax, rax
je 0x14008d4c1
cmp dword [rsp + 0x48], 0
jne 0x14008d321
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14008d342
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [0x140124ae0]
movss xmm6, dword [rax + 0x1c0]
movss xmm7, dword [rax + 0x1c4]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 8
lea rdx, str.OnSetPos
lea rcx, [rsp + 0x40]
call fcn.140025ca0
nop
mov qword [rsp + 0x20], r12
lea r9, [0x1400037b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x50]
call fcn.1400cd4a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x60], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400246a0
nop
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x50], eax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1400246a0
nop
lea rcx, [rbp - 0x80]
call fcn.1400245d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400245d0
mov dword [rbp - 0x10], 3
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm7
mov rcx, qword [0x140124ae0]
movss dword [rcx + 0x1c0], xmm6
movss dword [rcx + 0x1c4], xmm7
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rcx + 0x1b8]
lea r8, [rbp - 0x50]
call fcn.1400cbd90
nop
mov r9, r12
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x50]
call fcn.1400cd14c
nop
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400cd0f0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140003030
int3