Function at 0x1800158c0
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp byte [0x180082abc], 0
mov r12, rcx
mov qword [rbp - 0x21], rcx
mov rsi, r8
mov ecx, 0x13
mov qword [rbp - 0x19], r8
mov rax, rdx
mov qword [rbp - 0x11], rdx
je 0x18001590c
mov dword [rbp - 0x29], 0x8000017
jmp 0x180015930
cmp byte [0x180082c9c], 0
je 0x18001591e
mov dword [rbp - 0x29], 0x8000013
jmp 0x180015930
cmp byte [0x180082abe], 0
mov edx, 0x14
cmovne ecx, edx
mov dword [rbp - 0x29], ecx
mov qword [rsp + 0xf8], rbx
xor edi, edi
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
mov qword [rbp - 9], rdi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 7
test rax, rax
je 0x180015cc7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x180015cc7
mov r15, qword [rbp + 7]
movabs rbx, 0x7ffffffffffffffe
mov r14, qword [rbp + 0xf]
cmp r15, r14
jae 0x1800159b5
lea rax, [r15 + 1]
cmp r14, 8
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
cmovae rax, qword [rbp - 9]
mov dword [rax + r15*2], 0x22
jmp 0x180015a82
mov rax, rbx
sub rax, r15
cmp rax, 1
jb 0x180015eab
lea r13, [r15 + 1]
mov rsi, r13
or rsi, 7
cmp rsi, rbx
jbe 0x1800159da
mov rsi, rbx
jmp 0x1800159fb
mov rcx, r14
mov rax, rbx
shr rcx, 1
sub rax, rcx
cmp r14, rax
jbe 0x1800159f0
mov rsi, rbx
jmp 0x1800159fb
lea rax, [r14 + rcx]
cmp rsi, rax
cmovb rsi, rax
lea rdx, [rsi + 1]
call fcn.180017160
add r15, r15
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], rsi
mov r12, rax
mov r8, r15
mov rcx, rax
cmp r14, 8
jb 0x180015a69
mov rsi, qword [rbp - 9]
mov rdx, rsi
call fcn.18004c130
lea rdx, [r14*2 + 2]
mov dword [r12 + r15], 0x22
cmp rdx, 0x1000
jb 0x180015a5f
mov rcx, qword [rsi - 8]
add rdx, 0x27
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x180015ea5
mov rsi, rcx
mov rcx, rsi
call fcn.180049e70
jmp 0x180015a7a
lea rdx, [rbp - 9]
call fcn.18004c130
mov dword [r12 + r15], 0x22
mov qword [rbp - 9], r12
mov r12, qword [rbp - 0x21]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [r12 + r8*2], di
jne 0x180015a90
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.180016fc0
mov r13, qword [rbp + 7]
mov r15, qword [rbp + 0xf]
cmp r13, r15
jae 0x180015ad9
lea rax, [r13 + 1]
cmp r15, 8
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
cmovae rax, qword [rbp - 9]
mov dword [rax + r13*2], 0x22
mov r12, qword [rbp - 9]
jmp 0x180015ba3
mov rax, rbx
sub rax, r13
cmp rax, 1
jb 0x180015eab
lea r14, [r13 + 1]
or r14, 7
cmp r14, rbx
jbe 0x180015afb
mov r14, rbx
jmp 0x180015b1c
mov rcx, r15
mov rax, rbx
shr rcx, 1
sub rax, rcx
cmp r15, rax
jbe 0x180015b11
mov r14, rbx
jmp 0x180015b1c
lea rax, [r15 + rcx]
cmp r14, rax
cmovb r14, rax
lea rdx, [r14 + 1]
call fcn.180017160
mov r12, rax
mov qword [rbp + 0xf], r14
lea rax, [r13 + 1]
mov rcx, r12
add r13, r13
mov qword [rbp + 7], rax
mov r8, r13
cmp r15, 8
jb 0x180015b8e
mov r14, qword [rbp - 9]
mov rdx, r14
call fcn.18004c130
lea rdx, [r15*2 + 2]
mov dword [r12 + r13], 0x22
cmp rdx, 0x1000
jb 0x180015b84
mov rcx, qword [r14 - 8]
add rdx, 0x27
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x180015ea5
mov r14, rcx
mov rcx, r14
call fcn.180049e70
jmp 0x180015b9f
lea rdx, [rbp - 9]
call fcn.18004c130
mov dword [r12 + r13], 0x22
mov qword [rbp - 9], r12
mov r15, qword [rbp + 7]
mov r14, qword [rbp + 0xf]
cmp r15, r14
jae 0x180015bd1
lea rax, [r15 + 1]
cmp r14, 8
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
cmovae rax, r12
mov dword [rax + r15*2], 0x20
jmp 0x180015c93
mov rax, rbx
sub rax, r15
cmp rax, 1
jb 0x180015eab
lea r13, [r15 + 1]
mov rcx, r13
or rcx, 7
cmp rcx, rbx
ja 0x180015c10
mov rdx, r14
mov rax, rbx
shr rdx, 1
sub rax, rdx
cmp r14, rax
ja 0x180015c10
lea rax, [rdx + r14]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.180017160
add r15, r15
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], rbx
mov r12, rax
mov r8, r15
mov rcx, rax
cmp r14, 8
jb 0x180015c7e
mov rbx, qword [rbp - 9]
mov rdx, rbx
call fcn.18004c130
lea rdx, [r14*2 + 2]
mov dword [r12 + r15], 0x20
cmp rdx, 0x1000
jb 0x180015c74
mov rcx, qword [rbx - 8]
add rdx, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180015ea5
mov rbx, rcx
mov rcx, rbx
call fcn.180049e70
jmp 0x180015c8f
lea rdx, [rbp - 9]
call fcn.18004c130
mov dword [r12 + r15], 0x20
mov qword [rbp - 9], r12
mov rdx, qword [rbp - 0x11]
inc rsi
cmp word [rdx + rsi*2], di
jne 0x180015c97
mov r8, rsi
lea rcx, [rbp - 9]
call fcn.180016fc0
cmp qword [rbp + 0xf], 8
lea r14, [rbp - 9]
mov r12, qword [rbp - 0x21]
mov r15, rdi
cmovae r14, qword [rbp - 9]
mov rsi, qword [rbp - 0x19]
jmp 0x180015ccd
mov r14, rdi
mov r15, r12
mov r13d, dword [rbp - 0x29]
lea rax, [0x180082d08]
mov ebx, edi
lea rcx, [0x180082ca0]
cmp byte [0x180082c9a], dil
je 0x180015d08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call fcn.180009600
lea rax, [0x180082d08]
lea rcx, [0x180082ca0]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov rdx, r14
mov qword [rsp + 0x30], rdi
mov rcx, r15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp byte [0x180082c9a], dil
mov esi, eax
je 0x180015d52
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dl, 1
call fcn.180009600
test esi, esi
je 0x180015e0c
cmp byte [0x180082abe], dil
je 0x180015df5
lea rdx, [0x180082d08]
mov rcx, r12
call fcn.180015620
test al, al
jne 0x180015dd2
mov rcx, qword [0x180082d10]
mov edx, 0xc0000018
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x180082d08]
mov edx, 0xc0000018
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rsi, qword [rbp - 0x19]
lea rcx, [0x180082ca0]
mov eax, ebx
inc ebx
cmp eax, 0xa
lea rax, [0x180082d08]
jl 0x180015ce1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x180082d08], xmm0
mov qword [0x180082d18], rax
jmp 0x180015e2d
mov ecx, dword [0x180082d18]
call fcn.180005b40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_DebugSetProcessKillOnExit]
mov rcx, qword [0x180082d10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [0x180082abd], dil
mov qword [0x180082c50], rdi
lea rdi, [0x180082d08]
jmp 0x180015e2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
xorps xmm0, xmm0
mov qword [0x180082d18], rcx
mov ecx, eax
movups xmmword [0x180082d08], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x180015e69
mov rcx, qword [rbp - 9]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015e64
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ea5
call fcn.180049e70
mov r15, qword [rsp + 0xa0]
mov rax, rdi
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0xb8
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800503fc
int3
call fcn.1800171d0
int3