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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001dae8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100260b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [0x10026038]
mov edx, dword [eax + 0xc]
mov ecx, 0x10026038
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x2001f
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.10002e20
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov edx, dword [0x10026038]
mov eax, dword [edx + 0xc]
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], esp
mov ecx, 0x10026038
mov dword [ebp - 0x1c], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.SoftwareMozillaFirefoxExtensions
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x1000564f
mov edx, ecx
movzx edi, dx
push edi
call fcn.100031e0
add esp, 4
test eax, eax
je 0x1000565e
push eax
mov eax, edi
mov edi, ebx
call fcn.10002f40
jmp 0x1000565e
push str.SoftwareMozillaFirefoxExtensions
mov edi, 0x23
call fcn.10002d10
mov byte [ebp - 4], 3
push 0x80000001
mov byte [ebp - 4], 2
call fcn.10009630
test al, al
jne 0x100056fb
mov esi, dword [ebp + 8]
push esi
mov ecx, str.UMSFFFFELENRADBO_
call fcn.10003ce0
mov byte [ebp - 4], 1
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 0x100056a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100056cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100058a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100058a8
mov esi, dword [ebp - 0x14]
lea edi, [esi - 0x10]
mov eax, edi
call fcn.10002e20
lea ebx, [eax + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000571f
mov byte [ebp - 0xd], 1
test al, 0x10
je 0x10005723
mov byte [ebp - 0xd], 0
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000573f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp byte [ebp - 0xd], 0
jne 0x100057c2
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x10022b6c
call fcn.10003ce0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10005770
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100058a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100058a8
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x100057da
push 0x80004005
call fcn.10003470
push eax
push esi
call fcn.1000be6c
add esp, 8
test eax, eax
je 0x1000585e
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x10022b70
call fcn.10003ce0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005813
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100058a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100058a8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002e20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005882
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, 0x10022ba4
call fcn.10003ce0
lea eax, [ebp - 0x14]
call fcn.10002a20
lea eax, [ebp + 0xc]
call fcn.10002a20
lea eax, [ebp + 0x10]
call fcn.10002a20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc