Function at 0x14019a294
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov edi, edx
mov rbx, rcx
mov eax, dword [rcx + 0x34]
test eax, eax
jne 0x14019a2c1
mov eax, 0x80004005
jmp 0x14019a562
cmp byte [rcx + 0x25c], 0
jne 0x14019a560
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14019a2e5
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x14002a211.0]
nop
call fcn.140043f8c
test al, al
jne 0x14019a310
nop
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [case.0x14002a211.0]
test eax, eax
je 0x14019a310
mov ecx, 0x1c1417
call fcn.1401e41d8
nop
nop
call fcn.14013fdf0
test al, al
jne 0x14019a3a9
mov edx, 0x2710
lea rcx, [rbx + 0x60]
call fcn.1401972cc
test rax, rax
je 0x14019a3a9
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14019a347
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x14002a211.0]
nop
mov ecx, edi
test edi, edi
je 0x14019a38f
sub ecx, 1
je 0x14019a385
sub ecx, 1
je 0x14019a38f
cmp ecx, 1
je 0x14019a36b
mov ecx, 0x1c1418
call fcn.1401e41d8
jmp 0x14019a2b7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop dword [rax]
jmp 0x14019a2b7
mov eax, 0x80004004
jmp 0x14019a562
neg edi
sbb edx, edx
and edx, 0x4e21
dec edx
lea rcx, [rbx + 0x60]
call fcn.1401972cc
test rax, rax
jne 0x14019a385
mov byte [rbx + 0x25c], 1
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14019a3c7
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x14002a211.0]
nop
lea rdi, [rbx + 0x1d0]
cmp qword [rdi + 0x10], 0
je 0x14019a417
mov rax, qword [rdi]
test rax, rax
je 0x14019a417
jmp 0x14019a407
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov dl, 1
mov rax, qword [rax + 0xf8]
call qword [case.0x14002a211.0]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002a211.0]
nop
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.140043ba0
test al, al
jne 0x14019a3df
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14019a42e
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x14002a211.0]
nop
and qword [rbp + 0x20], 0
lea rdx, [rbx + 0x20]
lea r8, [0x1402f7d20]
lea rcx, [rbp + 0x20]
call fcn.1401a2428
test eax, eax
js 0x14019a465
nop dword [rax + rax]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x120]
call qword [case.0x14002a211.0]
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14019a481
and qword [rbp + 0x20], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002a211.0]
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14019a498
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x14002a211.0]
nop
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x14019a4aa
call fcn.140196d30
nop
lea rdi, [rbx + 0xd0]
cmp qword [rdi + 0x10], 0
je 0x14019a4f5
mov rax, qword [rdi]
test rax, rax
je 0x14019a4f5
jmp 0x14019a4e5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14002a211.0]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002a211.0]
nop
lea rdx, [rbp + 0x38]
mov rcx, rdi
call fcn.140043ba0
test al, al
jne 0x14019a4c2
lea rdi, [rbx + 0x150]
cmp qword [rdi + 0x10], 0
je 0x14019a52f
mov rax, qword [rdi]
test rax, rax
je 0x14019a52f
jmp 0x14019a51f
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14002a211.0]
nop
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140043ba0
test al, al
jne 0x14019a50d
cmp dword [rbx + 0x258], 0
je 0x14019a560
call fcn.140043f8c
test al, al
je 0x14019a550
call qword [sym.imp.ole32.dll_CoUninitialize]
and dword [rbx + 0x258], 0
jmp 0x14019a560
mov ecx, 0x1c141d
call fcn.1401e41d8
nop
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret