Function at 0x4181f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2b00
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x62c144]
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 [0x631024]
test eax, eax
jne 0x418257
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x418249
mov ecx, eax
call fcn.00419d80
jmp 0x41824b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push 0
push str.InstallNoServer
push str.AppInfo
mov ecx, eax
call fcn.0043b385
test eax, eax
je 0x41867c
mov eax, dword [0x631024]
test eax, eax
jne 0x4182ad
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41829f
mov ecx, eax
call fcn.00419d80
jmp 0x4182a1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x631024], eax
push 0
push str.InstallNoServer
push str.AppInfo
mov ecx, eax
call fcn.0043cf24
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x5a6864
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004020c0
xor eax, eax
mov dword [ebp - 4], 2
push eax
push 0x5a6864
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004020c0
mov eax, dword [0x631024]
mov byte [ebp - 4], 3
test eax, eax
jne 0x418344
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x418339
mov ecx, eax
call fcn.00419d80
jmp 0x41833b
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x631024], eax
mov ecx, eax
call fcn.0043b31a
mov edx, eax
cmp word [edx], 0
jne 0x418357
xor ecx, ecx
jmp 0x41836f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418360
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004020c0
push 0xd
push str.WnUtility.exe
lea ecx, [ebp - 0x58]
call fcn.004053e0
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 0x5a85e4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004020c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x80]
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4183ed
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a6bc0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004020c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x80]
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418439
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a85ec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004020c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x80]
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418485
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
push 1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a6bf8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004020c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x80]
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4184d1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
mov eax, dword [0x631024]
test eax, eax
jne 0x418506
push 0x120
call fcn.00439a09
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4184fb
mov ecx, eax
call fcn.00419d80
jmp 0x4184fd
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x631024], eax
push 0
push str.InstallNoServerSendDot
push str.AppInfo
mov ecx, eax
call fcn.0043b385
mov esi, eax
mov dword [ebp - 0x14], 7
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5a8624
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.004020c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x80]
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x418567
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00405600
add esp, 8
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.00414080
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x41859a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402210
push 1
push 0x5a8550
lea ecx, [ebp - 0x40]
call fcn.004020c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.004052d0
push 2
push 0x5a8554
lea ecx, [ebp - 0x40]
call fcn.004053e0
push 2
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5a862c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004020c0
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.004278e7
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.004052d0
lea ecx, [ebp - 0x70]
call fcn.0041a460
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0041a460
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 0x418664
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.0042aad9
push esi
test eax, eax
je 0x41865c
mov ecx, edi
call fcn.00419b30
jmp 0x418664
call fcn.0042f1ea
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.004058d0
lea ecx, [ebp - 0x58]
call fcn.0041a460
lea ecx, [ebp - 0x40]
call fcn.0041a460
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.00439cb7
mov esp, ebp
pop ebp
ret