Function at 0x418190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5020
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x6351a4]
test eax, eax
jne 0x4181f7
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4181e9
mov ecx, eax
call fcn.00419d20
jmp 0x4181eb
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push 0
push str.InstallNoServer
push str.AppInfo
mov ecx, eax
call fcn.0043ddbe
test eax, eax
je 0x41861c
mov eax, dword [0x6351a4]
test eax, eax
jne 0x41824d
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41823f
mov ecx, eax
call fcn.00419d20
jmp 0x418241
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6351a4], eax
push 0
push str.InstallNoServer
push str.AppInfo
mov ecx, eax
call fcn.0043fa06
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x5a98a4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402110
xor eax, eax
mov dword [ebp - 4], 2
push eax
push 0x5a98a4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402110
mov eax, dword [0x6351a4]
mov byte [ebp - 4], 3
test eax, eax
jne 0x4182e4
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4182d9
mov ecx, eax
call fcn.00419d20
jmp 0x4182db
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x6351a4], eax
mov ecx, eax
call fcn.0043dd53
mov edx, eax
cmp word [edx], 0
jne 0x4182f7
xor ecx, ecx
jmp 0x41830f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402110
push 0xd
push str.WnUtility.exe
lea ecx, [ebp - 0x58]
call fcn.004052c0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push 3
xor eax, eax
mov byte [ebp - 4], 5
push 0x5ab634
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x80]
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x41838d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a9c10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x80]
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4183d9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5ab63c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x80]
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418425
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a9c48
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x80]
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418471
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
mov eax, dword [0x6351a4]
test eax, eax
jne 0x4184a6
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x41849b
mov ecx, eax
call fcn.00419d20
jmp 0x41849d
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x6351a4], eax
push 0
push str.InstallNoServerSendDot
push str.AppInfo
mov ecx, eax
call fcn.0043ddbe
mov esi, eax
mov dword [ebp - 0x14], 7
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5ab674
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x80]
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418507
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004054e0
add esp, 8
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.00414020
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x41853a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
push 1
push 0x5ab5a0
lea ecx, [ebp - 0x40]
call fcn.00402110
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.004051b0
push 2
push 0x5ab5a4
lea ecx, [ebp - 0x40]
call fcn.004052c0
push 2
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5ab67c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00429879
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.004051b0
lea ecx, [ebp - 0x70]
call fcn.0041a3f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0041a3f0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418604
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.0042dd84
push esi
test eax, eax
je 0x4185fc
mov ecx, edi
call fcn.00419ad0
jmp 0x418604
call fcn.004345ce
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.004057b0
lea ecx, [ebp - 0x58]
call fcn.0041a3f0
lea ecx, [ebp - 0x40]
call fcn.0041a3f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret