Function at 0x4af68f
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x50e692
call fcn.004cc2a7
mov edi, ecx
lea eax, [ebp - 0xa0]
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
push eax
mov byte [edi + 0xd0], 1
call fcn.004b0985
xor eax, eax
mov dword [ebp - 4], eax
mov esi, 0x52302c
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.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00407b30
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00467040
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040c9b1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040487e
mov esi, 0x534104
push esi
call fcn.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0040c6b2
mov ecx, dword [edi + 0x68]
sub esp, 0xc
mov ecx, dword [ecx + 0xc4]
push esp
call fcn.0041695c
mov byte [ebp - 4], 3
sub esp, 0xc
mov ecx, dword [edi + 0x68]
push esp
mov ecx, dword [ecx + 0xc4]
call fcn.00416974
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004b1bb0
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00477f40
mov byte [ebp - 4], 6
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.0040c9b1
mov byte [ebp - 4], 5
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040946e
push 0x40
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x44
push esi
push eax
call fcn.004cd4d0
add esp, 0xc
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
movups xmmword [ebp - 0x108], xmm0
push eax
call fcn.00467040
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 0x4af7f1
mov eax, dword [eax]
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0x150]
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.0040487e
test esi, esi
jne 0x4af8d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov dword [edi + 0x64], eax
cmp dword [edi + 0xa0], ebx
je 0x4afca4
mov edx, 0xd000000
lea ecx, [ebp - 0x70]
call fcn.00459ce0
mov byte [ebp - 4], 8
mov ecx, dword [edi + 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a613d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.0040487e
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x70]
call fcn.00459da0
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a613d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.0040487e
mov ecx, dword [edi + 0xa0]
lea eax, [ebp - 0x40]
push eax
call fcn.004a61b0
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040487e
jmp 0x4afca4
push 0xffffffffffffffff
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4afca2
cmp eax, 1
jne 0x4af97f
xor eax, eax
mov esi, 0x528e98
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.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xf0], 1
push eax
call fcn.004ac09f
mov dword [ebp - 4], 0xd
push 3
pop ebx
mov dword [ebp - 0xf0], ebx
cmp dword [eax + 0x10], 0
je 0x4af97f
cmp dword [ebp - 0xf4], 0
je 0x4af976
cmp dword [ebp - 0xf4], 0xbc2
jne 0x4af97f
mov byte [ebp - 0xe9], 1
jmp 0x4af986
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xc
test bl, 2
je 0x4af9a7
push 0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x40]
push 1
mov dword [ebp - 0xf0], ebx
call fcn.0040487e
mov dword [ebp - 4], 1
test bl, 1
je 0x4af9cb
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf0], ebx
xor ebx, ebx
push ebx
push 1
call fcn.0040487e
jmp 0x4af9cd
xor ebx, ebx
cmp byte [ebp - 0xe9], 0
je 0x4afbf0
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.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ac09f
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040487e
cmp dword [ebp - 0x30], 0
jne 0x4afaa4
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.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004ac09f
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
push eax
call fcn.0040f13f
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
push ebx
push 1
call fcn.0040487e
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040487e
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.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004ac09f
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0040487e
cmp dword [ebp - 0x60], 0
je 0x4afbd0
cmp dword [ebp - 0x30], 0
je 0x4afbd0
lea eax, [ebp - 0x40]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x88]
call fcn.0040fde6
pop ecx
mov byte [ebp - 4], 0x16
xor ecx, ecx
mov edx, 0x100
test bl, bl
cmovne ecx, edx
push ecx
push 1
push 0x80000002
push eax
lea ecx, [ebp - 0xe8]
call fcn.004727e0
mov byte [ebp - 4], 0x18
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040487e
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 0x4afb80
push esi
call fcn.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407b30
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004d5659
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00472fc0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040487e
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe8]
call fcn.0044dafc
jmp 0x4afbd2
xor ebx, ebx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040487e
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x64], eax
cmp dword [edi + 0xa0], ebx
je 0x4afca4
mov edx, 0xd000000
lea ecx, [ebp - 0x40]
call fcn.00459ce0
mov byte [ebp - 4], 0x1a
mov ecx, dword [edi + 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004a613d
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040487e
mov edx, dword [edi + 0x64]
lea ecx, [ebp - 0x40]
call fcn.00459da0
mov byte [ebp - 4], 0x1b
mov ecx, dword [edi + 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004a613d
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040487e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040487e
mov ecx, dword [edi + 0xa0]
lea eax, [ebp - 0x88]
push eax
call fcn.004a61b0
lea ecx, [ebp - 0x88]
jmp 0x4af8c6
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.0040487e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
push ebx
push 1
call fcn.0040487e
call fcn.004cc251
ret