Function at 0x10012b11
Capabilities:
Check if file exists

Disassembly:
push 0x88
mov eax, 0x10036a61
call fcn.1003265b
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x20]
push eax
mov edi, 0x1000490c
call fcn.1001e8e8
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp + 0xc]
call fcn.10011003
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x14]
push eax
mov edi, 0x10004928
call fcn.1001e8e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.10011003
lea ebx, [ebp - 0x24]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.1000d76f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
mov edi, dword [eax]
push ecx
call fcn.1001e8e8
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10012bb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x48]
push eax
mov edi, 0x10004940
call fcn.1001e8e8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.10011003
lea ebx, [ebp - 0x40]
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.1000d76f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
mov edi, dword [eax]
push ecx
call fcn.1001e8e8
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x10012c20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x14]
push eax
mov edi, 0x10004954
call fcn.1001e8e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
push eax
mov eax, dword [ebp + 0xc]
call fcn.10011003
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp + 0xc]
push eax
mov edi, 0x10004964
call fcn.1001e8e8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.10011003
lea ebx, [ebp - 0x50]
mov esi, eax
mov byte [ebp - 4], 0x15
call fcn.1000d76f
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x3c]
xor esi, esi
cmp eax, esi
je 0x10012ca3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10028460
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x7c], 0x10003aa4
mov dword [ebp - 0x78], 0x10003ab4
mov dword [ebp - 0x74], 0x10003ac4
mov dword [ebp - 0x70], 0x10004974
mov dword [ebp - 0x6c], 0x10004990
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + eax*4 - 0x7c]
lea eax, [ebp - 0x14]
push eax
call fcn.1001e8e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
call fcn.10011003
lea ebx, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], 0x1b
call fcn.1000d76f
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x10012d2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x20]
call fcn.10028199
lea esi, [ebp - 0x20]
test eax, eax
jg 0x10012d4b
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x24]
push eax
call fcn.1001e8e8
push esi
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 0x1f
call fcn.1001f5fd
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10028460
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 5
jb 0x10012ce1
lea eax, [ebp - 0x30]
push eax
call fcn.10011e75
mov byte [ebp - 4], 0x20
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10012dbb
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
setne al
jmp 0x10012e5a
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.100283fd
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x21
push dword [ebp - 0x2c]
lea eax, [ebp + 0xc]
call fcn.10011003
push dword [ebp - 0x18]
lea eax, [ebp + 0xc]
call fcn.10011003
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
jne 0x10012e0e
lea eax, [ebp - 0x30]
lea edi, [ebp + 0xc]
call fcn.1001ea8d
push dword [ebp - 0x18]
mov eax, edi
call fcn.10011003
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
je 0x10012e4c
lea eax, [ebp + 0xc]
lea edi, [ebp - 0x18]
call fcn.1001ea8d
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x20
call fcn.10028460
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10012ec0
push dword [ebp - 0x1c]
call esi
test eax, eax
setne al
jmp 0x10012f92
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x20
call fcn.10028460
xor al, al
test al, al
jne 0x10012e2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1000c9bb
mov esi, 0x10006e38
mov dword [ebp - 0x44], esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x22
call fcn.1000cb96
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x23
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 4]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d1b4
mov dword [ebp - 0x28], esi
push 0x10038364
lea eax, [ebp - 0x28]
push eax
call fcn.10011003
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.100283fd
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x24
push dword [ebp - 0x2c]
lea eax, [ebp + 0xc]
call fcn.10011003
push dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
call fcn.10011003
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x10012f0d
lea eax, [ebp - 0x30]
lea edi, [ebp + 0xc]
call fcn.1001ea8d
push dword [ebp - 0x1c]
mov eax, edi
call fcn.10011003
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
je 0x10012f84
lea eax, [ebp + 0xc]
lea edi, [ebp - 0x1c]
call fcn.1001ea8d
lea eax, [ebx - 0x10]
call fcn.10028460
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [edi], 0x1000731c
call fcn.100283fd
add eax, 0x10
mov dword [edi + 4], eax
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100283fd
add eax, 0x10
mov dword [edi + 8], eax
lea esi, [edi + 0xc]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov byte [ebp - 4], 0x2a
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x34], eax
jle 0x10013028
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
sub ecx, ebx
mov dword [ebp + 0x10], ecx
jmp 0x10012ffc
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x20
call fcn.10028460
xor al, al
test al, al
jne 0x10012f27
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c9bb
mov esi, 0x10006e38
mov dword [ebp - 0x28], esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x25
call fcn.1000cb96
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x26
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 4]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000d1b4
mov dword [ebp - 0x4c], esi
push 0x10038364
lea eax, [ebp - 0x4c]
jmp 0x10012eba
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ebp + 0xc], eax
jl 0x10013093
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x34]
jge 0x10013093
add ecx, ebx
push ecx
push ebx
call fcn.1001f5fd
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add ebx, 4
cmp eax, dword [ebp - 0x34]
jl 0x10012ff7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10028460
lea esi, [ebp - 0x3c]
call fcn.1001f5a3
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10013062
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10013089
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.10032709
ret 0xc
push eax
push eax
push 1
push 0xc000008c
call dword [sym.imp.kernel32.dll_RaiseException]