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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10060ac]
and dword [ebp - 0x210], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], eax
je 0x1002759
and dword [esi], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x10011d4
push edi
call ebx
test eax, eax
jne 0x10023d0
mov eax, dword [ebp - 0x218]
mov byte [eax], 0
mov dword [ebp - 0x210], 1
jmp 0x1002758
push 0x10011e4
push dword [ebp - 0x214]
call ebx
test eax, eax
jne 0x10023ff
mov eax, dword [ebp - 0x218]
mov byte [eax], 0
mov dword [ebp - 0x210], 1
mov dword [esi], 0x10
jmp 0x1002758
push 0x1001430
push dword [ebp - 0x214]
call ebx
test eax, eax
je 0x1002720
push 0x100142c
push dword [ebp - 0x214]
call ebx
test eax, eax
je 0x1002720
push 0x10011c4
push dword [ebp - 0x214]
call ebx
test eax, eax
jne 0x1002467
push dword [ebp + 0x20]
push dword [ebp - 0x218]
push 0x1804
push 0x7d4
push 0
push dword [ebp - 0x21c]
push dword [ebp - 0x224]
call fcn.0100210b
test eax, eax
jmp 0x10026dc
push 0x10011cc
push dword [ebp - 0x214]
call ebx
test eax, eax
jne 0x100248d
push dword [ebp + 0x20]
push dword [ebp - 0x218]
push 0x804
push 0x7d6
jmp 0x100244d
push 7
push 0x10011ec
push edi
call fcn.01002268
test eax, eax
jne 0x10024f5
add edi, 7
je 0x1002758
mov al, byte [edi]
test al, al
je 0x10024be
cmp al, 0x20
jne 0x10024be
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
test edi, edi
jne 0x10024a7
test edi, edi
je 0x1002758
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1002758
push dword [ebp + 0x20]
push edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [ebp - 0x210], eax
jmp 0x1002758
push 0xd
push 0x10011fc
push edi
call fcn.01002268
test eax, eax
jne 0x1002558
add edi, 0xd
je 0x1002758
mov al, byte [edi]
test al, al
je 0x1002526
cmp al, 0x20
jne 0x1002526
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
test edi, edi
jne 0x100250f
test edi, edi
je 0x1002758
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1002758
push dword [ebp + 0x20]
push edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esi], 0x1000
jmp 0x10023c1
push 7
push 0x10011f4
push edi
call fcn.01002268
test eax, eax
jne 0x100259c
add edi, 6
je 0x1002758
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1002758
push dword [ebp + 0x20]
push edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esi], 0x100
jmp 0x10023c1
push 5
push 0x1001218
push edi
call fcn.01002268
test eax, eax
jne 0x10025b8
mov dword [esi], 0x10000
jmp 0x10023c1
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10025ef
test al, 0x10
push dword [ebp + 0x20]
je 0x10026e6
push dword [ebp - 0x218]
push 0x1804
push 0x7d4
push dword [ebp - 0x214]
jmp 0x100244f
xor esi, esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
push 0x208
jne 0x1002668
lea eax, [ebp - 0x20c]
push eax
push 0x7d8
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2500
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x30
push dword [ebp - 0x228]
push dword [ebp - 0x220]
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1002758
cmp eax, 2
lea eax, [ebp - 0x20c]
push eax
jne 0x10026fd
push 0x7d2
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2500
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x34
push dword [ebp - 0x228]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x220]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
sub eax, 6
je 0x10026e3
dec eax
je 0x1002758
jmp 0x10023c1
push dword [ebp + 0x20]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x10023c1
push 0x7d9
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x30
push dword [ebp - 0x228]
lea eax, [ebp - 0x20c]
push eax
push esi
jmp 0x1002752
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0x7d7
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x40
push dword [ebp - 0x228]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
call fcn.0100491e
leave
ret 0x1c