Function at 0x4f3b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5faf8d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x14]
push eax
push 9
push edi
push str.InstallerProducts
mov dword [esp + 0xd0], edi
mov ebx, dword [0x610044]
push 0x80000000
call ebx
cmp eax, edi
jne 0x4f43a7
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 2
call fcn.004d8df0
test al, al
jne 0x4f3c5b
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xc4], 1
call fcn.00404430
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xc4], 0
call fcn.00404430
mov eax, dword [esp + 0x14]
cmp eax, edi
jmp 0x4f439e
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0xc0], 5
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4f3c96
push eax
call dword [0x610040]
mov dword [esp + 0x14], edi
lea edx, [esp + 0x14]
push edx
push 9
push edi
push str.SoftwareMicrosoftInstallerProducts
push 0x80000001
call ebx
cmp eax, edi
je 0x4f3cb8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
jmp 0x4f3ccb
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.004d8df0
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x4f3cd7
xor ebx, ebx
jmp 0x4f3cf0
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x4f3d11
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
call dword [0x61049c]
add edi, ebx
add esi, 4
push edi
call fcn.004f4a60
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
jmp 0x4f3d40
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f3f9d
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4f3f9d
push str.InstallerProducts_
lea ecx, [esp + 0x7c]
call dword [0x610498]
mov byte [esp + 0xc0], 6
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4f3da9
mov ecx, dword [esp + 0x38]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f3db3
call dword [0x6105e8]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add edi, edx
push edi
lea ecx, [esp + 0x7c]
call dword [0x610594]
cmp dword [esp + 0x90], 8
mov edi, dword [esp + 0x7c]
jae 0x4f3dd6
lea edi, [esp + 0x7c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f3ded
push eax
call dword [0x610040]
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 1
push 0
push edi
push 0x80000000
call dword [0x610044]
test eax, eax
je 0x4f3e17
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jmp 0x4f3f79
lea ecx, [esp + 0x94]
call dword [0x61049c]
lea ecx, [esp + 0x94]
push ecx
push str.ProductName
lea edi, [esp + 0x1c]
mov byte [esp + 0xc8], 7
call fcn.004d8bf0
mov eax, dword [esi + 4]
test eax, eax
je 0x4f3e63
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f3e69
call dword [0x6105e8]
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
push edx
call dword [0x61059c]
mov edi, dword [0x61001c]
mov eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push str.Version
push eax
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x4f3ebe
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4f3edf
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f3ee5
call dword [0x6105e8]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x1c]
mov dword [ecx + eax + 0x20], edx
mov eax, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.Language
push ecx
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x4f3f2e
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4f3f4f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f3f55
call dword [0x6105e8]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword [edx + ecx + 0x1c], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 6
call dword [0x6105a0]
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 5
call dword [0x6105a0]
add dword [esp + 0x28], 0x1c
add ebx, 1
add dword [esp + 0x1c], 0x24
jmp 0x4f3d40
mov edi, dword [esp + 0x44]
xor ebx, ebx
cmp edi, ebx
je 0x4f4298
mov ecx, dword [esp + 0x48]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4f4298
mov dword [esp + 0x28], ebx
mov edi, edi
test edi, edi
je 0x4f4296
mov ecx, dword [esp + 0x48]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4f4296
push str.SoftwareMicrosoftInstallerProducts_
lea ecx, [esp + 0x7c]
call dword [0x610498]
mov byte [esp + 0xc0], 8
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4f4035
mov ecx, dword [esp + 0x48]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f403f
call dword [0x6105e8]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
add edi, ecx
push edi
lea ecx, [esp + 0x7c]
call dword [0x610594]
cmp dword [esp + 0x90], 8
mov edi, dword [esp + 0x7c]
jae 0x4f4062
lea edi, [esp + 0x7c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f4079
push eax
call dword [0x610040]
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
push edx
push 1
push 0
push edi
push 0x80000001
call dword [0x610044]
test eax, eax
je 0x4f40a3
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jmp 0x4f4273
lea ecx, [esp + 0x94]
call dword [0x61049c]
lea eax, [esp + 0x94]
push eax
push str.ProductName
lea edi, [esp + 0x1c]
mov byte [esp + 0xc8], 9
call fcn.004d8bf0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f40ef
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + ebx]
mov eax, dword [esi + 4]
test eax, eax
je 0x4f4113
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4f4119
call dword [0x6105e8]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x94]
lea edx, [edi + edi*8]
push ecx
lea ecx, [eax + edx*4]
call dword [0x61059c]
mov eax, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.Version
push ecx
mov dword [esp + 0x34], 0
call dword [0x61001c]
test eax, eax
je 0x4f416e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f418f
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + ebx]
mov eax, dword [esi + 4]
test eax, eax
je 0x4f41b3
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4f41b9
call dword [0x6105e8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea edx, [edi + edi*8]
mov dword [eax + edx*4 + 0x20], ecx
mov eax, 4
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.Language
push edx
mov dword [esp + 0x34], 0
call dword [0x61001c]
test eax, eax
je 0x4f4205
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f4226
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + ebx]
mov eax, dword [esi + 4]
test eax, eax
je 0x4f424a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4f4250
call dword [0x6105e8]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
lea eax, [edi + edi*8]
mov dword [ecx + eax*4 + 0x1c], edx
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 8
call dword [0x6105a0]
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 5
call dword [0x6105a0]
mov edi, dword [esp + 0x44]
add ebx, 1
add dword [esp + 0x28], 0x1c
jmp 0x4f3fd0
xor ebx, ebx
mov byte [esp + 0xc0], 4
mov esi, dword [esp + 0x64]
cmp esi, ebx
je 0x4f42d0
mov edi, dword [esp + 0x68]
cmp esi, edi
je 0x4f42c3
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4f42b0
mov esi, dword [esp + 0x64]
push esi
call fcn.005e6954
mov edi, dword [esp + 0x48]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0xc0], 3
je 0x4f430c
mov esi, dword [esp + 0x48]
cmp edi, esi
je 0x4f4303
mov ecx, edi
call dword [0x6105a0]
add edi, 0x1c
cmp edi, esi
jne 0x4f42f0
mov edi, dword [esp + 0x44]
push edi
call fcn.005e6954
add esp, 4
mov byte [esp + 0xc0], 1
mov esi, dword [esp + 0x54]
cmp esi, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x4f434c
mov edi, dword [esp + 0x58]
cmp esi, edi
je 0x4f4343
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4f4330
mov esi, dword [esp + 0x54]
push esi
call fcn.005e6954
add esp, 4
mov byte [esp + 0xc0], 0
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
je 0x4f438c
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x4f437f
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4f4370
mov eax, dword [esp + 0x34]
push eax
call fcn.005e6954
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp eax, ebx
je 0x4f43a7
push eax
call dword [0x610040]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret