Function at 0x468a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5086f2
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x570074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x80], edi
mov eax, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x78], 0
call fcn.00469200
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x78], 1
jb 0x468a86
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468a99
mov byte [ebp - 0x71], al
cmp dword [ebx + 0x10], eax
jne 0x468a9d
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x78], eax
and eax, 0xfffffffe
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x468af1
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x468b36
add eax, eax
cmp eax, 0x1000
jb 0x468ae8
test cl, 0x1f
jne 0x468b36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x468b36
sub ecx, eax
cmp ecx, 4
jb 0x468b36
cmp ecx, 0x23
ja 0x468b36
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x71], al
je 0x468bc6
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebx + 0x14], 8
mov esi, dword [ebx + 0x10]
jb 0x468b1f
mov ebx, dword [ebx]
cmp esi, 8
jae 0x468b3b
push 0x10
push ebx
push edi
call fcn.004d1910
mov dword [edi + 0x14], 7
jmp 0x468bad
call fcn.004d5be4
mov eax, esi
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x7c], eax
add eax, 1
jne 0x468b56
xor ecx, ecx
jmp 0x468b96
cmp eax, 0x7fffffff
jbe 0x468b62
call fcn.004d0f9b
add eax, eax
cmp eax, 0x1000
jb 0x468b8b
lea ecx, [eax + 0x23]
cmp ecx, eax
ja 0x468b77
call fcn.004d0f9b
push ecx
call fcn.004d0228
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x468b96
push eax
call fcn.004d0228
add esp, 4
mov ecx, eax
lea eax, [esi*2 + 2]
mov dword [edi], ecx
push eax
push ebx
push ecx
call fcn.004d1910
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], esi
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], 2
jmp 0x468e47
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00469190
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
mov esi, 8
mov ecx, ebx
push eax
mov dword [ebp - 0x78], esi
call fcn.00469cb0
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00468a20
add esp, 4
mov byte [ebp - 4], 0xb
and esi, 0xfffffff7
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x468c9c
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x468b36
add eax, eax
cmp eax, 0x1000
jb 0x468c93
test cl, 0x1f
jne 0x468b36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x468b36
sub ecx, eax
cmp ecx, 4
jb 0x468b36
cmp ecx, 0x23
ja 0x468b36
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 7
push eax
call fcn.0042da0a
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
push eax
call fcn.00466f30
push 0x18
lea eax, [ebp - 0x58]
mov dword [edi + 0x10], 0
push eax
push edi
mov dword [edi + 0x14], 0
call fcn.004d1910
xor eax, eax
mov dword [ebp - 0x48], 0
add esp, 0xc
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x78], 2
mov byte [ebp - 4], 7
cmp dword [ebp - 0x44], 8
jb 0x468d5e
mov eax, dword [ebp - 0x58]
mov ecx, 8
cmp ecx, 0x7fffffff
ja 0x468b36
mov ecx, 0x1000
cmp ecx, 0x10
ja 0x468d55
test al, 0x1f
jne 0x468b36
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x468b36
sub eax, ecx
cmp eax, 4
jb 0x468b36
cmp eax, 0x23
ja 0x468b36
mov eax, ecx
push eax
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x468dc9
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x468b36
add eax, eax
cmp eax, 0x1000
jb 0x468dc0
test cl, 0x1f
jne 0x468b36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x468b36
sub ecx, eax
cmp ecx, 4
jb 0x468b36
cmp ecx, 0x23
ja 0x468b36
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x468e33
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x7fffffff
ja 0x468b36
add eax, eax
cmp eax, 0x1000
jb 0x468e2a
test cl, 0x1f
jne 0x468b36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x468b36
sub ecx, eax
cmp ecx, 4
jb 0x468b36
cmp ecx, 0x23
ja 0x468b36
mov ecx, eax
push ecx
call fcn.004d0212
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0217
mov esp, ebp
pop ebp
ret