Function at 0x1400ab3e4
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 0x1400ab42a
jle 0x1400ab430
cmp ecx, r15d
jle 0x1400ab42a
cmp ecx, eax
jne 0x1400ab430
mov r13b, 1
mov qword [rbp - 0x59], r8
jmp 0x1400ab461
call fcn.14008c174
mov dword [rax], edi
call fcn.14008c1e4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400956cc
jmp 0x1400ab65e
inc r8
cmp byte [r8], dil
jne 0x1400ab44c
cmp byte [r8 + 1], dil
je 0x1400ab461
mov byte [r8], 0x20
inc r8
cmp byte [r8], dil
jne 0x1400ab44c
mov ebx, 0x68
lea rcx, [rbp - 0x49]
xor edx, edx
mov r8d, ebx
call fcn.140091e20
mov dword [rbp - 0x49], ebx
mov ebx, dword [0x140139e7c]
lea r8, [0x140132790]
test ebx, ebx
je 0x1400ab4b4
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 0x1400ab4b2
dec edx
dec ebx
jne 0x1400ab490
test ebx, ebx
js 0x1400ab653
movsxd r12, ebx
cmp r12, 0x1c71
jae 0x1400ab653
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.140091b6c
mov qword [rbp - 1], rax
test rax, rax
je 0x1400ab653
mov dword [rax], ebx
mov rax, qword [rbp - 1]
lea rdx, [rax + 4]
lea rcx, [rax + 4]
add rdx, r12
test ebx, ebx
jle 0x1400ab559
mov r9, rdi
mov r10d, ebx
lea r11, [0x140132790]
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 0x1400ab53f
mov byte [rcx], al
mov rax, qword [r8]
mov qword [rdx], rax
jmp 0x1400ab546
mov byte [rcx], dil
or qword [rdx], 0xffffffffffffffff
inc r9
inc rcx
add rdx, 8
dec r10
jne 0x1400ab517
mov rax, qword [rbp - 1]
test r13b, r13b
je 0x1400ab592
lea rdx, [rax + 4]
lea rcx, [rax + 4]
add rdx, r12
cmp ebx, r15d
cmovl r15d, ebx
test r15d, r15d
jle 0x1400ab58b
mov eax, r15d
mov byte [rcx], dil
or qword [rdx], 0xffffffffffffffff
inc rcx
lea rdx, [rdx + 8]
dec rax
jne 0x1400ab578
mov dword [rbp + 0x67], 8
call fcn.14008c174
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.140089874
test ebx, ebx
jne 0x1400ab5fe
mov ecx, r15d
call fcn.14008c194
jmp 0x1400ab65e
cmp r14d, 2
je 0x1400ab675
test r14d, r14d
jne 0x1400ab62a
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 0x1400ab634
mov eax, 4
cmp r14d, eax
jne 0x1400ab640
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ab644
mov rdi, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
jmp 0x1400ab662
call fcn.14008c1e4
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.14008b3e0
int3