Function at 0x4b517e
Capabilities:
Create process on windows

Disassembly:
push 0x13c
mov eax, 0x50f4ce
call fcn.004d2c4d
mov edi, ecx
lea eax, [ebp - 0xa0]
xor ebx, ebx
push eax
mov dword [ebp - 0xec], ebx
call fcn.004b6360
xor eax, eax
mov dword [ebp - 4], eax
mov esi, 0x52024c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
push esi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.004087d4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004648e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040f46c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00404a9e
mov esi, 0x531b84
push esi
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0040d083
mov ecx, dword [edi + 0x68]
sub esp, 0xc
mov ecx, dword [ecx + 0xac]
push esp
call fcn.00414c07
mov byte [ebp - 4], 3
sub esp, 0xc
mov ecx, dword [edi + 0x68]
push esp
mov ecx, dword [ecx + 0xac]
call fcn.00414c1f
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004b73d5
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.004740d0
mov byte [ebp - 4], 6
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f46c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00408e56
push 0x40
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0x44
push esi
push eax
call fcn.004d3e90
add esp, 0xc
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
movups xmmword [ebp - 0x104], xmm0
push eax
call fcn.004648e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
cmp dword [eax + 0x14], 8
jb 0x4b52d9
mov eax, dword [eax]
lea edx, [ebp - 0x104]
push edx
lea edx, [ebp - 0x148]
push edx
xor edx, edx
push edx
push edx
push edx
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00404a9e
test esi, esi
jne 0x4b533f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x9c]
mov dword [edi + 0x64], eax
test ecx, ecx
je 0x4b5686
lea eax, [ebp - 0x40]
push eax
call fcn.004ac0ca
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00404a9e
jmp 0x4b5688
push 0xffffffffffffffff
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4b5686
cmp eax, 1
jne 0x4b53eb
xor eax, eax
mov esi, str.FASTOEM
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xec], 1
push eax
call fcn.004b1f34
mov dword [ebp - 4], 0xb
push 3
pop ebx
mov dword [ebp - 0xec], ebx
cmp dword [eax + 0x10], 0
je 0x4b53eb
cmp dword [ebp - 0xf0], 0
je 0x4b53e2
cmp dword [ebp - 0xf0], 0xbc2
jne 0x4b53eb
mov byte [ebp - 0xe5], 1
jmp 0x4b53f2
mov byte [ebp - 0xe5], 0
mov dword [ebp - 4], 0xa
test bl, 2
je 0x4b5413
push 0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x40]
push 1
mov dword [ebp - 0xec], ebx
call fcn.00404a9e
mov dword [ebp - 4], 1
test bl, 1
je 0x4b5437
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xec], ebx
xor ebx, ebx
push ebx
push 1
call fcn.00404a9e
jmp 0x4b5439
xor ebx, ebx
cmp byte [ebp - 0xe5], 0
je 0x4b565c
xor eax, eax
mov dword [ebp - 0x18], ebx
mov esi, str.AiProductCode
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b1f34
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00404a9e
cmp dword [ebp - 0x30], 0
jne 0x4b5510
xor ebx, ebx
xor eax, eax
mov esi, str.AiProductCode64
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004b1f34
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.0040c794
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00404a9e
mov bl, 1
xor eax, eax
mov esi, str.ARPSIZE
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004b1f34
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00404a9e
cmp dword [ebp - 0x60], 0
je 0x4b563c
cmp dword [ebp - 0x30], 0
je 0x4b563c
lea eax, [ebp - 0x40]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x88]
call fcn.0040e066
pop ecx
mov byte [ebp - 4], 0x14
xor ecx, ecx
mov edx, 0x100
test bl, bl
cmovne ecx, edx
push ecx
push 1
push 0x80000002
push eax
lea ecx, [ebp - 0xe4]
call fcn.0046eac0
mov byte [ebp - 4], 0x16
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00404a9e
xor eax, eax
mov dword [ebp - 0x18], ebx
mov esi, str.EstimatedSize
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [str.EstimatedSize], ax
je 0x4b55ec
push esi
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004dc179
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0046f230
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe4]
call fcn.0044af1e
jmp 0x4b563e
xor ebx, ebx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00404a9e
mov ecx, dword [edi + 0x9c]
mov eax, dword [ebp - 0xf0]
mov dword [edi + 0x64], eax
test ecx, ecx
je 0x4b5688
lea eax, [ebp - 0x88]
push eax
call fcn.004ac0ca
lea ecx, [ebp - 0x88]
jmp 0x4b5332
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00404a9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
push ebx
push 1
call fcn.00404a9e
call fcn.004d2bf7
ret