Function at 0x1001c060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7dd2
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0xdc], ebx
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
push 1
lea eax, [ebp - 0x64]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0xd8], esp
call fcn.100258f0
sub esp, 0x1c
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0xe4], esp
call fcn.10033d80
mov ecx, 0x80000001
mov byte [ebp - 4], 1
call fcn.10035dc0
add esp, 0x40
cmp dword [ebp - 0x54], ebx
je 0x1001c27b
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xe4], 0x80000001
call fcn.10033d20
mov dword [ebp - 0xd8], eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.10033d80
push eax
mov eax, 0x100b6220
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.100068d0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x64]
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.10017470
mov edi, eax
mov byte [ebp - 4], 6
cmp dword [0x100c9918], ebx
jne 0x1001c196
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x1001c18b
mov esi, eax
call fcn.10035040
jmp 0x1001c18d
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0xd8]
push 1
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x1001c1d2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x1001c1f4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x88], esi
jb 0x1001c217
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0xa4], esi
jb 0x1001c243
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0xc0], esi
jb 0x1001c273
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.1003d468
add esp, 4
mov edi, dword [ebp - 0xe0]
jmp 0x1001c280
mov esi, 8
cmp dword [ebp - 0x70], ebx
jne 0x1001c44a
push 1
lea edx, [ebp - 0x64]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0xe8], esp
call fcn.100258f0
sub esp, 0x1c
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0xd8], esp
call fcn.10033d80
mov ecx, 0x80000002
mov byte [ebp - 4], 1
call fcn.10035dc0
add esp, 0x40
cmp dword [ebp - 0x54], ebx
je 0x1001c440
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd8], 0x80000002
call fcn.10033d20
mov dword [ebp - 0xe4], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.10033d80
push eax
mov eax, 0x100b6220
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.100068d0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x64]
lea edi, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
call fcn.10017470
mov edi, eax
mov byte [ebp - 4], 0xd
cmp dword [0x100c9918], ebx
jne 0x1001c35a
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x1001c34f
mov esi, eax
call fcn.10035040
jmp 0x1001c351
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0xe4]
push 1
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
lea esi, [ebp - 0xb8]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x1001c39f
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x88], esi
jb 0x1001c3d0
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x18], esi
jb 0x1001c3f6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x1001c413
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0xc0], esi
jb 0x1001c43a
mov eax, dword [ebp - 0xd4]
push eax
call fcn.1003d468
add esp, 4
mov edi, dword [ebp - 0xe0]
cmp dword [ebp - 0x70], ebx
je 0x1001c498
mov esi, 8
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x1001c455
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x1001c498
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x80]
mov word [ebp - 0x2c], cx
mov esi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xdc], 1
jmp 0x1001c4cf
push ebx
xor eax, eax
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x48]
mov dword [ebp - 0xdc], 2
mov esi, 7
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov word [edi], cx
push eax
mov ecx, edi
call fcn.100050d0
mov eax, dword [ebp - 0xdc]
or eax, 4
test al, 2
je 0x1001c51c
and eax, 0xfffffffd
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0xdc], eax
jb 0x1001c510
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
mov eax, dword [ebp - 0xdc]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
test al, 1
je 0x1001c53e
cmp dword [ebp - 0x18], 8
jb 0x1001c532
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x1001c550
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
jb 0x1001c56e
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret