Function at 0x40ea70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e20b
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.0040b0b0
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.00413140
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.0040b0d0
test eax, eax
jne 0x40eb19
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b0c0
xor eax, eax
jmp 0x40ed5d
cmp byte [esp + 0x164], 0x22
jne 0x40eb44
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 0x40eb4b
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 0x422d9c
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.00413830
mov esi, eax
add esp, 8
test esi, esi
je 0x40ebab
add esi, 4
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40ebab
movsx ecx, al
push ecx
call fcn.00413110
add esp, 4
test eax, eax
je 0x40ebab
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40eb93
push ebp
lea edx, [esp + 0x26c]
push 0x422d98
push edx
call fcn.00413140
add esp, 0xc
test esi, esi
je 0x40ebdb
push esi
push ebp
lea eax, [esp + 0x6c]
push str.__s___s
push eax
call fcn.00413140
add esp, 0x10
jmp 0x40ebee
push ebp
lea ecx, [esp + 0x68]
push str.__s_
push ecx
call fcn.00413140
add esp, 0xc
mov eax, dword [esp + 0x37c]
mov esi, str.MSVC50
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec1e
test cl, cl
je 0x40ec1a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec1e
add eax, 2
add esi, 2
test cl, cl
jne 0x40ebfa
xor eax, eax
jmp 0x40ec23
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ecaf
mov eax, dword [esp + 0x37c]
mov esi, str.MSVJ11
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec5b
test cl, cl
je 0x40ec57
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec5b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec37
xor eax, eax
jmp 0x40ec60
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ecaf
mov eax, dword [esp + 0x37c]
mov esi, 0x422d84
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec94
test cl, cl
je 0x40ec90
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec94
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec70
xor eax, eax
jmp 0x40ec99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [esp + 0x64]
jne 0x40eca8
mov edi, str.__q1__UA
jmp 0x40ecb8
mov edi, str.__q1n__UA
jmp 0x40ecb8
lea edx, [esp + 0x64]
mov edi, 0x422d68
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 0x40ed22
lea eax, [esp + 0x268]
push 0
push eax
call fcn.004136d0
add esp, 8
mov dword [esp + 0x374], 0xffffffff
test eax, eax
lea ecx, [esp + 0xc]
jne 0x40ed19
call fcn.0040b0c0
mov eax, 1
jmp 0x40ed5d
call fcn.0040b0c0
xor eax, eax
jmp 0x40ed5d
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, 0x428420
call fcn.00409b70
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0040b0c0
mov eax, esi
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x36c
ret 8