Function at 0x4d1e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3eda
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x50], xmm0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x5c]
movq qword [ebp - 0x5c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x84]
movq qword [ebp - 0x84], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x78]
movq qword [ebp - 0x78], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
call fcn.005d6aa0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
movq qword [ebp - 0x90], xmm0
call fcn.005d6ac0
xor eax, eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x4d2007
push 0x67c8e0
lea ecx, [ebp - 0x50]
call fcn.005dc510
jmp 0x4d2051
cmp eax, 1
jne 0x4d201b
push str.HKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x50]
call fcn.005dc510
jmp 0x4d2051
cmp eax, 2
jne 0x4d2051
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push ecx
lea ecx, [ebx + 0x1290]
call fcn.0057c2d0
push eax
push str.HKU_
lea ecx, [ebp - 0x50]
call fcn.005dc200
push ecx
push 0x20019
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005d6a30
test al, al
je 0x4d2242
xor edi, edi
cmp byte [esi + 0xc], 0
jne 0x4d2672
lea eax, [ebp - 0x90]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.005d6380
test al, al
je 0x4d2242
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x50]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
lea ecx, [ebp - 0x44]
call fcn.005dc190
mov ecx, eax
call fcn.005d3ec0
test al, al
jne 0x4d20f3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.____Empty_uninstall_key
jmp 0x4d2216
push ecx
push 0x20019
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d6a30
test al, al
je 0x4d223c
lea eax, [ebp - 0x38]
push eax
push str.UninstallString
lea ecx, [ebp - 0x18]
call fcn.005d6740
test al, al
je 0x4d21a3
cmp dword [ebp - 0x94], 1
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x38]
sete al
movzx eax, al
push eax
call fcn.005d4680
test al, al
jne 0x4d21a3
lea ecx, [ebp - 0x38]
call fcn.005dbeb0
test al, al
je 0x4d215d
push str.Orphan_uninstall_key
call fcn.005dc510
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push 0x68fb68
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 1
push 7
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push esi
mov ecx, ebx
call fcn.004ceb00
lea eax, [ebp - 0x38]
push eax
push str.DisplayIcon
lea ecx, [ebp - 0x18]
call fcn.005d6740
test al, al
je 0x4d223c
push 0
lea ecx, [ebp - 0x38]
call fcn.005dbc20
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d223c
push 1
lea ecx, [ebp - 0x38]
call fcn.005e8620
test al, al
jne 0x4d223c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
push str.___DisplayIcon___
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 1
push 7
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push esi
mov ecx, ebx
call fcn.004ceb00
inc edi
jmp 0x4d2072
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, 3
jl 0x4d1ff4
push str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData
lea ecx, [ebp - 0x50]
call fcn.005dc510
push ecx
push 0x20019
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005d6a30
test al, al
je 0x4d25dd
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.005d6380
test al, al
je 0x4d25dd
nop word [eax + eax]
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x50]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Products
push edi
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Components
push edi
push 0x624284
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x78]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Patches
push edi
push 0x624284
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x6c]
call fcn.005dc200
push ecx
push 0x20019
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d6a30
test al, al
je 0x4d240f
xor edi, edi
nop dword [eax + eax]
cmp byte [esi + 0xc], 0
jne 0x4d2672
lea eax, [ebp - 0x90]
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.005d6380
test al, al
je 0x4d240f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x44]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x5c]
call fcn.005dc200
lea ecx, [ebp - 0x5c]
call fcn.005dc190
mov ecx, eax
call fcn.005d3ec0
test al, al
jne 0x4d2409
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.____Empty_or_invalid_Installer_product_key
push dword [ebp - 0x90]
lea ecx, [ebp - 0x44]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 1
push 7
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push esi
mov ecx, ebx
call fcn.004ceb00
inc edi
jmp 0x4d2360
lea ecx, [ebp - 0x18]
call fcn.005d6a00
test eax, eax
je 0x4d25b8
push ecx
push 0x20019
lea ecx, [ebp - 0x78]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005d6a30
test al, al
je 0x4d24e8
xor edi, edi
cmp byte [esi + 0xc], 0
jne 0x4d2672
lea eax, [ebp - 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.005d6380
test al, al
je 0x4d24e8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x78]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x5c]
call fcn.005dc200
lea ecx, [ebp - 0x5c]
call fcn.005dc190
mov ecx, eax
call fcn.005d3ec0
test al, al
jne 0x4d24e2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.____Empty_or_invalid_Installer_component_key
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 1
push 7
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push esi
mov ecx, ebx
call fcn.004ceb00
inc edi
jmp 0x4d2440
push ecx
push 0x20019
lea ecx, [ebp - 0x6c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005d6a30
test al, al
je 0x4d25b8
xor edi, edi
nop dword [eax]
cmp byte [esi + 0xc], 0
jne 0x4d2672
lea eax, [ebp - 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.005d6380
test al, al
je 0x4d25b8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x6c]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x5c]
call fcn.005dc200
lea ecx, [ebp - 0x5c]
call fcn.005dc190
mov ecx, eax
call fcn.005d3ec0
test al, al
jne 0x4d25b2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.____Empty_or_invalid_Installer_patch_key
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 1
push 7
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push esi
mov ecx, ebx
call fcn.004ceb00
inc edi
jmp 0x4d2510
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x94], eax
call fcn.005d6380
test al, al
jne 0x4d22b0
cmp byte [esi + 0xc], 0
sete bl
lea ecx, [ebp - 0x90]
call fcn.005d6ab0
lea ecx, [ebp - 0x60]
call fcn.005d69e0
lea ecx, [ebp - 0x20]
call fcn.005d69e0
lea ecx, [ebp - 0x18]
call fcn.005d69e0
lea ecx, [ebp - 0x1c]
call fcn.005d69e0
lea ecx, [ebp - 0x6c]
call fcn.005dc430
lea ecx, [ebp - 0x78]
call fcn.005dc430
lea ecx, [ebp - 0x84]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x5c]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x50]
call fcn.005dc430
mov al, bl
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
xor bl, bl
jmp 0x4d25e4