Function at 0x1400239f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edi, edi
mov rcx, qword [0x1401266b0]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 1
jb 0x140023f5f
lea rax, [0x1401266a0]
cmp qword [0x1401266b8], 0x10
cmovae rax, qword [0x1401266a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400eb2a0]
lea rcx, [rbp - 0x60]
call fcn.140029850
lea rdx, [rbp - 0x60]
lea rcx, [0x1401262d8]
call fcn.140026390
lea rcx, [rbp - 0x60]
call fcn.140027180
mov rcx, qword [0x140126730]
mov rax, rbx
sub rax, rcx
cmp rax, 1
jb 0x140023f5f
lea rax, [0x140126720]
cmp qword [0x140126738], 0x10
cmovae rax, qword [0x140126720]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400eb2a0]
lea rcx, [rbp - 0x60]
call fcn.140029850
lea rdx, [rbp - 0x60]
lea rcx, [0x140126378]
call fcn.140026390
lea rcx, [rbp - 0x60]
call fcn.140027180
lea rdx, [0x1401262d8]
lea rcx, [rbp - 0x60]
call fcn.1400265a0
nop
lea rdx, [0x140126378]
lea rcx, [rbp - 0x20]
call fcn.1400265a0
nop
mov rax, qword [0x140126110]
cmp qword [0x140126108], rax
jne 0x140023d55
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea r8d, [rdi + 0xd]
lea rdx, str.OnTextOverlay
lea rcx, [rsp + 0x40]
call fcn.140028b80
nop
lea rsi, [0x1400039f0]
mov qword [rsp + 0x20], rsi
lea r9, [0x140003980]
lea edx, [rdi + 0x40]
lea r8d, [rdi + 7]
lea rcx, [rbp]
call fcn.1400d1910
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], dil
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], eax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x10], xmm0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x20]
call fcn.140027250
nop
lea rcx, [rbp - 0x80]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
mov rax, qword [rbp - 0x50]
sub rbx, rax
cmp rbx, 0x15
jb 0x140023f65
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
lea rcx, str.Tiles_not_found__try
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140029850
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400273b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
lea r8d, [rdi + 6]
lea rdx, str._tiles
lea rcx, [rsp + 0x40]
call fcn.1400273b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov dword [rbp + 0x40], 2
lea rdx, [rbp - 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x60]
call fcn.140027250
nop
lea rcx, [rbp - 0x40]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
nop
lea rcx, [rsp + 0x60]
call fcn.140027180
mov dword [rsp + 0x20], edi
lea r9d, [rdi - 1]
lea r8, [rbp]
mov rcx, qword [0x140126af0]
call fcn.1400d05a0
nop
mov r9, rsi
lea edx, [rdi + 0x40]
lea r8d, [rdi + 7]
lea rcx, [rbp]
call fcn.1400d15bc
nop
jmp 0x140023f1e
cmp byte [0x140125afa], 0
sete al
mov byte [0x140125afa], al
test al, al
mov rax, qword [rbp - 0x50]
je 0x140023e80
sub rbx, rax
cmp rbx, 0x1d
jb 0x140023f6b
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 0x1d
lea rcx, str.World_copying_mode__wStarted.
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140029850
lea rcx, [rsp + 0x60]
call fcn.1400a1af0
mov byte [0x140125b05], 1
mov dword [0x14011c15c], 0
mov dword [0x14011c16c], 0
mov dword [0x14011c160], 0
mov dword [0x14011c154], 0
xor edx, edx
mov rax, qword [0x140126af0]
mov ecx, dword [rax + 0x1b8]
call fcn.1400a1c70
mov ecx, 1
call fcn.1400d1580
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14002b310]
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 0x140023e70
cmp dword [rsp + 0x48], 0
jne 0x140023e4a
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 - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140023e6b
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
jmp 0x140023f1e
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
sub rbx, rax
cmp rbx, 0x1e
jb 0x140023f59
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 0x1e
lea rcx, str.World_copying_mode__wDisabled.
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140029850
lea rcx, [rsp + 0x60]
call fcn.1400a1af0
movss xmm0, dword [0x1400f8c88]
movss dword [0x14011c15c], xmm0
movss xmm1, dword [0x1400f8c78]
movss dword [0x14011c16c], xmm1
movss xmm0, dword [0x1400f8c6c]
movss dword [0x14011c160], xmm0
movss xmm1, dword [0x1400f8c84]
movss dword [0x14011c154], xmm1
xor edx, edx
mov rax, qword [0x140126af0]
mov ecx, dword [rax + 0x1b8]
call fcn.1400a1c70
nop
lea rcx, [rbp - 0x20]
call fcn.140027180
nop
lea rcx, [rbp - 0x60]
call fcn.140027180
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400d1560
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140003100
nop
call fcn.140003100
nop
call fcn.140003100
nop
call fcn.140003100
int3