Function at 0x4014b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425a1f
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov esi, ecx
push str.user_pref__browser.startup.homepage_
lea ecx, [esp + 0x180]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x1ac], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x427a08
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1ac], 1
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.prefs.js
lea ecx, [esp + 0x12c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x427a08
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ac], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x427a0c
lea ecx, [esp + 0x148]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x12c]
mov esi, 8
cmp dword [esp + 0x140], esi
jae 0x40159e
lea eax, [esp + 0x12c]
push 1
push 0x40
push 1
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_wchar_t__struct_std::char_traits_wchar_t__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x1a8], 3
cmp dword [esp + 0x15c], esi
mov eax, dword [esp + 0x148]
jae 0x4015ce
lea eax, [esp + 0x148]
push 1
push 0x40
push 2
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::constructor_wchar_t_const___int__int_]
mov byte [esp + 0x1a8], 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
xor bl, bl
cmp dword [esp + ecx + 0x14], 0
jne 0x4016ce
lea ecx, [esp + 0x160]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x1a8], 5
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x14], 1
jne 0x4016b5
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::getline_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
jmp 0x401630
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x10]
push edx
call esi
add esp, 8
push 0
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x168]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_const]
test eax, eax
lea edx, [esp + 0x9c]
jl 0x401682
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push ecx
push ecx
push edi
push edx
call fcn.00402470
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov bl, 1
jmp 0x4016a2
mov eax, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push eax
lea ecx, [esp + 0x164]
push ecx
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x14], 1
je 0x401630
mov esi, 8
lea ecx, [esp + 0x160]
mov byte [esp + 0x1a8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
jne 0x4016ef
mov edx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
push edx
push ecx
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.00402470
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_wchar_t__struct_std::char_traits_wchar_t__::close_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::close_void_]
cmp dword [esp + 0x140], esi
mov eax, dword [esp + 0x12c]
jae 0x40171d
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.MSVCR80.dll__wremove]
mov ecx, dword [esp + 0x130]
add esp, 4
cmp dword [esp + 0x140], esi
jae 0x40173e
lea ecx, [esp + 0x12c]
cmp dword [esp + 0x15c], esi
mov eax, dword [esp + 0x148]
jae 0x401755
lea eax, [esp + 0x148]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wrename]
add esp, 8
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1a8], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::vbase_dtor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1a8], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_wchar_t__struct_std::char_traits_wchar_t__::vbase_dtor_void_]
lea ecx, [esp + 0x144]
mov byte [esp + 0x1a8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x128]
mov byte [esp + 0x1a8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x17c]
mov dword [esp + 0x1a8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.00422de8
mov esp, ebp
pop ebp
ret