Function at 0x40eec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42147b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0040b130
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x374], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x37c]
lea ecx, [esp + 0x64]
push eax
push str.softwaremicrosoftwindowscurrentversionuninstall
push str._s_s
push ecx
mov dword [esp + 0x30], 0x44
call fcn.00414780
add esp, 0x10
lea edx, [esp + 0x164]
lea eax, [esp + 0x64]
lea ecx, [esp + 0xc]
push 0x104
push edx
push 1
push str.UninstallString
push eax
push 0
call fcn.0040b150
test eax, eax
jne 0x40ef69
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b140
xor eax, eax
jmp 0x40f1ad
cmp byte [esp + 0x164], 0x22
jne 0x40ef94
lea edi, [esp + 0x165]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x165]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x164], al
jmp 0x40ef9b
lea ebp, [esp + 0x164]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x268]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x425e0c
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00414e70
mov esi, eax
add esp, 8
test esi, esi
je 0x40effb
add esi, 4
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40effb
movsx ecx, al
push ecx
call fcn.00414750
add esp, 4
test eax, eax
je 0x40effb
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40efe3
push ebp
lea edx, [esp + 0x26c]
push 0x425e08
push edx
call fcn.00414780
add esp, 0xc
test esi, esi
je 0x40f02b
push esi
push ebp
lea eax, [esp + 0x6c]
push str.__s___s
push eax
call fcn.00414780
add esp, 0x10
jmp 0x40f03e
push ebp
lea ecx, [esp + 0x68]
push str.__s_
push ecx
call fcn.00414780
add esp, 0xc
mov eax, dword [esp + 0x37c]
mov esi, str.MSVC50
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f06e
test cl, cl
je 0x40f06a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f06e
add eax, 2
add esi, 2
test cl, cl
jne 0x40f04a
xor eax, eax
jmp 0x40f073
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f0ff
mov eax, dword [esp + 0x37c]
mov esi, str.MSVJ11
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f0ab
test cl, cl
je 0x40f0a7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f0ab
add eax, 2
add esi, 2
test cl, cl
jne 0x40f087
xor eax, eax
jmp 0x40f0b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f0ff
mov eax, dword [esp + 0x37c]
mov esi, 0x425df4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f0e4
test cl, cl
je 0x40f0e0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f0e4
add eax, 2
add esi, 2
test cl, cl
jne 0x40f0c0
xor eax, eax
jmp 0x40f0e9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [esp + 0x64]
jne 0x40f0f8
mov edi, str.__q1__UA
jmp 0x40f108
mov edi, str.__q1n__UA
jmp 0x40f108
lea edx, [esp + 0x64]
mov edi, 0x425dd8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x380]
mov ecx, ebp
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x40f172
lea eax, [esp + 0x268]
push 0
push eax
call fcn.00414d10
add esp, 8
mov dword [esp + 0x374], 0xffffffff
test eax, eax
lea ecx, [esp + 0xc]
jne 0x40f169
call fcn.0040b140
mov eax, 1
jmp 0x40f1ad
call fcn.0040b140
xor eax, eax
jmp 0x40f1ad
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x270]
push eax
push ecx
mov ecx, 0x42b5c8
call fcn.00409bf0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b140
mov eax, esi
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x36c
ret 8