Function at 0x1400057a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rbx, rcx
test byte [rcx + 8], 1
je 0x14000592a
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea rsi, vtable.CVolObject.0
mov qword [rsp + 0x20], rsi
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
lea r14, vtable.CVolMem.0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x70], 0xfe
lea rax, vtable.CWConstString.0
mov qword [rsp + 0x20], rax
lea rax, [0x1402808f0]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400361c0
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140002480
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400028a0
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x30], r14
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400058ac
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x30]
call qword [rax + 0x18]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x50], rsi
mov qword [rsp + 0x78], r14
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x1400058db
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + 0x18]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], rdi
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x40], r14
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140005911
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x18]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rsi
mov r8, qword [rbx + 0x18]
test r8, r8
jne 0x140005944
cmp qword [rbx + 0x48], r8
lea r8, [0x14027cc90]
je 0x140005944
mov r8, qword [rbx + 0x38]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
je 0x1400059ad
lea rcx, [rbp - 0x50]
call fcn.140035800
nop
mov rcx, rax
call fcn.1400055f0
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140002e80
mov rcx, rbx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x140005988
mov rcx, rbx
call fcn.140005c50
mov rcx, rbx
call sub.USER32.dll_IsIconic
test eax, eax
je 0x14000599c
mov rcx, rbx
call sub.USER32.dll_OpenIcon
mov rcx, rbx
call fcn.140005c20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, qword [rbx + 0x18]
test r9, r9
jne 0x1400059c7
cmp qword [rbx + 0x48], r9
lea r9, [0x14027cc90]
je 0x1400059c7
mov r9, qword [rbx + 0x38]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_CreateEventW]