Function at 0x4aea60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f0940
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, 7
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x78], eax
xor eax, eax
mov word [esp + 0x64], ax
push ebx
mov eax, 0x622024
lea esi, [esp + 0x64]
mov dword [esp + 0x78], ebx
call fcn.0040f730
mov byte [esp + 0xa4], 1
cmp dword [edi + 0x3bc], 8
jb 0x4aeb10
mov eax, dword [edi + 0x3a8]
jmp 0x4aeb16
lea eax, [edi + 0x3a8]
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x4aeb20
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4aeb20
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x80]
call fcn.0040f730
mov ecx, 0x22
mov edx, esi
call fcn.004bcda0
mov ecx, 0x22
mov edx, esi
call fcn.004bce60
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x4aeb6c
lea eax, [esp + 0x80]
push ebp
push eax
push str.__s___s
lea ecx, [esp + 0x6c]
call fcn.004bc870
mov ecx, 0x20
lea edx, [esp + 0x6c]
call fcn.004bce60
push 0x44
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.005bfee0
mov dx, word [esp + 0xc8]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], dx
cmp dword [edi + 0x2a8], ebx
je 0x4aec4a
call fcn.004b04e0
cmp dword [eax + 0xcc], ebx
je 0x4aec0a
call fcn.004b04e0
mov ecx, dword [edi + 0x2a8]
mov ebp, dword [esp + 0x18]
mov eax, dword [eax + 0xcc]
push 1
push ecx
push ebp
call eax
test eax, eax
jne 0x4aec0e
call esi
push eax
push 0x630bb8
call fcn.004a7cf0
add esp, 8
mov dword [ebp], ebx
jmp 0x4aec0e
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x4aec1d
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [ebp]
lea ecx, [esp + 0x20]
push ecx
push ebx
push edx
push 0x5000610
push ebx
push ebx
push ebx
push eax
mov eax, dword [edi + 0x2a8]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebp, 8
jmp 0x4aec7a
mov eax, dword [esp + 0x64]
mov ebp, 8
cmp dword [esp + 0x78], ebp
jae 0x4aec5d
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push 0x5000600
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x4aecf4
call esi
push eax
push str.CLaunchApp::LaunchApp_CreateProcess___:
mov dword [edi + 0x2c8], eax
call fcn.004a7cf0
add esp, 8
mov byte [esp + 0xa4], bl
cmp dword [esp + 0x78], ebp
jb 0x4aecae
mov eax, dword [esp + 0x64]
push eax
call fcn.004c4802
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x94], ebp
jb 0x4aece6
mov edx, dword [esp + 0x80]
push edx
call fcn.004c4802
add esp, 4
xor eax, eax
mov word [esp + 0x80], ax
xor al, al
jmp 0x4aed52
mov byte [esp + 0xa4], bl
cmp dword [esp + 0x78], ebp
jb 0x4aed0e
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004c4802
add esp, 4
mov edi, 7
xor edx, edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x94], ebp
jb 0x4aed46
mov eax, dword [esp + 0x80]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov word [esp + 0x80], cx
mov al, 1
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x94
ret 0xc