Function at 0x1400967d0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r14, rcx
xor r15d, r15d
xor al, al
movzx esi, al
mov r12d, 1
cmp byte [0x1401259de], al
cmovne esi, r12d
movsxd rbx, dword [str.2d_n_n]
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 0x14009684f
imul rax, rax, 0x64
jmp 0x14009686a
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rbp - 0x40], rax
movabs rdi, 0x7fffffffffffffff
test rbx, rbx
jle 0x14009689d
imul rcx, rbx, 0xf4240
mov rdx, rdi
sub rdx, rcx
cmp rax, rdx
jge 0x140096899
lea rdx, [rcx + rax]
mov qword [rbp - 0x40], rdx
jmp 0x14009689d
mov qword [rbp - 0x40], rdi
lea rcx, [rbp - 0x40]
call fcn.14002a4c0
mov ecx, 0x18
call fcn.1400d1580
mov ecx, dword [0x1401259d8]
mov dword [rax], ecx
mov ecx, dword [0x140125aa0]
mov dword [rax + 4], ecx
mov byte [rax + 8], sil
lea r13, [0x1400a4710]
mov qword [rax + 0x10], r13
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14002b510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140096da5
cmp dword [rsp + 0x68], 0
jne 0x140096916
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140096939
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea rbx, [0x1400039f0]
cmp byte [0x140125a70], 0
je 0x140096c30
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
sub eax, dword [0x140125aac]
sub ecx, dword [0x140125a78]
imul ecx, ecx
imul eax, eax
add ecx, eax
cmp ecx, 0x10
jg 0x140096a98
movsxd rbx, dword [0x14011c074]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov r14, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp r14, 0x989680
jne 0x14009699f
imul rax, rax, 0x64
jmp 0x1400969ba
cqo
idiv r14
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv r14
add rax, rcx
mov qword [rbp - 0x40], rax
test rbx, rbx
jle 0x1400969e3
imul rcx, rbx, 0xf4240
mov rdx, rdi
sub rdx, rcx
cmp rax, rdx
jge 0x1400969df
lea rdx, [rcx + rax]
mov qword [rbp - 0x40], rdx
jmp 0x1400969e3
mov qword [rbp - 0x40], rdi
lea rcx, [rbp - 0x40]
call fcn.14002a4c0
mov ecx, 0x18
call fcn.1400d1580
mov ecx, dword [0x140125a78]
mov dword [rax], ecx
mov ecx, dword [0x140125aac]
mov dword [rax + 4], ecx
mov byte [rax + 8], sil
mov qword [rax + 0x10], r13
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14002b510]
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 0x140096a87
cmp dword [rsp + 0x48], 0
jne 0x140096a51
mov ecx, r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140096a72
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
lea rbx, [0x1400039f0]
jmp 0x140096c30
mov dword [rsp + 0x48], r15d
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], r15
mov qword [rsp + 0x58], r15
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rsp + 0x40]
call fcn.140028b80
nop
mov qword [rsp + 0x20], rbx
lea r9, [0x140003980]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x190]
call fcn.1400d1910
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov dword [rbp - 0x80], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140027250
nop
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x190], eax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x198], rax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x1a0], xmm0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0x1b0]
call fcn.140027250
nop
lea rcx, [rbp - 0x60]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov rax, qword [0x1401268d0]
sub rdi, rax
cmp rdi, 0x28
jb 0x140096db6
lea r9, [0x1401268c0]
cmp qword [0x1401268d8], 0x10
cmovae r9, qword [0x1401268c0]
mov qword [rsp + 0x30], 0x28
lea rcx, str._9You_are__4not_in__9range_for_lamp__2__
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.140029850
nop
mov dword [rbp + 0x1d0], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp + 0x1f0]
call fcn.140027250
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov dword [rsp + 0x20], r15d
mov r9d, 0xffffffff
lea r8, [rbp + 0x190]
mov rcx, qword [0x140126af0]
call fcn.1400d05a0
nop
mov r9, rbx
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x190]
call fcn.1400d15bc
nop
mov rax, qword [0x140126af0]
movss xmm6, dword [rax + 0x1c0]
movss xmm7, dword [rax + 0x1c4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 8
lea rdx, str.OnSetPos
lea rcx, [rsp + 0x60]
call fcn.140028b80
nop
mov qword [rsp + 0x20], rbx
lea r9, [0x140003980]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x30]
call fcn.1400d1910
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov dword [rbp - 0x80], 2
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.140027250
nop
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x30], eax
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140027250
nop
lea rcx, [rbp - 0x60]
call fcn.140027180
nop
lea rcx, [rsp + 0x60]
call fcn.140027180
mov dword [rbp + 0x10], 3
movss dword [rbp + 0x20], xmm6
movss dword [rbp + 0x24], xmm7
mov rcx, qword [0x140126af0]
movss dword [rcx + 0x1c0], xmm6
movss dword [rcx + 0x1c4], xmm7
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rcx + 0x1b8]
lea r8, [rbp - 0x30]
call fcn.1400d05a0
nop
mov r9, rbx
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x30]
call fcn.1400d15bc
nop
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1400d1560
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140003100
int3