Function at 0x48f08c
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x502344]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x502344]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
call fcn.00490338
mov dword [esp + 0x188], ebx
push 0x4d3120
lea ecx, [esp + 0x114]
call fcn.00401bf3
mov byte [esp + 0x188], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x11c]
call fcn.00405daa
mov esi, 0x4e46e0
push esi
call fcn.0049cf74
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0x114]
call fcn.00403fb8
mov eax, dword [edi + 0xc4]
mov esi, dword [eax + 0xf0]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jbe 0x48f157
call fcn.0049d32a
mov ecx, dword [edi + 0xc4]
mov ecx, dword [ecx + 0xf0]
mov esi, dword [esi]
lea eax, [esp + 0x6c]
call fcn.0043dd7a
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xc4]
push dword [esp + 0x24]
push esi
push eax
call fcn.00490660
mov byte [esp + 0x188], 2
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00452560
pop ecx
mov byte [esp + 0x188], 3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x11c]
call fcn.00405daa
mov byte [esp + 0x188], 2
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x2c]
call fcn.0040115a
mov byte [esp + 0x188], 1
lea eax, [esp + 0xbc]
push eax
call fcn.00403b7f
push 0x40
lea eax, [esp + 0x7c]
push ebx
push eax
mov dword [esp + 0x80], 0x44
call fcn.0049d850
xor eax, eax
mov dword [esp + 0x4c], ebx
lea edi, [esp + 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [esp + 0xf0], 8
stosd dword es:[edi], eax
mov edi, dword [esp + 0xdc]
jae 0x48f21d
lea edi, [esp + 0xdc]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x134]
call fcn.00403b1f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x48f25b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc0], eax
jmp 0x48f581
push 0xffffffffffffffff
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, ebx
je 0x48f581
cmp eax, esi
jne 0x48f2e7
push str.FASTOEM
lea ecx, [esp + 0x28]
call fcn.00401bf3
mov byte [esp + 0x188], 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0x1c], esi
call fcn.0048c6bb
mov dword [esp + 0x188], 5
mov dword [esp + 0x14], 3
cmp dword [eax + 0x14], ebx
je 0x48f2eb
cmp dword [esp + 0x20], ebx
je 0x48f2e0
cmp dword [esp + 0x20], 0xbc2
jne 0x48f2eb
mov byte [esp + 0x13], 1
jmp 0x48f2ef
mov edi, dword [esp + 0x18]
mov byte [esp + 0x13], bl
mov dword [esp + 0x188], 4
test byte [esp + 0x14], 2
je 0x48f314
and dword [esp + 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [esp + 0xfc]
call fcn.0040115a
mov dword [esp + 0x188], esi
test byte [esp + 0x14], 1
je 0x48f332
and dword [esp + 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0040115a
cmp byte [esp + 0x13], bl
je 0x48f577
push str.AiProductCode
lea ecx, [esp + 0x28]
call fcn.00401bf3
mov byte [esp + 0x188], 6
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.0048c6bb
mov byte [esp + 0x188], 8
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0040115a
mov byte [esp + 0x13], bl
cmp dword [esp + 0x108], ebx
jne 0x48f3f8
push str.AiProductCode64
lea ecx, [esp + 0x28]
call fcn.00401bf3
mov byte [esp + 0x188], 9
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0048c6bb
mov byte [esp + 0x188], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
call fcn.00401896
mov byte [esp + 0x188], 9
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.0040115a
mov byte [esp + 0x188], 8
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0040115a
mov byte [esp + 0x13], 1
push str.ARPSIZE
lea ecx, [esp + 0x28]
call fcn.00401bf3
mov byte [esp + 0x188], 0xb
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0048c6bb
mov byte [esp + 0x188], 0xd
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.0040115a
cmp dword [esp + 0xd0], ebx
je 0x48f54b
cmp dword [esp + 0x108], ebx
je 0x48f54b
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x54]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.004044a1
add esp, 0xc
mov byte [esp + 0x188], 0xe
movzx ecx, byte [esp + 0x13]
neg ecx
sbb ecx, ecx
and ecx, 0x100
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x138]
push ecx
mov ecx, eax
call fcn.0044de90
mov byte [esp + 0x188], 0x10
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.0040115a
push str.EstimatedSize
lea ecx, [esp + 0x28]
call fcn.00401bf3
mov byte [esp + 0x188], 0x11
cmp dword [esp + 0xd4], 8
mov eax, dword [esp + 0xc0]
jae 0x48f4db
lea eax, [esp + 0xc0]
push eax
call fcn.0049f111
pop ecx
lea esi, [esp + 0x12c]
mov edi, eax
call fcn.0044e280
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x48f4ff
lea eax, [esp + 0x28]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push eax
push dword [esp + 0x140]
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [esp + 0x188], 0x10
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.0040115a
mov byte [esp + 0x188], 0xd
lea eax, [esp + 0x12c]
push eax
call fcn.004336da
mov edi, dword [esp + 0x18]
xor esi, esi
inc esi
mov byte [esp + 0x188], 8
push ebx
push esi
lea ecx, [esp + 0xc4]
call fcn.0040115a
mov byte [esp + 0x188], 1
push ebx
push esi
lea ecx, [esp + 0xfc]
call fcn.0040115a
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc0], eax
mov byte [esp + 0x188], bl
push ebx
push esi
lea ecx, [esp + 0x118]
call fcn.0040115a
or dword [esp + 0x188], 0xffffffff
lea eax, [esp + 0xd8]
push eax
call fcn.004131b5
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0049cdcb
mov esp, ebp
pop ebp
ret