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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557ccc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 0x14], 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]
mov dword [ebp - 0x240], eax
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x228], ebx
call fcn.0043c63a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ac55
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
mov dword [ebp - 4], ebx
call fcn.0043c63a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ac84
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
push 0x207
lea ecx, [ebp - 0x21b]
push ebx
mov byte [ebp - 4], 1
push ecx
mov byte [ebp - 0x21c], 0
call fcn.005344b0
add esp, 0xc
mov dword [ebp - 0x248], 0x208
mov dword [ebp - 0x24c], ebx
call fcn.0043c63a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ace0
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
push str.IsWow64Process
mov byte [ebp - 4], 2
push str.kernel32
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x40ad29
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x220], ebx
je 0x40afa9
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x230]
call fcn.00406280
push 0x18
push 0x586fa4
lea ecx, [ebp - 0x22c]
call fcn.00406280
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x220]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00413c50
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.00406890
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40adb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x224]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x40add8
push 0
lea ecx, [ebp - 0x224]
call fcn.004061b0
mov edi, dword [ebp - 0x224]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x228]
push ecx
push 1
xor ebx, ebx
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
je 0x40ae47
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x40ae17
push ebx
lea ecx, [ebp - 0x224]
call fcn.004061b0
mov edi, dword [ebp - 0x224]
lea edx, [ebp - 0x228]
push edx
push 0x101
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
je 0x40ae47
mov dword [ebp - 0x238], eax
push 0x5a0810
lea eax, [ebp - 0x238]
push eax
call fcn.00534862
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x228]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x24c]
push eax
push ebx
push str.UninstallString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40ae8a
push 0x5a0810
lea edx, [ebp - 0x244]
push edx
mov dword [ebp - 0x244], eax
call fcn.00534862
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00405fd0
push 0x38
lea ecx, [ebp - 0x284]
push ebx
push ecx
mov dword [ebp - 0x288], 0x3c
call fcn.005344b0
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x23c]
add esp, 0xc
lea ecx, [ebp - 0x288]
push ecx
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x284], 0x40
mov dword [ebp - 0x274], str.__SP____VERYSILENT__norestart
mov dword [ebp - 0x26c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40af45
mov eax, dword [ebp - 0x250]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea edx, [ebp - 0x220]
push edx
push eax
mov dword [ebp - 0x220], ebx
call esi
mov ebx, 0x103
lea esp, [esp]
cmp dword [ebp - 0x220], ebx
jne 0x40af45
mov edx, dword [ebp - 0x250]
lea ecx, [ebp - 0x220]
push ecx
push edx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40af20
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
jmp 0x40af83
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x40af94
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x7d0
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.0040a100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40afde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b004
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b027
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret