Function at 0x40ea60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e1fb
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.0040b0a0
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.00413130
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.0040b0c0
test eax, eax
jne 0x40eb09
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b0b0
xor eax, eax
jmp 0x40ed4d
cmp byte [esp + 0x164], 0x22
jne 0x40eb34
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 0x40eb3b
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 0x422d88
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.00413820
mov esi, eax
add esp, 8
test esi, esi
je 0x40eb9b
add esi, 4
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40eb9b
movsx ecx, al
push ecx
call fcn.00413100
add esp, 4
test eax, eax
je 0x40eb9b
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40eb83
push ebp
lea edx, [esp + 0x26c]
push 0x422d84
push edx
call fcn.00413130
add esp, 0xc
test esi, esi
je 0x40ebcb
push esi
push ebp
lea eax, [esp + 0x6c]
push str.__s___s
push eax
call fcn.00413130
add esp, 0x10
jmp 0x40ebde
push ebp
lea ecx, [esp + 0x68]
push str.__s_
push ecx
call fcn.00413130
add esp, 0xc
mov eax, dword [esp + 0x37c]
mov esi, str.MSVC50
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec0e
test cl, cl
je 0x40ec0a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec0e
add eax, 2
add esi, 2
test cl, cl
jne 0x40ebea
xor eax, eax
jmp 0x40ec13
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec9f
mov eax, dword [esp + 0x37c]
mov esi, str.MSVJ11
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec4b
test cl, cl
je 0x40ec47
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec4b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec27
xor eax, eax
jmp 0x40ec50
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ec9f
mov eax, dword [esp + 0x37c]
mov esi, 0x422d70
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec84
test cl, cl
je 0x40ec80
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec84
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec60
xor eax, eax
jmp 0x40ec89
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [esp + 0x64]
jne 0x40ec98
mov edi, str.__q1__UA
jmp 0x40eca8
mov edi, str.__q1n__UA
jmp 0x40eca8
lea edx, [esp + 0x64]
mov edi, 0x422d54
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 0x40ed12
lea eax, [esp + 0x268]
push 0
push eax
call fcn.004136c0
add esp, 8
mov dword [esp + 0x374], 0xffffffff
test eax, eax
lea ecx, [esp + 0xc]
jne 0x40ed09
call fcn.0040b0b0
mov eax, 1
jmp 0x40ed4d
call fcn.0040b0b0
xor eax, eax
jmp 0x40ed4d
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, 0x428400
call fcn.00409b60
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b0b0
mov eax, esi
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x36c
ret 8