Function at 0x1001c590
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a83a9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100c66d0]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
lea esi, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.10025cb0
mov edi, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x100c9918]
cmp ecx, ebx
jne 0x1001c622
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1001c614
mov esi, eax
call fcn.10035040
jmp 0x1001c616
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x100c9918], ecx
lea edx, [ebp - 0x4c]
call fcn.10035560
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10006920
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x1001c650
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1003d468
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x54], esi
jb 0x1001c676
mov eax, dword [ebp - 0x68]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x20], ebx
je 0x1001c696
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x1001c686
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x1001c6c9
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
cmp esi, ecx
je 0x1001c6b0
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
cmp dword [ebp - 0x1c], 8
jb 0x1001c6c2
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
add esp, 4
mov eax, esi
jmp 0x1001c815
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
push ebx
push 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 7
call fcn.100395a0
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
add esp, 0x10
cmp esi, eax
je 0x1001c727
mov ecx, esi
lea edi, [ebp - 0x7c]
call fcn.1001d8a0
mov eax, dword [ebp - 0x88]
add esi, 0x1c
cmp esi, eax
jne 0x1001c705
mov esi, dword [ebp - 0x8c]
mov edi, 7
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x7c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
cmp ecx, edx
je 0x1001c750
mov edx, dword [ebp - 0x7c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x78]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x74]
mov dword [ecx + 8], edx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
cmp esi, ebx
je 0x1001c79e
mov edi, eax
cmp esi, eax
je 0x1001c78d
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x1001c771
mov eax, dword [esi]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x1001c760
mov esi, dword [ebp - 0x8c]
push esi
call fcn.1003d468
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
jb 0x1001c7c5
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov esi, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp esi, ebx
je 0x1001c813
cmp esi, dword [ebp - 0x78]
je 0x1001c807
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x1001c7f1
mov ecx, dword [esi]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, dword [ebp - 0x78]
jne 0x1001c7e0
mov esi, dword [ebp - 0x7c]
push esi
call fcn.1003d468
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov eax, ecx
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.1003c5b5
mov esp, ebp
pop ebp
ret 4