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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
jne 0x100e818
mov eax, 0x80070057
jmp 0x100eba4
push esi
push edi
push dword [ebp + 0xc]
call fcn.0100aad4
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
je 0x100eb59
cmp dword [ebp + 8], ebx
jne 0x100e8c5
push esi
push 0x1004c88
push ebx
call fcn.01010d9c
add esp, 0xc
push esi
call fcn.0100c12f
cmp eax, 1
jne 0x100e89a
push esi
call fcn.0100c268
test eax, eax
jne 0x100e89a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x100e878
and eax, edi
or eax, esi
test eax, eax
jge 0x100e889
call ebx
test eax, eax
jle 0x100e884
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100e890
mov dword [ebp - 4], 0x80004005
push dword [ebp - 8]
push 0x1004c38
jmp 0x100e8b6
push esi
call fcn.0100bf26
cmp eax, 1
jne 0x100eb45
push esi
mov dword [ebp - 4], 0x80004005
push 0x1004be0
push 1
call fcn.01010d9c
add esp, 0xc
jmp 0x100eb45
push dword [ebp + 8]
call fcn.0100aad4
mov edi, eax
mov dword [ebp + 0xc], edi
cmp edi, ebx
je 0x100ead8
push edi
call fcn.0100c12f
cmp eax, 1
jne 0x100eb16
push esi
push edi
push 0x1004b68
push ebx
call fcn.01010d9c
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 0x18
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
mov edi, 0xffff
mov esi, 0x80070000
je 0x100e973
push dword [ebp - 8]
xor ecx, ecx
mov word [eax], cx
call fcn.0100b671
test eax, eax
jne 0x100e960
call ebx
test eax, eax
jle 0x100e936
and eax, edi
or eax, esi
test eax, eax
jge 0x100e947
call ebx
test eax, eax
jle 0x100e942
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100e94e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 8]
push 0x1004b10
push 1
call fcn.01010d9c
add esp, 0xc
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push 0x5c
pop eax
mov word [ecx], ax
jl 0x100eb2d
push 0
push dword [ebp + 0xc]
call fcn.0100b27d
push 0
push dword [ebp - 8]
mov dword [ebp + 8], eax
call fcn.0100b27d
cmp dword [ebp + 8], 0
mov dword [ebp - 0xc], eax
je 0x100ea75
test eax, eax
je 0x100ea75
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
dec eax
dec eax
jne 0x100e9c3
push 0x1004a90
push eax
jmp 0x100eaa0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100ea25
push dword [ebp - 8]
push 0x1004a38
push 0
call fcn.01010d9c
add esp, 0xc
push dword [ebp - 8]
call fcn.0100c268
test eax, eax
jne 0x100ea25
call ebx
test eax, eax
jle 0x100e9fb
and eax, edi
or eax, esi
test eax, eax
jge 0x100ea0c
call ebx
test eax, eax
jle 0x100ea07
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100ea13
mov dword [ebp - 4], 0x80004005
push dword [ebp - 8]
push 0x10049f0
push 1
call fcn.01010d9c
add esp, 0xc
cmp dword [ebp - 4], 0
jl 0x100eaa7
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0100b824
test eax, eax
jne 0x100eaa7
call ebx
test eax, eax
jle 0x100ea46
and eax, edi
or eax, esi
test eax, eax
jge 0x100ea57
call ebx
test eax, eax
jle 0x100ea52
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100ea5e
mov dword [ebp - 4], 0x80004005
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0x10049a0
push 1
call fcn.01010d9c
add esp, 0x10
jmp 0x100eaa7
call ebx
test eax, eax
jle 0x100ea81
and eax, edi
or eax, esi
test eax, eax
jge 0x100ea92
call ebx
test eax, eax
jle 0x100ea8d
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100ea99
mov dword [ebp - 4], 0x80004005
push 0x1004918
push 1
call fcn.01010d9c
pop ecx
pop ecx
xor esi, esi
cmp dword [ebp + 8], esi
je 0x100eabf
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], esi
je 0x100eb2d
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100eb2d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x100eaf4
and eax, edi
or eax, esi
test eax, eax
jge 0x100eb05
call ebx
test eax, eax
jle 0x100eb00
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100eb0c
mov dword [ebp - 4], 0x80004005
push dword [ebp + 8]
push 0x10048c0
jmp 0x100eb23
push edi
mov dword [ebp - 4], 0x80070002
push 0x1004868
push 1
call fcn.01010d9c
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x100eb45
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100eb9f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x100eb75
and eax, edi
or eax, esi
test eax, eax
jge 0x100eb86
call ebx
test eax, eax
jle 0x100eb81
and eax, edi
or eax, esi
mov dword [ebp - 4], eax
jmp 0x100eb8d
mov dword [ebp - 4], 0x80004005
push dword [ebp + 0xc]
push 0x1004818
push 1
call fcn.01010d9c
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8