Function at 0x4022c0
Capabilities:
Acquire debug privileges
Create process on windows
Create process suspended
Create thread
Inject dll
Inject thread
Resume thread
Terminate process
Use process replacement

Disassembly:
mov eax, 0x11884
call fcn.00402890
vxorpd xmm0, xmm0, xmm0
push 1
push dword [esp + 0x1188c]
lea ecx, [esp + 0x87c]
mov dword [esp + 0x38], 0x44
vmovlpd qword [esp + 0x3c], xmm0
vmovlpd qword [esp + 0x44], xmm0
vmovlpd qword [esp + 0x4c], xmm0
vmovlpd qword [esp + 0x54], xmm0
vmovlpd qword [esp + 0x5c], xmm0
vmovlpd qword [esp + 0x64], xmm0
vmovlpd qword [esp + 0x6c], xmm0
vmovlpd qword [esp + 0x74], xmm0
vmovdqu xmmword [esp + 8], xmm0
call fcn.00401d60
lea edx, [esp + 0x1884]
mov ecx, dword [eax + 0x804]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x402330
push esi
push edi
lea ecx, [esp + 0x87c]
call fcn.00401ee0
lea edi, [esp + 0x188c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x402360
mov eax, dword [0x41832c]
lea ecx, [esp + 0x87c]
push 0
push dword [esp + 0x1189c]
mov dword [edi], eax
call fcn.00401d60
mov edx, dword [eax + 0x804]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402390
lea edi, [esp + 0x188c]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4023b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x87c]
call fcn.00401ee0
push 1
push dword [esp + 0x118a0]
lea ecx, [esp + 0x884]
call fcn.00401d60
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [eax + 0x804]
lea eax, [esp + 0x1898]
push 0
push 4
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esp + 0x87c]
mov esi, eax
call fcn.00401ee0
cmp esi, 1
jne 0x402634
lea eax, [esp + 0x20]
push eax
push 0x20
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402634
lea eax, [esp + 0x18]
push eax
push str.SeDebugPrivilege
push 0x4181c0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402634
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x402634
push ebx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.LoadLibraryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x11898]
or edx, 0xffffffff
mov ebx, eax
test edi, edi
jne 0x4024c9
xor ecx, ecx
jmp 0x4024f5
mov ecx, edi
nop dword [eax + eax]
cmp byte [ecx], 0
je 0x4024f3
inc ecx
cmp byte [ecx], 0
je 0x4024f3
inc ecx
cmp byte [ecx], 0
je 0x4024f3
inc ecx
cmp byte [ecx], 0
je 0x4024f3
inc ecx
cmp byte [ecx], 0
je 0x4024f3
inc ecx
sub edx, 5
jne 0x4024d0
sub ecx, edi
mov esi, 0x7ff
cmp ecx, esi
cmovb esi, ecx
mov ecx, esi
cmp esi, 0x800
jbe 0x40250e
mov ecx, 0x800
lea eax, [esp + 0x80]
add eax, ecx
lea edx, [esp + 0x80]
cmp edx, eax
je 0x40252f
push ecx
mov eax, edx
push edi
push eax
call fcn.004036f0
add esp, 0xc
lea eax, [esp + 0x80]
mov byte [esp + esi + 0x80], 0
push eax
call fcn.00401c30
add esp, 4
lea eax, [esp + 0x80]
lea ecx, [esp + 0x1088]
push 1
push eax
call fcn.00401d60
mov esi, dword [esp + 0x188c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x402567
sub esi, ecx
push 4
sar esi, 1
push 0x1000
lea esi, [esi*2 + 2]
push esi
push 0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
lea eax, [esp + 0x38]
push eax
push esi
push dword [esp + 0x1894]
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
test eax, eax
je 0x4025c8
push 0
push edi
push ebx
push 0
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x4025f6
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1088]
xor bl, bl
call fcn.00401ee0
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x11884
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x118a4]
test ecx, ecx
je 0x40261a
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
lea ecx, [esp + 0x1088]
mov bl, 1
call fcn.00401ee0
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x11884
ret
pop edi
xor al, al
pop esi
add esp, 0x11884
ret