Function at 0x1004c9d3
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x48
mov eax, 0x100c157d
call fcn.100a35ac
sub esp, 0x90
push ebx
push esi
mov esi, dword [ebp + 0x54]
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [esi - 0xc], ebx
jne 0x1004ca04
mov eax, 0x80004005
jmp 0x1004cc88
call fcn.10025322
cmp al, bl
je 0x1004c9fa
lea eax, [ebp + 0x48]
lea ecx, [esi + 0x64]
push eax
mov dword [ebp + 0x44], ecx
call fcn.10064264
push dword [ebp + 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004ca3a
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1004c9fa
push dword [ebp + 0x58]
lea ecx, [ebp + 0x58]
call fcn.100027e0
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1004ca53
mov eax, dword [eax]
jmp 0x1004ca55
xor eax, eax
push eax
lea ecx, [ebp + 0x54]
call fcn.10005f07
mov ecx, dword [ebp + 0x58]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x1004ca71
call fcn.10003111
mov dword [ebp + 0x58], ebx
push dword [ebp + 0x54]
lea ecx, [ebp]
call fcn.10006227
lea eax, [ebp]
push str.http:__www.mozilla.org_keymaster_gatekeeper_there.is.only.xul
push eax
mov byte [ebp - 4], 5
call fcn.10050ed4
pop ecx
pop ecx
cmp eax, ebx
je 0x1004cb77
lea eax, [ebp + 0x34]
push ebx
push eax
call fcn.100404f4
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp + 0x38], esp
push str.ff.xsl
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.100053c1
lea eax, [ebp - 0x9c]
add esp, 0xc
push eax
call fcn.1007fe93
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 7
jb 0x1004cada
mov eax, dword [eax + 4]
jmp 0x1004cadd
add eax, 4
push eax
lea ecx, [ebp + 0x58]
call fcn.10005f07
push ebx
push 1
lea ecx, [ebp - 0x9c]
call fcn.100035a9
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xa
call fcn.10001d29
push str._xsl:variable_name_client_mode__0__xsl:variable_
push str._xsl:variable_name_client_mode__1__xsl:variable_
lea ecx, [ebp + 0x58]
call fcn.100047f1
push ecx
lea eax, [ebp + 0x58]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
call fcn.10003561
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0xb
jae 0x1004cb34
lea eax, [ebp + 4]
push ecx
mov ecx, esp
mov dword [ebp + 0x40], esp
push eax
call fcn.10005f07
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xa
call fcn.1004b5b2
add esp, 0xc
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0xc
call fcn.10004a20
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001d29
push ecx
mov ecx, esp
mov dword [ebp + 0x58], esp
mov esi, str.TOOLBAR
push esi
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x40], esp
mov edi, 0x100cb0a0
push edi
mov byte [ebp - 4], 0xd
call fcn.10005f07
push 1
push ecx
lea eax, [ebp + 0x48]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.10003561
push dword [ebp + 0x44]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.10089796
push ecx
mov ecx, esp
mov dword [ebp + 0x58], esp
push esi
mov byte [ebp - 4], 0xf
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x40], esp
push edi
mov byte [ebp - 4], 0x10
call fcn.10005f07
push ebx
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x11
call fcn.10003561
push dword [ebp + 0x44]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.10089796
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x12
call fcn.10088122
cmp eax, ebx
jle 0x1004cc26
push ebx
lea ecx, [ebp - 0x80]
call fcn.1008812c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
jmp 0x1004cc28
xor eax, eax
cmp eax, ebx
je 0x1004cc4d
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.100889ec
cmp al, bl
je 0x1004cc9c
push 1
lea ecx, [ebp - 0x48]
call fcn.10088bcb
mov ecx, dword [ebp + 0x44]
call fcn.1006448c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.100888f7
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.100888f7
push ebx
push 1
lea ecx, [ebp]
call fcn.100035a9
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x4c
leave
ret 8
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.100888f7
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.100888f7
push ebx
push 1
lea ecx, [ebp]
call fcn.100035a9
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1004ca2d