Function at 0x180029f40
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 [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
cmp qword [rcx + 0x38], 0
jne 0x180029f83
xor al, al
jmp 0x18002a21f
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 9], xmm1
xor r15d, r15d
mov word [rbp - 0x19], r15w
mov rax, rsi
cmp qword [rcx + 0x18], 8
jb 0x180029fad
mov rax, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x180029fb7
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x180029fc1
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.180155210
lea rbx, [rsi + 0x28]
mov qword [rbp - 0x41], rbx
xor cl, cl
mov byte [rbp - 0x39], cl
test rbx, rbx
je 0x18002a029
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a026
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18002a020
xor cl, cl
jmp 0x18002a026
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 0x18002a057
test cl, cl
je 0x18002a057
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a053
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.18015b370
nop
lea r9, [rbp - 0x49]
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.180165860
test al, al
sete dil
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18002a0c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a0c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002a0c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r15w
test dil, dil
jne 0x18002a1b8
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 0x18002a130
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a12d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18002a127
xor cl, cl
jmp 0x18002a12d
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 0x18002a156
test cl, cl
je 0x18002a156
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002a152
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 0x18002a17f
test r14d, r14d
jle 0x18002a17f
test dil, dil
je 0x18002a0f0
movzx eax, byte [rsi + 0x60]
mov rbx, qword [rbp - 0x49]
test al, al
je 0x18002a1f9
test rbx, rbx
je 0x18002a1f9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rbx
je 0x18002a1b8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18002a1b8
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 0x18002a209
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a204
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002a204
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 0x18002a1bb
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret