Function at 0x4f8d50
Capabilities:
Create process on windows
Create process suspended
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56843d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x100], ecx
lea edi, [ecx + 4]
mov dword [ebp - 0xf8], 0
lea ecx, [edi + 0x38]
mov dword [ebp - 0x108], edi
call fcn.00424260
push 8
lea ecx, [edi + 0x34]
call fcn.00413a10
mov eax, dword [edi + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ecx]
mov dword [ebp - 0xfc], ecx
cmp esi, eax
je 0x4f8dec
mov edi, eax
mov ecx, esi
call fcn.00407b40
add esi, 0x18
cmp esi, edi
jne 0x4f8dd0
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0x108]
mov esi, dword [ecx]
mov dword [ecx + 4], esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x104], eax
test eax, eax
je 0x4f8e6b
mov dword [ebp - 0x4c], 0x59360c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], edi
mov eax, dword [eax]
push 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov esi, dword [eax + 4]
xor eax, eax
push str.Property
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x104]
push eax
push 0
push 0
push 0x5d45b4
lea eax, [ebp - 0x44]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407b40
mov edi, dword [edi + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4f8e95
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4f8e7f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x108]
push 0
push 0
push eax
call fcn.0051a690
mov esi, dword [esi]
cmp esi, edi
jne 0x4f8e74
mov edi, dword [ebp - 0x100]
lea eax, [ebp - 0xa4]
push eax
mov byte [edi + 0xf0], 1
call fcn.004fa4d0
mov dword [ebp - 4], 1
xor eax, eax
push 1
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
push 0x581364
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00407880
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0048d0b0
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f8f07
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00418ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407b40
push 2
push 0x592340
lea ecx, [ebp - 0x74]
call fcn.00418ac0
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0xc4]
mov edx, dword [eax + 0x10]
add edx, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov esi, dword [eax + 0xc]
mov eax, dword [eax]
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
test ecx, ecx
je 0x4f8f67
mov ecx, dword [ecx]
test eax, eax
je 0x4f8f6d
mov eax, dword [eax]
push edx
push ecx
push esi
push eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x50]
call fcn.004fba70
mov byte [ebp - 4], 5
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.00496890
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f8f9c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00418ac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00406550
push 1
push 0x57fd08
lea ecx, [ebp - 0x74]
call fcn.00418ac0
mov edx, dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00496630
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f8fef
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00418ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407b40
push 0x40
lea eax, [ebp - 0x164]
mov dword [ebp - 0x168], 0x44
push 0
push eax
call fcn.00523880
add esp, 0xc
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0x11c], xmm0
push eax
call fcn.0048d0b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae ecx, dword [ebp - 0x74]
cmp dword [eax + 0x14], 8
jb 0x4f9054
mov eax, dword [eax]
lea edx, [ebp - 0x11c]
push edx
lea edx, [ebp - 0x168]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407b40
test esi, esi
jne 0x4f9120
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f9493
mov edx, 0xd000000
lea ecx, [ebp - 0x44]
call fcn.00484850
mov byte [ebp - 4], 9
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004eb500
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00407b40
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x44]
mov esi, dword [edi + 0xc0]
call fcn.00484910
mov byte [ebp - 4], 0xa
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004eb500
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00407b40
mov ecx, dword [edi + 0xc0]
lea eax, [ebp - 0x2c]
push eax
call fcn.004eb5f0
lea ecx, [ebp - 0x2c]
jmp 0x4f948e
push 0xffffffffffffffff
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4f9493
cmp eax, 1
jne 0x4f91ad
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push 0x5876ec
call fcn.004064f0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0xf8], 1
push eax
mov ecx, esi
call fcn.004f3b60
mov dword [ebp - 4], 0xe
mov ecx, 3
mov dword [ebp - 0xf8], ecx
cmp dword [eax + 0x10], 0
je 0x4f91b3
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x4f91a4
cmp eax, 0xbc2
jne 0x4f91b3
mov byte [ebp - 0xf1], 1
jmp 0x4f91ba
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 0xf1], 0
mov dword [ebp - 4], 0xd
test cl, 2
je 0x4f91dd
and ecx, 0xfffffffd
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x44]
call fcn.00407b40
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 4], 2
test cl, 1
je 0x4f91fa
and ecx, 0xfffffffe
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x2c]
call fcn.00407b40
cmp byte [ebp - 0xf1], 0
je 0x4f93ed
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.AiProductCode
call fcn.004064f0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x4c], eax
jne 0x4f929b
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.AiProductCode64
call fcn.004064f0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
push eax
call fcn.00406480
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call fcn.00407b40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov dword [ebp - 0xfc], 1
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.ARPSIZE
call fcn.004064f0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
call fcn.00407b40
cmp dword [ebp - 0x34], 0
je 0x4f93d5
cmp dword [ebp - 0x4c], 0
je 0x4f93d5
lea eax, [ebp - 0x5c]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x8c]
call fcn.00424810
add esp, 4
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xfc]
shl ecx, 8
push ecx
push 1
push 0x80000002
push eax
lea ecx, [ebp - 0xf0]
call fcn.0048ee50
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8c]
call fcn.00407b40
push str.EstimatedSize
lea ecx, [ebp - 0x2c]
call fcn.004064f0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0052ad83
mov ecx, dword [ebp - 0xf0]
add esp, 4
mov esi, eax
test ecx, ecx
jne 0x4f9394
cmp dword [ebp - 0xd0], 8
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xe4]
sub esp, 8
or eax, 0xf003f
push eax
sub esp, 8
push ecx
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xf0]
call fcn.0047f100
mov ecx, dword [ebp - 0xf0]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x100]
push 4
push edx
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x100], esi
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xf0]
call fcn.004132f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00407b40
mov esi, dword [edi + 0xc0]
mov eax, dword [ebp - 0x10c]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f9493
mov edx, 0xd000000
lea ecx, [ebp - 0x2c]
call fcn.00484850
mov byte [ebp - 4], 0x1b
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004eb500
lea ecx, [ebp - 0x8c]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x2c]
mov esi, dword [edi + 0xc0]
call fcn.00484910
mov byte [ebp - 4], 0x1c
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004eb500
lea ecx, [ebp - 0x8c]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407b40
mov ecx, dword [edi + 0xc0]
lea eax, [ebp - 0x8c]
push eax
call fcn.004eb5f0
lea ecx, [ebp - 0x8c]
call fcn.00407b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00407b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret