Function at 0x10011221
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x1003a7a8
call fcn.10022cff
cmp dword [0x10050a38], 8
lea ecx, [ebp - 0x48]
mov edx, 0x10050a24
cmovae edx, dword [0x10050a24]
call fcn.10007957
push 0x67
pop eax
push 0x75
xor ebx, ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x30], ax
pop eax
push 0x69
pop ecx
push 0x64
mov word [ebp - 0x2e], ax
pop eax
push 0x2e
mov word [ebp - 0x2a], ax
pop eax
push 0x62
mov word [ebp - 0x28], ax
pop eax
push 0x6e
mov word [ebp - 0x26], ax
pop eax
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push 9
mov word [ebp - 0x2c], cx
mov word [ebp - 0x24], cx
lea ecx, [ebp - 0x48]
push eax
call fcn.10013484
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011455
lea eax, [ebp - 0x88]
mov dword [ebp - 0x1c], 0x2a9b4252
push eax
mov ecx, 0x10050a1c
mov dword [ebp - 0x18], 0x25766843
call fcn.100065ce
inc dword [0x100509d8]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x10050a04
call fcn.10012a01
lea ecx, [ebp - 0x30]
call fcn.10005bfd
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
test esi, esi
je 0x10011313
test edi, edi
je 0x10011313
mov eax, esi
sub eax, edi
jmp 0x10011315
mov eax, ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.1000610b
test esi, esi
je 0x1001132a
test edi, edi
je 0x1001132a
sub esi, edi
jmp 0x1001132c
mov esi, ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.10005b6a
inc dword [0x100509d8]
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x1001135f
test edi, edi
je 0x1001135f
mov eax, esi
sub eax, edi
jmp 0x10011361
mov eax, ebx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000610b
test esi, esi
je 0x10011376
test edi, edi
je 0x10011376
sub esi, edi
jmp 0x10011378
mov esi, ebx
push esi
push edi
lea ecx, [ebp - 0x60]
call fcn.10005b6a
sub esp, 0x14
lea eax, [ebp - 0x1c]
mov ecx, esp
push 8
push eax
call fcn.10005ab7
sub esp, 0x14
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10005a66
lea ecx, [ebp - 0x74]
call fcn.1001c9d4
add esp, 0x28
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
test eax, eax
je 0x100113c1
test edx, edx
je 0x100113c1
sub eax, edx
jmp 0x100113c3
mov eax, ebx
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push eax
cmovae ecx, dword [ebp - 0x48]
call fcn.10011026
cmp dword [ebp - 0x34], 8
pop ecx
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
call fcn.10011087
dec dword [0x100509d8]
lea ecx, [ebp - 0x74]
call fcn.10005aee
mov eax, dword [0x100509d8]
dec eax
cmp dword [ebp - 0x5c], 0
mov dword [0x100509d8], eax
je 0x1001141e
cmp byte [ebp - 0x60], 0
jne 0x1001141e
push dword [ebp - 0x5c]
dec dword [0x100509d4]
call fcn.10029cb0
mov eax, dword [0x100509d8]
pop ecx
dec eax
cmp dword [ebp - 0x2c], 0
mov dword [0x100509d8], eax
je 0x10011444
cmp byte [ebp - 0x30], 0
jne 0x10011444
push dword [ebp - 0x2c]
dec dword [0x100509d4]
call fcn.10029cb0
mov eax, dword [0x100509d8]
pop ecx
dec eax
lea ecx, [ebp - 0x88]
mov dword [0x100509d8], eax
call fcn.10005aee
lea ecx, [ebp - 0x48]
call fcn.1001340c
call fcn.10022cbd
ret