Function at 0x1400c0570
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push rdi
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x140419c00]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r13d, r13d
mov rdi, rcx
mov ebp, r13d
lea r14d, [r13 + 4]
call fcn.1400bcc90
test eax, eax
je 0x1400c05ae
mov rax, qword [rdi + 8]
movzx r14d, word [rax + 2]
add r14d, 6
mov rbx, qword [rdi + 0x1780]
mov qword [rsp + 0x98], rsi
test rbx, rbx
jne 0x1400c05d0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x1400c0600
nop
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400c05f4
mov ecx, dword [rsi + 0x57c]
lea rdx, [rsp + 0x50]
call fcn.1400cd9d0
add eax, dword [rsi + 0x57c]
add ebp, 2
add ebp, eax
mov rbx, qword [rbx + 0x148]
test rbx, rbx
jne 0x1400c05d0
movzx eax, word [rdi + 0x712]
add r14d, ebp
test ax, ax
js 0x1400c08fe
test byte [rdi + 0x714], 1
jne 0x1400c08fe
mov qword [rsp + 0xa0], r12
lea r12d, [r14 + 9]
test al, 2
jne 0x1400c0648
cmp byte [rdi + 0x6fc], r13b
je 0x1400c0665
cmp byte [rdi + 0x231], r13b
je 0x1400c0648
add r12d, 0x66
jmp 0x1400c065a
cmp byte [rdi + 0x6fc], r13b
je 0x1400c0665
cmp byte [rdi + 0x231], r13b
je 0x1400c0665
mov rcx, rdi
call fcn.1400c4660
add r12d, eax
mov edx, r12d
mov rcx, rdi
call fcn.1400b4d90
test eax, eax
jne 0x1400c07f0
mov ecx, dword [rdi + 0x290]
mov r9, rdi
mov qword [rsp + 0xa8], r15
mov r8b, 0xd
mov r15, qword [rdi + 0x288]
mov edx, r14d
add r15, rcx
mov rcx, r15
call fcn.1400b40c0
mov byte [r15 + 9], 1
movzx eax, byte [rdi + 0x719]
cmp al, 0xc0
je 0x1400c06b5
cmp al, 0xcc
jne 0x1400c06c0
cmp byte [rdi + 0x5e0], 3
mov al, 0x40
je 0x1400c06c2
mov al, 1
mov rcx, rdi
mov byte [r15 + 0xa], al
mov esi, 0xb
call fcn.1400bcc90
test eax, eax
je 0x1400c0712
mov rax, qword [rdi + 8]
movzx ecx, word [rax + 2]
mov byte [r15 + 0xc], cl
movzx eax, cx
shr ax, 8
lea rcx, [r15 + 0xd]
mov byte [r15 + 0xb], al
mov rdx, qword [rdi + 8]
movzx r8d, word [rdx + 2]
add rdx, 0x130
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 8]
movzx esi, word [rax + 2]
add esi, 0xd
mov ecx, esi
movzx eax, bp
shr ax, 8
add esi, 2
mov byte [rcx + r15], al
mov byte [rcx + r15 + 1], bpl
mov rbp, qword [rdi + 0x1780]
test rbp, rbp
jne 0x1400c0740
mov rax, qword [rdi]
mov rbp, qword [rax + 0x68]
test rbp, rbp
je 0x1400c07b3
nop
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x1400c07a7
mov ecx, dword [r14 + 0x57c]
lea rdx, [rsp + 0x50]
call fcn.1400cd9d0
add ax, word [r14 + 0x57c]
movzx ecx, ax
mov byte [rsi + r15 + 1], al
shr cx, 8
mov byte [rsi + r15], cl
add esi, 2
mov ecx, dword [r14 + 0x57c]
mov edx, esi
add rdx, r15
call fcn.1400cd9d0
movsxd r8, dword [r14 + 0x57c]
lea rdx, [r14 + 0x430]
add esi, eax
mov ecx, esi
add rcx, r15
call sub.VCRUNTIME140.dll_memcpy
add esi, dword [r14 + 0x57c]
mov rbp, qword [rbp + 0x148]
test rbp, rbp
jne 0x1400c0740
cmp byte [rdi + 0x6fc], r13b
je 0x1400c088a
cmp byte [rdi + 0x231], r13b
je 0x1400c088a
movzx ebx, word [rdi + 0x712]
and ebx, 2
shl ebx, 2
or ebx, 5
sub esi, ebx
test esi, esi
jg 0x1400c0819
mov eax, 0xffffff7c
mov r15, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f4390
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
movsxd r14, esi
mov rcx, r14
call fcn.1400c6880
mov rbp, rax
test rax, rax
jne 0x1400c0831
lea eax, [rbp - 0x7d]
jmp 0x1400c07e8
mov edx, ebx
mov r8, r14
add rdx, r15
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x48], r13d
mov r9, rbp
mov dword [rsp + 0x40], r13d
mov r8d, r12d
mov dword [rsp + 0x38], r13d
mov rdx, r15
mov dword [rsp + 0x30], 1
mov rcx, rdi
mov dword [rsp + 0x28], 0x16
mov dword [rsp + 0x20], esi
call fcn.1400b4760
mov rcx, rbp
mov esi, eax
call fcn.1400c6860
test esi, esi
jns 0x1400c08a3
mov eax, esi
jmp 0x1400c07e8
xor r9d, r9d
mov r8d, esi
mov rdx, r15
mov rcx, rdi
call fcn.1400bc250
test eax, eax
jne 0x1400c07e8
cmp byte [rdi + 0x819], r13b
je 0x1400c08dc
mov rax, qword [rdi + 0xa8]
lea rdx, str.CertificateRequest
mov qword [rsp + 0x30], rax
mov r9, r15
mov dword [rsp + 0x28], 1
mov r8d, 0x16
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.1400b4130
add dword [rdi + 0x290], esi
test byte [rdi + 0x714], 0x40
jne 0x1400c08f6
mov rcx, rdi
call fcn.1400bff10
mov r13d, eax
mov eax, r13d
jmp 0x1400c07e8
xor eax, eax
jmp 0x1400c07f8