Function at 0x453f20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b2760
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x453f5d
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov dword [esp + 0x24], ebx
cmp ebp, ebx
je 0x4541c4
mov eax, dword [esi + 0x188]
cmp eax, ebx
je 0x4541c4
mov edi, dword [ebp + 0xb4]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x28], 1
cmp dword [esi + 0x184], 0x2768
push edi
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
push eax
jne 0x453fc9
mov edx, dword [edx + 0x58]
call edx
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x453fac
cmp eax, ebx
jne 0x453fe2
mov byte [esp + 0x24], bl
cmp eax, ebx
je 0x453fbc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], 0xffffffff
jmp 0x4541d0
mov edx, dword [edx + 0x44]
call edx
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x4541a1
cmp eax, ebx
je 0x4541a1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00406c20
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x28]
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00406c20
mov byte [esp + 0x24], 3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4540b7
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x454054
lea ecx, [esp + 0x10]
call fcn.004066e0
lea ecx, [esp + 0x14]
call fcn.004066e0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x2c]
jmp 0x453fb0
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x45406a
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 1
call eax
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x45407f
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push ebx
call eax
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x454094
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push ebx
call eax
mov eax, 1
mov dword [ebp + 0x198], eax
mov dword [ebp + 0x19c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push ebx
push eax
call edx
jmp 0x454153
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x4540cd
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x4540e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x4540f7
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
lea eax, [esp + 0x10]
push eax
call fcn.00455f50
test eax, eax
je 0x454114
mov eax, dword [esi + 0x188]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push edi
push eax
call edx
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x454129
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x45413e
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x454153
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
lea ecx, [esp + 0x10]
call fcn.004066e0
lea ecx, [esp + 0x14]
call fcn.004066e0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x454179
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov byte [esp + 0x24], bl
cmp eax, ebx
je 0x4541b1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
jmp 0x4541d9
mov dword [esp + 0x24], 0xffffffff
cmp ebp, ebx
je 0x4541d9
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, 0x80004005
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 4