Function at 0x4dfe90
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x528241
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov dword [esp + 0x88], 0
xor eax, eax
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x44], 0
push 0x34
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00405240
mov dword [esp + 0x88], 1
lea edx, [esp + 0x4c]
push esi
lea ecx, [esp + 0x68]
call fcn.00423480
add esp, 4
mov byte [esp + 0x88], 2
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
push 0xf
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
push str.UninstallString
mov dword [esp + 0x4c], 1
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
call fcn.00405240
mov byte [esp + 0x88], 3
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
push 0x80000002
lea eax, [esp + 0x38]
push eax
call fcn.004cc930
mov ebx, eax
mov byte [esp + 0x88], 4
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp edi, ebx
je 0x4dffe5
cmp dword [edi + 0x14], 8
jb 0x4dffca
push dword [edi]
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.00404b90
mov byte [esp + 0x88], 3
cmp dword [esp + 0x40], 8
jb 0x4dfffd
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x88], 2
cmp dword [esp + 0x28], 8
jb 0x4e002c
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp dword [edi + 0x10], eax
jne 0x4e010f
push str.UninstallString
lea ecx, [esp + 0x18]
call fcn.00404840
mov byte [esp + 0x88], 5
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x68]
push eax
push 0x80000001
lea eax, [esp + 0x38]
push eax
call fcn.004cc930
mov ebx, eax
mov byte [esp + 0x88], 6
cmp edi, ebx
je 0x4e00b1
cmp dword [edi + 0x14], 8
jb 0x4e0096
push dword [edi]
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.00404b90
mov byte [esp + 0x88], 5
cmp dword [esp + 0x40], 8
jb 0x4e00c9
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x88], 2
cmp dword [esp + 0x28], 8
jb 0x4e00f8
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp dword [edi + 0x10], 0
je 0x4e0151
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4e0121
mov eax, dword [edi]
jmp 0x4e0123
mov eax, edi
cmp word [eax], 0x22
jne 0x4e0151
cmp ecx, 8
jb 0x4e0132
mov eax, dword [edi]
jmp 0x4e0134
mov eax, edi
cmp ecx, 8
jb 0x4e013d
mov ecx, dword [edi]
jmp 0x4e013f
mov ecx, edi
test eax, eax
je 0x4e0147
sub eax, ecx
sar eax, 1
push 1
push eax
mov ecx, edi
call fcn.00405380
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4e01e5
cmp dword [edi + 0x14], 8
jb 0x4e0166
mov ecx, dword [edi]
jmp 0x4e0168
mov ecx, edi
cmp word [ecx + eax*2 - 2], 0x22
jne 0x4e01e5
dec eax
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x34]
push eax
call fcn.004231b0
mov ebx, eax
mov byte [esp + 0x88], 7
cmp edi, ebx
je 0x4e01b6
cmp dword [edi + 0x14], 8
jb 0x4e019b
push dword [edi]
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.00404b90
mov byte [esp + 0x88], 2
cmp dword [esp + 0x40], 8
jb 0x4e01ce
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x88], 1
cmp dword [esp + 0x78], 8
jb 0x4e01fd
push dword [esp + 0x64]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0x88], al
cmp dword [esp + 0x60], 8
jb 0x4e022b
push dword [esp + 0x4c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00505b1e
add esp, 0x7c
ret 8