Function at 0x4c7b56
Capabilities:
Check if file exists

Disassembly:
push 0x20c
mov eax, 0x58648c
call fcn.0054d478
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
push eax
mov eax, 0x59672c
mov dword [ebp - 0xf4], 1
call fcn.00406690
call fcn.00462c28
mov al, byte [eax]
xor ebx, ebx
cmp al, bl
jne 0x4c7bf1
lea eax, [ebp - 0x19c]
push eax
call fcn.00409b60
lea eax, [ebp - 0x194]
push str.CFirefoxBrowser_GetToolbarInstallState___start
push eax
mov dword [ebp - 4], ebx
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x19c]
call fcn.00407170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00406a80
lea ecx, [ebp - 0x30]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x19c]
call fcn.00407660
jmp 0x4c7d1d
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
call fcn.00462c28
lea esi, [ebp - 0x114]
call fcn.00406720
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4c7c27
mov esi, dword [eax + 4]
jmp 0x4c7c2a
lea esi, [eax + 4]
lea eax, [ebp - 0x194]
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_GetToolbarInstallState___start
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
call fcn.00409c40
lea eax, [ebp - 0xf0]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov edi, 0x2710
push edi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4c7ccc
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x194]
call fcn.00406700
push 0x710
push str..FirefoxBrowser.cpp
push eax
push edi
lea ecx, [ebp - 0xf0]
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 - 0x114]
call fcn.00409c40
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 2
call fcn.004067e0
or dword [ebp - 4], 0xffffffff
jmp 0x4c7d22
mov edi, 0x2710
call fcn.00462c28
cmp byte [eax], bl
jne 0x4c7da2
lea eax, [ebp - 0x19c]
push eax
call fcn.00409b60
push dword [ebp - 0xe8]
lea eax, [ebp - 0x194]
push 0x5967ac
push str.CFirefoxBrowser_GetToolbarInstallState__ff_toolbar_id
push eax
mov dword [ebp - 4], 9
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x19c]
call fcn.00407170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00406a80
lea ecx, [ebp - 0x30]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x19c]
call fcn.00407660
jmp 0x4c7edc
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
call fcn.00462c28
lea esi, [ebp - 0x114]
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4c7dd8
mov esi, dword [eax + 4]
jmp 0x4c7ddb
lea esi, [eax + 4]
lea eax, [ebp - 0x194]
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_GetToolbarInstallState__ff_toolbar_id
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5967ac
push eax
call fcn.00407390
pop ecx
pop ecx
push dword [ebp - 0xe8]
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
call fcn.00409c40
lea eax, [ebp - 0xf0]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
push edi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4c7e93
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x194]
call fcn.00406700
push 0x711
push str..FirefoxBrowser.cpp
push eax
push edi
lea ecx, [ebp - 0xf0]
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 - 0x114]
call fcn.00409c40
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0xb
call fcn.004067e0
jmp 0x4c7edc
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
call fcn.00408900
mov eax, 0x59672c
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0x12
call fcn.004066c0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.004c5512
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.00409c40
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x80]
jae 0x4c7f2e
lea eax, [ebp - 0x80]
push 3
pop edi
push edi
lea ecx, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], ecx
call fcn.00411a80
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0xa0]
call fcn.004066c0
lea eax, [ebp - 0x214]
cmp dword [ebp - 0x218], eax
je 0x4c7f79
push dword [ebp - 0x218]
call fcn.005472c2
pop ecx
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
call fcn.00406f00
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x5b8ff8
call fcn.00411970
push ebx
push dword [ebp - 0xe8]
or eax, 0xffffffff
lea esi, [ebp - 0x4c]
call fcn.004117d0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4c7fca
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x4c7ff7
mov ecx, dword [ebp - 0xf8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xf4], 2
call fcn.00406f00
jmp 0x4c80ac
mov eax, str.SOFTWAREMozillaFirefoxextensions
lea ecx, [ebp - 0x30]
call fcn.004066c0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x18
call fcn.0046ed07
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.00409c40
mov eax, 0x59672c
lea ecx, [ebp - 0x114]
call fcn.004066c0
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0xe4]
mov byte [ebp - 4], 0x1b
call fcn.0046f7c4
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1d
call fcn.00409c40
cmp dword [ebp - 0x54], ebx
je 0x4c8099
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x4c807b
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
je 0x4c8099
mov ecx, dword [ebp - 0xf8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
mov dword [ebp - 0xf4], edi
call fcn.00406f00
lea ecx, [ebp - 0x68]
call fcn.00409c40
lea ecx, [ebp - 0xe4]
call fcn.00415ec0
lea ecx, [ebp - 0x4c]
call fcn.00409c40
lea ecx, [ebp - 0xa0]
call fcn.00409c40
lea ecx, [ebp - 0x84]
call fcn.00408970
mov eax, dword [ebp - 0xf4]
call fcn.0054d4d4
ret 8