Function at 0x1400666b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x1400dabf0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
xor edi, edi
lea rcx, [rsp + 0x60]
call fcn.140073d30
mov r8, rax
movabs rax, 0x4217de7094d5fac6
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rcx
movabs rdx, 0x808f8ba15e5e83ec
mov qword [rsp + 0x20], rdx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rcx
movabs rax, 0x4217de70b9b8978b
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x4c0], rcx
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x4c8], rax
movdqa xmm0, xmmword [rsp + 0x4c0]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x480]
call fcn.140066dd0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400667a2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006679d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066c4a
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea r8, [rsp + 0x480]
cmp qword [rsp + 0x498], 0x10
cmovae r8, qword [rsp + 0x480]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x1400667ed
mov ecx, IStream_Read
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r8, [rsp + 0x480]
cmp qword [rsp + 0x498], 0x10
cmovae r8, qword [rsp + 0x480]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
mov qword [rsp + 0x20], rax
call fcn.140069880
test al, al
jne 0x14006682e
mov ecx, 0x675
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x4a0], xmm0
mov qword [rsp + 0x4b0], rax
mov qword [rsp + 0xb8], rdi
lea rcx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x80], rcx
lea rax, [0x140074040]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc0], rcx
lea rax, [0x140039c40]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x100], rcx
lea rax, [0x14003acb0]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x140], rcx
lea rax, [0x14003b2f0]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x1b8], rdi
mov qword [rsp + 0x180], rcx
lea rax, [0x14003c0f0]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x1c0], rcx
lea rax, [0x140039080]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x200], rcx
lea rax, [0x1400510c0]
mov qword [rsp + 0x208], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x240], rcx
lea rax, [0x140053f30]
mov qword [rsp + 0x248], rax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x2b8], rdi
mov qword [rsp + 0x280], rcx
lea rax, [0x14002ff50]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x2f8], rdi
mov qword [rsp + 0x2c0], rcx
lea rax, [0x140037430]
mov qword [rsp + 0x2c8], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x2f8], rax
mov qword [rsp + 0x338], rdi
mov qword [rsp + 0x300], rcx
lea rax, [0x1400359d0]
mov qword [rsp + 0x308], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x338], rax
mov qword [rsp + 0x378], rdi
mov qword [rsp + 0x340], rcx
lea rax, [0x140067100]
mov qword [rsp + 0x348], rax
lea rax, [rsp + 0x340]
mov qword [rsp + 0x378], rax
mov qword [rsp + 0x3b8], rdi
mov qword [rsp + 0x380], rcx
lea rax, [0x1400385a0]
mov qword [rsp + 0x388], rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x3b8], rax
mov qword [rsp + 0x3f8], rdi
mov qword [rsp + 0x3c0], rcx
lea rax, [0x140034580]
mov qword [rsp + 0x3c8], rax
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x3f8], rax
mov qword [rsp + 0x438], rdi
mov qword [rsp + 0x400], rcx
lea rax, [0x140031de0]
mov qword [rsp + 0x408], rax
lea rax, [rsp + 0x400]
mov qword [rsp + 0x438], rax
mov qword [rsp + 0x478], rdi
mov qword [rsp + 0x440], rcx
lea rax, [0x140034870]
mov qword [rsp + 0x448], rax
lea rax, [rsp + 0x440]
mov qword [rsp + 0x478], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4a0]
call fcn.140066c60
nop
lea r9, [0x14004dc90]
mov edx, 0x40
lea r8d, [rdx - 0x30]
lea rcx, [rsp + 0x80]
call fcn.14009c824
lea rcx, [rsp + 0x4a0]
call fcn.1400628a0
nop
call fcn.14006dcc0
nop
jmp 0x140066b9f
call fcn.14005fd10
test rbx, rbx
je 0x140066bbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140061f30
nop
lea rcx, [rsp + 0x4a0]
call fcn.140064ad0
nop
mov rdx, qword [rsp + 0x498]
cmp rdx, 0x10
jb 0x140066c0e
inc rdx
mov rcx, qword [rsp + 0x480]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066c50
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rsp + 0x490], xmm0
mov byte [rsp + 0x480], 0
xor eax, eax
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14009c6a0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4e0
pop rdi
ret
call fcn.14007e888
nop
call fcn.14007e888
int3