Function at 0x140071490
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 + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], send
lea ecx, [r13 + 0x20]
call fcn.1400c6fd4
mov rdx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x1b
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.removeFromDCSStartup_called]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400df268]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400df270]
mov word [rax + 0x18], cx
movzx eax, byte [0x1400df272]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], r13b
lea rdx, [rsp + 0x40]
lea ecx, [r13 + 0xc]
call fcn.14007d340
lea rcx, [rbp]
call fcn.14006d3d0
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x14007224d
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], send
lea rax, str._DCS_Scripts
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.14004baa0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x15
jb 0x140072253
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.14004baa0
lea r15d, [r13 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14004b860
mov r14, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400715f0
mov rcx, qword [rax]
call fcn.14006cda0
mov rdi, rax
test rax, rax
je 0x140071651
mov rbx, qword [rax + 0x128]
test rbx, rbx
jne 0x140071614
lea ecx, [rbx + 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
jmp 0x14007163d
mov rcx, qword [rbx + 0x480]
cmp rcx, 0xffffffffffffffff
je 0x140071627
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbx + 0x488]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x128], r13
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov bl, 1
jmp 0x140071659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor bl, bl
mov rcx, r14
call fcn.14004b060
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004b860
mov rcx, rax
call fcn.14006d310
movzx r12d, al
lea rdx, str._export.lua
lea rdi, [0x1400ded30]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x140071bee
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xb
jb 0x140072259
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], send
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004baa0
mov r15d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004b860
mov rcx, rax
call fcn.1400725a0
test al, al
je 0x140071bdd
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x10
jb 0x14007225f
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.14004baa0
nop
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rbp + 0x20], rdi
lea rcx, [rbp + 0xd0]
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 + 0x30]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_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 - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
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 + 0x30], rax
mov byte [rbp + 0xac], 0
mov byte [rbp + 0xa1], 0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
lea r8d, [r15 - 0x36]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140074e20
test rax, rax
jne 0x14007181f
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r15 - 0x35]
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 - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
mov r8d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x240]
call fcn.1400742d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
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 + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400769e0
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 0x140071961
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
seta r14b
mov rbx, qword [rsp + 0x60]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x1b
lea r9, str.____DCREALISTIC_AUTOSTART__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.140057e30
test rax, rax
je 0x140071919
lea rdx, [rsp + 0x60]
test r14b, r14b
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.140076b90
mov rcx, rax
lea rdx, [0x140068920]
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 + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
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 + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400769e0
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 0x1400718b1
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
cmp qword [rbp + 0xb0], 0
je 0x140071a06
mov rax, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
cmp qword [rax], rcx
jne 0x1400719a2
mov rdx, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xb8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x80]
mov dword [rax], edx
lea rcx, [rbp + 0x30]
call fcn.140074990
lea rbx, [rbp + 0x30]
test al, al
cmove rbx, r13
mov rcx, qword [rbp + 0xb0]
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 + 0xac], 0
mov byte [rbp + 0xa1], 0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
test rdi, rdi
jne 0x140071a56
jmp 0x140071a3a
mov byte [rbp + 0xac], 0
mov byte [rbp + 0xa1], 0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], 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, [rbp + 0x248]
call fcn.140074a70
test rax, rax
jne 0x140071a89
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]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
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], send
mov ecx, 0x30
call fcn.1400c6fd4
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 [0x1400df210]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400df220]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.14007d340
nop
lea rcx, [rsp + 0x60]
call fcn.14004b060
nop
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_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 - 0xa8]
mov dword [rbp + rcx + 0x23c], edx
lea rcx, [rbp + 0x248]
call fcn.140074260
lea rcx, [rbp + 0x250]
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 + 0x2e8]
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 + 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 - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.140074260
lea rcx, [rbp + 0x38]
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 + 0xd0]
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.14004b060
lea rdi, [0x1400ded30]
lea rcx, [rsp + 0x40]
call fcn.14004b060
lea rdx, str._export.lua
test r12b, r12b
je 0x14007220f
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0xb
jb 0x140072265
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], send
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004baa0
or r15d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004b860
mov rcx, rax
call fcn.1400725a0
test al, al
je 0x140072204
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x140072247
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 - 0x80]
call fcn.14004baa0
or r15d, 0x40
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
mov qword [rbp + 0x130], rdi
lea rcx, [rbp + 0x1e0]
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 + 0x140]
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_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 - 0xb0]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x140]
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 + 0x140], rax
mov byte [rbp + 0x1bc], 0
mov byte [rbp + 0x1b1], 0
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1c0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.140074e20
test rax, rax
jne 0x140071da5
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 - 0xb0]
mov dword [rbp + rcx + 0x12c], edx
mov r8d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x240]
call fcn.1400742d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
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 + 0x60]
lea rcx, [rbp + 0x130]
call fcn.1400769e0
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 0x140071f02
nop dword [rax]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
seta sil
mov rbx, qword [rsp + 0x60]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x1b
lea r9, str.____DCREALISTIC_AUTOSTART__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.140057e30
test rax, rax
je 0x140071eb8
lea rdx, [rsp + 0x60]
test sil, sil
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.140076b90
mov rcx, rax
lea rdx, [0x140068920]
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 + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
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 + 0x60]
lea rcx, [rbp + 0x130]
call fcn.1400769e0
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 0x140071e50
cmp qword [rbp + 0x1c0], 0
je 0x140071fb6
mov rax, qword [rbp + 0x158]
lea rcx, [rbp + 0x1b0]
cmp qword [rax], rcx
jne 0x140071f49
mov rdx, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x1c8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x178]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x190]
mov dword [rax], edx
lea rcx, [rbp + 0x140]
call fcn.140074990
lea rbx, [rbp + 0x140]
test al, al
cmove rbx, r13
mov rcx, qword [rbp + 0x1c0]
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 + 0x1bc], 0
mov byte [rbp + 0x1b1], 0
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1c0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
test rdi, rdi
jne 0x14007200f
jmp 0x140071fed
mov byte [rbp + 0x1bc], 0
mov byte [rbp + 0x1b1], 0
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1c0], r13
mov rax, qword [0x140102e30]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], 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, [rbp + 0x248]
call fcn.140074a70
test rax, rax
jne 0x140072042
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]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
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], send
mov ecx, 0x30
call fcn.1400c6fd4
mov rdx, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x2b
mov qword [rbp - 0x48], 0x2f
movups xmm0, xmmword [str.removeFromDCSStartup_success__DCS.openbeta_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400df238]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400df248]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x1400df250]
mov word [rdx + 0x28], ax
movzx eax, byte [0x1400df252]
mov byte [rdx + 0x2a], al
mov byte [rdx + 0x2b], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.14007d340
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14007213c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072137
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6f5c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rax, qword [rbp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_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 - 0xa8]
mov dword [rbp + rcx + 0x23c], edx
lea rcx, [rbp + 0x248]
call fcn.140074260
lea rcx, [rbp + 0x250]
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 + 0x2e8]
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 + 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 - 0xb0]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x140]
call fcn.140074260
lea rcx, [rbp + 0x148]
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 + 0x1e0]
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.14004b060
nop
lea rcx, [rsp + 0x40]
call fcn.14004b060
nop
lea rcx, [rbp - 0x40]
call fcn.14004b060
nop
lea rcx, [rbp - 0x20]
call fcn.14004b060
nop
lea rcx, [rbp]
call fcn.14004b060
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.14004aea0
nop
call fcn.14004aea0
nop
call fcn.14004aea0
nop
call fcn.14004aea0
nop
call fcn.14004aea0
nop
call fcn.14004aea0
int3