Function at 0x1800fd610
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180127050]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rdi, rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x20], r13d
mov ecx, dword [rcx + 0x80]
call qword [sym.imp.MSVCR120.dll__close]
cmp dword [rdi + 0x90], r13d
jbe 0x1800fdd72
lea rax, [0x180000000]
cmp qword [rdi + 0x50], r12
jbe 0x1800fd9d3
lea rax, [rax + 0x10d5e0]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 1
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP120.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 [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea edx, [r13 + 2]
lea rcx, [rsp + 0x38]
call fcn.1800fc850
nop
movzx edx, word [rdi + 0x94]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
lea r15, [rdi + 0x40]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800fbd80
mov rcx, rax
lea rdx, str...___
call fcn.1800280c0
mov rbx, rax
test rax, rax
jne 0x1800fd733
mov ecx, r13d
jmp 0x1800fd73d
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov edx, dword [rdi + 0x90]
mov rcx, rbx
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1800fc700]
call qword [sym.imp.MSVCP120.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]
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1800fe400
nop
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, qword [rbp + 0x38]
call qword [sym.imp.MSVCR120.dll_remove]
mov r14d, dword [rdi + 0x90]
cmp r14d, 1
jbe 0x1800fd8f1
nop dword [rax]
nop word [rax + rax]
mov qword [rbp + 0x70], 0xf
mov qword [rbp + 0x68], r13
mov byte [rbp + 0x58], 0
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1800fe460
nop
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd7df
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
movzx edx, word [rdi + 0x94]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800fbd80
mov rcx, rax
mov dl, 0x2e
call fcn.1800fbf50
mov rbx, rax
test rax, rax
jne 0x1800fd817
mov rcx, r13
jmp 0x1800fd821
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
dec r14d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1800fc700]
call qword [sym.imp.MSVCP120.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]
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1800fe400
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
cmp qword [rax + 0x18], 0x10
jb 0x1800fd878
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_rename]
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd891
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1800fe400
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x1800fd8d7
cmp qword [rbp + 0x50], 0x10
jb 0x1800fd8bb
mov rcx, qword [rbp + 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x38], 0
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.18000fbe0
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd8e7
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
cmp r14d, 1
ja 0x1800fd7b0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
cmp qword [r15 + 0x18], 0x10
jb 0x1800fd909
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_rename]
nop
cmp qword [rbp + 0x50], 0x10
jb 0x1800fd923
mov rcx, qword [rbp + 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x38], 0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x38], rax
test byte [rbp - 0x58], 1
je 0x1800fd97a
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rax, qword [rsp + 0x58]
mov qword [rax], r13
mov rax, qword [rsp + 0x78]
mov qword [rax], r13
mov rax, qword [rbp - 0x70]
mov dword [rax], r13d
mov qword [rbp - 0x60], r13
and dword [rbp - 0x58], 0xfffffffe
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rax, [0x180000000]
cmp qword [rdi + 0x70], 0
jbe 0x1800fdd72
lea rax, [rax + 0x10d678]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or r12d, 2
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP120.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], r8d
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.1800fc8c0
nop
movzx edx, word [rdi + 0x94]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
lea r15, [rdi + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800fc520
mov rcx, rax
lea rdx, [0x180118f14]
call fcn.1800fc340
mov rbx, rax
test rax, rax
jne 0x1800fda90
mov rcx, r13
jmp 0x1800fda9a
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov r12d, 0x30
mov word [rcx + rbx + 0x58], r12w
mov edx, dword [rdi + 0x90]
mov rcx, rbx
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1800fc720]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1800fe430
nop
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rcx, qword [rbp + 0x38]
call qword [sym.imp.MSVCR120.dll__wremove]
mov r14d, dword [rdi + 0x90]
cmp r14d, 1
jbe 0x1800fdc9d
nop word [rax + rax]
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r13
mov word [rbp + 0x58], r13w
test byte [rbp - 0x58], 1
je 0x1800fdb34
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setg_wchar_t____ptr64__wchar_t____ptr64__wchar_t____ptr64____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setp_wchar_t____ptr64__wchar_t____ptr64____ptr64]
mov qword [rbp - 0x60], r13
mov r9d, dword [rbp - 0x58]
and r9d, 0xfffffffe
mov dword [rbp - 0x58], r9d
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1800fcec0
nop
cmp qword [rbp + 0x70], 8
jb 0x1800fdb89
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
movzx edx, word [rdi + 0x94]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP120.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1800fc520
mov rcx, rax
mov dl, 0x2e
call fcn.1800fc110
mov rbx, rax
test rax, rax
jne 0x1800fdbc1
mov rcx, r13
jmp 0x1800fdbcb
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], r12w
dec r14d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x1800fc720]
call qword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1800fe430
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
cmp qword [rax + 0x18], 8
jb 0x1800fdc23
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll__wrename]
cmp qword [rbp + 0x70], 8
jb 0x1800fdc3c
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1800fe430
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x1800fdc83
cmp qword [rbp + 0x50], 8
jb 0x1800fdc66
mov rcx, qword [rbp + 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r13
mov word [rbp + 0x38], r13w
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.1800075e0
cmp qword [rbp + 0x70], 8
jb 0x1800fdc93
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
cmp r14d, 1
ja 0x1800fdb10
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
cmp qword [r15 + 0x18], 8
jb 0x1800fdcb5
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.MSVCR120.dll__wrename]
nop
cmp qword [rbp + 0x50], 8
jb 0x1800fdccf
mov rcx, qword [rbp + 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r13
mov word [rbp + 0x38], r13w
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x38], rax
test byte [rbp - 0x58], 1
je 0x1800fdd27
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setg_wchar_t____ptr64__wchar_t____ptr64__wchar_t____ptr64____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setp_wchar_t____ptr64__wchar_t____ptr64____ptr64]
mov qword [rbp - 0x60], r13
and dword [rbp - 0x58], 0xfffffffe
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP120.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
cmp qword [rdi + 0x50], 0
jbe 0x1800fdd9c
lea rcx, [rdi + 0x40]
cmp qword [rcx + 0x18], 0x10
jb 0x1800fdd87
mov rcx, qword [rcx]
mov r8d, dword [rdi + 0x88]
mov edx, dword [rdi + 0x84]
call qword [sym.imp.MSVCR120.dll__open]
jmp 0x1800fddbd
lea rcx, [rdi + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x1800fddaa
mov rcx, qword [rcx]
mov r8d, dword [rdi + 0x88]
mov edx, dword [rdi + 0x84]
call qword [sym.imp.MSVCR120.dll__wopen]
mov dword [rdi + 0x80], eax
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1801068d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret