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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ddf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100270b0]
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 [0x10027038]
mov edx, dword [eax + 0xc]
mov ecx, 0x10027038
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x2001f
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
mov edx, dword [0x10027038]
push eax
mov eax, dword [edx + 0xc]
push ecx
mov edi, esp
mov ecx, 0x10027038
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], edi
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.Path
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x10004073
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.100031e0
add esp, 4
test eax, eax
je 0x1000407d
push eax
mov eax, ebx
call fcn.10002f40
jmp 0x1000407d
mov ebx, str.Path
call fcn.10002c40
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
lea edi, [ebp + 0x10]
call fcn.10004cc0
add esp, 4
push 0x80000002
mov byte [ebp - 4], 2
call fcn.10009630
test al, al
jne 0x100040df
mov esi, dword [ebp + 0xc]
push esi
mov ecx, 0x10022ff4
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 0x1000423f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000423f
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 0x10004103
mov byte [ebp - 0xd], 1
test al, 0x10
je 0x10004107
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 0x10004123
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp byte [ebp - 0xd], 0
jne 0x1000415d
mov esi, dword [ebp + 0xc]
push esi
mov ecx, str.MSFGADRBOE
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 0x1000423f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x1000423f
mov eax, dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10004175
push 0x80004005
call fcn.10003470
push eax
push esi
call fcn.1000be6c
add esp, 8
test eax, eax
je 0x1000418d
mov ecx, 0x100230dc
jmp 0x10004219
mov eax, dword [ebp + 0x10]
cmp dword [eax - 4], 1
jle 0x100041a6
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp + 0x10]
push edx
call fcn.100033e0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004720
add eax, 7
cmp eax, 9
ja case.0x100041b8.0
jmp dword [eax*4 + 0x100042a0]
mov ecx, 0x100230e0
mov esi, dword [ebp + 0xc]
push esi
call fcn.10003ce0
lea eax, [ebp - 0x14]
call fcn.10002a20
lea eax, [ebp + 0x10]
call fcn.10002a20
lea eax, [ebp + 0x14]
call fcn.10002a20
jmp 0x10004288
mov ecx, 0x100230e4
jmp 0x100041c4
mov ecx, 0x100230e8
jmp 0x100041c4
mov ecx, 0x100230ec
jmp 0x100041c4
mov ecx, 0x100230f0
jmp 0x100041c4
mov ecx, 0x100230f4
jmp 0x100041c4
mov ecx, 0x100230f8
jmp 0x100041c4
mov ecx, 0x100230fc
mov esi, dword [ebp + 0xc]
push esi
call fcn.10003ce0
or edx, 0xffffffff
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000423f
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 + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004262
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 + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004288
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x10