Function at 0x140007230
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 - 0x2f8]
sub rsp, 0x3d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r12d, r12d
mov dword [rbp - 0x80], r12d
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140082560], eax
jle 0x1400072d9
lea rcx, [0x140082560]
call fcn.14005acf8
cmp dword [0x140082560], 0xffffffff
jne 0x1400072d9
xor edx, edx
mov r8d, 0x1f8
lea rcx, [0x1400825c0]
call sub.VCRUNTIME140.dll_memset
call fcn.140006740
lea rcx, [0x140060400]
call fcn.14005b0a4
nop
lea rcx, [0x140082560]
call fcn.14005ac8c
lea rcx, [0x1400825c0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400072f6
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14008260c]
cmp eax, 0x7fffffff
jne 0x140007317
dec eax
mov dword [0x14008260c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r9, qword [0x1400826b8]
mov rax, qword [r9]
cmp rax, r9
je 0x140007348
nop word [rax + rax]
mov r8, qword [rax + 0x30]
mov edx, 1
xchg dword [r8 + 0x40], edx
mov r8, qword [rax]
mov rax, r8
cmp r8, r9
jne 0x140007330
mov dword [0x140082738], 1
lea rcx, [0x1400825c0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
call fcn.140020fb0
test eax, eax
je 0x140007407
call fcn.140006d40
lea rcx, str.An_error_occurred_while_initializing_ENet._n
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 0x2b
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x10]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp - 0x30]
mov r8d, 5
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 0x1d8]
call fcn.140004890
mov eax, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14005ac30
lea r11, [rsp + 0x3d0]
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
xorps xmm7, xmm7
mov dword [rbp + 0x260], 0
mov qword [rbp + 0x268], r12
mov qword [rbp + 0x270], r12
mov ecx, 0x40
call fcn.14005ad70
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x278], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x280], xmm0
mov qword [rbp + 0x290], 7
mov qword [rbp + 0x298], 8
mov dword [rbp + 0x260], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x278]
call fcn.140009e40
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x80], rax
mov ecx, 0x18
call fcn.14005ad70
mov qword [rbp + 0x100], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_obj2_class_loger_.0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
lea rdx, vtable.loger.0
mov qword [rcx], rdx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
movdqu xmmword [rbp - 0x70], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov r8d, 8
lea rdx, str.test_bot
lea rcx, [rbp + 0x40]
call fcn.14000e5a0
nop
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x260]
call fcn.140029080
nop
mov rsi, qword [rbp + 0x250]
mov rdi, qword [rsi + 0x30]
test rdi, rdi
je 0x1400075a1
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14000753b
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
cmp rbx, rax
jae 0x140007570
nop
mov rcx, rbx
call fcn.140032ba0
add rbx, 0x1c8
imul rax, qword [rdi + 0x30], 0x1c8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140007550
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x14000758a
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x14000758a
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x14007a1a8]
mov rcx, rdi
call qword [0x14007a1a8]
mov qword [rsi + 0x30], r12
call fcn.140033690
mov rbx, rax
mov qword [rsi + 0x30], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov ecx, 0x10000
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x1400075d4
call qword [0x14007a1b0]
jmp 0x14000762f
mov qword [rsp + 0x40], rax
lea rax, [0x140034040]
mov qword [rsp + 0x48], rax
lea rax, [0x140034760]
mov qword [rsp + 0x50], rax
lea rax, [0x140033fc0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbx + 0xa98]
test rcx, rcx
je 0x140007617
mov rax, qword [rbx + 0xab0]
test rax, rax
je 0x140007617
call rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0xa98], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0xaa8], xmm1
mov rax, qword [rsi + 0x30]
lea rcx, [0x14005aaf0]
mov qword [rax + 0xa90], rcx
cmp qword [rsi + 0x30], 0
jne 0x1400076a9
call fcn.140006d40
lea rcx, str.Failed_to_create_host
mov qword [rbp], rcx
mov qword [rbp + 8], reloc.WS2_32.dll_setsockopt
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x70]
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140004890
mov rcx, rsi
call fcn.140021fc0
lea rbx, str.Failed_to_connect._Press__R__to_try_connecting_again.
test al, al
jne 0x140007712
call fcn.140006dd0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 0x35
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x70]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004890
mov byte [rsi + 0x174], 1
mov byte [rsi + 8], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14005ad70
mov qword [rax], rsi
lea rcx, [0x1400214f0]
mov qword [rax + 8], rcx
mov qword [rbp + 0x100], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400216d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000818f
cmp dword [rsi + 0x18], 0
jne 0x140008188
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x10], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14005ad70
mov qword [rax], rsi
lea rcx, [0x140022d70]
mov qword [rax + 8], rcx
mov qword [rbp + 0x100], rax
mov r14d, WSACleanup
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400216d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140008178
cmp dword [rsi + 0x240], 0
jne 0x140008171
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rsi + 0x238], xmm1
lea r13, [0x140000000]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movss xmm6, dword [0x140066e78]
lea rdi, [0x140063418]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
test eax, eax
je 0x14000781b
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov r15d, eax
jmp 0x14000781e
xor r15b, r15b
mov byte [rsp + 0x30], r15b
cmp byte [0x140081030], 0
je 0x140007b65
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
lea rax, [r13 + 0x63df0]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x160], rdi
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 8
mov dword [rbp - 0x80], r14d
xor r8d, r8d
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x1d0], r12
mov dword [rbp + 0x1d8], r12d
lea rdx, str.e_2Je__H
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d5b0
lea rdx, str.Player_name_t_tpos_t_tlast_pos_tCurrent_World_:
lea rcx, [rbp + 0x160]
call fcn.14000d5b0
lea rdx, [rsi + 0x2b0]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140007916
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140014c50
mov rcx, rax
lea rdx, [0x140061e6c]
call fcn.14000d5b0
lea rdx, [rsi + 0x248]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140007942
mov rdx, qword [rdx]
lea rcx, [rbp + 0x160]
call fcn.140014c50
lea rdx, [0x140061f3c]
mov rcx, rax
call fcn.14000d5b0
movss xmm1, dword [rsi + 0x288]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061e68]
call fcn.14000d5b0
movss xmm1, dword [rsi + 0x28c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061f3c]
call fcn.14000d5b0
movss xmm1, dword [rsi + 0x290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061e68]
call fcn.14000d5b0
movss xmm1, dword [rsi + 0x294]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061e6c]
call fcn.14000d5b0
mov rdi, qword [rsi + 0x2e0]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140007a8d
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x60], eax
lea rdx, [rbx + 0x18]
lea rcx, [rbp + 0x68]
call fcn.140008210
nop
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
mov r8, qword [rbp + 0x78]
lea rcx, [rbp + 0x160]
call fcn.140014c50
lea rdx, [0x140061f3c]
mov rcx, rax
call fcn.14000d5b0
movss xmm1, dword [rbp + 0xa8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061e68]
call fcn.14000d5b0
movss xmm1, dword [rbp + 0xac]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140061e6c]
call fcn.14000d5b0
nop
lea rcx, [rbp + 0x68]
call fcn.140006eb0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x1400079f0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x168]
call fcn.140009bc0
or r14d, 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140014c50
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140007b06
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008163
call fcn.14005b0bc
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call fcn.140008a50
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdi, [0x140063418]
cmp byte [0x140081031], 0
je 0x140007e95
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
lea rax, [r13 + 0x63df0]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x160], rdi
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 4
mov dword [rbp - 0x80], r14d
xor r8d, r8d
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x1d0], r12
mov dword [rbp + 0x1d8], r12d
lea rdx, str.e_2Je__H
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d5b0
lea rdx, str.Inventory_Info_nCount_t_tItem_ID_t_t_t_
lea rcx, [rbp + 0x160]
call fcn.14000d5b0
mov edx, dword [rsi + 0x318]
sub edx, dword [rsi + 0x330]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140061e64]
call fcn.14000d5b0
mov edx, dword [rsi + 0x318]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140061f40]
call fcn.14000d5b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov eax, dword [rsi + 0x320]
mov dword [rbp + 0x110], eax
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r12
mov ecx, 0x18
call fcn.14005ad70
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x128], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov rcx, qword [rsi + 0x350]
mov qword [rbp + 0x140], rcx
mov rcx, qword [rsi + 0x358]
mov qword [rbp + 0x148], rcx
mov rdx, qword [rsi + 0x340]
sub rdx, qword [rsi + 0x338]
sar rdx, 3
mov r8, rax
lea rcx, [rbp + 0x128]
call fcn.140009e40
mov rdi, qword [rsi + 0x328]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140007d5f
nop dword [rax]
nop dword [rax + rax]
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.140015bb0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140007d40
mov rdi, qword [rbp + 0x118]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140007db7
nop
movzx edx, word [rbx + 0x12]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140061f6c]
call fcn.14000d5b0
movzx edx, word [rbx + 0x10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140061e6c]
call fcn.14000d5b0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140007d70
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x168]
call fcn.140009bc0
or r14d, 1
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140014c50
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140007e30
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000816a
call fcn.14005b0bc
nop
lea rcx, [rbp + 0x110]
call fcn.140006fc0
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call fcn.140008a50
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test r15b, r15b
je 0x14000814d
movsx eax, r15b
add eax, 0xffffffcf
cmp eax, 0x26
ja case.0x140007ec4.59
cdqe
movzx eax, byte [rax + r13 + 0x81cc]
mov ecx, dword [r13 + rax*4 + 0x81a0]
add rcx, r13
jmp rcx
movss xmm0, dword [rsi + 0x288]
addss xmm0, xmm7
movss dword [rsi + 0x288], xmm0
movss xmm0, dword [rsi + 0x28c]
subss xmm0, xmm6
movss dword [rsi + 0x28c], xmm0
jmp 0x14000814d
movss xmm0, dword [rsi + 0x288]
subss xmm0, xmm6
movss dword [rsi + 0x288], xmm0
movss xmm1, dword [rsi + 0x28c]
addss xmm1, xmm7
movss dword [rsi + 0x28c], xmm1
jmp 0x14000814d
movss xmm0, dword [rsi + 0x288]
addss xmm0, xmm7
movss dword [rsi + 0x288], xmm0
movss xmm0, dword [rsi + 0x28c]
addss xmm0, xmm6
movss dword [rsi + 0x28c], xmm0
jmp 0x14000814d
movss xmm0, dword [rsi + 0x288]
addss xmm0, xmm6
movss dword [rsi + 0x288], xmm0
movss xmm1, dword [rsi + 0x28c]
addss xmm1, xmm7
movss dword [rsi + 0x28c], xmm1
jmp 0x14000814d
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.tordawn3123132
xorps xmm0, xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14000e5a0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140022bb0
jmp 0x14000814d
mov r8d, 4
lea rdx, str.EXIT
jmp 0x140007f87
call fcn.140006dd0
lea rcx, str.Connecting_to_the_server...
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0x1b
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x70]
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004890
mov rcx, rsi
call fcn.140021fc0
test al, al
jne 0x14000814d
call fcn.140006dd0
lea rcx, str.Failed_to_connect._Press__R__to_try_connecting_again.
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0x35
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x70]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004890
jmp 0x14000814d
mov byte [0x14007a0b0], 1
mov byte [0x140081030], 0
mov byte [0x140081031], 0
lea rcx, str.e_2Je__H
call fcn.1400014b0
jmp 0x14000814d
mov byte [0x14007a0b0], 0
mov byte [0x140081030], 1
jmp 0x1400080a1
mov byte [0x14007a0b0], 0
mov byte [0x140081030], 0
mov byte [0x140081031], 1
lea rcx, str.e_2Je__H
call fcn.1400014b0
jmp 0x14000814d
lea rax, str.KEY_PRESS_
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], ntohl
call fcn.140006dd0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14001a670
mov qword [rbp - 0x80], 0x64
lea rcx, [rbp - 0x80]
call fcn.14000d780
jmp 0x1400077ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x48], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3