Function at 0x140280400
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rbx, rcx
xor r15d, r15d
mov esi, r15d
cmp qword [rcx + 8], rsi
je 0x140280aac
xor edx, edx
cmp qword [rcx], rsi
je 0x14028045d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_TerminateJobObject]
test eax, eax
setne dil
jmp 0x14028047e
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14028047b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14028047b
xor dil, dil
jmp 0x14028047e
mov dil, 1
cmp dword [rbx + 0xb8], 1
je 0x140280490
cmp dword [rbx + 0xb8], 2
jne 0x1402804b2
cmp byte [0x14062c970], sil
je 0x1402804b2
mov ecx, dword [rbx + 0x18]
call fcn.140214ac0
cmp byte [0x14062c970], sil
je 0x1402804b2
mov ecx, dword [rbx + 0x18]
call fcn.140214ac0
test dil, dil
je 0x1402804c3
mov dword [rbx + 0xb8], r15d
jmp 0x140280aac
mov dword [rbx + 0xb8], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
mov ecx, 0x20
call fcn.140283d70
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x60], reloc.WS2_32.dll_recvfrom
mov qword [rbp + 0x68], 0x1f
movups xmm0, xmmword [str.Terminate_Process]
movups xmmword [rax], xmm0
movzx ecx, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], sil
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x40], eax
cmp byte [0x14062c970], 0
je 0x14028088f
lea r14, vtable.fmt::v6::internal::buffer_char_.0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], r15
lea r12, vtable.fmt::v6::basic_memory_buffer_char__256__class_std::allocator_char__.0
mov qword [rbp + 0xc0], r12
lea rax, [rbp + 0xe0]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], 0x100
lea rdi, vtable.eax::StringBuffer_256_.0
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], r15
lea rax, str.Error
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], reloc.WS2_32.dll_listen
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [0x140438af8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
mov dword [rbp - 0x80], r15d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
mov dword [rbp - 0x38], r15d
movdqa xmmword [rsp + 0x30], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140035840
nop
lea rax, [rbp - 0x78]
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp - 0x60]
call fcn.140283db0
nop
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.1402129d0
mov rcx, rax
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], r15
mov qword [rbp + 0x1f0], r15
mov qword [rbp + 0x1f8], r15
mov qword [rbp + 0x1e0], r12
lea rax, [rbp + 0x200]
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x1f8], 0x100
mov qword [rbp + 0x1e0], rdi
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140280684
mov rdx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], esi
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1402806a9
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0xb0], rdx
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x50], 0x386e
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, str.path____code____emsg__
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1c
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], r15d
lea rax, [rbp - 0x18]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1e0]
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov dword [rbp + 8], r15d
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x28], r15d
movdqa xmmword [rsp + 0x30], xmm1
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.140035840
nop
lea rax, [rbp - 0x18]
mov qword [rsp + 0x60], rax
mov rcx, qword [rbp]
call fcn.140283db0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140280789
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x140280784
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280ae1
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x58], rax
mov ecx, dword [rbx + 0x18]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.140214a80
nop
mov qword [rbp + 0x1e0], r12
lea rax, [rbp + 0x200]
mov rcx, qword [rbp + 0x1e8]
cmp rcx, rax
je 0x140280844
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0x1000
jb 0x14028083e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280ae8
mov rcx, r8
call fcn.140283db0
nop
mov qword [rbp + 0xc0], r12
lea rax, [rbp + 0xe0]
mov rcx, qword [rbp + 0xc8]
cmp rcx, rax
je 0x14028088f
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x1000
jb 0x14028088a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280aef
mov rcx, r8
call fcn.140283db0
mov rdi, qword [0x140627790]
test rdi, rdi
je 0x1402809a4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
test al, al
je 0x1402809a4
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.1402129d0
nop
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
lea r8, str.PROCESS
lea rdx, str.:_____OS_ErrorCode:_0x:x
lea rcx, [rbp + 0x30]
call fcn.14027cc70
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140280925
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x140280920
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280af6
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
mov rax, qword [rdi]
lea r9, [rbp + 0x30]
lea r8, str.eax::services::process::Process::Impl::terminate
mov edx, 1
mov rcx, rdi
call qword [rax + gethostname]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140280990
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
jb 0x14028098b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280afd
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov esi, dword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov ecx, 0x20
call fcn.140283d70
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0x1b
mov qword [rbp + 0x48], 0x1f
movups xmm0, xmmword [str.failed_to_terminate_process]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14047aa90]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14047aa98]
mov word [rax + 0x18], cx
movzx ecx, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], 0
lea rcx, [rbx + 0x20]
mov edx, esi
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x50]
call fcn.140280b20
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140280a50
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
jb 0x140280a4b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280b04
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov esi, 9
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140280a9c
inc rdx
mov rcx, qword [rbp + 0x50]
cmp rdx, 0x1000
jb 0x140280a97
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140280b0b
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rcx, rbx
call fcn.14027d620
mov eax, esi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140284180
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3