Function at 0x1400cdff0
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov r14, rdx
mov qword [rsp + 0x78], rcx
movabs r12, 0x8000000000000000
lea rax, [rdx + 0xd4]
mov qword [rsp + 0x140], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x168], rax
lea rax, [rdx + 0xf0]
mov qword [rsp + 0xe8], rax
lea rax, [rdx + 0x80]
mov qword [rsp + 0x148], rax
xorps xmm6, xmm6
movzx eax, byte [r14 + 0xd0]
test eax, eax
je 0x1400ce0b5
cmp eax, 1
jne 0x1400cef33
mov rdx, qword [rsp + 0x140]
mov eax, dword [rdx + 0x10]
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x14], eax
movups xmm0, xmmword [rdx]
movups xmmword [rcx + 4], xmm0
mov eax, 1
jmp 0x1400cef15
test rbp, rbp
jne 0x1400cefb6
movzx eax, byte [r14 + 0xd0]
test eax, eax
jne 0x1400ce065
mov rbx, r13
movzx ebp, byte [r14 + 0xd1]
movzx r13d, byte [r14 + 0xd2]
movzx r15d, byte [r14 + 0xd3]
movzx edi, byte [r14 + 0xd4]
mov rdx, qword [r14 + 0x90]
mov rsi, qword [r14 + 0x98]
cmp rsi, rdx
jne 0x1400ce100
test bpl, bpl
jne 0x1400ce190
jmp 0x1400ce1a5
xor r12d, r12d
nop word cs:[rax + rax]
mov r9, rdx
sub r9, rsi
jb 0x1400cefe6
mov rdx, qword [r14 + 0x38]
test rdx, rdx
je 0x1400cefce
mov r8, qword [r14 + 0x88]
add r8, rsi
mov rcx, qword [rsp + 0x168]
call fcn.140118bf0
test rax, rax
jne 0x1400ceef5
add r12, rdx
add rsi, rdx
mov qword [r14 + 0x98], rsi
mov rdx, qword [r14 + 0x90]
cmp rsi, rdx
jne 0x1400ce110
test r12, r12
movabs r12, 0x8000000000000000
je 0x1400ce0eb
cmp byte [r14 + 0xd0], 0
jne 0x1400ce190
mov byte [r14 + 0xd1], 1
nop word [rax + rax]
cmp qword [r14 + 0x38], 0
je 0x1400cefce
cmp byte [r14 + 0xd0], 0
je 0x1400ce1ac
or dil, r15b
jne 0x1400ce1c7
jmp 0x1400ce1b9
mov byte [r14 + 0xd1], 0
or dil, r15b
jne 0x1400ce1c7
cmp byte [r14 + 0x122], 0
je 0x1400ce674
test r13b, r13b
mov r13, rbx
je 0x1400ce837
cmp qword [r14 + 0x110], 0
je 0x1400ce1f7
mov rcx, r14
call fcn.1400cf180
test rax, rax
jne 0x1400cef07
test rdx, rdx
je 0x1400cef3c
mov rsi, qword [r14 + 0x78]
movzx eax, byte [0x1401ba120]
mov edx, 0x20
xor ecx, ecx
call fcn.14010f230
test rax, rax
je 0x1400cf006
mov rbx, rax
mov rdx, qword [r14 + 0x70]
cmp rsi, rdx
ja 0x1400ceff5
mov rax, qword [r14 + 0x68]
mov dword [rbx], esi
mov dword [rbx + 4], 2
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm6
mov qword [rsp + 0x80], 2
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 2
mov esi, 2
cmp qword [r14 + 0xb8], r12
je 0x1400ce2e0
mov rdx, qword [r14 + 0xc0]
mov r8, qword [r14 + 0xc8]
lea rcx, [rsp + 0xa0]
call fcn.1400e6290
mov rdi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb0]
test rdi, rdi
je 0x1400ce2e0
mov rsi, qword [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call fcn.14002df40
mov rbx, qword [rsp + 0x88]
mov dword [rbx + 0x20], esi
mov dword [rbx + 0x24], 0x12
mov qword [rbx + 0x28], r13
mov qword [rsp + 0x90], 3
mov esi, 3
jmp 0x1400ce2e2
xor edi, edi
mov dword [rsp + 0x108], 0
mov dword [rsp + 0x10c], esi
mov qword [rsp + 0x110], rbx
movabs rax, 0x200000000
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0
movabs rax, 0x1100000000
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xa8]
movups xmmword [rax + 0x10], xmm6
mov qword [rax + 0x20], 0
movabs rax, 0x300000000
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x128], rax
mov dword [rsp + 0xe4], 0
cmp byte [r14 + 0x122], 0
mov qword [rsp + 0x70], rdi
je 0x1400ce4c0
cmp byte [r14 + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xe8]
cmove rdx, rcx
mov rax, qword [r14 + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x108]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov ebp, eax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400ce40b
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1400ce41d
call sub.secur32.dll_FreeContextBuffer
cmp ebp, 0x80090318
je 0x1400ce611
test ebp, ebp
je 0x1400ce57e
cmp ebp, 0x90312
jne 0x1400ce62f
mov qword [rsp + 0x68], r13
mov byte [r14 + 0x123], 0
cmp dword [rbx + 0x14], 5
jne 0x1400ce74b
mov r13, qword [r14 + 0x78]
mov eax, dword [rbx + 0x10]
mov rsi, r13
mov rbp, qword [rsp + 0xa8]
sub rsi, rax
jb 0x1400cf015
mov r12d, dword [rsp + 0xa0]
test eax, eax
je 0x1400ce82d
mov rdx, qword [r14 + 0x70]
mov rdi, rdx
sub rdi, rsi
jb 0x1400cf04f
mov qword [r14 + 0x70], 0
test rsi, rsi
je 0x1400ce8eb
cmp rdx, rsi
je 0x1400ce8fa
mov rcx, qword [r14 + 0x68]
lea rdx, [rcx + rsi]
mov r8, rdi
call sub.msvcrt.dll_memmove
jmp 0x1400ce8f6
cmp byte [r14 + 0x120], 0
mov r8d, 0
je 0x1400ce4d7
mov r8, qword [r14 + 0xa8]
cmp qword [r14 + 0xa0], r12
mov eax, 0
cmove r8, rax
mov rax, qword [r14 + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov ebp, eax
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x1400ce406
jmp 0x1400ce40b
cmp dword [rbx + 0x14], 5
mov qword [rsp + 0x68], r13
jne 0x1400ce6f8
mov r12, qword [rsp + 0xa8]
test r12, r12
setne dil
je 0x1400ce5b6
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xd8], r12
mov rbp, qword [r14 + 0x78]
mov eax, dword [rbx + 0x10]
mov rsi, rbp
sub rsi, rax
cmp rbp, rsi
jb 0x1400cf02f
je 0x1400ce993
mov rdx, qword [r14 + 0x70]
mov r13, rdx
sub r13, rsi
jb 0x1400cf060
mov qword [r14 + 0x70], 0
test rsi, rsi
je 0x1400ce98e
cmp rdx, rsi
je 0x1400ce993
mov rcx, qword [r14 + 0x68]
lea rdx, [rcx + rsi]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x1400ce99d
mov eax, 1
cmp dword [rbx + 0x14], 4
jne 0x1400ce73f
mov eax, dword [rbx + 0x10]
mov qword [r14 + 0x110], rax
jmp 0x1400ceac5
shl rbp, 0x20
or rbp, 2
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400cea80
mov r8, r13
cmp rax, 0x11
jb 0x1400ce652
mov r8, qword [r13 - 8]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
cmp qword [rsp + 0x80], 0
jne 0x1400cea8f
jmp 0x1400ce0a0
mov byte [rsp + 0x67], r15b
mov byte [rsp + 0x70], r13b
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xe8]
mov edx, 0x53
lea r8, [rsp + 0x80]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1400ce76c
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rbp
cmp byte [rsp + 0x70], 0
je 0x1400cefb6
mov r13, rbx
lea rcx, [rsp + 0xa8]
call fcn.14003ea60
cmp qword [r14 + 0x110], 0
jne 0x1400ce1dd
jmp 0x1400ce1f7
mov rax, qword [rsp + 0xa8]
test rax, rax
setne dil
je 0x1400ce721
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0xd8], rax
mov qword [r14 + 0x78], 0
mov qword [r14 + 0x110], 1
jne 0x1400ce9c3
jmp 0x1400ceaa5
mov qword [r14 + 0x110], rax
jmp 0x1400ceac5
mov r13, qword [r14 + 0x78]
mov r12d, dword [rsp + 0xa0]
mov eax, 1
mov rbp, qword [rsp + 0xa8]
mov rsi, r13
jmp 0x1400ce8fc
mov r15, qword [rsp + 0x80]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
mov r13, rbx
je 0x1400ceb16
call sub.crypt32.dll_CertDuplicateStore
mov rdi, rax
cmp qword [r14], 0
je 0x1400ceb24
mov r12, r13
mov rcx, qword [r14 + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400ce811
nop dword [rax]
mov r13, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov qword [rsp + 0xa0], 0
mov rcx, rdi
mov rdx, r13
mov r8d, 3
lea r9, [rsp + 0xa0]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x1400cef5b
mov rcx, qword [rsp + 0xa0]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [r14 + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400ce7b0
mov rcx, rdi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov r13, r12
movabs r12, 0x8000000000000000
jmp 0x1400ceb2e
mov eax, 1
jmp 0x1400ce8fc
mov al, 2
test r15b, r15b
jne 0x1400ce8a3
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0xb0], 0
mov rcx, qword [rsp + 0xe8]
mov edx, 4
lea r8, [rsp + 0xa0]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x1400cefc4
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x134], eax
mov rax, qword [rsp + 0xa4]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0xac]
mov qword [rsp + 0x158], rax
mov al, 1
mov byte [r14 + 0xd0], al
mov eax, dword [rsp + 0x134]
mov dword [r14 + 0xd4], eax
mov rax, qword [rsp + 0x160]
mov qword [r14 + 0xd8], rax
mov rax, qword [rsp + 0x158]
mov qword [r14 + 0xe0], rax
movzx eax, byte [r14 + 0xd0]
test eax, eax
je 0x1400ce0b5
jmp 0x1400ce065
cmp rdx, rsi
jne 0x1400ce8f6
xor eax, eax
xor esi, esi
jmp 0x1400ce8fc
mov qword [r14 + 0x70], rdi
xor eax, eax
sub r13, rsi
mov qword [r14 + 0x78], r13
mov qword [r14 + 0x110], rax
test r12d, r12d
mov esi, r12d
mov r13, rbp
mov eax, 1
cmove r13, rax
mov rax, qword [r14 + 0x80]
mov rdi, qword [r14 + 0x90]
sub rax, rdi
cmp rax, rsi
jae 0x1400ce958
mov rcx, qword [rsp + 0x148]
mov rdx, rdi
mov r8, rsi
call fcn.140054040
movabs r12, 0x8000000000000000
mov rdi, qword [r14 + 0x90]
jmp 0x1400ce962
movabs r12, 0x8000000000000000
mov rcx, qword [r14 + 0x88]
add rcx, rdi
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rdi, rsi
mov qword [r14 + 0x90], rdi
mov rcx, rbp
call sub.secur32.dll_FreeContextBuffer
jmp 0x1400ceac0
cmp rdx, rsi
jne 0x1400ce99d
xor eax, eax
sub rbp, rsi
sete al
jmp 0x1400ce9a9
xor eax, eax
sub rbp, rsi
sete al
mov qword [r14 + 0x70], r13
mov qword [r14 + 0x78], rbp
mov qword [r14 + 0x110], rax
test r12, r12
movabs r12, 0x8000000000000000
je 0x1400cea3e
mov esi, dword [rsp + 0x138]
test rsi, rsi
mov r13, qword [rsp + 0xd8]
mov eax, 1
cmove r13, rax
mov rax, qword [r14 + 0x80]
mov rbp, qword [r14 + 0x90]
sub rax, rbp
cmp rax, rsi
jae 0x1400cea0e
mov rcx, qword [rsp + 0x148]
mov rdx, rbp
mov r8, rsi
call fcn.140054040
mov rbp, qword [r14 + 0x90]
mov rcx, qword [r14 + 0x88]
add rcx, rbp
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [r14 + 0x90], rbp
mov rcx, qword [rsp + 0xd8]
call sub.secur32.dll_FreeContextBuffer
mov rbp, qword [r14 + 0x78]
test rbp, rbp
je 0x1400ceaa5
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.1400cf3d0
cmp byte [rsp + 0xf0], 0
mov r13, qword [rsp + 0x68]
je 0x1400ceaa5
mov rbp, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x1400ce645
nop dword [rax + rax]
cmp qword [rsp + 0x80], 0
je 0x1400ce0a0
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rbx
call fcn.1401336c4
jmp 0x1400ce0a0
cmp byte [r14 + 0xd0], 0
jne 0x1400ceac0
mov byte [r14 + 0xd2], 0
nop word [rax + rax]
mov r13, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400ceaea
mov r8, r13
cmp rax, 0x11
jb 0x1400ceadc
mov r8, qword [r13 - 8]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
cmp qword [rsp + 0x80], 0
je 0x1400ceb06
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rbx
call fcn.1401336c4
xor ebp, ebp
test rbp, rbp
je 0x1400ce0a9
jmp 0x1400cefb6
mov rdi, qword [r14]
test rdi, rdi
je 0x1400ceb2e
mov rdi, qword [r14 + 8]
jmp 0x1400ceb2e
mov rcx, rdi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xa0], 0x20
mov dword [rsp + 0xa8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rsp + 0x80], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0x88], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xb0], 3
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xf0], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, r15
xor r8d, r8d
mov r9, rdi
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1400cef86
mov rbx, qword [rsp + 0xf0]
mov esi, 0xf00
cmp qword [r14], 0
mov qword [rsp + 0x118], r15
je 0x1400ced6c
cmp dword [rbx + 0xc], 0
je 0x1400ced6c
mov qword [rsp + 0x68], r13
mov rax, qword [rbx + 0x10]
mov r12, qword [rax]
mov rcx, rbx
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbx + 0xc], 2
jb 0x1400cec6b
mov edi, 1
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
mov r12, qword [rax + rdi*8]
mov rcx, rbx
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbx + 0xc]
inc rdi
mov r13, rsi
cmp rdi, rax
jb 0x1400cec40
jmp 0x1400cec6e
mov rsi, r13
mov rcx, rbx
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x150], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor esi, esi
jmp 0x1400ceca0
mov rsi, r15
inc rsi
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov r15, qword [rsp + 0x118]
mov eax, dword [r12 + 0xc]
cmp rsi, rax
jae 0x1400ceeeb
mov rax, qword [r12 + 0x10]
mov r15, rsi
mov rax, qword [rax + rsi*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov rcx, qword [r14 + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400cec8a
nop word cs:[rax + rax]
mov rsi, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov r8d, dword [rsi + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1400ced29
mov rdx, qword [rbp + 8]
mov rcx, qword [rsi + 8]
call sub.msvcrt.dll_memcmp
mov edi, eax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
test edi, edi
je 0x1400ced33
mov rcx, qword [r14 + 8]
mov rdx, r13
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400cece0
jmp 0x1400cec8a
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x1400ced13
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov r15, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x150]
call sub.crypt32.dll_CertFreeCertificateChain
mov r13, qword [rsp + 0x68]
movabs r12, 0x8000000000000000
lea rax, [rsp + 0xf8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xf0], rax
cmp qword [r14 + 0xa0], r12
je 0x1400cedab
cmp byte [r14 + 0x121], 0
jne 0x1400cedab
mov rax, qword [r14 + 0xa8]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x120], 0x10
mov dword [rsp + 0x124], esi
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x128], rax
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x80], 0x18
mov ecx, 4
mov rdx, rbx
lea r8, [rsp + 0x120]
lea r9, [rsp + 0x80]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1400cef97
mov eax, dword [rsp + 0x84]
mov rbp, rax
shl rbp, 0x20
or rbp, 2
test eax, eax
mov edi, 0
cmovne rdi, rbp
mov qword [rsp + 0x108], rdi
mov rcx, qword [r14 + 0x100]
test rcx, rcx
je 0x1400ceea5
mov r8, qword [r14 + 0x108]
mov rdx, qword [r8 + 0x10]
dec rdx
and rdx, 0xfffffffffffffff0
add rcx, rdx
add rcx, 0x10
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xac], rax
lea rdx, [rsp + 0xa0]
call qword [r8 + 0x28]
mov rbp, rax
test rdi, rdi
je 0x1400cee9b
lea rcx, [rsp + 0x108]
call fcn.14003ea60
test rbp, rbp
je 0x1400ceeb6
jmp 0x1400cefae
test rdi, rdi
jne 0x1400cefa6
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateChain
mov rbx, r13
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [r14 + 0xd0], 0
movzx r13d, byte [rsp + 0x70]
movzx r15d, byte [rsp + 0x67]
jne 0x1400ce1c7
mov rax, qword [rsp + 0x140]
mov byte [rax], 1
jmp 0x1400ce1c7
mov esi, 0xf00
jmp 0x1400ced50
cmp rax, 2
movabs rax, 0xd00000003
cmove rdx, rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 8], rdx
mov eax, 2
mov dword [rcx], eax
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
mov rcx, qword [rsp + 0x78]
jmp 0x1400cef15
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400a6a60
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 8], rax
jmp 0x1400cef10
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rdi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400cefae
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400cefae
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 8], rbp
jmp 0x1400cef10
shl rax, 0x20
or rax, 2
jmp 0x1400cef50
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140166f80]
mov edx, 0x29
call fcn.140018100
lea r8, str.k0TySgZET3W7Bv7sVbSRTb3lR8uo72kuxqebAw6ZLThe74OUee9Ikthcm3YuNll4f3Qz7sN4tYHozdIad7gqC7EDkDXi4xDEHQHQTAYtAuy8dUR8B2noBFfOZnSk2JWD7ajXxezj3UiLwiVnEUYP7wcSoq3M
mov rcx, rsi
call fcn.1400174c0
lea r8, str.k0TySgZET3W7Bv7sVbSRTb3lR8uo72kuxqebAw6ZLThe74OUee9Ikthcm3YuNll4f3Qz7sN4tYHozdIad7gqC7EDkDXi4xDEHQHQTAYtAuy8dUR8B2noBFfOZnSk2JWD7ajXxezj3UiLwiVnEUYP7wcSoq3M
mov rcx, rsi
call fcn.140017e20
jmp 0x1400cf075
mov ecx, 8
mov edx, 0x20
call fcn.140012d60
lea rcx, [0x14016a8af]
lea r8, str.k0TySgZET3W7Bv7sVbSRTb3lR8uo72kuxqebAw6ZLThe74OUee9Ikthcm3YuNll4f3Qz7sN4tYHozdIad7gqC7EDkDXi4xDEHQHQTAYtAuy8dUR8B2noBFfOZnSk2JWD7ajXxezj3UiLwiVnEUYP7wcSoq3M
mov edx, 0x1f
call fcn.140018100
jmp 0x1400cf075
test r12, r12
sete bl
lea rcx, [0x14016a8af]
lea r8, str.k0TySgZET3W7Bv7sVbSRTb3lR8uo72kuxqebAw6ZLThe74OUee9Ikthcm3YuNll4f3Qz7sN4tYHozdIad7gqC7EDkDXi4xDEHQHQTAYtAuy8dUR8B2noBFfOZnSk2JWD7ajXxezj3UiLwiVnEUYP7wcSoq3M
mov edx, 0x1f
call fcn.140018100
jmp 0x1400cf075
lea r8, [0x14016d678]
mov rcx, rsi
call fcn.140017e20
jmp 0x1400cf075
test r12, r12
sete bl
lea r8, [0x14016d678]
mov rcx, rsi
call fcn.140017e20
ud2