Function at 0x140004480
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x478]
sub rsp, 0x570
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov qword [r11 - 0x18], r12
xor r12d, r12d
cmp qword [0x14007c670], r12
mov qword [r11 - 0x20], r14
mov r14, rcx
mov qword [r11 - 0x28], r15
mov r15d, edx
mov qword [rsp + 0x50], r12
jne 0x1400044cb
call fcn.140003d40
xor edx, edx
mov qword [rsp + 0x590], rbx
mov r8d, 0x410
lea rcx, [rbp + 0x30]
call fcn.140005b10
lea rdx, [0x14007c690]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.winver.exe
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x30]
call fcn.140003ad0
test al, al
jne 0x14000452e
mov ebx, 0xc0000001
jmp 0x140004703
mov r9d, 8
mov qword [rsp + 0x568], rdi
mov rdi, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x20], r12
lea edx, [r9 + 0x16]
call qword [0x14007cb10]
mov ebx, eax
test eax, eax
js 0x1400046fb
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call qword [0x14007cac0]
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 edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x410
call fcn.140005b10
lea rdx, [0x14007c690]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.taskmgr.exe
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
lea rdi, [rsp + 0x60]
mov ecx, 0x18
lea rdx, [rbp + 0x30]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x80]
mov ecx, 0xb0
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov r8d, 1
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x48], rax
call fcn.140003ad0
test al, al
jne 0x140004606
mov ebx, 0xc0000001
jmp 0x1400046fb
mov rcx, qword [rsp + 0x50]
call qword [0x14007cab8]
or edx, 0xffffffff
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x1400046fb
cmp dword [rbp - 0x80], 3
jne 0x140004635
mov rdi, qword [rbp - 0x68]
test rdi, rdi
jne 0x14000465d
mov edx, dword [rbp - 0x78]
mov r8d, 0x10002
mov ecx, dword [rbp - 0x7c]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
or edx, 0xffffffff
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
jne 0x140004626
jmp 0x1400046fb
or r8, 0xffffffffffffffff
mov dword [rsp + 0x30], r12d
or rdx, r8
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov rcx, rdi
mov dword [rsp + 0x20], 0x1fffff
call qword [0x14007cab0]
mov ebx, eax
test eax, eax
js 0x1400046b7
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
mov r8d, r15d
mov rdx, r14
call fcn.140004750
mov rcx, qword [rsp + 0x58]
call qword [0x14007caf8]
xor ecx, ecx
call qword [0x14007cab8]
mov rcx, qword [rsp + 0x50]
call qword [0x14007caf8]
mov rcx, rdi
mov qword [rsp + 0x50], r12
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 rdi, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x550]
mov r14, qword [rsp + 0x558]
mov r12, qword [rsp + 0x560]
test rcx, rcx
je 0x14000472b
call qword [0x14007caf8]
mov eax, ebx
mov rbx, qword [rsp + 0x590]
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400049d0
add rsp, 0x570
pop rbp
ret