Function at 0x140005b00
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14000c410]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
call fcn.140006a80
mov dword [rsp + 0x20], eax
movzx eax, byte [rsp + 0x58]
and eax, 1
test eax, eax
jne 0x140005bdc
cmp dword [rsp + 0x20], 1
jne 0x140005bad
movzx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x140005bdc
movzx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0xc3
je 0x140005bdc
cmp dword [rsp + 0x20], 3
jne 0x140005bc9
movzx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0xc2
je 0x140005bdc
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cmp eax, 0x80
jbe 0x140005be1
jmp 0x140005d39
mov eax, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x58]
and eax, 0x80
test eax, eax
je 0x140005cf3
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x5e]
test eax, eax
je 0x140005c21
movzx eax, byte [rsp + 0x5e]
mov dword [rsp + 0x38], eax
jmp 0x140005c2a
movzx eax, byte [rsp + 0x60]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x5f]
test eax, eax
je 0x140005c48
movzx eax, byte [rsp + 0x5f]
mov dword [rsp + 0x3c], eax
jmp 0x140005c51
movzx eax, byte [rsp + 0x61]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x50]
mov rdi, rcx
mov rsi, rax
mov rcx, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x50]
add rax, rcx
sub rax, qword [rsp + 0x30]
mov rcx, rax
neg rcx
cmovs rcx, rax
mov rax, rcx
cmp rax, 0x7fffffff
jle 0x140005cb5
jmp 0x140005d39
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x50]
mov rdi, rax
mov rsi, rcx
mov rcx, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, 0xe
jb 0x140005b57
mov eax, dword [rsp + 0x24]
cmp rax, 0xe
jae 0x140005d4c
mov eax, 0xc0000001
jmp 0x140005d6b
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140005e10
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140007cf0
add rsp, 0x78
pop rdi
pop rsi
ret