Function at 0x4f83b0
Capabilities:
Create process on windows
Create process suspended

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 0x56813d
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 - 0x10c], ecx
lea edi, [ecx + 4]
mov dword [ebp - 0xf8], 0
lea ecx, [edi + 0x38]
mov dword [ebp - 0x104], edi
call fcn.004256e0
push 8
lea ecx, [edi + 0x34]
call fcn.00408cd0
mov eax, dword [edi + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ecx]
mov dword [ebp - 0xfc], ecx
cmp esi, eax
je 0x4f844c
mov edi, eax
mov ecx, esi
call fcn.00407c80
add esi, 0x18
cmp esi, edi
jne 0x4f8430
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0x104]
mov esi, dword [ecx]
mov dword [ecx + 4], esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x100], eax
test eax, eax
je 0x4f84cb
mov dword [ebp - 0x4c], 0x5938d4
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.004079c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x100]
push eax
push 0
push 0
push 0x5d45dc
lea eax, [ebp - 0x44]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407c80
mov edi, dword [edi + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4f84f5
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4f84df
mov eax, dword [eax]
mov ecx, dword [ebp - 0x104]
push 0
push 0
push eax
call fcn.00519e50
mov esi, dword [esi]
cmp esi, edi
jne 0x4f84d4
mov edi, dword [ebp - 0x10c]
lea eax, [ebp - 0xa4]
push eax
mov byte [edi + 0xf0], 1
call fcn.004f9ad0
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 0x581454
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004079c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00485a90
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f8568
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00419f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c80
push 2
push 0x59262c
lea ecx, [ebp - 0x74]
call fcn.00419f20
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 0x4f85c6
mov ecx, dword [ecx]
test eax, eax
je 0x4f85cc
mov eax, dword [eax]
push edx
push ecx
push esi
push eax
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x50]
call fcn.004fb1c0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.00496890
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f85fc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00419f20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.004066b0
push 1
push 0x57fde0
lea ecx, [ebp - 0x74]
call fcn.00419f20
mov edx, dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00496630
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f864e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00419f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c80
push 0x40
lea eax, [ebp - 0x164]
mov dword [ebp - 0x168], 0x44
push 0
push eax
call fcn.00522fa0
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x60], 8
lea esi, [ebp - 0x74]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa4]
cmovae esi, dword [ebp - 0x74]
push eax
movups xmmword [ebp - 0x11c], xmm0
call fcn.00485a90
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x4f86b1
mov eax, dword [eax]
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c80
test esi, esi
jne 0x4f877d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8a92
mov edx, 0xd000000
lea ecx, [ebp - 0x44]
call fcn.00486950
mov byte [ebp - 4], 9
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004eacf0
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00407c80
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x44]
mov esi, dword [edi + 0xc0]
call fcn.00486a10
mov byte [ebp - 4], 0xa
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004eacf0
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00407c80
mov ecx, dword [edi + 0xc0]
lea eax, [ebp - 0x2c]
push eax
call fcn.004eade0
lea ecx, [ebp - 0x2c]
jmp 0x4f8a8d
push 0xffffffffffffffff
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4f8a92
cmp eax, 1
jne 0x4f880a
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x44]
push str.FASTOEM
call fcn.00406650
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xf8], 1
push eax
mov ecx, esi
call fcn.004f3340
mov dword [ebp - 4], 0xe
mov ecx, 3
mov dword [ebp - 0xf8], ecx
cmp dword [eax + 0x10], 0
je 0x4f8810
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4f8801
cmp eax, 0xbc2
jne 0x4f8810
mov byte [ebp - 0xf1], 1
jmp 0x4f8817
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 0xf1], 0
mov dword [ebp - 4], 0xd
test cl, 2
je 0x4f883a
and ecx, 0xfffffffd
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 4], 2
test cl, 1
je 0x4f8857
and ecx, 0xfffffffe
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x44]
call fcn.00407c80
cmp byte [ebp - 0xf1], 0
je 0x4f89ec
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.AiProductCode
call fcn.00406650
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.004f3340
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407c80
xor eax, eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x4c], eax
jne 0x4f88f8
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.AiProductCode64
call fcn.00406650
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.004f3340
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
push eax
call fcn.004065e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call fcn.00407c80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov dword [ebp - 0xfc], 1
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x2c]
push str.ARPSIZE
call fcn.00406650
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004f3340
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
call fcn.00407c80
cmp dword [ebp - 0x34], 0
je 0x4f89d4
cmp dword [ebp - 0x4c], 0
je 0x4f89d4
lea eax, [ebp - 0x5c]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x8c]
call fcn.00425c80
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.0048dc20
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8c]
call fcn.00407c80
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0052a4a3
add esp, 4
lea ecx, [ebp - 0x2c]
mov esi, eax
push str.EstimatedSize
call fcn.00406650
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x2c]
push esi
push eax
lea ecx, [ebp - 0xf0]
call fcn.0048e0b0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xf0]
call fcn.0040b460
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00407c80
mov esi, dword [edi + 0xc0]
mov eax, dword [ebp - 0x108]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8a92
mov edx, 0xd000000
lea ecx, [ebp - 0x2c]
call fcn.00486950
mov byte [ebp - 4], 0x1b
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004eacf0
lea ecx, [ebp - 0x8c]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x2c]
mov esi, dword [edi + 0xc0]
call fcn.00486a10
mov byte [ebp - 4], 0x1c
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004eacf0
lea ecx, [ebp - 0x8c]
call fcn.00407c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov ecx, dword [edi + 0xc0]
lea eax, [ebp - 0x8c]
push eax
call fcn.004eade0
lea ecx, [ebp - 0x8c]
call fcn.00407c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00407c80
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.00520c02
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret