Function at 0x10007670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7d41
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.100937f0
mov byte [ebp - 4], 2
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.10016430
mov byte [ebp - 4], 1
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x100076e7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x1c], edx
je 0x1000776c
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1000770c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1000776c
mov dword [ebx + 0x14], edi
xor eax, eax
mov dword [ebx + 0x10], 0
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], ax
call fcn.10016430
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x10007753
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
jmp 0x10007880
lea ecx, [ebp - 0x48]
call fcn.10077db0
mov byte [ebp - 4], 3
push 0x100cde64
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1001d8d0
add esp, 0xc
mov byte [ebp - 4], 4
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.10016430
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 8
jb 0x100077ae
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1009c0c0
add esp, 4
mov esi, 7
xor edi, edi
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
jb 0x100077d7
mov eax, dword [ebp - 0x48]
push eax
call fcn.1009c0c0
add esp, 4
push 0xb
push 0x100ce23c
lea edx, [ebp - 0x2c]
xor ecx, ecx
push edx
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
call fcn.100167c0
cmp eax, 0xffffffff
je 0x10007814
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edi
xor eax, eax
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], ax
call fcn.10016430
jmp 0x10007736
call fcn.10014de0
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.1007aee0
mov byte [ebp - 4], 5
push 0x100ce23c
push eax
push ebx
call fcn.1001d8d0
add esp, 0xc
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
jb 0x10007853
mov eax, dword [ebp - 0x48]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x18], 8
jb 0x10007874
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov eax, ebx
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.1009c0cb
mov esp, ebp
pop ebp
ret