Function at 0x1400ba790
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
xor r13d, r13d
mov dword [rbp + 0x390], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
lea ecx, [r13 + 0x20]
call fcn.14010abe0
mov rdx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x1b
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.removeFromDCSStartup_called]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14012ed98]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14012eda0]
mov word [rax + 0x18], cx
movzx eax, byte [0x14012eda2]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], r13b
lea rdx, [rsp + 0x60]
lea ecx, [r13 + 0xd]
call fcn.1400c9370
lea rcx, [rbp]
call fcn.1400b7ff0
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x1400bb4dd
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], recv
lea rax, str._DCS_Scripts
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.1400a5860
nop
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x15
jb 0x1400bb4e3
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
lea rax, str._DCS.openbeta_Scripts
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.1400a5860
lea r15d, [r13 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14009ec80
mov rcx, rax
call fcn.1400b7d20
movzx ebx, al
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14009ec80
mov rcx, rax
call fcn.1400b7d20
movzx r12d, al
lea rdx, str._export.lua
lea rdi, [0x14012f4d0]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1400bae80
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xb
jb 0x1400bb4e9
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], recv
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400a5860
lea r15d, [r13 + 7]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14009ec80
mov rcx, rax
call fcn.1400bd620
test al, al
je 0x1400bae6f
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x10
jb 0x1400bb4ef
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rax, str._export_temp.lua
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.1400a5860
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x240]
call fcn.1400be5b0
nop
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rbx, qword [rbp - 0x80]
mov qword [rbp + 0x20], rdi
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r15d, 0x37
mov dword [rbp + 0x390], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], r14
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x28]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], rax
mov byte [rbp + 0xa4], r13b
mov byte [rbp + 0x99], r13b
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xa8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0x90], r13
lea r8d, [r13 + 2]
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.1400bfdf0
test rax, rax
jne 0x1400baab6
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r13 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], r14
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x240]
call fcn.1400c1420
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400babf6
nop word [rax + rax]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
seta r14b
mov rbx, qword [rsp + 0x40]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x19
lea r9, str.____SIMHAPTIC_AUTOSTART__
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400a3c90
test rax, rax
je 0x1400baba5
lea rdx, [rsp + 0x40]
test r14b, r14b
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x20]
call fcn.1400c15d0
mov rcx, rax
lea rdx, [0x1400a0b90]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x240]
call fcn.1400c1420
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400bab40
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x250]
call fcn.1400bfa40
test rax, rax
jne 0x1400bac29
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 0xa8], 0
je 0x1400baccb
mov rax, qword [rbp + 0x40]
lea rcx, [rbp + 0x98]
cmp qword [rax], rcx
jne 0x1400bac67
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xb0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x60]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x78]
mov dword [rax], edx
lea rcx, [rbp + 0x28]
call fcn.1400bf960
lea rbx, [rbp + 0x28]
test al, al
cmove rbx, r13
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, r13
test eax, eax
cmove rdi, rbx
mov byte [rbp + 0xa4], 0
mov byte [rbp + 0x99], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xa8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0x90], r13
test rdi, rdi
jne 0x1400bad1b
jmp 0x1400bacff
mov byte [rbp + 0xa4], 0
mov byte [rbp + 0x99], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xa8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0x90], r13
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov ecx, 0x30
call fcn.14010abe0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x22
mov qword [rbp - 0x48], 0x2f
movups xmm0, xmmword [str.removeFromDCSStartup_success__DCS_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012edd8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x14012ede8]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.1400c9370
nop
lea rcx, [rsp + 0x40]
call fcn.1400672b0
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], r14
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x28]
call fcn.1400bf230
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x240], rax
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x23c], edx
lea rcx, [rbp + 0x250]
call fcn.1400bf230
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call fcn.1400672b0
lea rdi, [0x14012f4d0]
lea rcx, [rsp + 0x60]
call fcn.1400672b0
lea rdx, str._export.lua
test r12b, r12b
je 0x1400bb49f
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0xb
jb 0x1400bb4f5
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], recv
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400a5860
or r15d, 8
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14009ec80
mov rcx, rax
call fcn.1400bd620
test al, al
je 0x1400bb494
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x1400bb4d7
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rcx, str._export_temp.lua
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.1400a5860
or r15d, 0x40
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x240]
call fcn.1400be5b0
nop
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
mov qword [rbp + 0x130], rdi
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts r15d, 7
mov dword [rbp + 0x390], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], r14
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x138]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x138], rax
mov byte [rbp + 0x1b4], 0
mov byte [rbp + 0x1a9], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1b8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x1ac], rax
mov qword [rbp + 0x1a0], r13
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x138]
call fcn.1400bfdf0
test rax, rax
jne 0x1400bb046
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], r14
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x240]
call fcn.1400c1420
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400bb192
nop word [rax + rax]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
seta sil
mov rbx, qword [rsp + 0x40]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x19
lea r9, str.____SIMHAPTIC_AUTOSTART__
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400a3c90
test rax, rax
je 0x1400bb148
lea rdx, [rsp + 0x40]
test sil, sil
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x130]
call fcn.1400c15d0
mov rcx, rax
lea rdx, [0x1400a0b90]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x240]
call fcn.1400c1420
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400bb0e0
lea rcx, [rbp + 0x250]
call fcn.1400bfa40
test rax, rax
jne 0x1400bb1c5
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x240]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp + 0x1b8], 0
je 0x1400bb279
mov rax, qword [rbp + 0x150]
lea rcx, [rbp + 0x1a8]
cmp qword [rax], rcx
jne 0x1400bb20c
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x170]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x188]
mov dword [rax], edx
lea rcx, [rbp + 0x138]
call fcn.1400bf960
lea rbx, [rbp + 0x138]
test al, al
cmove rbx, r13
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, r13
test eax, eax
cmove rdi, rbx
mov byte [rbp + 0x1b4], 0
mov byte [rbp + 0x1a9], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1b8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x1ac], rax
mov qword [rbp + 0x1a0], r13
test rdi, rdi
jne 0x1400bb2d2
jmp 0x1400bb2b0
mov byte [rbp + 0x1b4], 0
mov byte [rbp + 0x1a9], 0
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1b8], r13
mov rax, qword [0x1401570d0]
mov qword [rbp + 0x1ac], rax
mov qword [rbp + 0x1a0], r13
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov ecx, 0x30
call fcn.14010abe0
mov rdx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x2b
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str.removeFromDCSStartup_success__DCS.openbeta_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012ee00]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14012ee10]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x14012ee18]
mov word [rdx + 0x28], ax
movzx eax, byte [0x14012ee1a]
mov byte [rdx + 0x2a], al
mov byte [rdx + 0x2b], 0
lea rdx, [rbp - 0x80]
mov ecx, recv
call fcn.1400c9370
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400bb3cc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb3c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb3c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], r14
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x138]
call fcn.1400bf230
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x240], rax
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x23c], edx
lea rcx, [rbp + 0x250]
call fcn.1400bf230
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call fcn.1400672b0
nop
lea rcx, [rsp + 0x60]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x40]
call fcn.1400672b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400672b0
nop
lea rcx, [rbp]
call fcn.1400672b0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
nop
call fcn.1400668e0
int3