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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x7f30b094]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], esi
je 0x7f2e24e1
mov eax, dword [0x7f30ba08]
cmp eax, edi
jne 0x7f2e24ce
push 0x7f2d2e34
call fcn.7f2d4139
cmp eax, edi
mov dword [0x7f30ba08], eax
je 0x7f2e24da
push esi
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x7f2e2711
push 0x7f
jmp 0x7f2e2709
cmp ebx, edi
jne 0x7f2e24ec
push 3
jmp 0x7f2e2709
cmp esi, edi
je 0x7f2e2707
cmp dword [ebp + 0xc], edi
jne 0x7f2e2707
push ebx
call fcn.7f2daf04
cmp eax, 0x104
pop ecx
jbe 0x7f2e2512
push 0x6f
jmp 0x7f2e2709
cmp ebx, 0xffff
jbe 0x7f2e25e2
push ebx
call fcn.7f2daf04
mov esi, eax
mov eax, dword [0x7f30b088]
inc esi
imul eax, esi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e2559
mov eax, dword [0x7f30b088]
imul eax, esi
cmp eax, edi
je 0x7f2e2559
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x148], esp
jmp 0x7f2e255f
mov dword [ebp - 0x148], edi
cmp dword [ebp - 0x148], edi
je 0x7f2e270f
cmp dword [0x7f30bacc], edi
mov dword [ebp - 0x14c], edi
jne 0x7f2e2582
cmp byte [0x7f30b08d], 0
je 0x7f2e2587
mov edi, 0x400
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
test eax, eax
mov eax, dword [0x7f30bac8]
jne 0x7f2e259b
mov eax, dword [0x7f30b084]
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, dword [0x7f30b088]
imul ecx, esi
push 0x7f2d2cc0
push ecx
push dword [ebp - 0x148]
push esi
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x14c], 0
jne 0x7f2e25d2
test eax, eax
je 0x7f2e25d2
push 0
jmp 0x7f2e25d4
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp - 0x148]
xor edi, edi
cmp ebx, edi
je 0x7f2e270f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7f2e270f
cmp byte [ebx], al
mov esi, ebx
je 0x7f2e266c
mov eax, dword [0x7f30bac8]
cmp eax, 0x3a4
je 0x7f2e262d
cmp eax, 0x3b5
je 0x7f2e262d
cmp eax, 0x3b6
je 0x7f2e262d
cmp eax, 0x3a8
je 0x7f2e262d
cmp eax, 0x551
je 0x7f2e262d
cmp eax, 0xd698
jne 0x7f2e2652
xor eax, eax
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x7f2e264d
lea eax, [esi + 1]
cmp byte [eax], 0
je 0x7f2e264d
mov esi, eax
mov eax, dword [0x7f30bac8]
jmp 0x7f2e2666
mov eax, dword [0x7f30bac8]
mov cl, byte [esi]
cmp cl, 0x3f
je 0x7f2e2703
cmp cl, 0x2a
je 0x7f2e2703
inc esi
cmp byte [esi], 0
jne 0x7f2e2603
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x7f2e2711
push 0x50
pop ecx
lea edi, [ebp - 0x144]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x7f2e26a5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x150]
xor eax, eax
push 9
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x140]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x13c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x138]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x134]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x130]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x12c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x124]
mov dword [edx + 0x20], eax
xor eax, eax
mov dword [edx], esi
inc eax
jmp 0x7f2e2711
push 0x7b
jmp 0x7f2e2709
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
lea esp, [ebp - 0x15c]
mov ecx, dword [ebp - 4]
call fcn.7f2fed53
pop edi
pop esi
pop ebx
leave
ret 0xc