Function at 0x18002b250
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 [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
cmp qword [rcx + 0x38], 0
jne 0x18002b293
xor al, al
jmp 0x18002b52f
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 9], xmm1
xor r15d, r15d
mov word [rbp - 0x19], r15w
mov rax, rsi
cmp qword [rcx + 0x18], 8
jb 0x18002b2bd
mov rax, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x18002b2c7
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x18002b2d1
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.18015a250
lea rbx, [rsi + 0x28]
mov qword [rbp - 0x41], rbx
xor cl, cl
mov byte [rbp - 0x39], cl
test rbx, rbx
je 0x18002b339
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002b336
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18002b330
xor cl, cl
jmp 0x18002b336
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 0x18002b367
test cl, cl
je 0x18002b367
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002b363
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.180160990
nop
lea r9, [rbp - 0x49]
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.18016aca0
test al, al
sete dil
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18002b3d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002b3d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002b3d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r15w
test dil, dil
jne 0x18002b4c8
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 0x18002b440
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002b43d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x18002b437
xor cl, cl
jmp 0x18002b43d
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 0x18002b466
test cl, cl
je 0x18002b466
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002b462
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 0x18002b48f
test r14d, r14d
jle 0x18002b48f
test dil, dil
je 0x18002b400
movzx eax, byte [rsi + 0x60]
mov rbx, qword [rbp - 0x49]
test al, al
je 0x18002b509
test rbx, rbx
je 0x18002b509
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rbx
je 0x18002b4c8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18002b4c8
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 0x18002b519
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002b514
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002b514
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 0x18002b4cb
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret