Function at 0x180018740
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 r12, rcx
mov rax, qword [0x1800576c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [0x180041400]
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x66], 0
mov qword [rsp + 0x60], 0x25ff
movups xmm0, xmmword [0x180041420]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rcx + 0x20], 0
xor eax, eax
mov qword [rsp + 0x20], rax
xor r14d, r14d
xor ebp, ebp
nop word cs:[rax + rax]
movzx ebx, bpl
add rbx, qword [r12]
mov r15, qword [r12 + 0x10]
mov rcx, rbx
lea rdx, [rsp + 0x28]
call fcn.180017400
test byte [rsp + 0x4a], 0x10
jne 0x180018ae3
movzx r13d, r14b
mov r8d, r13d
cmp bpl, 5
jb 0x180018810
mov qword [rsp + 0x66], rbx
mov dl, 1
mov eax, 0xe
lea rsi, [rsp + 0x60]
cmp rbx, qword [rsp + 0x20]
jb 0x180018a00
jmp 0x180018a0d
movzx ecx, byte [rsp + 0x35]
and cl, 0xc7
cmp cl, 5
jne 0x180018880
mov ecx, eax
lea r9, [rsp + 0x80]
mov rdi, r9
mov rsi, rbx
rep movsb byte [rdi], byte [rsi]
movzx ecx, byte [rsp + 0x28]
lea rdx, [rsp + 0x7c]
add rcx, rdx
mov edx, dword [rsp + 0x49]
shr edx, 2
and edx, 0xf
sub rcx, rdx
add r15d, r8d
mov edx, ebx
sub edx, r15d
add edx, dword [rsp + 0x45]
mov dword [rcx], edx
movzx ecx, byte [rsp + 0x33]
movzx edx, byte [rsp + 0x37]
not cl
xor dl, 4
or dl, cl
sete dl
mov rsi, r9
cmp rbx, qword [rsp + 0x20]
jb 0x180018a00
jmp 0x180018a0d
movzx esi, byte [rsp + 0x33]
cmp esi, 0xe8
jne 0x1800188be
movzx eax, byte [rsp + 0x28]
add rax, rbx
movsxd rcx, dword [rsp + 0x3d]
add rcx, rax
mov qword [rsp + 0x78], rcx
mov eax, 0x10
xor edx, edx
lea rsi, [rsp + 0x70]
cmp rbx, qword [rsp + 0x20]
jb 0x180018a00
jmp 0x180018a0d
mov edx, esi
and edx, 0xfffffffd
cmp edx, 0xe9
jne 0x18001891b
movzx edx, byte [rsp + 0x28]
add rdx, rbx
cmp sil, 0xeb
movsx rdi, byte [rsp + 0x3d]
movsxd rcx, dword [rsp + 0x3d]
cmove rcx, rdi
add rcx, rdx
mov rdx, qword [r12]
cmp rcx, rdx
jb 0x18001898f
add rdx, 5
cmp rcx, rdx
jae 0x18001898f
mov rdx, qword [rsp + 0x20]
cmp rdx, rcx
cmovbe rdx, rcx
mov qword [rsp + 0x20], rdx
xor edx, edx
jmp 0x1800189f4
mov edx, esi
and edx, 0xfffffff0
cmp edx, 0x70
sete dl
mov ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0xe0
sete r9b
or r9b, dl
jne 0x18001894b
movzx ecx, byte [rsp + 0x34]
and cl, 0xf0
cmp cl, 0x80
jne 0x1800189de
movzx ecx, byte [rsp + 0x28]
add rcx, rbx
movsx rdi, byte [rsp + 0x3d]
movsxd rdx, dword [rsp + 0x3d]
test r9b, r9b
cmovne rdx, rdi
add rdx, rcx
mov rdi, qword [r12]
cmp rdx, rdi
jb 0x1800189a1
add rdi, 5
cmp rdx, rdi
jae 0x1800189a1
mov rcx, qword [rsp + 0x20]
cmp rcx, rdx
cmovbe rcx, rdx
mov qword [rsp + 0x20], rcx
xor edx, edx
jmp 0x1800189f4
mov qword [rsp + 0x66], rcx
cmp rbx, qword [rsp + 0x20]
setae dl
jmp 0x1800187e9
mov eax, esi
and al, 0xfc
cmp al, 0xe0
je 0x180018ae3
cmp sil, 0xf
jne 0x1800189b7
mov esi, dword [rsp + 0x34]
and sil, 0xf
xor sil, 0x71
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x58], rdx
mov eax, 0x10
xor edx, edx
lea rsi, [rsp + 0x50]
cmp rbx, qword [rsp + 0x20]
jb 0x180018a00
jmp 0x180018a0d
and esi, 0xfffffffe
cmp esi, 0xc2
sete cl
cmp rbx, qword [rsp + 0x20]
setae dl
and dl, cl
mov rsi, rbx
cmp rbx, qword [rsp + 0x20]
jae 0x180018a0d
nop
movzx ecx, byte [rsp + 0x28]
cmp eax, ecx
jne 0x180018ae3
add r13d, eax
cmp r13d, 0x32
ja 0x180018ae3
mov ecx, dword [r12 + 0x24]
cmp rcx, 8
jae 0x180018ae3
mov byte [r12 + rcx + 0x28], bpl
mov byte [r12 + rcx + 0x30], r14b
inc ecx
mov dword [r12 + 0x24], ecx
mov ecx, eax
mov rdi, qword [r12 + 0x10]
add rdi, r8
rep movsb byte [rdi], byte [rsi]
add bpl, byte [rsp + 0x28]
mov r14d, r13d
test dl, dl
je 0x1800187b0
cmp bpl, 4
ja 0x180018aad
movzx ebx, bpl
mov rcx, qword [r12]
lea rax, [rcx + rbx]
movzx edx, byte [rcx + rbx]
test edx, edx
je 0x180018a84
cmp edx, 0xcc
je 0x180018a84
cmp edx, 0x90
jne 0x180018b0b
mov edi, 5
sub edi, ebx
cmp edi, 2
jb 0x180018aad
mov edi, edi
mov esi, 1
nop word [rax + rax]
cmp byte [rax + rsi], dl
jne 0x180018b0b
inc rsi
cmp rdi, rsi
jne 0x180018aa0
mov rax, qword [r12 + 8]
mov qword [rsp + 0x66], rax
mov rax, qword [r12 + 0x10]
movzx ecx, r13b
lea rdx, [rax + rcx]
mov qword [r12 + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x66]
mov qword [rax + rcx + 6], rbp
mov qword [rax + rcx], rdx
mov esi, 1
jmp 0x180018ae5
xor esi, esi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180018f40
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp bpl, 1
ja 0x180018b47
xor esi, esi
test edx, edx
je 0x180018b27
cmp edx, 0xcc
je 0x180018b27
cmp edx, 0x90
jne 0x180018ae5
mov ebp, 2
sub ebp, ebx
cmp ebp, 2
jb 0x180018b47
mov ebp, ebp
mov ebx, 1
cmp byte [rax + rbx], dl
jne 0x180018ae5
inc rbx
cmp rbp, rbx
jne 0x180018b3a
add rcx, 0xfffffffffffffffb
call fcn.1800173a0
xor esi, esi
test eax, eax
je 0x180018ae5
mov rax, qword [r12]
movzx ecx, byte [rax - 5]
test ecx, ecx
je 0x180018b76
cmp ecx, 0xcc
je 0x180018b76
cmp ecx, 0x90
jne 0x180018ae5
cmp byte [rax - 4], cl
jne 0x180018ae5
cmp byte [rax - 3], cl
jne 0x180018ae5
cmp byte [rax - 2], cl
jne 0x180018ae5
cmp byte [rax - 1], cl
jne 0x180018ae5
mov dword [r12 + 0x20], 1
jmp 0x180018aad