Function at 0x457ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48bc12
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0xe4], ebx
call fcn.00405d00
add esp, 4
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 1
call fcn.0040b8a0
mov byte [esp + 0xe0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457f56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x457f89
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4581a3
cmp ecx, eax
jg 0x4581a3
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x457f89
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 0xc
push str.urlguide.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x458035
lea ebx, [esp + 0x14]
call fcn.00405a10
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 2
call fcn.0040b8a0
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x458022
lea eax, [ecx - 1]
test eax, eax
jl 0x4581a3
cmp eax, ecx
jg 0x4581a3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x458022
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 0xc
push str.urlguide.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
xor ebx, ebx
lea edx, [esp + 0x64]
push edx
xor edi, edi
call fcn.004429e0
mov esi, dword [ebp + 8]
mov byte [esp + 0xe0], 3
mov ecx, dword [esp + 0x10]
add esi, 0x34
push esi
lea edx, [esp + 0x68]
call fcn.00442e20
cmp eax, ebx
je 0x4583ec
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xe0], 4
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe0], 5
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xe0], 6
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0xe0], 7
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.004429e0
mov eax, 0xa
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x54]
push ecx
push str.Deny
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xec], al
call fcn.004431a0
cmp byte [esi], bl
jne 0x4581ba
mov esi, dword [esp + 0x60]
cmp esi, ebx
je 0x4581ba
cmp esi, dword [esp + 0x5c]
je 0x4581ba
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x14]
call fcn.0040b8a0
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x40]
call fcn.0045aa30
cmp eax, ebx
jne 0x4581ad
mov eax, edi
lea ebx, [esp + 0x3c]
call fcn.00457550
xor ebx, ebx
jmp 0x4581b0
push 0x80070057
call fcn.00416be0
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
add eax, 0x34
cmp byte [eax], bl
je 0x458168
push str.DefaultVersion
push str.Properties
lea eax, [esp + 0x6c]
push eax
call fcn.004433b0
lea ecx, [esp + 0x18]
push ecx
push str.Default
lea edx, [esp + 0x6c]
push edx
mov esi, eax
call fcn.004431a0
cmp eax, ebx
je 0x4581f4
cmp esi, 0x3c8
ja 0x4582b0
lea ebx, [esp + 0x30]
call fcn.00405a10
lea edi, [esp + 0x10]
mov byte [esp + 0xe0], 0xb
call fcn.0040b8a0
mov byte [esp + 0xe0], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458236
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x458269
lea eax, [ecx - 1]
test eax, eax
jl 0x4581a3
cmp eax, ecx
jg 0x4581a3
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x458269
push 0x5c
lea edi, [esp + 0x14]
call fcn.00416550
push 0xc
push str.urlguide.dat
lea ecx, [esp + 0x18]
push ecx
call fcn.004164c0
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x34]
push eax
lea edx, [esp + 0xa0]
call fcn.00442e20
test eax, eax
je 0x4582ac
lea edx, [esp + 0x18]
push edx
push str.Default
lea eax, [esp + 0xa4]
push eax
call fcn.004431a0
xor ebx, ebx
jmp 0x4582b3
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
call fcn.00458450
lea edi, [esp + 0x3c]
call fcn.00457800
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4582de
push eax
call fcn.00469084
add esp, 4
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe4], 8
call fcn.00442ab0
lea ecx, [esp + 0x18]
push ecx
push str.Custom
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.004431a0
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
push esi
call fcn.00458450
mov byte [esp + 0xe0], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45834c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458374
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45839c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4583c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4583ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0xe4], bl
call fcn.00442ab0
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4