Function at 0x4be4e4
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x51f9be
call fcn.004db787
mov ebx, ecx
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xa0]
push eax
mov byte [ebx + 0xf0], 1
call fcn.004bf4df
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.0046d470
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be544
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00412200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov esi, 0x547188
push esi
call fcn.004e0c46
pop ecx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00412200
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.004c03e7
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0047e9a0
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be5e9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00412200
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.004de9a0
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.0046d470
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 0x4be665
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 0x4be72d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0xc0], esi
je 0x4be9fe
mov edx, 0xd000000
lea ecx, [ebp - 0x40]
call fcn.0045bad0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5b21
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.0045bca0
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5b21
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.004b5b9e
lea ecx, [ebp - 0x28]
jmp 0x4be9f9
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 0x4be9fe
cmp eax, 1
jne 0x4be7ba
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.004bb252
mov dword [ebp - 4], 0xd
push 3
pop ecx
mov dword [ebp - 0xf0], ecx
cmp dword [eax + 0x10], 0
je 0x4be7c0
cmp dword [ebp - 0xf4], 0
je 0x4be7b1
cmp dword [ebp - 0xf4], 0xbc2
jne 0x4be7c0
mov byte [ebp - 0xe9], 1
jmp 0x4be7c7
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xc
test cl, 2
je 0x4be7ea
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 0x4be805
and ecx, 0xfffffffe
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp byte [ebp - 0xe9], 0
je 0x4be96d
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.004bb252
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040569b
xor esi, esi
cmp dword [ebp - 0x30], esi
jne 0x4be88d
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.004bb252
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.004bb252
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [ebp - 0x60], 0
je 0x4be955
cmp dword [ebp - 0x30], 0
je 0x4be955
lea eax, [ebp - 0x40]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x58]
call fcn.00419e8f
pop ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe8]
shl esi, 8
push esi
push 1
push 0x80000002
push eax
call fcn.0046f910
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.004e523e
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004701c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe8]
call fcn.0040deec
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 0x4be9fe
mov edx, 0xd000000
lea ecx, [ebp - 0x28]
call fcn.0045bad0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5b21
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.0045bca0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5b21
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.004b5b9e
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.004db731
ret