Function at 0x10007650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8638
mov eax, dword fs:[0]
push eax
sub esp, 0x78
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]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
add eax, 0x20
mov dword [ebp - 0x80], ecx
xor edx, edx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.10005150
push 1
mov eax, 0x100b6220
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.10005e70
lea esi, [ebp - 0x30]
call fcn.10025b00
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], esi
jb 0x100076e6
mov eax, dword [ebp - 0x30]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x3c], ebx
je 0x10007706
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x100076f6
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x1000771e
cmp dword [ebp - 0x38], esi
jb 0x10007717
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1003d468
add esp, 4
xor al, al
jmp 0x100078c2
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
push ebx
push 1
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.100395a0
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
add esp, 0x10
mov edi, esi
cmp esi, eax
je 0x10007868
mov edi, edi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x68], cx
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
call fcn.10005150
push 1
mov eax, 0x100b6220
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.10005e70
lea esi, [ebp - 0x30]
call fcn.10026a20
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.10005d70
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
jb 0x100077ae
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.10037a20
mov ecx, dword [ebp - 0x80]
call fcn.10003dc0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x100077d2
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.10005990
mov eax, dword [ebp - 0x68]
mov esi, 8
mov dword [ebp - 0x6c], ebx
cmp dword [ebp - 0x54], esi
jae 0x100077f8
lea eax, [ebp - 0x68]
push 0x100bb098
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1003fa37
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp eax, ebx
je 0x10007830
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x30]
jae 0x1000781d
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.1003fa7e
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1003d777
add esp, 0xc
cmp dword [ebp - 0x1c], 0x10
jb 0x10007842
mov edx, dword [ebp - 0x30]
push edx
call fcn.1003d468
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], esi
jb 0x10007857
mov eax, dword [ebp - 0x68]
push eax
call fcn.1003d468
add esp, 4
mov eax, dword [ebp - 0x78]
add edi, 0x1c
cmp edi, eax
jne 0x10007750
mov esi, dword [ebp - 0x7c]
cmp esi, ebx
je 0x100078a5
mov edi, eax
cmp esi, eax
je 0x1000789c
cmp dword [esi + 0x14], 8
jb 0x10007883
mov ecx, dword [esi]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x10007872
mov esi, dword [ebp - 0x7c]
push esi
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
jb 0x100078c0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1003d468
add esp, 4
mov al, 1
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