Function at 0x40ee30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e72b
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.0040b0f0
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.00413640
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.0040b110
test eax, eax
jne 0x40eed9
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b100
xor eax, eax
jmp 0x40f11d
cmp byte [esp + 0x164], 0x22
jne 0x40ef04
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 0x40ef0b
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 0x422e0c
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.00413d30
mov esi, eax
add esp, 8
test esi, esi
je 0x40ef6b
add esi, 4
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40ef6b
movsx ecx, al
push ecx
call fcn.00413610
add esp, 4
test eax, eax
je 0x40ef6b
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40ef53
push ebp
lea edx, [esp + 0x26c]
push 0x422e08
push edx
call fcn.00413640
add esp, 0xc
test esi, esi
je 0x40ef9b
push esi
push ebp
lea eax, [esp + 0x6c]
push str.__s___s
push eax
call fcn.00413640
add esp, 0x10
jmp 0x40efae
push ebp
lea ecx, [esp + 0x68]
push str.__s_
push ecx
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x37c]
mov esi, str.MSVC50
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40efde
test cl, cl
je 0x40efda
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40efde
add eax, 2
add esi, 2
test cl, cl
jne 0x40efba
xor eax, eax
jmp 0x40efe3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f06f
mov eax, dword [esp + 0x37c]
mov esi, str.MSVJ11
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f01b
test cl, cl
je 0x40f017
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f01b
add eax, 2
add esi, 2
test cl, cl
jne 0x40eff7
xor eax, eax
jmp 0x40f020
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f06f
mov eax, dword [esp + 0x37c]
mov esi, 0x422df4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f054
test cl, cl
je 0x40f050
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f054
add eax, 2
add esi, 2
test cl, cl
jne 0x40f030
xor eax, eax
jmp 0x40f059
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [esp + 0x64]
jne 0x40f068
mov edi, str.__q1__UA
jmp 0x40f078
mov edi, str.__q1n__UA
jmp 0x40f078
lea edx, [esp + 0x64]
mov edi, 0x422dd8
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 0x40f0e2
lea eax, [esp + 0x268]
push 0
push eax
call fcn.00413bd0
add esp, 8
mov dword [esp + 0x374], 0xffffffff
test eax, eax
lea ecx, [esp + 0xc]
jne 0x40f0d9
call fcn.0040b100
mov eax, 1
jmp 0x40f11d
call fcn.0040b100
xor eax, eax
jmp 0x40f11d
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, 0x4284f0
call fcn.00409bb0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b100
mov eax, esi
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x36c
ret 8