Function at 0x18001a7c0
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rbx, rcx
mov word [rsp + 0x60], 0x15ff
mov dword [rsp + 0x62], 2
mov word [rsp + 0x66], 0x8eb
mov qword [rsp + 0x68], 0
mov word [rsp + 0x2d], 0x25ff
mov dword [rsp + 0x2f], 0
mov qword [rsp + 0x33], 0
mov qword [rsp + 0x70], 0x25ff0e70
mov qword [rsp + 0x78], 0
mov qword [rcx + 0x20], 0
xor eax, eax
mov qword [rsp + 0x20], rax
xor r14d, r14d
xor r13d, r13d
nop word cs:[rax + rax]
movzx r12d, r13b
add r12, qword [rbx]
mov r15, qword [rbx + 0x10]
mov rcx, r12
lea rdx, [rsp + 0x3b]
call fcn.18001ac40
test byte [rsp + 0x5d], 0x10
jne 0x18001ab81
movzx ebp, r14b
mov edx, ebp
cmp r13b, 5
jb 0x18001a8a0
mov qword [rsp + 0x33], r12
mov r8b, 1
mov eax, 0xe
lea rsi, [rsp + 0x2d]
cmp r12, qword [rsp + 0x20]
jb 0x18001aab0
jmp 0x18001aabd
movzx ecx, byte [rsp + 0x48]
and cl, 0xc7
cmp cl, 5
jne 0x18001a920
mov ecx, eax
mov rsi, r12
lea r9, [rsp + 0x80]
mov rdi, r9
rep movsb byte [rdi], byte [rsi]
movzx ecx, byte [rsp + 0x3b]
add rcx, rsp
add rcx, 0x80
mov r8d, dword [rsp + 0x5c]
shr r8d, 2
and r8d, 0xf
sub rcx, r8
add r15d, edx
mov r8d, r12d
sub r8d, r15d
add r8d, dword [rsp + 0x58]
mov dword [rcx - 4], r8d
movzx ecx, byte [rsp + 0x46]
movzx r8d, byte [rsp + 0x4a]
not cl
xor r8b, 4
or r8b, cl
sete r8b
mov rsi, r9
cmp r12, qword [rsp + 0x20]
jb 0x18001aab0
jmp 0x18001aabd
movzx ecx, byte [rsp + 0x46]
cmp ecx, 0xe8
jne 0x18001a95f
movzx eax, byte [rsp + 0x3b]
movsxd rcx, dword [rsp + 0x50]
add rcx, rax
add rcx, r12
mov qword [rsp + 0x68], rcx
mov eax, 0x10
xor r8d, r8d
lea rsi, [rsp + 0x60]
cmp r12, qword [rsp + 0x20]
jb 0x18001aab0
jmp 0x18001aabd
mov r8d, ecx
and r8d, 0xfffffffd
cmp r8d, 0xe9
jne 0x18001a9c2
movzx r8d, byte [rsp + 0x3b]
add r8, r12
cmp ecx, 0xeb
movsx r9, byte [rsp + 0x50]
movsxd rcx, dword [rsp + 0x50]
cmove rcx, r9
add rcx, r8
mov r8, qword [rbx]
cmp rcx, r8
jb 0x18001aa41
add r8, 5
cmp rcx, r8
jae 0x18001aa41
mov r8, qword [rsp + 0x20]
cmp r8, rcx
cmovbe r8, rcx
mov qword [rsp + 0x20], r8
xor r8d, r8d
jmp 0x18001aaa6
mov r8d, ecx
and r8d, 0xfffffff0
cmp r8d, 0x70
sete r8b
mov r9d, ecx
and r9d, 0xfffffffc
cmp r9d, 0xe0
sete r9b
or r9b, r8b
jne 0x18001a9fc
movzx r8d, byte [rsp + 0x47]
and r8b, 0xf0
cmp r8b, 0x80
jne 0x18001aa8e
movzx r10d, byte [rsp + 0x3b]
add r10, r12
movsx r11, byte [rsp + 0x50]
movsxd r8, dword [rsp + 0x50]
test r9b, r9b
cmovne r8, r11
add r8, r10
mov r9, qword [rbx]
cmp r8, r9
jb 0x18001aa54
add r9, 5
cmp r8, r9
jae 0x18001aa54
mov rcx, qword [rsp + 0x20]
cmp rcx, r8
cmovbe rcx, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
jmp 0x18001aaa6
mov qword [rsp + 0x33], rcx
cmp r12, qword [rsp + 0x20]
setae r8b
jmp 0x18001a877
mov eax, ecx
and al, 0xfc
cmp al, 0xe0
je 0x18001ab81
cmp ecx, 0xf
movzx eax, byte [rsp + 0x47]
cmovne eax, ecx
and al, 0xf
xor al, 0x71
mov byte [rsp + 0x70], al
mov qword [rsp + 0x78], r8
mov eax, 0x10
xor r8d, r8d
lea rsi, [rsp + 0x70]
cmp r12, qword [rsp + 0x20]
jb 0x18001aab0
jmp 0x18001aabd
and ecx, 0xfffffffe
cmp ecx, 0xc2
sete cl
cmp r12, qword [rsp + 0x20]
setae r8b
and r8b, cl
mov rsi, r12
cmp r12, qword [rsp + 0x20]
jae 0x18001aabd
movzx ecx, byte [rsp + 0x3b]
cmp eax, ecx
jne 0x18001ab81
add ebp, eax
cmp ebp, 0x32
ja 0x18001ab81
mov ecx, dword [rbx + 0x24]
cmp rcx, 8
jae 0x18001ab81
mov byte [rbx + rcx + 0x28], r13b
mov byte [rbx + rcx + 0x30], r14b
inc ecx
mov dword [rbx + 0x24], ecx
mov ecx, eax
mov rdi, qword [rbx + 0x10]
add rdi, rdx
rep movsb byte [rdi], byte [rsi]
add r13b, byte [rsp + 0x3b]
mov r14d, ebp
test r8b, r8b
je 0x18001a840
cmp r13b, 4
ja 0x18001ab50
movzx edx, r13b
mov rcx, qword [rbx]
movzx r8d, byte [rcx + rdx]
test r8d, r8d
je 0x18001ab29
cmp r8d, 0xcc
je 0x18001ab29
cmp r8d, 0x90
jne 0x18001ab97
cmp r13b, 4
je 0x18001ab50
mov rax, rdx
nop word cs:[rax + rax]
cmp byte [rcx + rax + 1], r8b
jne 0x18001ab97
inc rax
cmp rax, 4
jne 0x18001ab40
mov rax, qword [rbx + 8]
mov qword [rsp + 0x33], rax
mov rax, qword [rbx + 0x10]
mov ecx, ebp
lea rdx, [rax + rcx]
mov qword [rbx + 0x18], rdx
mov rdx, qword [rsp + 0x2d]
mov r8, qword [rsp + 0x33]
mov qword [rax + rcx + 6], r8
mov qword [rax + rcx], rdx
mov eax, 1
jmp 0x18001ab83
xor eax, eax
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r13b, 1
ja 0x18001abdc
xor eax, eax
test r8d, r8d
je 0x18001abb6
cmp r8d, 0xcc
je 0x18001abb6
cmp r8d, 0x90
jne 0x18001ab83
test r13b, r13b
jne 0x18001abdc
add rdx, rcx
mov r9b, 2
sub r9b, r13b
movzx r9d, r9b
mov r10d, 1
cmp byte [rdx + r10], r8b
jne 0x18001ab83
inc r10
cmp r9, r10
jne 0x18001abce
add rcx, 0xfffffffffffffffb
call fcn.18001a780
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x18001ab83
mov rcx, qword [rbx]
movzx edx, byte [rcx - 5]
test edx, edx
je 0x18001ac0c
cmp edx, 0xcc
je 0x18001ac0c
cmp edx, 0x90
jne 0x18001ab83
cmp byte [rcx - 4], dl
jne 0x18001ab83
cmp byte [rcx - 3], dl
jne 0x18001ab83
cmp byte [rcx - 2], dl
jne 0x18001ab83
cmp byte [rcx - 1], dl
jne 0x18001ab83
mov dword [rbx + 0x20], 1
jmp 0x18001ab50