Function at 0x4ca0f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dc88
mov eax, dword fs:[0]
push eax
mov eax, 0x1a70
call fcn.00508c20
mov eax, dword [0x72400c]
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 esi, edx
mov edi, ecx
lea ecx, [ebp - 0x1810]
call fcn.004c52a0
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1810]
lea eax, [ebp - 0x458]
push eax
push 6
push 3
call fcn.004c5190
sub esp, 0xc
lea eax, [ebp - 0x458]
lea ecx, [ebp - 0x19c4]
push eax
call fcn.00424fc0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1974], 0
jne 0x4ca190
xor bl, bl
jmp 0x4ca585
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca195
sub ecx, edx
push 0
push ecx
push edi
lea ecx, [ebp - 0x19c4]
call fcn.00425900
lea ecx, [ebp - 0x19c0]
call fcn.00426f60
test eax, eax
jne 0x4ca1e7
mov eax, dword [ebp - 0x19c4]
lea ecx, [ebp - 0x19c4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00419860
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 6
push 3
lea ecx, [ebp - 0x1810]
call fcn.004c5190
push 4
push 0x7178d0
lea ecx, [ebp - 0x428]
call fcn.00417c90
sub esp, 0xc
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x1914]
push eax
call fcn.00424fc0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18c4], 0
jne 0x4ca259
xor bl, bl
jmp 0x4ca53f
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 4
push eax
push 6
push 3
lea ecx, [ebp - 0x1810]
call fcn.004c5190
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 8
push ecx
cmovae eax, dword [ebp - 0x458]
push eax
lea eax, [ebp - 0x410]
push str.type__S__powershell______S_r_n
push eax
call fcn.004ce030
lea ecx, [ebp - 0x410]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca2d7
sub ecx, edx
lea eax, [ebp - 0x410]
push 0
push ecx
push eax
lea ecx, [ebp - 0x1914]
call fcn.00425900
lea ecx, [ebp - 0x1910]
call fcn.00426f60
test eax, eax
jne 0x4ca32f
mov eax, dword [ebp - 0x1914]
lea ecx, [ebp - 0x1914]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00419860
lea eax, [ebp - 0x1864]
mov dword [ebp - 0x1864], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [ebp - 0x1820]
mov dword [ebp - 0x1838], 1
push ecx
lea ecx, [ebp - 0x1864]
xor eax, eax
cmp dword [ebp - 0x414], 8
push ecx
push 0
push 0
push 0x20
push 0
mov word [ebp - 0x1834], ax
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ca39b
xor bl, bl
jmp 0x4ca504
push 0x1b77400
push dword [ebp - 0x1820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
test bl, bl
je 0x4ca492
sub esp, 0xc
lea eax, [ebp - 0x440]
lea ecx, [ebp - 0x1a7c]
push eax
call fcn.004c86f0
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
lea edx, [ebp - 0x470]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a7c]
call fcn.00430bb0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4ca478
nop word [eax + eax]
push 0x7113f8
lea edx, [ebp - 0x470]
lea ecx, [ebp - 0x488]
call fcn.004282f0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004109a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x474]
cmp eax, 0x10
jb 0x4ca45b
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.00408600
lea edx, [ebp - 0x470]
lea ecx, [ebp - 0x1a7c]
call fcn.00430bb0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4ca410
lea ecx, [ebp - 0x470]
call fcn.00406f20
lea ecx, [ebp - 0x1a7c]
mov byte [ebp - 4], 4
call fcn.0042db50
push 9
push 0
push str.Exception
mov ecx, esi
call fcn.00407ec0
cmp eax, 0xffffffff
je 0x4ca4b9
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4ca4b6
mov esi, dword [esi]
mov byte [esi], 0
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
cmovae ecx, dword [ebp - 0x428]
call fcn.004218f0
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x458]
call fcn.004218f0
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x440]
cmovae ecx, dword [ebp - 0x440]
call fcn.004218f0
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4ca522
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
lea ecx, [ebp - 0x1914]
call fcn.00422390
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x4ca568
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
lea ecx, [ebp - 0x19c4]
call fcn.00422390
mov ecx, dword [ebp - 0x444]
cmp ecx, 8
jb 0x4ca5ae
inc ecx
push ecx
push dword [ebp - 0x458]
lea ecx, [ebp - 0x458]
call fcn.004120a0
mov al, bl
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.004ce564
mov esp, ebp
pop ebp
ret