Function at 0x10004bf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100263b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x100370a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10003730
add eax, 0x10
mov dword [esi], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push ecx
mov ecx, str.SoftwareMozillaFirefoxExtensions
mov byte [ebp - 4], 1
call fcn.10003060
push 0x80000001
lea edx, [edi + 4]
push edx
mov byte [ebp - 4], bl
call fcn.1000cd40
cmp al, bl
jne 0x10004cb7
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x1002f514
call fcn.10003060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004dd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10004dd5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x18], eax
call fcn.10003730
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004cdc
mov byte [ebp - 0xd], 1
test al, 0x10
je 0x10004cdf
mov byte [ebp - 0xd], bl
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004cfb
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp byte [ebp - 0xd], bl
jne 0x10004d1d
mov esi, dword [ebp + 8]
push esi
mov ecx, str.MSFFFFELENRADBO_
call fcn.10003060
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
jmp 0x10004c95
lea esi, [ebp - 0x1c]
mov ecx, edi
call fcn.10004ad0
mov byte [ebp - 4], 2
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004d42
push 0x80004005
call fcn.100040a0
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.100137f0
add esp, 8
cmp eax, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], bl
je 0x10004d99
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x1002f5ac
call fcn.10003060
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
jmp 0x10004c95
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
sub eax, 0x10
call fcn.10003730
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004dbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x1002f5e0
call fcn.10003060
lea ecx, [ebp - 0x14]
call fcn.100031a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4