Function at 0x51a3e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e248
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x608514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0043ee60
mov dword [ebp - 4], 0
xor eax, eax
push 0x34
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.004047a0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51a4dc
push 0x5b9570
push eax
call edi
test eax, eax
je 0x51a4dc
mov edx, dword [esi]
lea edi, [ebp - 0x34]
push edi
or edx, 0x20019
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push edx
cmovae ecx, dword [ebp - 0x30]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x51a4dc
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0051a6d0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x51a4dc
push 0x5b95a4
push eax
call edi
test eax, eax
je 0x51a4dc
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x51a4dc
push ecx
call eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push 0x20019
mov dword [ebp - 0x34], 0
call fcn.0045bbd0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51a57f
push 0x5b9570
push eax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x51a57f
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x51a57f
mov ecx, dword [esi]
lea edi, [ebp - 0x34]
push edi
or ecx, 0x20019
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push ecx
cmovae eax, dword [ebp - 0x30]
push 0
push eax
push edx
call dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x51a57f
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0051a6d0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x51a57f
push 0x5b95a4
push eax
call edi
test eax, eax
je 0x51a57f
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x51a57f
push ecx
call eax
mov dword [esi], 0x100
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51a5f8
push 0x5b9570
push eax
call edi
test eax, eax
je 0x51a5f8
mov edx, dword [esi]
lea edi, [ebp - 0x34]
push edi
or edx, 0x20019
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push edx
cmovae ecx, dword [ebp - 0x30]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x51a5f8
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0051a6d0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x51a5f8
push 0x5b95a4
push eax
call edi
test eax, eax
je 0x51a5f8
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x51a5f8
push ecx
call eax
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51a679
push 0x5b9570
push eax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x51a679
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x51a679
mov ecx, dword [esi]
lea edi, [ebp - 0x34]
push edi
or ecx, 0x20019
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push ecx
cmovae eax, dword [ebp - 0x30]
push 0
push eax
push edx
call dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x51a679
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0051a6d0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x51a679
push 0x5b95a4
push eax
call edi
test eax, eax
je 0x51a679
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x51a679
push ecx
call eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0045be20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004046e0
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bed3
mov esp, ebp
pop ebp
ret 4