Function at 0x40bbf0
Capabilities:
Create process on windows
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492efb
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x4c3aa8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x334], ebx
call fcn.00402950
push 0x207
lea ecx, [ebp - 0x223]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp - 0x224], bl
call fcn.004553e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x32c]
push ebx
push edx
mov dword [ebp - 0x340], 0x208
mov dword [ebp - 0x34c], ebx
call fcn.004553e0
add esp, 0xc
lea ecx, [ebp - 0x32c]
call fcn.00417a50
lea eax, [ebp - 0x32c]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40bc97
mov ecx, dword [0x4aeb0c]
mov edx, dword [0x4aeb10]
mov dword [eax], ecx
mov ecx, dword [0x4aeb14]
mov dword [eax + 4], edx
lea edx, [ebp - 0x32c]
push edx
mov dword [eax + 8], ecx
call fcn.00417bb0
cmp eax, ebx
jle 0x40bebb
mov esi, eax
sub esi, 6
neg esi
sbb esi, esi
and esi, 0x100
lea edx, [eax + eax*2]
shl edx, 6
add esi, 0x100
add edx, 0x4c7720
mov byte [ebp - 4], 1
jne 0x40bcf8
xor eax, eax
jmp 0x40bd09
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40bd00
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x330]
call fcn.00402570
mov edx, dword [ebp - 0x330]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40bd3d
push ebx
lea ecx, [ebp - 0x330]
call fcn.00402b30
mov edx, dword [ebp - 0x330]
lea ecx, [ebp - 0x334]
push ecx
or esi, 0x20019
push esi
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x40bd73
push 0x4bb7fc
lea edx, [ebp - 0x350]
push edx
mov dword [ebp - 0x350], eax
call fcn.0045578e
lea eax, [ebp - 0x340]
push eax
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x34c]
push edx
push ebx
push str.UninstallString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40bdb6
push 0x4bb7fc
lea ecx, [ebp - 0x348]
push ecx
mov dword [ebp - 0x348], eax
call fcn.0045578e
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x33c]
call fcn.00402950
push 0x38
lea eax, [ebp - 0x388]
push ebx
push eax
mov dword [ebp - 0x38c], 0x3c
call fcn.004553e0
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ebp - 0x344]
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x384], edx
mov dword [ebp - 0x388], 0x40
mov dword [ebp - 0x378], 0x4b03b4
mov dword [ebp - 0x370], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40be6d
mov edx, dword [ebp - 0x354]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [ebp - 0x338]
push ecx
push edx
mov dword [ebp - 0x338], ebx
call esi
mov edi, 0x103
cmp dword [ebp - 0x338], edi
jne 0x40be6d
mov ecx, dword [ebp - 0x354]
lea eax, [ebp - 0x338]
push eax
push ecx
call esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40be48
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40be99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40be99
mov eax, dword [ebp - 0x334]
cmp eax, ebx
je 0x40beaa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x7d0
mov dword [ebp - 0x334], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x330]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret 4