Function at 0x538410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b6e1
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [0x5e173c]
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.00404a80
mov dword [esp + 0x80], 1
lea edx, [esp + 0x44]
push esi
lea ecx, [esp + 0x60]
call fcn.0042ae90
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.00404a80
mov byte [esp + 0x80], 3
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [esp + 0x30]
push eax
call fcn.005247d0
mov esi, eax
mov byte [esp + 0x80], 4
cmp edi, esi
je 0x53855e
cmp dword [edi + 0x14], 8
jb 0x538543
push dword [edi]
call fcn.00564de3
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.00404150
mov byte [esp + 0x80], 3
cmp dword [esp + 0x38], 8
jb 0x538579
push dword [esp + 0x24]
call fcn.00564de3
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 0x5385ab
push dword [esp + 0xc]
call fcn.00564de3
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 0x5386b2
push 0xf
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
push str.UninstallString
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.00404a80
mov byte [esp + 0x80], 5
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
push SysReAllocString
lea eax, [esp + 0x30]
push eax
call fcn.005247d0
mov esi, eax
mov byte [esp + 0x80], 6
cmp edi, esi
je 0x53864e
cmp dword [edi + 0x14], 8
jb 0x538633
push dword [edi]
call fcn.00564de3
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.00404150
mov byte [esp + 0x80], 5
cmp dword [esp + 0x38], 8
jb 0x538669
push dword [esp + 0x24]
call fcn.00564de3
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 0x53869b
push dword [esp + 0xc]
call fcn.00564de3
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 0x5386f4
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x5386c4
mov eax, dword [edi]
jmp 0x5386c6
mov eax, edi
cmp word [eax], 0x22
jne 0x5386f4
cmp ecx, 8
jb 0x5386d5
mov eax, dword [edi]
jmp 0x5386d7
mov eax, edi
cmp ecx, 8
jb 0x5386e0
mov ecx, dword [edi]
jmp 0x5386e2
mov ecx, edi
test eax, eax
je 0x5386ea
sub eax, ecx
sar eax, 1
push 1
push eax
mov ecx, edi
call fcn.004041f0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x53878e
cmp dword [edi + 0x14], 8
jb 0x538709
mov ecx, dword [edi]
jmp 0x53870b
mov ecx, edi
cmp word [ecx + eax*2 - 2], 0x22
jne 0x53878e
dec eax
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x2c]
push eax
call fcn.00403c50
mov esi, eax
mov byte [esp + 0x80], 7
cmp edi, esi
je 0x53875c
cmp dword [edi + 0x14], 8
jb 0x538741
push dword [edi]
call fcn.00564de3
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.00404150
mov byte [esp + 0x80], 2
cmp dword [esp + 0x38], 8
jb 0x538777
push dword [esp + 0x24]
call fcn.00564de3
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 0x5387a9
push dword [esp + 0x5c]
call fcn.00564de3
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 0x5387da
push dword [esp + 0x44]
call fcn.00564de3
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.00564de8
add esp, 0x78
ret 8