Function at 0x41e350
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c5268
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
lea ecx, [esp + 0x30]
push ecx
mov ecx, str.firefox.exe
mov dword [esp + 0x25c], eax
call fcn.0040e590
add esp, 4
mov ebx, 8
test al, al
je 0x41e646
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x41e3d7
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e646
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x56]
push eax
mov word [esp + 0x58], dx
call fcn.00497680
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x48], ebx
jae 0x41e40e
lea edi, [esp + 0x34]
push pe_nt_image_headers32
lea ecx, [esp + 0x50]
call fcn.0041c8c0
add esp, 4
test al, al
je 0x41e646
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404050
mov byte [esp + 0x258], 1
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x41e44b
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404050
push str.FirefoxURL
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 2
call fcn.00404050
mov byte [esp + 0x258], 3
mov edx, dword [0x4fc0d8]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fc0d8
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x258], 4
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push str.__s___osint__url____1_
push edx
call fcn.004048a0
add esp, 0xc
push 0x4d67f4
lea ecx, [esp + 0x20]
call fcn.00404050
push 0x4d67f4
lea ecx, [esp + 0x30]
mov byte [esp + 0x25c], 5
call fcn.00404050
mov bl, 6
push 0x4d67f4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], bl
call fcn.00404050
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x67
lea edx, [esp + 0x44]
mov byte [esp + 0x278], 7
call fcn.0041c740
mov byte [esp + 0x258], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e53e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e58e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e606
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e62e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x48], 8
jb 0x41e642
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00493cb0
add esp, 4
mov al, 1
jmp 0x41e65b
cmp dword [esp + 0x48], ebx
jb 0x41e659
mov edx, dword [esp + 0x34]
push edx
call fcn.00493cb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00497941
add esp, 0x24c
ret