Function at 0x10008010
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x100c63f1
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100fc018]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x78
push str._Chrome::Protector::CreateHistoryReflection_
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
lea esi, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.1000b520
mov byte [ebp - 4], 2
call fcn.1004b080
mov dword [ebp], eax
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x1000809b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
push 0x100e91f8
lea eax, [ebp - 0x40]
mov ecx, str.Chrome::InstallInfo::Get
push eax
mov dword [ebp - 0x3c], ecx
call sub.MSVCR90.dll__CxxThrowException
mov ebx, dword [eax + 0x40]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
lea eax, [ebp + 0x20]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x28], 0xfde9
call fcn.1000e3a0
mov byte [ebp - 4], 4
cmp dword [ebp + 0x38], 0x10
mov eax, dword [ebp + 0x24]
jae 0x100080c6
lea eax, [ebp + 0x24]
mov esi, dword [sym.imp.MSVCR90.dll_remove]
push eax
call esi
add esp, 4
test eax, eax
je 0x100081c0
mov ecx, dword [0x100fef94]
test ecx, ecx
je 0x100081c0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x7d0
call eax
test eax, eax
je 0x100081c0
push 1
push 2
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
mov bl, 5
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____cdecl_std::locale::classic_void_]
mov edx, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [ebp + ecx - 0x158]
call dword [sym.imp.MSVCP90.dll_public:_class_std::locale___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea eax, [ebp - 0x158]
push str._Chrome::Protector::CreateHistoryReflection_
push eax
call fcn.1000dcf0
add esp, 8
push str.Cant_delete:
push eax
call fcn.1000df00
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x40]
add esp, 8
push edx
push eax
call fcn.1000dcf0
add esp, 8
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [ebp - 4], 6
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x1000818d
lea eax, [ebp + 0x40]
mov edi, dword [ebp + 0x50]
mov ecx, dword [0x100fef94]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0x10]
push 0x7d0
call eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov ecx, dword [ebp]
mov ebx, dword [ecx + 0x38]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp + 4]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x28], 0xfde9
call fcn.1000e3a0
mov byte [ebp - 4], 7
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x100081f0
lea eax, [ebp + 8]
push eax
call esi
add esp, 4
test eax, eax
je 0x100082e6
mov ecx, dword [0x100fef94]
test ecx, ecx
je 0x100082e6
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x7d0
call eax
test eax, eax
je 0x100082e6
push 1
push 2
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
mov ebx, 8
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____cdecl_std::locale::classic_void_]
mov edx, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [ebp + ecx - 0xd8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::locale___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const__]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea eax, [ebp - 0xd8]
push str._Chrome::Protector::CreateHistoryReflection_
push eax
call fcn.1000dcf0
add esp, 8
push str.Cant_delete:
push eax
call fcn.1000df00
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x38]
add esp, 8
push edx
push eax
call fcn.1000dcf0
add esp, 8
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x5c]
cmp dword [ebp + 0x70], ebx
jae 0x100082b3
lea eax, [ebp + 0x5c]
mov esi, dword [ebp + 0x6c]
mov ecx, dword [0x100fef94]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x10]
push 0x7d0
call eax
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov esi, dword [ebp]
mov ecx, dword [esi + 0x28]
mov edx, str.SBHistory
call fcn.100b3610
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 0xa
test edi, edi
jne 0x10008322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.Injection::VirtualFile::CreateReflection
mov dword [ebp - 0x34], ecx
push 0x100e91f8
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x38], eax
call sub.MSVCR90.dll__CxxThrowException
push edi
call fcn.10006750
add esp, 4
test eax, eax
jne 0x1000834e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100e91f8
lea edx, [ebp - 0x48]
mov ecx, str.Chrome::Protector::InitHistoryReflection
push edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
call sub.MSVCR90.dll__CxxThrowException
lea ecx, [ebp + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.1000ba20
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.100ba2f9
add ebp, 0x78
mov esp, ebp
pop ebp
ret