Function at 0x1400baa6c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [rcx + 0x34]
mov edi, edx
mov rbx, rcx
test eax, eax
jne 0x1400baa91
mov eax, 0x80004005
jmp 0x1400baca6
cmp byte [rcx + 0x25c], 0
jne 0x1400baca4
mov rcx, qword [rcx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x38]
call fcn.1400dab58
test al, al
jne 0x1400baad2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test eax, eax
je 0x1400baad2
mov ecx, 0x1c1417
call fcn.140175954
call fcn.1400ad3c4
test al, al
jne 0x1400bab56
mov edx, 0x2710
lea rcx, [rbx + 0x60]
call fcn.1400b7c20
test rax, rax
je 0x1400bab56
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov ecx, edi
test edi, edi
je 0x1400bab3c
sub ecx, 1
je 0x1400bab32
sub ecx, 1
je 0x1400bab3c
cmp ecx, 1
je 0x1400bab1c
mov ecx, 0x1c1418
call fcn.140175954
jmp 0x1400baa87
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400baa87
mov eax, 0x80004004
jmp 0x1400baca6
neg edi
lea rcx, [rbx + 0x60]
sbb edx, edx
and edx, 0x4e21
dec edx
call fcn.1400b7c20
test rax, rax
jne 0x1400bab32
mov rcx, qword [rbx + 0x38]
mov byte [rbx + 0x25c], 1
mov rax, qword [rcx]
call qword [rax + 0x48]
lea rdi, [rbx + 0x1d0]
cmp qword [rdi + 0x10], 0
je 0x1400baba8
mov rax, qword [rdi]
test rax, rax
je 0x1400baba8
jmp 0x1400bab98
mov rcx, qword [rbp + 0x30]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.1400da7b0
test al, al
jne 0x1400bab7f
and qword [rbp + 0x20], 0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400babeb
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
lea rdx, [0x140242498]
call qword [rax]
test eax, eax
js 0x1400babd7
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x120]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400babeb
and qword [rbp + 0x20], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400babfa
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x1400bac0b
call fcn.1400b7744
lea rdi, [rbx + 0xd0]
cmp qword [rdi + 0x10], 0
je 0x1400bac47
mov rax, qword [rdi]
test rax, rax
je 0x1400bac47
jmp 0x1400bac37
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rbp + 0x38]
mov rcx, rdi
call fcn.1400da7b0
test al, al
jne 0x1400bac23
lea rdi, [rbx + 0x150]
cmp qword [rdi + 0x10], 0
je 0x1400bac79
mov rax, qword [rdi]
test rax, rax
je 0x1400bac79
jmp 0x1400bac69
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.1400da7b0
test al, al
jne 0x1400bac5f
cmp dword [rbx + 0x258], 0
je 0x1400baca4
call fcn.1400dab58
test al, al
je 0x1400bac9a
call qword [sym.imp.ole32.dll_CoUninitialize]
and dword [rbx + 0x258], 0
jmp 0x1400baca4
mov ecx, 0x1c141d
call fcn.140175954
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret