Function at 0x48fdb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x63590a
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x8f0], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x908]
mov dword fs:[0], eax
mov dword [esp + 0x84], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48fe3d
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x910], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x910], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x68d1fc
push 0x6d66e8
call dword [eax + 0x10]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x4fc], ax
lea eax, [esp + 0x4fe]
push eax
call fcn.005edd10
add esp, 0x14
xor eax, eax
push 0x206
push eax
mov word [esp + 0xe4], ax
lea eax, [esp + 0xe6]
push eax
mov dword [esp + 0xe4], 0x104
call fcn.005edd10
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x6fc], ax
lea eax, [esp + 0x6fe]
push eax
call fcn.005edd10
mov edi, dword [esp + 0x2c]
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x50], 0x68d150
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov esi, dword [esp + ecx*4 + 0x50]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], esi
mov edi, edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2ec], ax
lea eax, [esp + 0x2ee]
push eax
call fcn.005edd10
add esp, 0xc
lea eax, [esp + 0x2e4]
push eax
push ebx
push 0
push esi
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
jne 0x490573
lea eax, [esp + 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x490573
mov edi, dword [sym.imp.msi.dll_MsiGetPropertyW]
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x4f0]
push eax
push 0x68d1a0
lea eax, [esp + 0x2f0]
push eax
call edi
test eax, eax
jne 0x490616
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48ffa2
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x910], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x910], 0xffffffff
cmp dword [0x6d6cb4], 8
mov edx, 0x6d6ca0
cmovae edx, dword [0x6d6ca0]
xor eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
cmp word [edx], ax
jne 0x48ffe5
xor ecx, ecx
jmp 0x48ffff
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fff0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403c30
mov dword [esp + 0x910], 2
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x38]
call fcn.004a1780
mov dword [esp + 0x910], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x490043
push dword [esp + 0x38]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
cmp word [esp + 0x4ec], ax
je 0x49009f
lea eax, [esp + 0x4ec]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490090
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4f0]
push eax
lea ecx, [esp + 0x74]
call fcn.00403c30
mov dword [esp + 0x910], 3
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x6c]
call fcn.004a1780
mov dword [esp + 0x910], 0xffffffff
cmp dword [esp + 0x80], 8
jb 0x4900ed
push dword [esp + 0x6c]
call fcn.004c56c2
add esp, 4
mov ecx, dword [esp + 0xc8]
xor eax, eax
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
cmp eax, ecx
jge 0x49011e
or esi, 0xffffffff
jmp 0x49017d
jg 0x490616
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xcc]
cmp eax, ecx
jge 0x49013b
or esi, 0xffffffff
jmp 0x49017d
jg 0x490616
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
cmp eax, ecx
jge 0x490158
or esi, 0xffffffff
jmp 0x49017d
jg 0x490616
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd4]
cmp eax, ecx
jge 0x490175
or esi, 0xffffffff
jmp 0x49017d
jg 0x490616
xor esi, esi
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0x68d270
lea eax, [esp + 0x2f0]
push eax
mov dword [esp + 0xe8], 0x104
call edi
mov ecx, dword [case.0x79a990.0]
mov edi, eax
test cl, 1
jne 0x4901eb
or ecx, 1
mov dword [case.0x79a990.0], ecx
mov dword [esp + 0x910], 4
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x910], 0xffffffff
lea eax, [esp + 0xdc]
push eax
mov eax, dword [0x6d66e8]
push 0x6d66e8
call dword [eax + 4]
add esp, 8
test esi, esi
jne 0x490259
mov esi, dword [esp + 0x30]
push 0x14
push 0x68d290
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.004048b0
test eax, eax
lea eax, [esp + 0xdc]
jne 0x490241
push 0x68d22c
push 0x104
push eax
call fcn.005eb07b
add esp, 0xc
jmp 0x490370
push 0x68d254
push 0x104
push eax
call fcn.005eb07b
add esp, 0xc
jmp 0x490370
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x6f8]
push 0x104
push eax
call fcn.005ea9d1
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, eax
push 0xb
push 0x68d31c
push dword [eax + 0x10]
push 0
call fcn.004048b0
push 0x68d22c
test eax, eax
push 0x104
lea eax, [esp + 0xe4]
push eax
jne 0x49024c
call fcn.005eb07b
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xa4]
call fcn.004035b0
mov dword [esp + 0x910], 5
cmp dword [esp + 0xb4], 8
lea eax, [esp + 0xa0]
cmovae eax, dword [esp + 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete bl
mov dword [esp + 0x910], 0xffffffff
cmp dword [esp + 0xb4], 8
jb 0x490311
push dword [esp + 0xa0]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
test bl, bl
je 0x49036c
push 0x68d254
lea eax, [esp + 0x6f8]
push 0x104
push eax
call fcn.005eb07b
add esp, 0xc
lea eax, [esp + 0x6f4]
push eax
lea eax, [esp + 0xe0]
push 0x104
push eax
call fcn.005ea9d1
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0xdc]
mov eax, dword [ecx]
push edx
push 0x68d338
push ecx
call dword [eax + 0x14]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x910], 6
xor eax, eax
push eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
push 0x676964
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
call fcn.00403c30
mov byte [esp + 0x910], 7
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x18]
call fcn.00466880
mov byte [esp + 0x910], 6
cmp dword [esp + 0x9c], 8
jb 0x49045a
push dword [esp + 0x88]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
cmp word [esp + 0xdc], ax
jne 0x4904a1
xor ecx, ecx
jmp 0x4904bf
lea ecx, [esp + 0xdc]
lea edx, [ecx + 2]
jmp 0x4904b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4904b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x5c]
call fcn.00403c30
mov byte [esp + 0x910], 8
sub esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00490620
mov byte [esp + 0x910], 6
cmp dword [esp + 0x68], 8
jb 0x490511
push dword [esp + 0x54]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov dword [esp + 0x910], 0xffffffff
mov esi, dword [esp + 0x14]
test esi, esi
je 0x49056f
push dword [esp + 0x20]
lea eax, [esp + 0x2b]
push eax
push dword [esp + 0x20]
push esi
call fcn.00418be0
push esi
call fcn.004c56c2
add esp, 0x14
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x28]
inc ebx
test esi, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
je 0x48fee0
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 1
jb 0x48fed0
test edi, edi
jne 0x490616
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x4905d9
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x910], 9
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x910], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x68d2bc
push 0x6d66e8
call dword [eax + 0x10]
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x908]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8f0]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4
xor al, al
jmp 0x4905f0