Function at 0x41598a
Capabilities:
Check if file exists

Disassembly:
push 0x204
mov eax, 0x4c687e
call fcn.0049f5ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov ebx, 0x4d51f0
inc edi
push ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], edi
call fcn.00405394
push str.CFirefoxBrowser_GetToolbarInstallState___start
lea ecx, [ebp - 0xf0]
call fcn.00404bd0
lea eax, [ebp - 0xf0]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004017f5
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push edi
lea ecx, [ebp - 0xf0]
call fcn.004058b3
push str.CFirefoxBrowser_GetToolbarInstallState__ff_toolbar_id
lea ecx, [ebp - 0xf0]
call fcn.00404bd0
push dword [ebp - 0xcc]
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 4], edi
call fcn.00401985
pop ecx
pop ecx
push esi
push edi
lea ecx, [ebp - 0xf0]
call fcn.004058b3
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.00405a99
push ebx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 2
call fcn.00404bd0
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.00414961
push esi
push 1
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004058b3
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x415a76
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x210]
call fcn.0041c01b
mov byte [ebp - 4], 4
push dword [eax]
lea ecx, [ebp - 0x80]
call fcn.00404bd0
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], eax
je 0x415aaa
push dword [ebp - 0x210]
call fcn.0049f900
pop ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00405ece
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00405301
push str.extensions_
lea ecx, [ebp - 0x2c]
call fcn.004052dd
push 0xffffffffffffffff
push esi
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x2c]
call fcn.00405c92
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x415af7
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x415b25
mov ecx, dword [ebp - 0xd4]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0xd0], 2
call fcn.00405301
jmp 0x415bec
push str.SOFTWAREMozillaFirefoxextensions
lea ecx, [ebp - 0xf0]
call fcn.00404bd0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.004069e3
push esi
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.004058b3
push ebx
lea ecx, [ebp - 0x10c]
call fcn.00404bd0
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0xcc]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
call fcn.00406d31
push esi
push 1
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.004058b3
cmp dword [ebp - 0x50], esi
je 0x415bd6
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x415bb3
lea eax, [ebp - 0x60]
push eax
call edi
test eax, eax
je 0x415bd6
mov ecx, dword [ebp - 0xd4]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0xd0], 3
call fcn.00405301
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004058b3
lea ecx, [ebp - 0xc8]
call fcn.004017b6
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004058b3
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.004058b3
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00404ec6
mov eax, dword [ebp - 0xd0]
call fcn.0049f62e
ret 8