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

Disassembly:
mov eax, 0x100120f8
call sub.MSVCRT.dll__EH_prolog
push ecx
mov eax, 0x4e30
call fcn.10011d20
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 1
push dword [edi + 0x74]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2730]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [edi + 0x90]
pop ecx
test eax, eax
pop ecx
je 0x10002aa6
cmp byte [eax], 0
je 0x10002aa6
lea eax, [ebp - 0x2730]
push eax
call sub.MSVCRT.dll_strlen
push dword [edi + 0x90]
mov esi, eax
call sub.MSVCRT.dll_strlen
pop ecx
cmp esi, eax
pop ecx
jle 0x10002aa6
sub esi, eax
lea esi, [ebp + esi - 0x2730]
cmp byte [esi - 1], 0x2e
jne 0x10002aa6
push dword [edi + 0x90]
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x10002aa6
and byte [esi - 1], al
mov esi, dword [sym.imp.MSVCRT.dll_strrchr]
lea eax, [ebp - 0x2730]
push 0x2e
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x2730]
push 0x5c
push eax
call esi
xor esi, esi
add esp, 0x10
cmp ebx, esi
je 0x10002ada
cmp eax, ebx
jbe 0x10002ad3
xor ebx, ebx
cmp ebx, esi
je 0x10002ada
and byte [ebx], 0
cmp dword [edi + 8], esi
je 0x10002b17
lea eax, [ebp - 0x2730]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x2730]
cmp byte [eax - 1], 0x29
jne 0x10002b17
add eax, 0xfffffffe
jmp 0x10002b09
cmp cl, 0x30
jl 0x10002b0f
cmp cl, 0x39
jg 0x10002b0f
dec eax
mov cl, byte [eax]
test cl, cl
jne 0x10002afe
cmp byte [eax], 0x28
jne 0x10002b17
and byte [eax], 0
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x18]
cmp ebx, esi
je 0x10002b40
lea ecx, [ebx + 1]
push ecx
push eax
lea eax, [ebp - 0x2730]
push eax
lea eax, [ebp - 0x14]
push str._s__d_._s
push eax
call fcn.10002c57
add esp, 0x14
jmp 0x10002b59
push eax
lea eax, [ebp - 0x2730]
push eax
lea eax, [ebp - 0x14]
push str._s__d_
push eax
call fcn.10002c57
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10002b17
mov eax, dword [edi + 0x74]
cmp eax, esi
je 0x10002b78
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [edi + 0x74], esi
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
je 0x10002b8c
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
pop ecx
jmp 0x10002b8e
xor eax, eax
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [edi + 0x74], eax
jne 0x10002ba4
call fcn.100081bb
jmp 0x10002bf5
push dword [ebp - 0x14]
and byte [ebp - 4], 0
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x4e40]
push eax
push dword [ebp - 0x14]
call fcn.10007c03
add esp, 0x10
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
lea eax, [ebp - 0x4e40]
push eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push 0x10016270
je 0x10002bfd
push str._s___s_
jmp 0x10002c02
mov dword [ebp - 4], esi
jmp 0x10002b78
push str._s__s
push eax
call fcn.10002c57
add esp, 0x10
mov ecx, edi
push 4
push dword [ebp - 0x1c]
call fcn.1000282e
push 3
push 0x15
mov ecx, edi
call fcn.10002e28
and byte [ebp - 4], 0
cmp dword [ebp - 0x1c], esi
je 0x10002c34
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], esi
je 0x10002c46
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4