Function at 0x1400bb1d0
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], reloc.WS2_32.dll_ntohs
lea ecx, [r13 + 0x20]
call fcn.14010bac0
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 [0x14012fe60]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14012fe68]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], r13b
lea rdx, [rsp + 0x40]
lea ecx, [r13 + 0xd]
call fcn.1400c9fe0
lea rcx, [rbp]
call fcn.1400b9970
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x1400bbf03
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.1400a72c0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x15
jb 0x1400bbf09
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.1400a72c0
lea r15d, [r13 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400a0240
mov rcx, rax
call fcn.1400b96a0
movzx ebx, al
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400a0240
mov rcx, rax
call fcn.1400b96a0
movzx r12d, al
lea rdx, str._export.lua
lea rdi, [0x140125b48]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1400bb8ac
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xb
jb 0x1400bbf0f
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 + 0x40]
call fcn.1400a72c0
lea r15d, [r13 + 7]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400a0240
mov rcx, rax
call fcn.1400bf5b0
test al, al
je 0x1400bb89b
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x10
jb 0x1400bbf15
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.1400a72c0
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], r13b
mov byte [rbp + 0xa1], r13b
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 [0x140157f50]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
lea r8d, [r13 + 1]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.1400a1cc0
test rax, rax
jne 0x1400bb4da
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 - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
mov r8d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x240]
call fcn.1400c0540
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
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.1400c2250
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 0x1400bb620
nop dword [rax]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
seta r14b
mov rbx, qword [rsp + 0x60]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x19
lea r9, str.____SIMHAPTIC_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.1400a56a0
test rax, rax
je 0x1400bb5d8
lea rdx, [rsp + 0x60]
test r14b, r14b
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.1400aaab0
mov rcx, rax
lea rdx, [0x1400a24b0]
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.1400c2250
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 0x1400bb570
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
cmp qword [rbp + 0xb0], 0
je 0x1400bb6c5
mov rax, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
cmp qword [rax], rcx
jne 0x1400bb661
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.1400a09a0
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 [0x140157f50]
mov qword [rbp + 0xa4], rax
mov qword [rbp + 0x98], r13
test rdi, rdi
jne 0x1400bb715
jmp 0x1400bb6f9
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 [0x140157f50]
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.1400a0a80
test rax, rax
jne 0x1400bb748
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], reloc.WS2_32.dll_ntohs
mov ecx, 0x30
call fcn.14010bac0
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 [0x14012fee0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x14012fef0]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.1400c9fe0
nop
lea rcx, [rsp + 0x60]
call fcn.1400672c0
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.14009eaa0
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.14009eaa0
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.1400672c0
lea rdi, [0x140125b48]
lea rcx, [rsp + 0x40]
call fcn.1400672c0
lea rdx, str._export.lua
test r12b, r12b
je 0x1400bbec5
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0xb
jb 0x1400bbf1b
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 + 0x40]
call fcn.1400a72c0
or r15d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400a0240
mov rcx, rax
call fcn.1400bf5b0
test al, al
je 0x1400bbeba
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x1400bbefd
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.1400a72c0
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 [0x140157f50]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.1400a1cc0
test rax, rax
jne 0x1400bba63
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.1400c0540
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
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.1400c2250
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 0x1400bbbc2
nop word [rax + rax]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
seta sil
mov rbx, qword [rsp + 0x60]
cmova rcx, rbx
mov qword [rsp + 0x20], 0x19
lea r9, str.____SIMHAPTIC_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
call fcn.1400a56a0
test rax, rax
je 0x1400bbb78
lea rdx, [rsp + 0x60]
test sil, sil
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x240]
call fcn.1400aaab0
mov rcx, rax
lea rdx, [0x1400a24b0]
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.1400c2250
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 0x1400bbb10
cmp qword [rbp + 0x1c0], 0
je 0x1400bbc76
mov rax, qword [rbp + 0x158]
lea rcx, [rbp + 0x1b0]
cmp qword [rax], rcx
jne 0x1400bbc09
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.1400a09a0
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 [0x140157f50]
mov qword [rbp + 0x1b4], rax
mov qword [rbp + 0x1a8], r13
test rdi, rdi
jne 0x1400bbccf
jmp 0x1400bbcad
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 [0x140157f50]
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.1400a0a80
test rax, rax
jne 0x1400bbd02
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], reloc.WS2_32.dll_ntohs
mov ecx, 0x30
call fcn.14010bac0
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 [0x14012ff08]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14012ff18]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x14012ff20]
mov word [rdx + 0x28], ax
mov byte [rdx + 0x2a], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.1400c9fe0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400bbdf2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bbded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bbded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
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.14009eaa0
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.14009eaa0
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.1400672c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400672c0
nop
lea rcx, [rbp - 0x40]
call fcn.1400672c0
nop
lea rcx, [rbp - 0x20]
call fcn.1400672c0
nop
lea rcx, [rbp]
call fcn.1400672c0
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.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400668f0
nop
call fcn.1400668f0
int3