Function at 0x4bfb53
Capabilities:
Check if file exists
Delete file

Disassembly:
push pe_nt_image_headers32
mov eax, 0x572312
call fcn.0054d478
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov byte [ecx], 0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
mov byte [eax], 0
call fcn.00462c28
cmp byte [eax], 0
jne 0x4bfbdd
lea eax, [ebp - 0xf4]
push eax
call fcn.00409b60
and dword [ebp - 4], 0
lea eax, [ebp - 0xec]
push str.CFirefoxBrowser::HandleXMLInInstalltion___start
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0xf4]
call fcn.00407170
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00406a80
lea ecx, [ebp - 0x34]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf4]
call fcn.00407660
jmp 0x4bfcf2
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
call fcn.00462c28
lea esi, [ebp - 0x50]
call fcn.00406720
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4bfc10
mov esi, dword [eax + 4]
jmp 0x4bfc13
lea esi, [eax + 4]
lea eax, [ebp - 0xec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::HandleXMLInInstalltion___start
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00409c40
lea eax, [ebp - 0x58]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov ebx, 0x2710
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4bfca3
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xec]
call fcn.00406700
push 0x448
push str..FirefoxBrowser.cpp
push eax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x50]
call fcn.00409c40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4bfcf7
mov ebx, 0x2710
cmp dword [edi + 0x18], 8
jb 0x4bfd02
mov eax, dword [edi + 4]
jmp 0x4bfd05
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4c009c
call fcn.00462c28
cmp byte [eax], 0
jne 0x4bfd95
lea eax, [ebp - 0xf4]
push eax
call fcn.00409b60
push edi
push ecx
push 0x5967ac
push ecx
lea eax, [ebp - 0xec]
push str.CFirefoxBrowser::HandleXMLInInstalltion___File_Path
push eax
mov dword [ebp - 4], 9
call fcn.00407390
add esp, 0xc
push eax
call fcn.00407390
add esp, 0xc
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0xf4]
call fcn.00407170
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.00406a80
lea ecx, [ebp - 0x34]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf4]
call fcn.00407660
jmp 0x4bfec0
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
call fcn.00462c28
lea esi, [ebp - 0x50]
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4bfdc8
mov esi, dword [eax + 4]
jmp 0x4bfdcb
lea esi, [eax + 4]
lea eax, [ebp - 0xec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::HandleXMLInInstalltion___File_Path
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5967ac
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.00409c40
lea eax, [ebp - 0x58]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4bfe6c
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xec]
call fcn.00406700
push 0x44b
push str..FirefoxBrowser.cpp
push eax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x50]
call fcn.00409c40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0xb
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4bfec0
cmp byte [ebp + 0x10], 0
je 0x4c004d
cmp dword [edi + 0x18], 8
jb 0x4bfed5
mov eax, dword [edi + 4]
jmp 0x4bfed8
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00462c28
cmp byte [eax], 0
jne 0x4bff45
lea eax, [ebp - 0xf4]
push eax
call fcn.00409b60
lea eax, [ebp - 0xec]
push str.CFirefoxBrowser::HandleXMLInInstalltion___delete
push eax
mov dword [ebp - 4], 0x12
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0xf4]
call fcn.00407170
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.00406a80
lea ecx, [ebp - 0x34]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf4]
call fcn.00407660
jmp 0x4c009c
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], 0x14
call fcn.004068d0
mov byte [ebp - 4], 0x15
call fcn.00462c28
lea esi, [ebp - 0x50]
call fcn.00406720
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x4bff78
mov esi, dword [eax + 4]
jmp 0x4bff7b
lea esi, [eax + 4]
lea eax, [ebp - 0xec]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::HandleXMLInInstalltion___delete
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call fcn.00409c40
lea eax, [ebp - 0x58]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4c0006
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0xec]
call fcn.00406700
push 0x44e
push str..FirefoxBrowser.cpp
push eax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x18
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x50]
call fcn.00409c40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x15
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x14
call fcn.004067e0
jmp 0x4bff40
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
mov byte [eax], 1
cmp dword [esi + 0x14], 0
je 0x4c009c
cmp dword [edi + 0x18], 8
jb 0x4c0067
mov ecx, dword [edi + 4]
jmp 0x4c006a
lea ecx, [edi + 4]
lea eax, [ebp - 0x50]
push eax
mov edx, str.SearchPlugin_ShortName
call fcn.00465416
pop ecx
lea eax, [ebp - 0x50]
mov ecx, esi
mov dword [ebp - 4], 0x1b
call fcn.004117a0
test eax, eax
jne 0x4c0094
mov eax, dword [ebp - 0x60]
mov byte [eax], 1
lea ecx, [ebp - 0x50]
call fcn.00409c40
call fcn.0054d4d4
ret 0xc