Function at 0x453bc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b9ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x453bfc
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x34], ebx
cmp edi, ebx
je 0x453ef2
mov eax, dword [esi + 0x188]
cmp eax, ebx
je 0x453ef2
mov ebp, dword [edi + 0xb4]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x38], 1
cmp dword [esi + 0x184], 0x2768
push ebp
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
push eax
jne 0x453c83
mov edx, dword [edx + 0x58]
call edx
test eax, eax
mov eax, dword [esp + 0x14]
je 0x453c4b
cmp eax, ebx
jne 0x453c9c
mov byte [esp + 0x34], 0
cmp eax, ebx
je 0x453c5c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov edx, dword [edx + 0x44]
call edx
test eax, eax
mov eax, dword [esp + 0x14]
je 0x453eba
cmp eax, ebx
je 0x453eba
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00406c20
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x28]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00406c20
mov byte [esp + 0x34], 3
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453d7f
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
jne 0x453d23
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x20]
call fcn.004066e0
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x453d16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], 0xffffffff
jmp 0x453efe
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x453d39
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 1
call eax
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x453d4e
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push ebx
call eax
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x453d63
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push ebx
call eax
mov dword [edi + 0x198], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push ebx
push eax
call edx
jmp 0x453e9a
mov ecx, dword [esi + 0x164]
cmp ecx, ebx
je 0x453d95
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x453daa
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x453dbf
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
call edx
lea ecx, [esp + 0x1c]
call fcn.00406560
mov bl, 4
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
call fcn.00406580
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0x1e4]
mov eax, dword [eax + 0x24]
lea ecx, [esi + 0x1e4]
lea edx, [esp + 0x20]
push edx
call eax
test eax, eax
je 0x453e49
mov eax, dword [esi + 0x188]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push ebp
push eax
call edx
mov eax, dword [esi + 0x258]
push eax
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
call fcn.00406580
add eax, 0x10
mov dword [edi], eax
push 0xffffffffffffffff
push ecx
mov byte [esp + 0x44], 5
call fcn.00407e80
mov byte [esp + 0x44], bl
add esp, 4
mov ebx, eax
call fcn.00418600
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x453e5f
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 0
call eax
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x453e75
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 0
call eax
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x453e8b
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 0
call eax
lea ecx, [esp + 0x1c]
call fcn.004066e0
mov edi, dword [esp + 0x3c]
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x20]
call fcn.004066e0
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
jmp 0x453c50
mov byte [esp + 0x34], 0
cmp eax, ebx
je 0x453ecb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov dword [esp + 0x34], 0xffffffff
cmp edi, ebx
je 0x453f06
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, 0x80004005
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 4