Function at 0x1002c100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc670
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10106404]
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 0x1002c150
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov edx, SysReAllocString
cmp edi, 8
jae 0x1002c183
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 0x1002c1d4
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.1001f460
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.100a2620
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 0x1002c21a
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 0x1002c25f
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.1001f460
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.100a2620
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.1002a63c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
jb 0x1002c28e
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 0x1002c2c3
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
mov dword [esi + 0xc], 1
lea ecx, [ebp - 0x28]
call fcn.10028df2
lea ecx, [ebp - 0x70]
call fcn.10028df2
jmp 0x1002c551
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 0x1002c2f4
movups xmm0, xmmword [eax]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x1002c32c
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.1001f460
push dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x7c]
push eax
call fcn.100a2620
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
push 3
push 0x100d816c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1002a63c
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 0x1002c373
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], 1
mov dword [esi + 4], 1
call fcn.10028df2
jmp 0x1002c2ae
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 0x1002c3a6
movups xmm0, xmmword [eax]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
jmp 0x1002c3e0
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.1001f460
push dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x7c]
push eax
call fcn.100a2620
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.1002a63c
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 0x1002c435
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
mov dword [eax + 0x10], 2
mov dword [eax + 4], 1
call fcn.10028df2
lea ecx, [ebp - 0x40]
call fcn.10028df2
jmp 0x1002c2ae
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1002c46f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c465
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c56c
push edx
push ecx
call fcn.1009c669
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 0x1002c4bd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c4b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c571
push edx
push ecx
call fcn.1009c669
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 0x1002c507
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c4fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c576
push edx
push ecx
call fcn.1009c669
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 0x1002c551
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002c547
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c57b
push ecx
push esi
call fcn.1009c669
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.1009cacf
mov esp, ebp
pop ebp
ret
call fcn.100a6619
call fcn.100a6619
call fcn.100a6619
call fcn.100a6619
int3