Function at 0x4be4c6
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x51f998
call fcn.004db767
mov ebx, ecx
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xa0]
push eax
mov byte [ebx + 0xf0], 1
call fcn.004bf4c1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
push 0x53611c
call fcn.00404285
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0046d480
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be526
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00412210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov esi, 0x547178
push esi
call fcn.004e0c26
pop ecx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00412210
mov eax, dword [ebx + 0x68]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax + 0xc4]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
and dword [edx], 0
and dword [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ecx]
mov dword [edx], eax
mov byte [ebp - 4], 3
sub esp, 0xc
mov eax, dword [ebx + 0x68]
mov edx, esp
mov ecx, dword [eax + 0xc4]
mov eax, dword [ecx + 0xc]
and dword [edx], 0
and dword [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ecx]
mov dword [edx], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004c03c9
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0047e980
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be5cb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00412210
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004042c7
push 0x40
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x44
push 0
push eax
call fcn.004de980
xor eax, eax
lea edi, [ebp - 0x108]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xa0]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046d480
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae ecx, dword [ebp - 0x88]
cmp dword [eax + 0x14], 8
jb 0x4be647
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
lea ecx, [ebp - 0x28]
call fcn.0040569b
test esi, esi
jne 0x4be70f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0xc0], esi
je 0x4be9e0
mov edx, 0xd000000
lea ecx, [ebp - 0x40]
call fcn.0045bae0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5b06
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040569b
mov edx, dword [ebx + 0x64]
lea ecx, [ebp - 0x40]
call fcn.0045bcb0
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5b06
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040569b
mov ecx, dword [ebx + 0xc0]
lea eax, [ebp - 0x28]
push eax
call fcn.004b5b83
lea ecx, [ebp - 0x28]
jmp 0x4be9db
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 0x4be9e0
cmp eax, 1
jne 0x4be79c
push 0x53c4bc
lea ecx, [ebp - 0x40]
call fcn.00404285
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x40]
mov ecx, dword [ebx + 0x68]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xf0], 1
push eax
call fcn.004bb237
mov dword [ebp - 4], 0xd
push 3
pop ecx
mov dword [ebp - 0xf0], ecx
cmp dword [eax + 0x10], 0
je 0x4be7a2
cmp dword [ebp - 0xf4], 0
je 0x4be793
cmp dword [ebp - 0xf4], 0xbc2
jne 0x4be7a2
mov byte [ebp - 0xe9], 1
jmp 0x4be7a9
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xc
test cl, 2
je 0x4be7cc
and ecx, 0xfffffffd
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov ecx, dword [ebp - 0xf0]
xor eax, eax
inc eax
mov dword [ebp - 4], eax
test al, cl
je 0x4be7e7
and ecx, 0xfffffffe
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp byte [ebp - 0xe9], 0
je 0x4be94f
push str.AiProductCode
lea ecx, [ebp - 0x28]
call fcn.00404285
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004bb237
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040569b
xor esi, esi
cmp dword [ebp - 0x30], esi
jne 0x4be86f
push str.AiProductCode64
lea ecx, [ebp - 0x28]
call fcn.00404285
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004bb237
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
push eax
call fcn.00404232
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040569b
inc esi
push str.ARPSIZE
lea ecx, [ebp - 0x28]
call fcn.00404285
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x28]
mov ecx, dword [ebx + 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004bb237
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [ebp - 0x60], 0
je 0x4be937
cmp dword [ebp - 0x30], 0
je 0x4be937
lea eax, [ebp - 0x40]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x58]
call fcn.00419e9f
pop ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe8]
shl esi, 8
push esi
push 1
push 0x80000002
push eax
call fcn.0046f5d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
call fcn.0040569b
push str.EstimatedSize
lea ecx, [ebp - 0x28]
call fcn.00404285
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004e521e
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0046fe70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe8]
call fcn.0040defc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp dword [ebx + 0xc0], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebx + 0x64], eax
je 0x4be9e0
mov edx, 0xd000000
lea ecx, [ebp - 0x28]
call fcn.0045bae0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5b06
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov edx, dword [ebx + 0x64]
lea ecx, [ebp - 0x28]
call fcn.0045bcb0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5b06
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov ecx, dword [ebx + 0xc0]
lea eax, [ebp - 0x58]
push eax
call fcn.004b5b83
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0040569b
call fcn.004db711
ret