Function at 0x140077ef4
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x458]
sub rsp, 0x550
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x440], rax
and qword [rsp + 0x50], 0
lea rax, str.r.exe
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov ebx, 0x5c
lea r8, [0x1400eaa30]
mov r9d, ebx
lea rdx, str._ws_cwinve_ws
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x30]
call fcn.140077a18
test al, al
je 0x140077fb9
mov rdi, qword [rsp + 0x60]
lea r9d, [rbx - 0x54]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, rdi
lea edx, [rbx - 0x3e]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rcx, rdi
test eax, eax
jns 0x140077fe6
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xc0000001
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400783c0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rdx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtRemoveProcessDebug]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rdi, [rbp + 0x30]
mov ecx, 0x410
lea r8, [0x1400eaa30]
rep stosb byte [rdi], al
lea rax, [0x1400e0364]
mov r9d, ebx
mov qword [rsp + 0x30], rax
lea rdx, str._ws_ccomput_ws_ws_ws
lea rax, str.ts.e
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x30]
lea rax, str.erdefaul
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
lea rdi, [rsp + 0x60]
mov r8d, 1
lea rdx, [rbp + 0x30]
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x80]
mov ecx, 0xb0
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x48], rax
call fcn.140077a18
test al, al
je 0x140077fb9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_DbgUiSetThreadDebugObject]
or ebx, 0xffffffff
jmp 0x1400780c9
cmp dword [rbp - 0x80], 3
jne 0x1400780b7
mov rdi, qword [rbp - 0x68]
test rdi, rdi
jne 0x1400780de
mov edx, dword [rbp - 0x78]
mov r8d, 0x10002
mov ecx, dword [rbp - 0x7c]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov edx, ebx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
jne 0x1400780a8
jmp 0x140077fbe
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x58]
and dword [rsp + 0x28], 0
or rdx, 0xffffffffffffffff
and qword [rsp + 0x58], 0
mov r8, rdx
mov rcx, rdi
mov dword [rsp + 0x20], 0x1fffff
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
mov ebx, eax
test eax, eax
js 0x140078129
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
call fcn.140077d90
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_DbgUiSetThreadDebugObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
and qword [rsp + 0x50], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007817e
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
jmp 0x140077fbe