Function at 0x485120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de191
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x80], 0
xor eax, eax
mov edi, dword [esp + 0x88]
lea ecx, [esp + 0x44]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x3c], 0
push 0x34
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00402ad0
mov dword [esp + 0x80], 1
lea edx, [esp + 0x44]
push esi
lea ecx, [esp + 0x60]
call fcn.0040d030
add esp, 4
mov byte [esp + 0x80], 2
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
push 0xf
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
push str.UninstallString
mov dword [esp + 0x44], 1
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.00402ad0
mov byte [esp + 0x80], 3
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
push 0x80000002
lea eax, [esp + 0x30]
push eax
call fcn.00471740
mov esi, eax
mov byte [esp + 0x80], 4
cmp edi, esi
je 0x48526e
cmp dword [edi + 0x14], 8
jb 0x485253
push dword [edi]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.004026a0
mov byte [esp + 0x80], 3
cmp dword [esp + 0x38], 8
jb 0x485289
push dword [esp + 0x24]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x80], 2
cmp dword [esp + 0x20], 8
jb 0x4852bb
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [edi + 0x10], eax
jne 0x4853a7
push str.UninstallString
lea ecx, [esp + 0x10]
call fcn.00402470
mov byte [esp + 0x80], 5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
push 0x80000001
lea eax, [esp + 0x30]
push eax
call fcn.00471740
mov esi, eax
mov byte [esp + 0x80], 6
cmp edi, esi
je 0x485343
cmp dword [edi + 0x14], 8
jb 0x485328
push dword [edi]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.004026a0
mov byte [esp + 0x80], 5
cmp dword [esp + 0x38], 8
jb 0x48535e
push dword [esp + 0x24]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x80], 2
cmp dword [esp + 0x20], 8
jb 0x485390
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [edi + 0x10], 0
je 0x4853e9
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4853b9
mov eax, dword [edi]
jmp 0x4853bb
mov eax, edi
cmp word [eax], 0x22
jne 0x4853e9
cmp ecx, 8
jb 0x4853ca
mov eax, dword [edi]
jmp 0x4853cc
mov eax, edi
cmp ecx, 8
jb 0x4853d5
mov ecx, dword [edi]
jmp 0x4853d7
mov ecx, edi
test eax, eax
je 0x4853df
sub eax, ecx
sar eax, 1
push 1
push eax
mov ecx, edi
call fcn.00402d90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x485483
cmp dword [edi + 0x14], 8
jb 0x4853fe
mov ecx, dword [edi]
jmp 0x485400
mov ecx, edi
cmp word [ecx + eax*2 - 2], 0x22
jne 0x485483
dec eax
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x2c]
push eax
call fcn.0040cca0
mov esi, eax
mov byte [esp + 0x80], 7
cmp edi, esi
je 0x485451
cmp dword [edi + 0x14], 8
jb 0x485436
push dword [edi]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.004026a0
mov byte [esp + 0x80], 2
cmp dword [esp + 0x38], 8
jb 0x48546c
push dword [esp + 0x24]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x80], 1
cmp dword [esp + 0x70], 8
jb 0x48549e
push dword [esp + 0x5c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov byte [esp + 0x80], al
cmp dword [esp + 0x58], 8
jb 0x4854cf
push dword [esp + 0x44]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x78
ret 8