Function at 0x140096030
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 [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rbx, rcx
xor esi, esi
lea ecx, [rsi + 0x18]
call fcn.1400d1580
mov edx, dword [0x1401259d8]
mov dword [rax], edx
mov edx, dword [0x140125aa0]
mov dword [rax + 4], edx
mov byte [rax + 8], 1
lea r15, [0x1400a4710]
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, [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 0x1400967a1
cmp dword [rsp + 0x48], esi
jne 0x1400960e0
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 0x140096101
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, [0x1400039f0]
cmp byte [0x140125a41], 0
je 0x1400963ff
mov eax, dword [rbx + 4]
mov ecx, dword [rbx]
sub eax, dword [0x140125a78]
sub ecx, dword [0x140125aac]
imul ecx, ecx
imul eax, eax
add ecx, eax
cmp ecx, 0x10
jg 0x140096261
movsxd rbx, dword [0x14011c074]
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 0x14009616f
imul rax, rax, 0x64
jmp 0x14009618a
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 0x1400961b3
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x1400961af
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x1400961b3
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
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], 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, [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 0x140096251
cmp dword [rsp + 0x48], 0
jne 0x140096222
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 0x140096243
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 0x1400963ff
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.140028b80
nop
mov qword [rsp + 0x20], r12
lea r9, [0x140003980]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x170]
call fcn.1400d1910
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.140027250
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.140027250
nop
lea rcx, [rbp - 0x80]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov rcx, qword [0x1401268d0]
mov rax, r14
sub rax, rcx
cmp rax, 0x28
jb 0x1400967b1
lea r9, [0x1401268c0]
cmp qword [0x1401268d8], 0x10
cmovae r9, qword [0x1401268c0]
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.140029850
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.140027250
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov dword [rsp + 0x20], esi
mov r9d, 0xffffffff
lea r8, [rbp + 0x170]
mov rcx, qword [0x140126af0]
call fcn.1400d05a0
nop
mov r9, r12
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x170]
call fcn.1400d15bc
nop
movsxd rbx, dword [0x14011c088]
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 0x140096424
imul rax, rax, 0x64
jmp 0x14009643f
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 0x140096468
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x140096464
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x140096468
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.14002a4c0
mov ecx, 0x18
call fcn.1400d1580
mov ecx, dword [0x140125abc]
mov dword [rax], ecx
mov ecx, dword [0x140125a3c]
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, [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 0x140096791
cmp dword [rsp + 0x48], 0
jne 0x1400964db
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 0x1400964fc
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 [0x14011c088]
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 0x14009652a
imul rax, rax, 0x64
jmp 0x140096545
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 0x14009656e
imul rcx, rbx, 0xf4240
mov rdx, r14
sub rdx, rcx
cmp rax, rdx
jge 0x14009656a
lea rdx, [rcx + rax]
mov qword [rbp - 0x60], rdx
jmp 0x14009656e
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.14002a4c0
mov ecx, 0x18
call fcn.1400d1580
mov ecx, dword [0x140125abc]
mov dword [rax], ecx
mov ecx, dword [0x140125a3c]
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, [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 0x140096781
cmp dword [rsp + 0x48], 0
jne 0x1400965e1
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 0x140096602
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 [0x140126af0]
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.140028b80
nop
mov qword [rsp + 0x20], r12
lea r9, [0x140003980]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x50]
call fcn.1400d1910
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.140027250
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.140027250
nop
lea rcx, [rbp - 0x80]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov dword [rbp - 0x10], 3
movss dword [rbp], xmm6
movss dword [rbp + 4], 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 - 0x50]
call fcn.1400d05a0
nop
mov r9, r12
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp - 0x50]
call fcn.1400d15bc
nop
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400d1560
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.140003100
int3