Function at 0x1400a6ff4
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
xor edi, edi
mov r14d, ecx
lea eax, [rdi + 4]
lea r15d, [rdi + 3]
mov dword [rbp + 0x67], edi
mov r13b, dil
cmp ecx, 1
jbe 0x1400a703a
jle 0x1400a7040
cmp ecx, r15d
jle 0x1400a703a
cmp ecx, eax
jne 0x1400a7040
mov r13b, 1
mov qword [rbp - 0x59], r8
jmp 0x1400a7071
call fcn.140086fe0
mov dword [rax], edi
call fcn.140087050
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400912dc
jmp 0x1400a726e
inc r8
cmp byte [r8], dil
jne 0x1400a705c
cmp byte [r8 + 1], dil
je 0x1400a7071
mov byte [r8], 0x20
inc r8
cmp byte [r8], dil
jne 0x1400a705c
mov ebx, 0x68
lea rcx, [rbp - 0x49]
xor edx, edx
mov r8d, ebx
call fcn.14008cf90
mov dword [rbp - 0x49], ebx
mov ebx, dword [0x140133cec]
lea r8, [0x14012c770]
test ebx, ebx
je 0x1400a70c4
lea edx, [rbx - 1]
movsxd rcx, edx
mov rax, rcx
and ecx, 0x1f
sar rax, 5
imul rcx, rcx, 0x58
mov rax, qword [r8 + rax*8]
cmp byte [rax + rcx + 8], dil
jne 0x1400a70c2
dec edx
dec ebx
jne 0x1400a70a0
test ebx, ebx
js 0x1400a7263
movsxd r12, ebx
cmp r12, 0x1c71
jae 0x1400a7263
movzx eax, bx
lea ecx, [rbx + 4]
mov edx, 1
shl ax, 3
add cx, ax
mov word [rbp - 7], cx
movzx ecx, cx
call fcn.14008ed08
mov qword [rbp - 1], rax
test rax, rax
je 0x1400a7263
mov dword [rax], ebx
mov rax, qword [rbp - 1]
lea rdx, [rax + 4]
lea rcx, [rax + 4]
add rdx, r12
test ebx, ebx
jle 0x1400a7169
mov r9, rdi
mov r10d, ebx
lea r11, [0x14012c770]
mov r8, r9
mov rax, r9
and r8d, 0x1f
sar rax, 5
imul r8, r8, 0x58
add r8, qword [r11 + rax*8]
mov al, byte [r8 + 8]
test al, 0x10
jne 0x1400a714f
mov byte [rcx], al
mov rax, qword [r8]
mov qword [rdx], rax
jmp 0x1400a7156
mov byte [rcx], dil
or qword [rdx], 0xffffffffffffffff
inc r9
inc rcx
add rdx, 8
dec r10
jne 0x1400a7127
mov rax, qword [rbp - 1]
test r13b, r13b
je 0x1400a71a2
lea rdx, [rax + 4]
lea rcx, [rax + 4]
add rdx, r12
cmp ebx, r15d
cmovl r15d, ebx
test r15d, r15d
jle 0x1400a719b
mov eax, r15d
mov byte [rcx], dil
or qword [rdx], 0xffffffffffffffff
inc rcx
lea rdx, [rdx + 8]
dec rax
jne 0x1400a7188
mov dword [rbp + 0x67], 8
call fcn.140086fe0
mov rdx, qword [rbp - 0x59]
mov rcx, qword [rbp + 0x6f]
mov dword [rax], edi
lea rax, [rbp - 0x71]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x49]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x67]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 1]
mov r15d, eax
call fcn.1400856a4
test ebx, ebx
jne 0x1400a720e
mov ecx, r15d
call fcn.140087000
jmp 0x1400a726e
cmp r14d, 2
je 0x1400a7285
test r14d, r14d
jne 0x1400a723a
mov rcx, qword [rbp - 0x71]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
movsxd rdi, dword [rbp - 0x79]
jmp 0x1400a7244
mov eax, 4
cmp r14d, eax
jne 0x1400a7250
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a7254
mov rdi, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x1400a7272
call fcn.140087050
mov dword [rax], ntohl
or rax, 0xffffffffffffffff
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.1400886d0
int3