Function at 0x10015f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100483c0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100632c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8c], esi
lea eax, [esi + 0x30]
mov dword [esi + 4], 0
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x74], eax
jb 0x10015fb0
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov edx, 0x7ffffffe
cmp edi, 8
jae 0x10015fe3
movups xmm0, xmmword [eax]
mov ecx, 7
mov eax, edi
or eax, ecx
mov dword [ebp - 0x88], ecx
movups xmmword [ebp - 0x70], xmm0
mov edx, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], eax
jmp 0x10016034
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
mov dword [ebp - 0x80], eax
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 0x88], ecx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x70]
call fcn.10008b20
mov ecx, eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
push ecx
mov dword [ebp - 0x70], ecx
call fcn.10023a30
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], edi
cmp edx, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
cmovae ecx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], ecx
cmp edi, 8
jae 0x1001607a
movups xmm0, xmmword [ecx]
lea eax, [edi*2 + 2]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x84], eax
movups xmmword [ebp - 0x28], xmm0
jmp 0x100160bf
mov esi, edi
lea ecx, [ebp - 0x28]
or esi, 7
mov eax, 0x7ffffffe
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10008b20
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
push eax
call fcn.10023a30
mov dword [ebp - 0x14], esi
add esp, 0xc
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x18], edi
push 4
push str..gen
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10013093
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
jb 0x100160ee
mov ecx, dword [ebp - 0x28]
lea eax, [edi*2 + 2]
mov dword [ebp - 0x84], eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016123
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
mov dword [esi + 0xc], 1
lea ecx, [ebp - 0x28]
call fcn.10008670
lea ecx, [ebp - 0x70]
call fcn.10008670
jmp 0x100163b1
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x7c], eax
cmp edi, 8
jae 0x10016154
movups xmm0, xmmword [eax]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x1001618c
mov eax, dword [ebp - 0x80]
mov ecx, 0x7ffffffe
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], eax
inc eax
push eax
call fcn.10008b20
push dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x7c]
push eax
call fcn.10023a30
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
push 3
push 0x10050fa4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10013093
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100161d3
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
call fcn.10008670
jmp 0x1001610e
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x78]
cmovae eax, esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x7c], eax
cmp edi, 8
jae 0x10016206
movups xmm0, xmmword [eax]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x10016240
mov esi, edi
lea ecx, [ebp - 0x58]
or esi, 7
mov eax, 0x7ffffffe
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10008b20
push dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x7c]
push eax
call fcn.10023a30
mov dword [ebp - 0x44], esi
add esp, 0xc
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x48], edi
push 9
push str..debug.on
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10013093
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016295
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
mov dword [eax + 0x10], 2
mov dword [eax + 4], 1
call fcn.10008670
lea ecx, [ebp - 0x40]
call fcn.10008670
jmp 0x1001610e
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100162cf
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100162c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100163cc
push edx
push ecx
call fcn.1001b29d
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x1001631d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016313
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100163d1
push edx
push ecx
call fcn.1001b29d
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x10016367
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001635d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100163d6
push edx
push ecx
call fcn.1001b29d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x100163b1
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100163a7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100163db
push ecx
push esi
call fcn.1001b29d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b60e
mov esp, ebp
pop ebp
ret
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
call fcn.100271ce
int3