Function at 0x1001cc90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10094080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, esi
mov byte [ebp - 0xd9], 0
cmp dword [esi + 0x14], 7
jbe 0x1001ccde
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001ccf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1001ce1d
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100026c0
test al, al
je 0x1001cde9
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x28], 0
and dword [ebp - 0x28], 0xfffffeff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x74
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.10054510
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.1002f6f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
jbe 0x1001cd90
mov ecx, dword [ebp - 0x48]
add eax, ecx
jmp 0x1001cd95
add eax, ecx
lea ecx, [ebp - 0x48]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.10025ca0
cmp dword [ebp - 0x9c], 0xf
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x30]
cmova ecx, dword [ebp - 0xb0]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xd8]
call fcn.1002f810
test al, al
jne 0x1001ce24
lea ecx, [ebp - 0xd8]
call fcn.100182c0
lea ecx, [ebp - 0x30]
call fcn.10037120
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001ce1d
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ce13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d58e
push ecx
push edx
call fcn.10052cc4
add esp, 8
xor al, al
jmp 0x1001d566
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
mov ecx, dword [0x10096ce4]
push eax
mov dword [ebp - 0x4c], 0x2c
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x44
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x37
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], 0x40
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x3b
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x45
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x32
call fcn.10023260
mov ecx, dword [0x10096ce4]
mov edi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x41
push eax
call fcn.10023260
mov esi, eax
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cf15
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cf17
add ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10038630
test eax, eax
je 0x1001d422
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cf3e
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cf40
add ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100383f0
mov edx, eax
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cf61
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cf63
add ecx, eax
push ecx
push eax
mov ecx, edx
call fcn.10038630
test eax, eax
je 0x1001d422
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cf89
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cf8b
add ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100383f0
mov edx, eax
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cfac
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cfae
add ecx, eax
push ecx
push eax
mov ecx, edx
call fcn.100383f0
mov ecx, eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], ecx
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x1001cfd4
add edx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cfd6
add edx, eax
push edx
push eax
call fcn.10038630
test eax, eax
je 0x1001d0a7
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001cffa
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001cffc
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d012
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d0a7
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d031
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d033
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d049
call fcn.10036500
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov ecx, dword [ebp - 0xe4]
push eax
add ecx, 0x30
call fcn.10025f70
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1001d0a0
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d096
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d584
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov byte [ebp - 0xd9], 1
mov eax, dword [ebp - 0xec]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d0bc
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d0be
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
je 0x1001d175
mov eax, dword [ebp - 0xec]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d0e8
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d0ea
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d100
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d175
mov eax, dword [ebp - 0xec]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d11b
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d11d
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d133
call fcn.10036500
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov ecx, dword [ebp - 0xe4]
push eax
call fcn.10025f70
mov eax, dword [ebp - 0xfc]
cmp eax, 0xf
jbe 0x1001d16e
push eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x110]
push eax
call fcn.10029a30
add esp, 0xc
mov byte [ebp - 0xd9], 1
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d18a
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d18c
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
je 0x1001d230
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d1b6
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d1b8
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d1ce
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d230
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001d1e9
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001d1eb
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038630
test eax, eax
jne 0x1001d201
call fcn.10036500
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov ecx, dword [ebp - 0xe4]
push eax
lea ecx, [ecx + 0x18]
call fcn.10025f70
lea ecx, [ebp - 0x110]
call fcn.10025f20
mov byte [ebp - 0xd9], 1
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
jbe 0x1001d245
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x1001d247
add eax, ecx
push eax
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.10038630
test eax, eax
je 0x1001d2cc
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
jbe 0x1001d26d
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x1001d26f
add eax, ecx
push eax
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.10038630
test eax, eax
jne 0x1001d285
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d2cc
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xe0]
push eax
call fcn.10038790
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov ecx, dword [ebp - 0xe4]
push eax
lea ecx, [ecx + 0x48]
call fcn.10025f70
lea ecx, [ebp - 0x110]
call fcn.10025f20
mov byte [ebp - 0xd9], 1
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x1001d2db
add eax, dword [edi]
mov ecx, dword [edi]
jmp 0x1001d2df
add eax, edi
mov ecx, edi
push eax
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.10038630
test eax, eax
je 0x1001d37d
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x1001d303
add eax, dword [edi]
mov ecx, dword [edi]
jmp 0x1001d307
add eax, edi
mov ecx, edi
push eax
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.10038630
test eax, eax
jne 0x1001d31d
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d37d
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x1001d332
add eax, dword [edi]
mov edi, dword [edi]
jmp 0x1001d334
add eax, edi
push eax
push edi
mov edi, dword [ebp - 0xe0]
mov ecx, edi
call fcn.10038630
test eax, eax
jne 0x1001d34c
call fcn.10036500
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov ecx, dword [ebp - 0xe4]
push eax
lea ecx, [ecx + 0x78]
call fcn.10025f70
lea ecx, [ebp - 0x110]
call fcn.10025f20
mov byte [ebp - 0xd9], 1
jmp 0x1001d383
mov edi, dword [ebp - 0xe0]
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d392
add eax, dword [esi]
mov ecx, dword [esi]
jmp 0x1001d396
add eax, esi
mov ecx, esi
push eax
push ecx
mov ecx, edi
call fcn.10038630
test eax, eax
je 0x1001d422
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d3b2
add eax, dword [esi]
mov ecx, dword [esi]
jmp 0x1001d3b6
add eax, esi
mov ecx, esi
push eax
push ecx
mov ecx, edi
call fcn.10038630
test eax, eax
jne 0x1001d3c8
call fcn.10036500
cmp byte [eax + 8], 4
jne 0x1001d422
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d3dd
add eax, dword [esi]
mov esi, dword [esi]
jmp 0x1001d3df
add eax, esi
push eax
push esi
mov ecx, edi
call fcn.10038630
test eax, eax
jne 0x1001d3f1
call fcn.10036500
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
mov edi, dword [ebp - 0xe4]
push eax
lea ecx, [edi + 0x60]
call fcn.10025f70
lea ecx, [ebp - 0x110]
call fcn.10025f20
mov byte [ebp - 0xd9], 1
jmp 0x1001d428
mov edi, dword [ebp - 0xe4]
mov ecx, dword [0x10096ce4]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x49
call fcn.10023260
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d44f
add eax, dword [esi]
mov ecx, dword [esi]
jmp 0x1001d453
add eax, esi
mov ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10038630
test eax, eax
je 0x1001d51d
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d474
add eax, dword [esi]
mov ecx, dword [esi]
jmp 0x1001d478
add eax, esi
mov ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.100383f0
cmp byte [eax + 8], 4
jne 0x1001d51d
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x1001d49b
add eax, dword [esi]
mov esi, dword [esi]
jmp 0x1001d49d
add eax, esi
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.100383f0
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.10037370
push eax
lea ecx, [edi + 0x90]
call fcn.10025f70
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1001d4fb
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d4f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d589
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov byte [ebp - 0xd9], 1
jmp 0x1001d51d
lea ecx, [ebp - 0xd8]
call fcn.100182c0
lea ecx, [ebp - 0x30]
call fcn.10037120
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001d560
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d58e
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov al, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10052655
mov esp, ebp
pop ebp
ret 8
call fcn.1005bfa5
call fcn.1005bfa5
call fcn.1005bfa5
int3