Function at 0x4ae450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538fb7
mov eax, dword fs:[0]
push eax
sub esp, 0x7c4
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [0x59b497], 0
jne 0x4ae7c0
call fcn.004b4410
mov al, byte [eax + 0xa8b]
test al, al
je 0x4ae4ac
call fcn.004b4410
mov al, byte [eax + 7]
test al, al
je 0x4ae7c0
mov eax, dword [0x59d25c]
test eax, eax
je 0x4ae4c2
push 0
push edi
call eax
add esp, 8
jmp 0x4ae7c0
lea ecx, [ebp - 0x33c]
call fcn.004ad0c0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
call fcn.004ae1c0
test eax, eax
je 0x4ae6f7
lea ecx, [ebp - 0x584]
call fcn.004ad0c0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x584]
call fcn.004ad300
lea ecx, [ebp - 0x6a8]
call fcn.004ad0c0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x6a8]
call fcn.004ad300
push ecx
lea ecx, [ebp - 0x584]
call fcn.004ad700
push dword [ebp - 0x580]
push eax
call fcn.004ad600
push ecx
lea ecx, [ebp - 0x6a8]
call fcn.004ad700
inc eax
push eax
push 0
call fcn.004ad600
lea ecx, [ebp - 0x460]
call fcn.004ad0c0
push 0x561f54
lea ecx, [ebp - 0x7cc]
call fcn.004ad210
mov byte [ebp - 4], 4
lea eax, [ebp - 0x460]
cmp byte [ebp - 0x58c], 0
lea esi, [ebp - 0x69c]
push 0x561f64
cmove esi, dword [ebp - 0x6a0]
push 0x561dd0
push eax
call fcn.004ad730
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x460]
push 0x561dd0
push eax
call fcn.004ad730
mov ecx, edi
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ae5b4
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx*2 + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e2aee
mov ebx, eax
add esp, 4
cmp word [edi], 0
mov ecx, ebx
mov dword [ebp - 0x7d0], ebx
je 0x4ae64c
mov edx, dword [ebp - 0x7c8]
test edx, edx
je 0x4ae634
cmp byte [ebp - 0x6b0], 0
lea esi, [ebp - 0x7c0]
movzx ebx, word [edi]
cmove esi, dword [ebp - 0x7c4]
xor eax, eax
cmp word [esi + eax*2 + 4], bx
je 0x4ae624
inc eax
cmp eax, edx
jb 0x4ae616
jmp 0x4ae634
cmp eax, 0xffffffff
je 0x4ae634
mov eax, 0x5e
mov word [ecx], ax
add ecx, 2
mov ax, word [edi]
add edi, 2
mov word [ecx], ax
add ecx, 2
cmp word [edi], 0
jne 0x4ae5f3
mov ebx, dword [ebp - 0x7d0]
xor eax, eax
push 0x561dbc
mov word [ecx], ax
lea eax, [ebp - 0x460]
push 0x561dd0
push eax
call fcn.004ad730
push ebx
lea eax, [ebp - 0x460]
push 0x561dd0
push eax
call fcn.004ad730
push ebx
call fcn.004e2b60
add esp, 0x1c
lea ecx, [ebp - 0x578]
cmp byte [ebp - 0x468], 0
lea eax, [ebp - 0x454]
cmove ecx, dword [ebp - 0x57c]
cmp byte [ebp - 0x344], 0
push 0
cmove eax, dword [ebp - 0x458]
add ecx, 4
push ecx
add eax, 4
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x7cc]
call fcn.004ad280
lea ecx, [ebp - 0x460]
call fcn.004ad280
lea ecx, [ebp - 0x6a8]
call fcn.004ad280
lea ecx, [ebp - 0x584]
call fcn.004ad280
jmp 0x4ae794
push ecx
lea ecx, [ebp - 0x218]
call fcn.004ade60
add esp, 4
test eax, eax
je 0x4ae783
push 0x561db8
lea eax, [ebp - 0x33c]
push 0x561dd0
push eax
call fcn.004ad730
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x33c]
push 0x561dd0
push eax
call fcn.004ad730
push 0x561db8
lea eax, [ebp - 0x33c]
push 0x561dd0
push eax
call fcn.004ad730
add esp, 0x24
cmp byte [ebp - 0x220], 0
je 0x4ae76d
push 5
push 0
push edi
lea eax, [ebp - 0x32c]
push eax
push str.open
jmp 0x4ae78c
mov eax, dword [ebp - 0x334]
push 5
push 0
push edi
add eax, 4
push eax
push str.open
jmp 0x4ae78c
push 5
push 0
push 0
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4ae7c0
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x4ae7c0
push eax
call fcn.004e4a56
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret