Function at 0x10015d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a702b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd8], ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
lea esi, [ebp - 0x9c]
mov dword [ebp - 4], ebx
call fcn.100255c0
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10033d80
mov byte [ebp - 4], 2
push 1
xor edx, edx
push 0x100b6220
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.10005fb0
lea eax, [ebp - 0x9c]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10017470
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.10005d70
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x10015e15
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x10015e3a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0x48]
mov dword [ebp - 0xdc], 0x80000001
call fcn.10033cf0
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 5
cmp dword [0x100c9918], ebx
jne 0x10015e8d
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x10015e82
mov esi, eax
call fcn.10035040
jmp 0x10015e84
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0xe0]
push ebx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x2c]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.100050d0
cmp dword [ebp - 0x18], edi
jb 0x10015ec4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], edi
jb 0x10015ee9
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x1001602f
lea esi, [ebp - 0x48]
mov dword [ebp - 0xe0], 0x80000002
call fcn.10033cf0
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 8
cmp dword [0x100c9918], ebx
jne 0x10015f45
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x10015f3a
mov esi, eax
call fcn.10035040
jmp 0x10015f3c
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x100c9918], eax
mov edx, dword [ebp - 0xdc]
push ebx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x80]
lea esi, [ebp - 0x2c]
call fcn.100357d0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.100050d0
cmp dword [ebp - 0x18], edi
jb 0x10015f7c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x10015fa1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x1001602f
mov esi, dword [ebp - 0xe4]
push ebx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x100b61ec
mov ecx, esi
mov word [esi], dx
call fcn.10005fb0
cmp dword [ebp - 0x6c], edi
jb 0x10015fdd
mov eax, dword [ebp - 0x80]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], edi
jb 0x10016004
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x50], edi
jb 0x10016272
mov ecx, dword [ebp - 0x64]
push ecx
jmp 0x1001626a
lea esi, [ebp - 0xd4]
call fcn.100255f0
mov ecx, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.10017430
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.10034930
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.100050d0
cmp dword [ebp - 0x18], edi
jb 0x10016079
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x1001609b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0xc0], edi
jb 0x100160c2
mov eax, dword [ebp - 0xd4]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x10016110
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x100160d2
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x10016110
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xd8], 2
jmp 0x1001613e
push ebx
xor eax, eax
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x48]
mov dword [ebp - 0xd8], 4
xor ecx, ecx
mov word [ebp - 0xb8], cx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
call fcn.100050d0
mov dword [ebp - 4], 0x10
test byte [ebp - 0xd8], 4
je 0x10016193
and dword [ebp - 0xd8], 0xfffffffb
cmp dword [ebp - 0x34], edi
jb 0x10016187
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0x12
test byte [ebp - 0xd8], 2
je 0x100161bd
cmp dword [ebp - 0x18], edi
jb 0x100161b1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov esi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xb8]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.100050d0
cmp dword [ebp - 0xa4], edi
jb 0x100161f7
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x6c], edi
jb 0x10016221
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], edi
jb 0x10016248
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x50], edi
jb 0x10016272
mov edx, dword [ebp - 0x64]
push edx
call fcn.1003d468
add esp, 4
mov eax, esi
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