Function at 0x100131a0
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x100365ae
call fcn.1003265b
and dword [ebp - 0x1c], 0
lea ebx, [ebp - 0x1c]
mov esi, ecx
call fcn.1000d76f
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
mov edi, dword [eax]
push ecx
call fcn.1001e8e8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jle 0x100132a7
push 0x5c
push eax
call fcn.10011003
pop ecx
pop ecx
cmp eax, esi
je 0x100132a7
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x100132a7
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push 0x10004a00
push eax
call fcn.10011003
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov edi, 0x1000485c
call fcn.1001e8e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 4
call fcn.1000ca39
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000cac2
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d170
push 0x100382a0
lea eax, [ebp - 0x28]
push eax
call fcn.10011003
lea eax, [ebp - 0x24]
push eax
call fcn.10011e75
mov esi, eax
mov byte [ebp - 4], 8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x100132d3
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
jmp 0x10013337
mov eax, dword [esi]
sub eax, 0x10
call fcn.100283fd
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
push dword [esi + 4]
lea eax, [ebp - 0x14]
call fcn.10011003
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.10011003
mov ebx, dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
push ebx
call esi
test eax, eax
je 0x10013329
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x10]
call fcn.1001ea8d
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 8
call fcn.10028460
jmp 0x1001333b
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 8
call fcn.10028460
xor al, al
test al, al
je 0x1001338d
push dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
push 0x100047cc
push 4
call fcn.1000b93e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10028460
push dword [ebp + 8]
mov ecx, esi
lea ebx, [ebp - 0x10]
call fcn.100133f3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp + 8]
call fcn.10032709
ret 8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000c9bb
mov esi, 0x10006e38
mov dword [ebp - 0x18], esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.1000cb96
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 4]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10028460
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000d1b4
mov dword [ebp - 0x30], esi
push 0x10038364
lea eax, [ebp - 0x30]
jmp 0x100132a1