Function at 0x140070a10
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.1400c6364
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x1a
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.removeFromDCSExport_called]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400deee0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400deee8]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], r13b
mov r8b, 1
lea rdx, [rsp + 0x40]
lea ecx, [r13 + 0xc]
call fcn.14007e0c0
lea rcx, [rbp]
call fcn.14006efe0
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x1400717c6
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.14004cca0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x15
jb 0x1400717cc
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.14004cca0
lea r15d, [r13 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14004c7c0
mov r14, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140070b66
mov rcx, qword [rax]
call fcn.14006e9b0
mov rdi, rax
test rax, rax
je 0x140070bc7
mov rbx, qword [rax + 0x128]
test rbx, rbx
jne 0x140070b8a
lea ecx, [rbx + 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
jmp 0x140070bb3
mov rcx, qword [rbx + 0x480]
cmp rcx, 0xffffffffffffffff
je 0x140070b9d
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 0x140070bcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor bl, bl
mov rcx, r14
call fcn.14004bc40
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004c7c0
mov rcx, rax
call fcn.14006ef20
movzx r12d, al
lea rdx, str._export.lua
lea rdi, [0x1400df6d0]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x14007116f
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xb
jb 0x1400717d2
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.14004cca0
mov r15d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004c7c0
mov rcx, rax
call fcn.1400731f0
test al, al
je 0x14007115e
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x10
jb 0x1400717d8
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.14004cca0
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 [0x140102c90]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
lea r8d, [r15 - 0x36]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140075ba0
test rax, rax
jne 0x140070d95
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.140074f20
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.140077760
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 0x140070ee0
nop word [rax + rax]
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_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.140059e90
test rax, rax
je 0x140070e98
lea rdx, [rsp + 0x60]
test r14b, r14b
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.140077910
mov rcx, rax
lea rdx, [0x14006a4c0]
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.140077760
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 0x140070e30
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
cmp qword [rbp + 0xb0], 0
je 0x140070f85
mov rax, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
cmp qword [rax], rcx
jne 0x140070f21
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.140075710
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 [0x140102c90]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
test rdi, rdi
jne 0x140070fd5
jmp 0x140070fb9
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 [0x140102c90]
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.1400757f0
test rax, rax
jne 0x140071008
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.1400c6364
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x21
mov qword [rbp - 0x48], 0x2f
movups xmm0, xmmword [str.removeFromDCSExport_success__DCS_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400def78]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x1400def88]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], 0
mov r8b, 1
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.14007e0c0
nop
lea rcx, [rsp + 0x60]
call fcn.14004bc40
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.140074eb0
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.140074eb0
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.14004bc40
lea rdi, [0x1400df6d0]
lea rcx, [rsp + 0x40]
call fcn.14004bc40
lea rdx, str._export.lua
test r12b, r12b
je 0x140071788
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0xb
jb 0x1400717de
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.14004cca0
or r15d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14004c7c0
mov rcx, rax
call fcn.1400731f0
test al, al
je 0x14007177d
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x1400717c0
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.14004cca0
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 [0x140102c90]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.140075ba0
test rax, rax
jne 0x140071326
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.140074f20
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.140077760
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 0x140071482
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_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.140059e90
test rax, rax
je 0x140071438
lea rdx, [rsp + 0x60]
test sil, sil
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.140077910
mov rcx, rax
lea rdx, [0x14006a4c0]
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.140077760
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 0x1400713d0
cmp qword [rbp + 0x1c0], 0
je 0x140071536
mov rax, qword [rbp + 0x158]
lea rcx, [rbp + 0x1b0]
cmp qword [rax], rcx
jne 0x1400714c9
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.140075710
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 [0x140102c90]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
test rdi, rdi
jne 0x14007158f
jmp 0x14007156d
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 [0x140102c90]
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.1400757f0
test rax, rax
jne 0x1400715c2
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.1400c6364
mov rdx, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x2a
mov qword [rbp - 0x48], 0x2f
movups xmm0, xmmword [str.removeFromDCSExport_success__DCS.openbeta_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400df008]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400df018]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x1400df020]
mov word [rdx + 0x28], ax
mov byte [rdx + 0x2a], 0
mov r8b, 1
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.14007e0c0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400716b5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400716b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400716b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
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.140074eb0
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.140074eb0
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.14004bc40
nop
lea rcx, [rsp + 0x40]
call fcn.14004bc40
nop
lea rcx, [rbp - 0x40]
call fcn.14004bc40
nop
lea rcx, [rbp - 0x20]
call fcn.14004bc40
nop
lea rcx, [rbp]
call fcn.14004bc40
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.14004adb0
nop
call fcn.14004adb0
nop
call fcn.14004adb0
nop
call fcn.14004adb0
nop
call fcn.14004adb0
nop
call fcn.14004adb0
int3