Function at 0x180058f80
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rbx, qword [rcx]
lea rdx, [rbp - 9]
mov r12, qword [rcx + 0x10]
xor esi, esi
xor al, al
mov qword [rcx + 0x20], rsi
mov r14, rcx
mov word [rbp - 0x29], 0x15ff
mov rcx, rbx
mov dword [rbp - 0x27], 2
mov word [rbp - 0x23], 0x8eb
mov r15d, esi
mov qword [rbp - 0x21], rsi
mov r13d, esi
mov word [rbp - 0x49], 0x25ff
mov edi, esi
mov dword [rbp - 0x47], esi
mov qword [rbp - 0x43], rsi
mov qword [rbp - 0x39], 0x25ff0e70
mov qword [rbp - 0x31], rsi
mov byte [rbp + 0x67], al
mov byte [rbp + 0x6f], al
mov qword [rbp + 0x77], rsi
call fcn.180057d30
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jb 0x180059243
nop
movzx edx, byte [rbp + 0x67]
mov r11, rbx
cmp dl, 5
jb 0x180059033
mov r8d, 0xe
mov qword [rbp - 0x43], rbx
lea r11, [rbp - 0x49]
lea r13d, [r8 - 0xd]
jmp 0x1800591b1
movzx eax, byte [rbp + 4]
and al, 0xc7
cmp al, 5
jne 0x180059089
movzx eax, byte [rbp - 9]
lea rdi, [rbp - 0x19]
mov ecx, r8d
lea r11, [rbp - 0x19]
mov rsi, rbx
mov edx, ebx
rep movsb byte [rdi], byte [rsi]
sub edx, r12d
mov ecx, r9d
add edx, dword [rbp + 0x14]
shr rcx, 2
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax - 0x1d], edx
cmp byte [rbp + 2], 0xff
jne 0x1800591ad
cmp byte [rbp + 6], 4
jne 0x1800591ad
mov r13d, 1
jmp 0x1800591ad
movzx edx, byte [rbp + 2]
cmp dl, 0xe8
jne 0x1800590ad
movsxd rax, dword [rbp + 0xc]
lea r11, [rbp - 0x29]
movzx ecx, byte [rbp - 9]
add rax, rbx
add rcx, rax
mov qword [rbp - 0x21], rcx
jmp 0x1800591a7
movzx eax, dl
and al, 0xfd
cmp al, 0xe9
jne 0x18005910b
movzx ecx, byte [rbp - 9]
movsx rax, byte [rbp + 0xc]
add rcx, rbx
cmp dl, 0xeb
je 0x1800590cb
movsxd rax, dword [rbp + 0xc]
add rcx, rax
mov rax, qword [r14]
cmp rax, rcx
ja 0x1800590ee
add rax, 5
cmp rcx, rax
jae 0x1800590ee
cmp rdi, rcx
mov r15, rcx
cmovae r15, rdi
jmp 0x1800591ad
cmp rbx, r15
mov qword [rbp - 0x43], rcx
mov r13d, esi
lea r11, [rbp - 0x49]
setae r13b
mov r8d, 0xe
jmp 0x1800591ad
movzx esi, byte [rbp + 3]
movzx ecx, dl
and cl, 0xf0
cmp cl, 0x70
je 0x180059141
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x180059141
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x180059141
and dl, 0xfe
cmp dl, 0xc2
jne 0x1800591ad
xor r13d, r13d
cmp rbx, r15
setae r13b
jmp 0x1800591ad
movzx edi, byte [rbp - 9]
add rdi, rbx
cmp cl, 0x70
je 0x18005915a
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp + 0xc]
jne 0x18005915f
movsx rax, byte [rbp + 0xc]
add rdi, rax
mov rax, qword [r14]
cmp rax, rdi
ja 0x180059181
add rax, 5
cmp rdi, rax
jae 0x180059181
cmp qword [rbp + 0x77], rdi
mov r15, rdi
cmovae r15, qword [rbp + 0x77]
jmp 0x1800591ad
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x180059243
cmp dl, 0xf
mov qword [rbp - 0x31], rdi
mov ecx, esi
lea r11, [rbp - 0x39]
cmovne ecx, edx
and cl, 0xf
xor cl, 0x71
mov byte [rbp - 0x39], cl
mov r8d, 0x10
movzx edx, byte [rbp + 0x67]
cmp rbx, r15
jae 0x1800591c3
movzx eax, byte [rbp - 9]
cmp r8d, eax
jne 0x180059243
movzx r12d, byte [rbp + 0x6f]
lea eax, [r8 + r12]
cmp eax, 0x32
ja 0x180059243
mov eax, dword [r14 + 0x24]
cmp eax, 8
jae 0x180059243
mov byte [rax + r14 + 0x28], dl
mov rsi, r11
mov eax, dword [r14 + 0x24]
mov ecx, r8d
mov byte [rax + r14 + 0x30], r12b
mov r10, qword [r14 + 0x10]
inc dword [r14 + 0x24]
lea rdi, [r10 + r12]
add r12b, r8b
rep movsb byte [rdi], byte [rsi]
add dl, byte [rbp - 9]
mov byte [rbp + 0x6f], r12b
mov byte [rbp + 0x67], dl
test r13d, r13d
jne 0x180059260
movzx ebx, dl
mov rdi, r15
add rbx, qword [r14]
lea rdx, [rbp - 9]
movzx r12d, r12b
mov rcx, rbx
mov qword [rbp + 0x77], r15
add r12, r10
call fcn.180057d30
mov r9d, dword [rbp + 0x18]
mov r8d, eax
mov esi, r13d
bt r9d, 0xc
jae 0x180059010
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dl, 5
jae 0x1800592e0
mov rdi, qword [r14]
movzx ecx, dl
movzx esi, dl
add rcx, rdi
mov edx, 5
sub edx, esi
call fcn.180058f40
test eax, eax
jne 0x1800592e0
cmp byte [rbp + 0x67], 2
jae 0x180059297
mov edx, 2
sub edx, esi
call fcn.180058f40
test eax, eax
je 0x180059243
lea rcx, [rdi - 5]
call fcn.180057cf0
test eax, eax
je 0x180059243
mov rax, qword [r14]
movzx edx, byte [rax - 5]
test dl, dl
je 0x1800592b9
cmp dl, 0x90
je 0x1800592b9
cmp dl, 0xcc
jne 0x180059243
mov ecx, 1
add rax, 0xfffffffffffffffc
cmp byte [rax], dl
jne 0x180059243
inc ecx
inc rax
cmp ecx, 5
jb 0x1800592c2
mov r10, qword [r14 + 0x10]
mov dword [r14 + 0x20], 1
mov rcx, qword [r14 + 8]
mov eax, 1
mov qword [rbp - 0x43], rcx
mov ecx, dword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x49]
movzx edx, r12b
add rdx, r10
mov qword [r14 + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0x3d]
mov word [rdx + 0xc], cx
jmp 0x180059245