Function at 0x140097cf0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x200
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [r11 - 0x38]
call fcn.140096500
nop
lea rax, [0x14011fba8]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP100.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::basic_istream_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 + 0x40]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP100.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x50], rax
mov byte [rsp + 0xe0], dil
mov byte [rsp + 0xda], dil
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP100.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rsp + 0xe8], rdi
mov eax, dword [0x1401cfbb4]
mov dword [rsp + 0xdc], eax
mov qword [rsp + 0xd0], rdi
lea rdx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rdx, qword [rsp + 0x1d0]
lea r9d, [rdi + 0x40]
lea r8d, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.140039440
test rax, rax
jne 0x140097e26
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
xor r8d, r8d
lea edx, [rdi + 2]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
call qword [sym.imp.MSVCP100.dll_public:_void____ptr64___cdecl_std::ios_base::operator_void____ptr64_void_const___ptr64]
test rax, rax
je 0x140097f5d
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call fcn.1400dcfb0
nop
lea rcx, [rsp + 0x1b8]
call fcn.1400e7ca0
lea rdi, vtable.boost::archive::xml_wiarchive.0
mov qword [rsp + 0x150], rdi
lea rdx, str.queue
lea rcx, [rsp + 0x150]
call fcn.1400dc690
call sym.WinZipCompressionSmartMonitor.exe__get_instance___singleton_V__iserializer_Vxml_wiarchive_archive_boost__V__vector_VCSerializa
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.1400eaa70
lea rdx, str.queue
lea rcx, [rsp + 0x150]
call fcn.1400dc760
nop
mov qword [rsp + 0x150], rdi
lea rcx, [rsp + 0x1b8]
call fcn.1400e82e0
nop
lea rcx, [rsp + 0x150]
call fcn.1400dd150
nop
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rsi
lea rcx, [rsp + 0x50]
call fcn.14003c3d0
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP100.dll_public_virtual:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP100.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x1e8], 8
jb 0x140097f56
mov rcx, qword [rsp + 0x1d0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
jmp 0x140097fef
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rsi
lea rcx, [rsp + 0x50]
call fcn.14003c3d0
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP100.dll_public_virtual:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP100.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
cmp qword [rsp + 0x1e8], 8
jb 0x140097fb5
mov rcx, qword [rsp + 0x1d0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x1e8], 7
mov qword [rsp + 0x1e0], rdi
mov word [rsp + 0x1d0], di
xor al, al
jmp 0x140097fef
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret