Function at 0x1800fd1c0
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 0x1800fd922
lea rax, [0x180000000]
cmp qword [rdi + 0x50], r12
jbe 0x1800fd583
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.1800fc430
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.1800fb960
mov rcx, rax
lea rdx, str...___
call fcn.180028170
mov rbx, rax
test rax, rax
jne 0x1800fd2e3
mov ecx, r13d
jmp 0x1800fd2ed
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, [0x1800fc2e0]
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.1800fdfb0
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 0x1800fd4a1
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.1800fe010
nop
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd38f
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.1800fb960
mov rcx, rax
mov dl, 0x2e
call fcn.1800fbb30
mov rbx, rax
test rax, rax
jne 0x1800fd3c7
mov rcx, r13
jmp 0x1800fd3d1
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, [0x1800fc2e0]
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.1800fdfb0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
cmp qword [rax + 0x18], 0x10
jb 0x1800fd428
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_rename]
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd441
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.1800fdfb0
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x1800fd487
cmp qword [rbp + 0x50], 0x10
jb 0x1800fd46b
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.18000fc90
cmp qword [rbp + 0x70], 0x10
jb 0x1800fd497
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
cmp r14d, 1
ja 0x1800fd360
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
cmp qword [r15 + 0x18], 0x10
jb 0x1800fd4b9
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_rename]
nop
cmp qword [rbp + 0x50], 0x10
jb 0x1800fd4d3
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 0x1800fd52a
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 0x1800fd922
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.1800fc4a0
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.1800fc100
mov rcx, rax
lea rdx, [0x180118ed4]
call fcn.1800fbf20
mov rbx, rax
test rax, rax
jne 0x1800fd640
mov rcx, r13
jmp 0x1800fd64a
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, [0x1800fc300]
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.1800fdfe0
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 0x1800fd84d
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 0x1800fd6e4
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.1800fca70
nop
cmp qword [rbp + 0x70], 8
jb 0x1800fd739
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.1800fc100
mov rcx, rax
mov dl, 0x2e
call fcn.1800fbcf0
mov rbx, rax
test rax, rax
jne 0x1800fd771
mov rcx, r13
jmp 0x1800fd77b
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, [0x1800fc300]
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.1800fdfe0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
cmp qword [rax + 0x18], 8
jb 0x1800fd7d3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll__wrename]
cmp qword [rbp + 0x70], 8
jb 0x1800fd7ec
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.1800fdfe0
mov rbx, rax
lea rax, [rbp + 0x38]
cmp rax, rbx
je 0x1800fd833
cmp qword [rbp + 0x50], 8
jb 0x1800fd816
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.180007690
cmp qword [rbp + 0x70], 8
jb 0x1800fd843
mov rcx, qword [rbp + 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
cmp r14d, 1
ja 0x1800fd6c0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
cmp qword [r15 + 0x18], 8
jb 0x1800fd865
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.MSVCR120.dll__wrename]
nop
cmp qword [rbp + 0x50], 8
jb 0x1800fd87f
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 0x1800fd8d7
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 0x1800fd94c
lea rcx, [rdi + 0x40]
cmp qword [rcx + 0x18], 0x10
jb 0x1800fd937
mov rcx, qword [rcx]
mov r8d, dword [rdi + 0x88]
mov edx, dword [rdi + 0x84]
call qword [sym.imp.MSVCR120.dll__open]
jmp 0x1800fd96d
lea rcx, [rdi + 0x60]
cmp qword [rcx + 0x18], 8
jb 0x1800fd95a
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.180106980
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