Function at 0x611620
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4219
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
mov eax, 1
mov dword [ebp - 0x4c], eax
call fcn.006114e0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x6116ff
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x44]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6116c4
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00428800
cmp dword [ebp - 0x18], 8
mov eax, 3
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x45], 1
test eax, eax
jne 0x611703
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x4c]
test al, 2
je 0x611718
and eax, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call fcn.00428770
cmp byte [ebp - 0x45], 0
je 0x6117c8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.005dbcb0
add esp, 4
test al, al
je 0x6117bc
cmp dword [ebp - 0x1c], 0x26
jb 0x6117bc
xor eax, eax
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0x26
push eax
mov dword [ebp - 0x50], 7
call fcn.00428800
or dword [ebp - 0x4c], 4
lea eax, [ebp - 0x64]
cmp esi, eax
je 0x6117b4
mov ecx, esi
call fcn.00428770
movups xmm0, xmmword [ebp - 0x64]
xor eax, eax
mov word [ebp - 0x64], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0x64]
call fcn.00428770
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00428770
cmp dword [esi + 0x10], 0
jne 0x611890
mov ecx, esi
call fcn.005dd830
test al, al
jne 0x6117eb
push 0x26
push str.WDEFAULT_D7CA_4F31_B4C0_15DB86C98250
mov ecx, esi
call fcn.00428800
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x6117f5
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x611810
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.00428800
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
cmovae edx, dword [ebp - 0x44]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x611851
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00428800
push 1
push 0
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.005db990
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00428770
lea ecx, [ebp - 0x64]
call fcn.00428770
lea ecx, [ebp - 0x44]
call fcn.00428770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret