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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1f8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x160], xmm6
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov rdi, rdx
mov r13, rcx
lea rax, [rdx + 0x144]
mov qword [rbp + 0x20], rax
lea rax, [rdx + 0x1a0]
mov qword [rbp + 0x18], rax
lea r10, [rdx + 0x10]
lea rax, [rdx + 0x1c0]
mov qword [rbp + 0x80], rax
lea rax, [rdx + 0x18]
mov qword [rbp - 0x20], rax
xorps xmm6, xmm6
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rbp + 0xc8], r10
mov qword [rbp + 0x120], rcx
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x1400cbe8b
movzx r15d, byte [rdi + 0x141]
movzx eax, byte [rdi + 0x142]
movzx ecx, byte [rdi + 0x143]
mov byte [rbp + 0x78], cl
movzx r13d, byte [rdi + 0x144]
mov rsi, qword [rdi + 0x1b8]
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
jne 0x1400cafc0
test r15b, r15b
je 0x1400caf10
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1400cc070
cmp dword [r10], 2
je 0x1400caf03
mov esi, eax
mov rcx, r10
call fcn.140093200
test rax, rax
jne 0x1400cbec4
test rdx, rdx
mov r10, qword [rbp + 0xc8]
mov eax, esi
jne 0x1400cbece
cmp byte [rdi + 0x140], 0
je 0x1400cb0bc
or r13b, byte [rbp + 0x78]
je 0x1400cb0cd
mov r13, qword [rbp + 0x120]
test al, al
jne 0x1400cb0e9
mov al, 2
cmp byte [rbp + 0x78], 0
jne 0x1400caf8b
movaps xmmword [rbp + 0xf0], xmm6
mov dword [rbp + 0x100], 0
mov rcx, qword [rbp + 0x80]
mov edx, 4
lea r8, [rbp + 0xf0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1400cbfd9
mov eax, dword [rbp + 0xf0]
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0xf4]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0xfc]
mov qword [rbp - 0x10], rax
mov al, 1
mov r10, qword [rbp + 0xc8]
mov byte [rdi + 0x140], al
mov eax, dword [rbp + 0x34]
mov dword [rdi + 0x144], eax
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x148], rax
mov rax, qword [rbp - 0x10]
mov qword [rdi + 0x150], rax
jmp 0x1400cae7b
mov byte [rbp + 0x157], al
mov r14, r12
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400cc08a
mov r8, qword [rdi + 0x138]
test r8, r8
je 0x1400cc070
mov r9, qword [rdi + 0x1a0]
add r9, rsi
cmp dword [r10], 2
jne 0x1400cb030
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp - 0x20]
call fcn.140165530
mov rcx, qword [rbp + 0xf0]
cmp rcx, 2
jne 0x1400cb055
jmp 0x1400cbe52
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xf0]
mov rdx, r10
call case.0x140093337.312
mov rcx, qword [rbp + 0xf0]
cmp rcx, 2
je 0x1400cbe52
mov rax, qword [rbp + 0xf8]
test rcx, rcx
jne 0x1400cbe5c
add r12, rax
add rsi, rax
mov qword [rdi + 0x1b8], rsi
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
mov r10, qword [rbp + 0xc8]
jne 0x1400cafd0
test r12, r12
mov r12, r14
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
movzx eax, byte [rbp + 0x157]
je 0x1400caec3
cmp byte [rdi + 0x140], 0
jne 0x1400caec8
mov byte [rdi + 0x141], 1
jmp 0x1400caec8
mov byte [rdi + 0x141], 0
or r13b, byte [rbp + 0x78]
jne 0x1400caf1a
cmp byte [rdi + 0x222], 0
mov r13, qword [rbp + 0x120]
je 0x1400cb678
test al, al
je 0x1400caf29
cmp qword [rdi + 0x1f8], 0
je 0x1400cb120
lea rcx, [rbp + 0xf0]
mov rdx, rdi
call fcn.1400ccbe0
cmp qword [rbp + 0xf0], 0
mov rax, qword [rbp + 0xf8]
jne 0x1400cbe63
test rax, rax
je 0x1400cbeae
mov rsi, qword [rdi + 0x198]
movzx eax, byte [0x14023c318]
mov rax, qword [0x14023c280]
test rax, rax
jne 0x1400cb150
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1400cc09b
mov qword [0x14023c280], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400cc09b
mov r14, rax
mov rdx, qword [rdi + 0x190]
cmp rsi, rdx
ja 0x1400cc0ac
mov rax, qword [rdi + 0x180]
mov dword [r14], esi
mov dword [r14 + 4], 2
mov qword [r14 + 8], rax
movups xmmword [r14 + 0x10], xmm6
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], 2
mov qword [rbp + 0xe0], 2
mov rdx, qword [rdi + 0x208]
mov esi, 2
test rdx, rdx
mov qword [rbp + 0x138], rbx
je 0x1400cb270
mov r8, qword [rdi + 0x218]
mov qword [rbp + 0x10], 2
mov qword [rbp + 8], r14
lea rcx, [rbp + 0xf0]
call fcn.140150400
mov rbx, r13
mov rax, qword [rbp + 0xf0]
mov r12, qword [rbp + 0x100]
test rax, rax
je 0x1400cb273
mov r15, qword [rbp + 0xf8]
mov r13, rax
mov qword [rbp + 0x130], rax
mov r14, r12
mov qword [rbp + 0x128], r12
mov edx, 2
lea rcx, [rbp + 0xd0]
call fcn.140160d80
mov rcx, qword [rbp + 0xd0]
mov rsi, qword [rbp + 0xe0]
mov rax, rsi
shl rax, 4
mov dword [rcx + rax], r15d
mov dword [rcx + rax + 4], shutdown
mov r12, r14
mov r14, rcx
mov qword [rcx + rax + 8], r12
inc rsi
mov qword [rbp + 0xe0], rsi
jmp 0x1400cb276
mov rbx, r13
xor r13d, r13d
mov dword [rbp - 8], 0
mov dword [rbp - 4], esi
mov qword [rbp], r14
movabs rax, 0x200000000
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0
movabs rax, 0x1100000000
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x100]
movups xmmword [rax + 8], xmm6
mov qword [rax + 0x18], 0
movabs rax, 0x300000000
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x9c], 0
cmp byte [rdi + 0x222], 0
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x140], r13
je 0x1400cb380
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rbp + 0x80]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x128], r12
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x50]
lea r8, [rbp - 8]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
jmp 0x1400cb41b
cmp byte [rdi + 0x220], 0
mov rax, qword [rdi + 0x1d0]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x128], r12
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 8]
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, [rbp + 0x50]
mov rdx, qword [rbp + 0x80]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov r15d, eax
lea r12, [rbp + 0x100]
nop word cs:[rax + rax]
lea rax, [rbp + 0x120]
cmp r12, rax
je 0x1400cb470
mov rcx, qword [r12 + 8]
add r12, 0x10
test rcx, rcx
je 0x1400cb430
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x128], rax
call qword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x1400cb430
cmp r15d, 0x80090318
je 0x1400cb5d6
test r15d, r15d
mov r8, qword [rbp + 0x148]
je 0x1400cb52a
cmp r15d, 0x90312
jne 0x1400cbf3e
mov byte [rdi + 0x223], 0
cmp rsi, 1
jbe 0x1400cc042
cmp dword [r14 + 0x14], 5
jne 0x1400cb64b
mov r13, qword [rdi + 0x198]
mov eax, dword [r14 + 0x10]
mov r15, r13
mov r12, qword [rbp + 0xf8]
sub r15, rax
jb 0x1400cc0f5
mov ebx, dword [rbp + 0xf0]
test eax, eax
je 0x1400cb6dd
mov rdx, qword [rdi + 0x190]
mov rsi, rdx
sub rsi, r15
jb 0x1400cc113
mov qword [rdi + 0x190], 0
test r15, r15
je 0x1400cb7df
cmp rdx, r15
je 0x1400cb7eb
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + r15]
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400cb7e4
cmp rsi, 1
jbe 0x1400cc014
cmp dword [r14 + 0x14], 5
jne 0x1400cb603
mov rcx, r14
mov r8, qword [rbp + 0xf8]
test r8, r8
sete bl
mov r14, qword [rbp + 0xa8]
je 0x1400cb566
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x28], rax
mov r14, r8
mov r13, qword [rdi + 0x198]
mov r12d, dword [rcx + 0x10]
mov rsi, r13
sub rsi, r12
cmp r13, rsi
jb 0x1400cc0c7
je 0x1400cb896
mov rdx, qword [rdi + 0x190]
mov r15, rdx
sub r15, rsi
jb 0x1400cc128
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x1400cb891
cmp rdx, rsi
je 0x1400cb896
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov qword [rbp + 0x78], r8
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp + 0x78]
jmp 0x1400cb8d4
cmp rsi, 1
mov rax, qword [rbp + 0x148]
jbe 0x1400cbfe6
mov eax, 1
cmp dword [r14 + 0x14], 4
jne 0x1400cb66c
mov eax, dword [r14 + 0x10]
mov qword [rdi + 0x1f8], rax
jmp 0x1400cb9e0
mov r13, rbx
mov rax, qword [rbp + 0xf8]
test rax, rax
sete bl
mov r15, qword [rbp + 0xa8]
je 0x1400cb62a
mov rcx, qword [rbp + 0xf0]
mov qword [rbp + 0x28], rcx
mov r15, rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
jne 0x1400cb904
jmp 0x1400cb9c3
mov r13, qword [rdi + 0x198]
mov ebx, dword [rbp + 0xf0]
mov eax, 1
mov r12, qword [rbp + 0xf8]
mov r15, r13
jmp 0x1400cb7ed
mov qword [rdi + 0x1f8], rax
jmp 0x1400cb9e0
mov byte [rbp + 0x157], al
mov qword [rbp + 0xf0], 0
mov rcx, qword [rbp + 0x80]
mov edx, 0x53
lea r8, [rbp + 0xf0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x1400cb6e7
mov esi, eax
shl rsi, 0x20
or rsi, 2
cmp byte [rbp + 0x157], 0
je 0x1400cbf35
mov ecx, 1
mov rdx, rsi
call fcn.1400ca3a0
cmp qword [rdi + 0x1f8], 0
jne 0x1400cb0f3
jmp 0x1400cb120
mov eax, 1
jmp 0x1400cb7ed
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x88], rax
mov rsi, qword [rax + 0x20]
test rsi, rsi
je 0x1400cba4d
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov qword [rbp + 0x138], rax
mov rax, qword [rdi]
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1400cba83
mov qword [rbp + 0x90], rsi
xor r15d, r15d
nop
mov rcx, qword [rdi + 8]
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xb8], 0
mov rdx, r15
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
mov qword [rbp + 0xb0], rsi
test rax, rax
je 0x1400cba94
mov rcx, rax
mov qword [rbp + 0x148], rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0xf0], 0
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x148]
mov r8d, 3
lea r9, [rbp + 0xf0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400cbedb
mov rcx, qword [rbp + 0xf0]
call r14
mov r15, qword [rbp + 0x140]
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xb8], 1
mov rcx, qword [rbp + 0x148]
call r14
mov rsi, r15
jmp 0x1400cb730
cmp rdx, r15
je 0x1400cb7eb
mov qword [rdi + 0x190], rsi
xor eax, eax
sub r13, r15
mov qword [rdi + 0x198], r13
mov qword [rdi + 0x1f8], rax
test ebx, ebx
mov r15d, ebx
mov rsi, r12
lea rax, [0x1401e7aa8]
cmove rsi, rax
mov rax, qword [rdi + 0x1a8]
mov r13, qword [rdi + 0x1b0]
sub rax, r13
cmp rax, r15
jae 0x1400cb841
mov qword [rbp + 0x38], r12
mov rcx, qword [rbp + 0x18]
mov rdx, r13
mov r8, r15
call fcn.1401853c0
mov r13, qword [rdi + 0x1b0]
mov rcx, qword [rdi + 0x1a0]
add rcx, r13
mov rdx, rsi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add r13, r15
mov qword [rdi + 0x1b0], r13
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x128], rax
mov rcx, r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rbx, qword [rbp + 0x120]
jmp 0x1400cb9e0
cmp rdx, rsi
jne 0x1400cb8d4
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x198], r12
mov qword [rdi + 0x1f8], rax
test r8, r8
mov r15, r14
je 0x1400cb8bd
mov r13, qword [rbp + 0x120]
jmp 0x1400cb904
mov al, 1
mov r13, qword [rbp + 0x120]
test r12, r12
jne 0x1400cb99a
jmp 0x1400cb9c3
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x190], r15
mov qword [rdi + 0x198], r12
mov qword [rdi + 0x1f8], rax
test r8, r8
je 0x1400cba69
mov r13, qword [rbp + 0x120]
mov r15, r14
mov esi, dword [rbp + 0x28]
test rsi, rsi
mov qword [rbp + 0xa8], r15
lea rax, [0x1401e7aa8]
cmove r15, rax
mov rax, qword [rdi + 0x1a8]
mov r12, qword [rdi + 0x1b0]
sub rax, r12
cmp rax, rsi
jae 0x1400cb948
mov rcx, qword [rbp + 0x18]
mov rdx, r12
mov r8, rsi
call fcn.1401853c0
mov r12, qword [rdi + 0x1b0]
mov rcx, qword [rdi + 0x1a0]
add rcx, r12
mov rdx, r15
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r12, rsi
mov qword [rdi + 0x1b0], r12
mov r15, qword [rbp + 0xa8]
mov qword [rbp + 0xa0], r15
mov byte [rbp + 0x155], 0
mov byte [rbp + 0x154], 0
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r12, qword [rdi + 0x198]
xor eax, eax
test r12, r12
je 0x1400cb9c3
mov qword [rbp + 0xa0], r15
mov byte [rbp + 0x155], bl
mov byte [rbp + 0x154], al
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.1400cce10
cmp byte [rbp + 0x50], 0
jne 0x1400cbf4b
mov rbx, r13
mov qword [rbp + 0xa8], r15
cmp byte [rdi + 0x140], 0
jne 0x1400cb9e0
mov byte [rdi + 0x142], 0
nop dword [rax]
mov rax, qword [rbp + 0x140]
test rax, rax
mov r12, qword [rbp + 0x148]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
je 0x1400cba17
mov r8, r12
cmp rax, 0x11
jb 0x1400cba08
mov r8, qword [r12 - 8]
mov rcx, qword [0x14023c280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0xd8], 0
je 0x1400cba37
mov r8, qword [rbp + 0xd0]
mov rcx, qword [0x14023c280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r10, qword [rbp + 0xc8]
mov r13, rbx
mov rbx, qword [rbp + 0x138]
jmp 0x1400cae7b
mov rax, qword [rdi]
mov qword [rbp + 0x138], rax
test rax, rax
je 0x1400cbaad
mov rax, qword [rdi + 8]
mov qword [rbp + 0x138], rax
jmp 0x1400cbaad
mov al, 1
mov r13, qword [rbp + 0x120]
mov r15, r14
test r12, r12
jne 0x1400cb99a
jmp 0x1400cb9c3
mov rcx, qword [rbp + 0x138]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400cbaad
cmp qword [rbp + 0x90], 0
je 0x1400cbaad
mov rcx, qword [rbp + 0x138]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
movaps xmmword [rbp + 0xf0], xmm6
mov qword [rbp + 0x100], 0
mov dword [rbp + 0xf0], 0x20
mov dword [rbp + 0xf8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rbp + 0xd0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0xd8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x100], 3
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x50], 0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rbp + 0x88]
xor r8d, r8d
mov r9, qword [rbp + 0x138]
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400cbfa4
mov rdx, qword [rbp + 0x50]
cmp qword [rdi], 0
mov qword [rbp + 0xe8], rdx
je 0x1400cbcf6
mov byte [rbp + 0x156], 1
lea rcx, [rbp + 0xf0]
call fcn.14014fa40
cmp qword [rbp + 0xf0], 0
je 0x1400cbcfe
mov r13, qword [rbp + 0xf8]
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x90], rax
xor eax, eax
mov qword [rbp + 0xb0], rax
nop dword [rax + rax]
mov eax, dword [r13 + 0xc]
mov r15d, 0xf00
cmp qword [rbp + 0xb0], rax
jae 0x1400cbcd9
mov rcx, r13
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x1400cbcd9
mov r13, rcx
mov rsi, qword [rbp + 0xb0]
mov rax, qword [rax + rsi*8]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x148], rcx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rbp + 0x140], rax
inc rsi
mov qword [rbp + 0xb0], rsi
mov rax, rbx
xor ebx, ebx
nop dword [rax]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x68], rax
mov rdx, rbx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
mov rsi, rax
je 0x1400cbcb9
mov rcx, rsi
mov qword [rbp + 0x148], rsi
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, rax
mov rsi, qword [rbp + 0x148]
mov r8d, dword [rsi + 0x10]
mov rax, qword [rbp + 0x140]
cmp r8d, dword [rax + 0x10]
jne 0x1400cbc90
mov rdx, qword [rax + 8]
mov rcx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete r15b
jmp 0x1400cbc93
xor r15d, r15d
mov qword [rbp + 0x70], 1
mov qword [rbp + 0x68], rbx
mov rcx, rsi
call r14
mov rax, rbx
test r15b, r15b
je 0x1400cbc20
mov rcx, rbx
call r14
jmp 0x1400cbcc0
mov rbx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call r14
test rsi, rsi
je 0x1400cbbc0
mov r15d, 0xf10
mov byte [rbp + 0x156], 1
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r13, qword [rbp + 0x120]
jmp 0x1400cbd04
mov r15d, 0xf00
jmp 0x1400cbd0b
mov r15d, 0xf00
mov rdx, qword [rbp + 0xe8]
lea rax, [rbp + 0x58]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x50], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x1400cbd39
cmp byte [rdi + 0x221], 0
jne 0x1400cbd39
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x40], reloc.WS2_32.dll_recv
mov dword [rbp + 0x44], r15d
lea rax, [rbp + 0x50]
mov qword [rbp + 0x48], rax
movaps xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xe0], 0
mov dword [rbp + 0xd0], 0x18
mov byte [rbp + 0x156], 1
mov ecx, 4
lea r8, [rbp + 0x40]
lea r9, [rbp + 0xd0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400cbfb0
mov edx, dword [rbp + 0xd4]
mov rsi, rdx
shl rsi, 0x20
or rsi, 2
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x1400cbe08
mov qword [rbp + 0x148], rsi
mov r8, qword [rdi + 0x1f0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x140], rdx
mov dword [rbp + 0xf8], edx
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xfc], rax
lea rdx, [rbp + 0xf0]
call qword [r8 + 0x28]
test rax, rax
je 0x1400cbe1d
jmp 0x1400cbfd1
test edx, edx
mov rcx, qword [rbp + 0xe8]
jne 0x1400cbfc6
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x88]
call r14
cmp byte [rdi + 0x140], 0
jne 0x1400cbe37
mov rax, qword [rbp + 0x20]
mov byte [rax], 1
mov r10, qword [rbp + 0xc8]
movzx eax, byte [rbp + 0x157]
test al, al
jne 0x1400cb0e9
jmp 0x1400caf29
movabs rax, 0xd00000003
mov r13, qword [rbp + 0x120]
mov qword [r13 + 8], rax
mov eax, 2
mov dword [r13], eax
movaps xmm6, xmmword [rbp + 0x160]
add rsp, 0x1f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp eax, 1
jne 0x1400cbeaa
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + 0x10]
mov dword [r13 + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [r13 + 4], xmm0
mov eax, 1
jmp 0x1400cbe6c
xor eax, eax
jmp 0x1400cbe6c
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.140094760
jmp 0x1400cbe63
movabs rdx, 0xd00000003
mov r13, qword [rbp + 0x120]
mov qword [r13 + 8], rdx
jmp 0x1400cbe67
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov rdi, qword [rbp + 0x140]
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xb8], 1
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, rdi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rbp + 0x138]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
shl rsi, 0x20
or rsi, 2
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [r13 + 8], rsi
jmp 0x1400cbe67
mov r13, rbx
shl r15, 0x20
or r15, 2
jmp 0x1400cbf56
mov r15, qword [rbp + 0x58]
mov r8, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
test rax, rax
je 0x1400cbf7b
cmp rax, 0x11
jb 0x1400cbf6c
mov r8, qword [r8 - 8]
mov rcx, qword [0x14023c280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0xd8], 0
je 0x1400cbf9b
mov r8, qword [rbp + 0xd0]
mov rcx, qword [0x14023c280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r13 + 8], r15
jmp 0x1400cbe67
call sub.KERNEL32.dll_GetLastError
mov esi, eax
jmp 0x1400cbf20
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400cbf28
mov rsi, rax
jmp 0x1400cbf28
shl rax, 0x20
or rax, 2
jmp 0x1400cbe63
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0x130], rcx
mov qword [rbp + 0x128], rax
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140184bf0
jmp 0x1400cc14b
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x128], r8
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140184bf0
jmp 0x1400cc14b
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x128], r8
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140184bf0
jmp 0x1400cc14b
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401b6e10]
mov edx, 0x29
call fcn.140184cf0
ud2
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.140184b70
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1401846a0
ud2
mov qword [rbp + 0x148], r14
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.140184c70
jmp 0x1400cc14b
mov qword [rbp + 0xa0], r14
mov byte [rbp + 0x155], bl
mov byte [rbp + 0x154], 1
lea rcx, [0x1401b8977]
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140184cf0
jmp 0x1400cc14b
mov qword [rbp + 0x38], r12
lea rcx, [0x1401b8977]
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140184cf0
jmp 0x1400cc14b
mov qword [rbp + 0x38], r12
lea r8, str._rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
mov rcx, r15
call fcn.140184c70
jmp 0x1400cc14b
mov qword [rbp + 0xa0], r14
mov byte [rbp + 0x155], bl
mov byte [rbp + 0x154], 1
lea r8, str._rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.140184c70
ud2