Function at 0x4be23c
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x51f632
call fcn.004db4f7
mov ebx, ecx
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xa0]
push eax
mov byte [ebx + 0xf0], 1
call fcn.004bf237
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.0046d460
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be29c
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, 0x547148
push esi
call fcn.004e09b6
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.004c013f
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0047e970
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4be341
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.004de710
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.0046d460
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 0x4be3bd
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 0x4be485
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0xc0], esi
je 0x4be756
mov edx, 0xd000000
lea ecx, [ebp - 0x40]
call fcn.0045bac0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5916
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.0045bc90
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b5916
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.004b5993
lea ecx, [ebp - 0x28]
jmp 0x4be751
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 0x4be756
cmp eax, 1
jne 0x4be512
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.004bb048
mov dword [ebp - 4], 0xd
push 3
pop ecx
mov dword [ebp - 0xf0], ecx
cmp dword [eax + 0x10], 0
je 0x4be518
cmp dword [ebp - 0xf4], 0
je 0x4be509
cmp dword [ebp - 0xf4], 0xbc2
jne 0x4be518
mov byte [ebp - 0xe9], 1
jmp 0x4be51f
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xc
test cl, 2
je 0x4be542
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 0x4be55d
and ecx, 0xfffffffe
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x40]
call fcn.0040569b
cmp byte [ebp - 0xe9], 0
je 0x4be6c5
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.004bb048
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0040569b
xor esi, esi
cmp dword [ebp - 0x30], esi
jne 0x4be5e5
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.004bb048
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.004bb048
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [ebp - 0x60], 0
je 0x4be6ad
cmp dword [ebp - 0x30], 0
je 0x4be6ad
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.0046f5b0
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.004e4fae
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0046fe50
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 0x4be756
mov edx, 0xd000000
lea ecx, [ebp - 0x28]
call fcn.0045bac0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5916
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.0045bc90
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebx + 0xc0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b5916
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.004b5993
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.004db4a1
ret