Function at 0x180029eb0
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
cmp qword [rcx + 0x38], 0
jne 0x180029ef3
xor al, al
jmp 0x18002a18f
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 9], xmm1
xor r15d, r15d
mov word [rbp - 0x19], r15w
mov rax, rsi
cmp qword [rcx + 0x18], 8
jb 0x180029f1d
mov rax, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x180029f27
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x180029f31
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rax
lea rax, str.8ec8410c443d08d15a02f338afdfe4d1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x19
mov r9, r8
mov r8, rdx
lea rdx, str.__s____s____d____s____s_
lea rcx, [rbp - 0x19]
call fcn.180154c50
lea rbx, [rsi + 0x28]
mov qword [rbp - 0x41], rbx
xor cl, cl
mov byte [rbp - 0x39], cl
test rbx, rbx
je 0x180029f99
mov rcx, qword [rbx]
test rcx, rcx
je 0x180029f96
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x180029f90
xor cl, cl
jmp 0x180029f96
mov byte [rbx + 8], 1
mov cl, 1
mov byte [rbp - 0x39], cl
mov rax, qword [rsi + 0x38]
mov dword [rax], r15d
mov qword [rax + 4], 1
mov dword [rax + 0xc], r15d
test rbx, rbx
je 0x180029fc7
test cl, cl
je 0x180029fc7
mov rcx, qword [rbx]
test rcx, rcx
je 0x180029fc3
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbx + 8], 0
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x49], r15
lea rdx, [rsi + 0x40]
lea rcx, [rbp + 7]
call fcn.18015adb0
nop
lea r9, [rbp - 0x49]
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.1801652a0
test al, al
sete dil
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18002a036
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a031
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002a031
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r15w
test dil, dil
jne 0x18002a128
mov r14d, 0x61a8
mov eax, r15d
xchg byte [rsi + 0x60], al
nop dword [rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x31], rbx
xor cl, cl
mov byte [rbp - 0x29], cl
test rbx, rbx
je 0x18002a0a0
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a09d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18002a097
xor cl, cl
jmp 0x18002a09d
mov byte [rbx + 8], 1
mov cl, 1
mov byte [rbp - 0x29], cl
mov rax, qword [rsi + 0x38]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
test rbx, rbx
je 0x18002a0c6
test cl, cl
je 0x18002a0c6
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a0c2
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbx + 8], 0
mov qword [rbp - 0x31], r15
sub r14d, 0xc8
cmp dword [rbp - 0x41], 1
sete dil
movzx eax, byte [rsi + 0x60]
test al, al
jne 0x18002a0ef
test r14d, r14d
jle 0x18002a0ef
test dil, dil
je 0x18002a060
movzx eax, byte [rsi + 0x60]
mov rbx, qword [rbp - 0x49]
test al, al
je 0x18002a169
test rbx, rbx
je 0x18002a169
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rbx
je 0x18002a128
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18002a128
mov edx, 0x1388
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor dil, dil
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x18002a179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002a174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002a12b
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret