Function at 0x180009310
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x470
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x180175020]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x20], 0x78
lea rdi, str._Chrome::Protector::CreateHistoryReflection_
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x40]
mov qword [r11 - 0x3f8], rax
lea rax, [rsp + 0x20]
mov qword [r11 - 0x3f0], rax
mov rcx, qword [0x180179420]
test rcx, rcx
je 0x180009478
mov rax, qword [rcx]
mov edx, 0x3e8
call qword [rax + 0x10]
test eax, eax
je 0x180009478
lea edx, [rsi + 2]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov r8, rax
mov rax, qword [rsp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x2b0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x2b0]
call fcn.18000fa60
mov rcx, rax
lea rdx, str.Started
call fcn.18000fa60
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3f8]
cmp qword [rsp + 0x410], 8
cmovae r8, qword [rsp + 0x3f8]
mov rcx, qword [0x180179420]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x408]
mov edx, 0x3e8
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
nop
xor ecx, ecx
call fcn.18005ad10
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
jne 0x1800094c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Chrome::InstallInfo::Get
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x18016f0e0]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x30], 0xfde9
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov r8, qword [rax + 0x80]
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x30]
call fcn.1800101b0
nop
lea rcx, [rsp + 0x448]
cmp qword [rsp + 0x460], 0x10
cmovae rcx, qword [rsp + 0x448]
call qword [sym.imp.MSVCR90.dll_remove]
test eax, eax
je 0x180009621
mov rcx, qword [0x180179420]
test rcx, rcx
je 0x180009621
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x180009621
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0x1c0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + rdx + 0x1c0]
mov r8, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x1c0]
call fcn.18000fa60
lea rdx, str.Cant_delete:
mov rcx, rax
call fcn.18000fcd0
mov rdx, qword [rbx + 0x80]
mov rcx, rax
call fcn.18000fa60
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3d0]
cmp qword [rsp + 0x3e8], 8
cmovae r8, qword [rsp + 0x3d0]
mov rcx, qword [0x180179420]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x3e0]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3c8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
mov dword [rsp + 0x30], 0xfde9
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov r8, qword [rbx + 0x70]
lea rdx, [rsp + 0x418]
lea rcx, [rsp + 0x30]
call fcn.1800101b0
nop
lea rcx, [rsp + 0x420]
cmp qword [rsp + 0x438], 0x10
cmovae rcx, qword [rsp + 0x420]
call qword [sym.imp.MSVCR90.dll_remove]
test eax, eax
je 0x180009775
mov rcx, qword [0x180179420]
test rcx, rcx
je 0x180009775
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x180009775
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0xd0]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + r8 + 0xd0]
mov r8, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.18000fa60
lea rdx, str.Cant_delete:
mov rcx, rax
call fcn.18000fcd0
mov rdx, qword [rbx + 0x70]
mov rcx, rax
call fcn.18000fa60
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x3a8]
cmp qword [rsp + 0x3c0], 8
cmovae r8, qword [rsp + 0x3a8]
mov rcx, qword [0x180179420]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x3b8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
lea rdx, str.SBHistory
mov rcx, qword [rbx + 0x50]
call fcn.1800e1d70
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1800097ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.Injection::VirtualFile::CreateReflection
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x18016f0e0]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
mov r8, r12
mov rdx, r13
mov rcx, rax
call fcn.180006f50
test eax, eax
jne 0x180009814
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.Chrome::Protector::InitHistoryReflection
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x18016f0e0]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x418]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x440]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.180011d50
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1800e9aa0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret