Function at 0x1000c580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050b22
mov eax, dword fs:[0]
push eax
mov eax, 0x20bc
call fcn.10016920
mov eax, dword [0x1006e090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20c0], eax
cmp dword [eax + 0x18], 8
lea esi, [eax + 4]
mov eax, esi
jb 0x1000c5c6
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c821
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x20a8], 0
jb 0x1000c5e7
mov esi, dword [esi]
push 0x10056f78
lea eax, [ebp - 0x20a8]
push esi
push eax
call fcn.100345a2
add esp, 0xc
cmp dword [ebp - 0x20a8], 0
je 0x1000c821
push 0
push 0
call fcn.1003c6e3
mov edx, eax
mov dword [ebp - 0x2090], 0
mov ecx, edx
mov dword [ebp - 0x208c], 0xf
add esp, 8
mov byte [ebp - 0x20a0], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c637
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20a0]
call fcn.10001e90
push 0x10056f7c
push 0
mov dword [ebp - 4], 0
call fcn.1003c6e3
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.1002dae0
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push 0x10056f80
push dword [ebp - 0x20a8]
call fcn.10011f50
add esp, 0x24
cmp eax, 0xffffffff
je 0x1000c7e4
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x2018], 0
lea ecx, [ebp - 0x2010]
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c6c6
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2028]
call fcn.10002af0
xor eax, eax
mov dword [ebp - 0x2078], 0
mov dword [ebp - 0x2074], 7
mov word [ebp - 0x2088], ax
mov dword [ebp - 0x2060], eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
mov edx, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0x2018]
cmovae eax, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20a4], edx
mov dword [ebp - 0x20b0], eax
mov dword [ebp - 0x20b4], ecx
cmp ecx, 1
jb 0x1000c77e
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x20ac], ecx
nop dword [eax]
sub ecx, eax
sar ecx, 1
je 0x1000c778
cmp word [eax], 0x5b
je 0x1000c83c
add eax, 2
sub ecx, 1
jne 0x1000c766
mov edx, dword [ebp - 0x20a4]
mov eax, dword [ebp - 0x2014]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1000c7bc
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c7b2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cba6
push ecx
push edx
call fcn.1001633e
add esp, 8
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push 0x10056f80
push dword [ebp - 0x20a8]
call fcn.10011f50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1000c6a0
mov eax, dword [ebp - 0x20a8]
test eax, eax
je 0x1000c7f7
push eax
call fcn.1003465f
add esp, 4
cmp dword [ebp - 0x208c], 0x10
lea eax, [ebp - 0x20a0]
cmovae eax, dword [ebp - 0x20a0]
push eax
push 0
call fcn.1003c6e3
add esp, 8
lea ecx, [ebp - 0x20a0]
call fcn.10001dd0
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.100168fd
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1000c778
mov edx, 0x10056f88
mov edi, eax
mov esi, 1
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x1000c8e3
add edx, 2
sub esi, 1
jne 0x1000c852
sub eax, dword [ebp - 0x20b0]
sar eax, 1
cmp eax, 0xffffffff
je 0x1000c778
mov esi, dword [ebp - 0x20b4]
lea edx, [eax + 1]
cmp dword [ebp - 0x2014], 8
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x20b8], edx
cmovae ecx, dword [ebp - 0x20a4]
lea eax, [esi - 1]
mov dword [ebp - 0x20ac], ecx
cmp edx, eax
ja 0x1000cb69
add edx, edx
lea eax, [ecx + esi*2]
mov dword [ebp - 0x20b0], eax
mov dword [ebp - 0x20bc], edx
lea esi, [edx + ecx]
sub eax, esi
sar eax, 1
je 0x1000cb69
nop word [eax + eax]
cmp word [esi], 0x5d
je 0x1000c8f1
add esi, 2
sub eax, 1
jne 0x1000c8d0
jmp 0x1000cb69
mov ecx, dword [ebp - 0x20ac]
add eax, 2
jmp 0x1000c760
test esi, esi
je 0x1000cb69
mov ecx, 0x10056f8c
mov edi, esi
mov edx, 1
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1000cb93
add ecx, 2
sub edx, 1
jne 0x1000c910
sub esi, dword [ebp - 0x20ac]
sar esi, 1
cmp esi, 0xffffffff
je 0x1000cb69
xor eax, eax
mov dword [ebp - 0x2030], edx
mov edx, dword [ebp - 0x20b4]
mov word [ebp - 0x2040], ax
mov eax, dword [ebp - 0x20b8]
mov dword [ebp - 0x202c], 7
cmp edx, eax
jb 0x1000cba1
sub edx, eax
mov ecx, esi
sub ecx, eax
lea eax, [ebp - 0x2028]
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x2014], 8
push ecx
cmovae eax, dword [ebp - 0x20a4]
lea ecx, [ebp - 0x2040]
add eax, dword [ebp - 0x20bc]
push eax
call fcn.10002af0
lea ecx, [ebp - 0x2088]
call fcn.100027b0
movups xmm0, xmmword [ebp - 0x2040]
xor eax, eax
lea ecx, [ebp - 0x2040]
mov word [ebp - 0x2040], ax
movups xmmword [ebp - 0x2088], xmm0
movq xmm0, qword [ebp - 0x2030]
movq qword [ebp - 0x2078], xmm0
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x202c], 7
call fcn.100027b0
xor eax, eax
mov dword [ebp - 0x2030], 0
inc esi
mov word [ebp - 0x2040], ax
mov eax, dword [ebp - 0x2018]
mov dword [ebp - 0x202c], 7
cmp eax, esi
jb 0x1000cba1
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
push ecx
lea ecx, [ebp - 0x2040]
lea eax, [eax + esi*2]
push eax
call fcn.10002af0
lea ecx, [ebp - 0x2070]
call fcn.100027b0
movups xmm0, xmmword [ebp - 0x2040]
xor eax, eax
lea ecx, [ebp - 0x2040]
mov word [ebp - 0x2040], ax
movups xmmword [ebp - 0x2070], xmm0
movq xmm0, qword [ebp - 0x2030]
movq qword [ebp - 0x2060], xmm0
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x202c], 7
call fcn.100027b0
lea eax, [ebp - 0x2088]
push eax
lea ecx, [ebp - 0x2058]
call fcn.10002df0
lea eax, [ebp - 0x2070]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2040]
call fcn.10002df0
mov esi, dword [ebp - 0x20c0]
lea eax, [ebp - 0x2058]
push eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x34]
call fcn.10008cd0
push eax
add eax, 0x10
lea ecx, [esi + 0x34]
push eax
push 0
lea eax, [ebp - 0x20c8]
push eax
call fcn.10009020
mov edx, dword [ebp - 0x202c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x1000cb2d
mov ecx, dword [ebp - 0x2040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cb23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cba6
push edx
push ecx
call fcn.1001633e
add esp, 8
mov edx, dword [ebp - 0x2044]
cmp edx, 8
jb 0x1000cb69
mov ecx, dword [ebp - 0x2058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cb5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cba6
push edx
push ecx
call fcn.1001633e
add esp, 8
lea ecx, [ebp - 0x2070]
call fcn.100027b0
lea ecx, [ebp - 0x2088]
call fcn.100027b0
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0
call fcn.100027b0
jmp 0x1000c7bc
mov eax, dword [ebp - 0x20b0]
add esi, 2
jmp 0x1000c8c0
call fcn.100030d0
call fcn.10031c09
int3