Function at 0x1003f8f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106750
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1014b520]
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 0x1003f940
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov edx, SysReAllocString
cmp edi, 8
jae 0x1003f973
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 0x1003f9c4
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.1000ec00
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.100d6330
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 0x1003fa0a
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 0x1003fa4f
mov esi, edi
lea ecx, [ebp - 0x28]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000ec00
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.100d6330
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.10018290
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
jb 0x1003fa7e
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 0x1003fab3
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
mov dword [esi + 0xc], 1
lea ecx, [ebp - 0x28]
call fcn.10006020
lea ecx, [ebp - 0x70]
call fcn.10006020
jmp 0x1003fd41
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 0x1003fae4
movups xmm0, xmmword [eax]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x1003fb1c
mov eax, dword [ebp - 0x80]
mov ecx, SysReAllocString
cmp eax, 0x7ffffffe
cmova eax, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], eax
inc eax
push eax
call fcn.1000ec00
push dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x7c]
push eax
call fcn.100d6330
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
push 3
push 0x1011430c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10018290
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 0x1003fb63
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
call fcn.10006020
jmp 0x1003fa9e
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 0x1003fb96
movups xmm0, xmmword [eax]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x1003fbd0
mov esi, edi
lea ecx, [ebp - 0x58]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000ec00
push dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x7c]
push eax
call fcn.100d6330
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.10018290
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 0x1003fc25
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
mov dword [eax + 0x10], 2
mov dword [eax + 4], 1
call fcn.10006020
lea ecx, [ebp - 0x40]
call fcn.10006020
jmp 0x1003fa9e
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1003fc5f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fc55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fd5c
push edx
push ecx
call fcn.100bacf4
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 0x1003fcad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fca3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fd61
push edx
push ecx
call fcn.100bacf4
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 0x1003fcf7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fd66
push edx
push ecx
call fcn.100bacf4
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 0x1003fd41
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1003fd37
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003fd6b
push ecx
push esi
call fcn.100bacf4
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.100bb073
mov esp, ebp
pop ebp
ret
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
call fcn.100da4dc
int3