Function at 0x1400b9180
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.14010ab80
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x1a
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.removeFromDCSExport_called]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14012ebe8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14012ebf0]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], r13b
lea rdx, [rsp + 0x60]
lea ecx, [r13 + 0xd]
call fcn.1400c9320
lea rcx, [rbp]
call fcn.1400b7fa0
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x1400b9eb3
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.1400a5810
nop
mov rax, rsi
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0x15
jb 0x1400b9eb9
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.1400a5810
lea r15d, [r13 + 3]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14009ec30
mov rcx, rax
call fcn.1400b7cd0
movzx ebx, al
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14009ec30
mov rcx, rax
call fcn.1400b7cd0
movzx r12d, al
lea rdx, str._export.lua
lea rdi, [0x14012f490]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1400b985f
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xb
jb 0x1400b9ebf
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.1400a5810
lea r15d, [r13 + 7]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14009ec30
mov rcx, rax
call fcn.1400bd5d0
test al, al
je 0x1400b984e
mov rax, rsi
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x10
jb 0x1400b9ec5
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.1400a5810
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x240]
call fcn.1400be560
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.1400bfda0
test rax, rax
jne 0x1400b9499
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.1400c13d0
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 0x1400b95d6
nop dword [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_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400a3c40
test rax, rax
je 0x1400b9585
lea rdx, [rsp + 0x40]
test r14b, r14b
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x20]
call fcn.1400c1580
mov rcx, rax
lea rdx, [0x1400a0b40]
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.1400c13d0
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 0x1400b9520
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x250]
call fcn.1400bf9f0
test rax, rax
jne 0x1400b9609
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 0x1400b96ab
mov rax, qword [rbp + 0x40]
lea rcx, [rbp + 0x98]
cmp qword [rax], rcx
jne 0x1400b9647
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.1400bf910
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 0x1400b96fb
jmp 0x1400b96df
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.14010ab80
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 [0x14012ec68]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x14012ec78]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], 0
lea rdx, [rbp - 0x60]
mov ecx, recv
call fcn.1400c9320
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.1400bf1e0
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.1400bf1e0
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, [0x14012f490]
lea rcx, [rsp + 0x60]
call fcn.1400672b0
lea rdx, str._export.lua
test r12b, r12b
je 0x1400b9e75
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0xb
jb 0x1400b9ecb
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.1400a5810
or r15d, 8
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14009ec30
mov rcx, rax
call fcn.1400bd5d0
test al, al
je 0x1400b9e6a
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x1400b9ead
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.1400a5810
or r15d, 0x40
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x240]
call fcn.1400be560
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.1400bfda0
test rax, rax
jne 0x1400b9a25
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.1400c13d0
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 0x1400b9b72
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_REFERENCE__
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400a3c40
test rax, rax
je 0x1400b9b28
lea rdx, [rsp + 0x40]
test sil, sil
cmovne rdx, rbx
mov r8, rdi
lea rcx, [rbp + 0x130]
call fcn.1400c1580
mov rcx, rax
lea rdx, [0x1400a0b40]
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.1400c13d0
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 0x1400b9ac0
lea rcx, [rbp + 0x250]
call fcn.1400bf9f0
test rax, rax
jne 0x1400b9ba5
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 0x1400b9c59
mov rax, qword [rbp + 0x150]
lea rcx, [rbp + 0x1a8]
cmp qword [rax], rcx
jne 0x1400b9bec
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.1400bf910
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 0x1400b9cb2
jmp 0x1400b9c90
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.14010ab80
mov rdx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x2a
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str.removeFromDCSExport_success__DCS.openbeta_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14012ec90]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14012eca0]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x14012eca8]
mov word [rdx + 0x28], ax
mov byte [rdx + 0x2a], 0
lea rdx, [rbp - 0x80]
mov ecx, recv
call fcn.1400c9320
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400b9da2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b9d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b9d9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a7a8
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.1400bf1e0
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.1400bf1e0
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