Function at 0x140089490
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, 0x198
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x100], xmm6
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0xe8], rcx
lea rax, [rdx + 0x144]
mov qword [rbp + 8], rax
lea r10, [rdx + 0x10]
lea rax, [rdx + 0x1c0]
mov qword [rbp + 0x58], rax
lea r13, [rdx + 0x18]
xorps xmm6, xmm6
mov rbx, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rbp + 0x78], r10
mov qword [rbp + 0xa0], r13
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x14008a2e3
movzx r15d, byte [rdi + 0x141]
movzx eax, byte [rdi + 0x142]
mov byte [rbp + 0x50], al
movzx eax, byte [rdi + 0x143]
movzx r14d, byte [rdi + 0x144]
mov rsi, qword [rdi + 0x1b8]
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
jne 0x1400895a0
test r15b, r15b
je 0x140089584
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x14008a597
cmp dword [r10], 2
je 0x140089577
mov esi, eax
mov rcx, r10
call fcn.140092840
test rax, rax
jne 0x14008a32e
test rdx, rdx
mov eax, esi
jne 0x14008a338
cmp byte [rdi + 0x140], 0
je 0x140089699
or r14b, al
jne 0x1400896b2
jmp 0x1400896a5
mov byte [rbp + 0xf7], al
mov rbx, r12
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x14008a5b1
mov r8, qword [rdi + 0x138]
test r8, r8
je 0x14008a597
mov r9, qword [rdi + 0x1a0]
add r9, rsi
cmp dword [r10], 2
jne 0x140089610
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xb0]
mov rdx, r13
call fcn.140102510
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
jne 0x140089635
jmp 0x14008a2ac
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xb0]
mov rdx, r10
call fcn.140092130
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x14008a2ac
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x14008a2b6
add r12, rax
add rsi, rax
mov qword [rdi + 0x1b8], rsi
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
mov r10, qword [rbp + 0x78]
jne 0x1400895b0
test r12, r12
mov r12, rbx
mov rbx, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
movzx eax, byte [rbp + 0xf7]
je 0x14008953e
cmp byte [rdi + 0x140], 0
jne 0x140089543
mov byte [rdi + 0x141], 1
jmp 0x140089543
mov byte [rdi + 0x141], 0
or r14b, al
jne 0x1400896b2
cmp byte [rdi + 0x222], 0
je 0x140089bbf
cmp byte [rbp + 0x50], 0
je 0x140089e6b
cmp qword [rdi + 0x1f8], 0
je 0x1400896f3
lea rcx, [rbp + 0xb0]
mov rdx, rdi
call fcn.14008a9c0
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x14008a2b6
test rax, rax
je 0x14008a312
mov r14, qword [rdi + 0x198]
movzx eax, byte [0x1401de2b8]
mov rax, qword [0x1401de220]
test rax, rax
jne 0x140089723
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14008a5c2
mov qword [0x1401de220], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14008a5c2
mov rdx, qword [rdi + 0x190]
cmp r14, rdx
ja 0x14008a5d3
mov rsi, rax
mov rax, qword [rdi + 0x180]
mov dword [rsi], r14d
mov dword [rsi + 4], 2
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 2
mov qword [rbp + 0x90], 2
mov rdx, qword [rdi + 0x208]
mov r13d, 2
test rdx, rdx
je 0x140089810
mov r8, qword [rdi + 0x218]
lea rcx, [rbp + 0xb0]
call case.0x1400afdf7.284
mov r15, qword [rbp + 0xb0]
mov r12, qword [rbp + 0xc0]
test r15, r15
je 0x140089810
mov r14, qword [rbp + 0xb8]
mov edx, 2
lea rcx, [rbp + 0x80]
call fcn.14004f320
mov rsi, qword [rbp + 0x80]
mov r13, qword [rbp + 0x90]
mov rax, r13
shl rax, 4
mov dword [rsi + rax], r14d
mov dword [rsi + rax + 4], 0x12
mov qword [rsi + rax + 8], r12
inc r13
mov qword [rbp + 0x90], r13
jmp 0x140089813
xor r15d, r15d
mov dword [rbp - 8], 0
mov dword [rbp - 4], r13d
mov qword [rbp], rsi
movabs rax, 0x200000000
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 0
movabs rax, 0x1100000000
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xc8]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x70], 0
cmp byte [rdi + 0x222], 0
je 0x1400899e0
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rbp + 0x58]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x30]
lea r8, [rbp - 8]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov r14d, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140089902
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x140089914
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp r14d, 0x80090318
je 0x140089b25
test r14d, r14d
je 0x140089a7f
cmp r14d, 0x90312
jne 0x14008a348
mov byte [rdi + 0x223], 0
cmp r13, 1
jbe 0x14008a56b
cmp dword [rsi + 0x14], 5
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0x50], r15
jne 0x140089b9d
mov r13, qword [rdi + 0x198]
mov eax, dword [rsi + 0x10]
mov r14, r13
sub r14, rax
jb 0x14008a5e4
mov r12d, dword [rbp + 0xb0]
mov rsi, qword [rbp + 0xb8]
test eax, eax
je 0x140089bf9
mov rdx, qword [rdi + 0x190]
mov r15, rdx
sub r15, r14
jb 0x14008a5fe
mov qword [rdi + 0x190], 0
test r14, r14
je 0x140089cb0
cmp rdx, r14
je 0x140089cbc
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
jmp 0x140089cb5
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 + 0x30], xmm0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x18]
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 + 0x30]
mov rdx, qword [rbp + 0x58]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov r14d, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x1400898fc
jmp 0x140089902
cmp r13, 1
jbe 0x14008a555
cmp dword [rsi + 0x14], 5
jne 0x140089b59
mov rbx, r15
mov qword [rbp + 0xa8], r12
mov r12, qword [rbp + 0xb8]
test r12, r12
mov rax, qword [rbp + 0x60]
je 0x140089ab9
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x74], eax
mov rax, r12
mov r13, qword [rdi + 0x198]
mov r15d, dword [rsi + 0x10]
mov rsi, r13
sub rsi, r15
cmp r13, rsi
jb 0x14008a5e4
mov qword [rbp + 0x60], rax
je 0x140089d4a
mov rdx, qword [rdi + 0x190]
mov r14, rdx
sub r14, rsi
jb 0x14008a60f
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x140089d45
cmp rdx, rsi
je 0x140089d4a
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
jmp 0x140089d54
cmp r13, 1
jbe 0x14008a581
mov eax, 1
cmp dword [rsi + 0x14], 4
jne 0x140089b3d
mov eax, dword [rsi + 0x10]
mov qword [rdi + 0x1f8], rax
mov r13, qword [rbp + 0xa0]
test r15, r15
jne 0x140089e25
jmp 0x140089e42
mov rbx, r15
mov rax, qword [rbp + 0xb8]
test rax, rax
mov r13, qword [rbp + 0xa0]
je 0x140089b7c
mov ecx, dword [rbp + 0xb0]
mov dword [rbp + 0x74], ecx
mov qword [rbp + 0x60], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
jne 0x140089d84
jmp 0x140089e06
mov r13, qword [rdi + 0x198]
mov r12d, dword [rbp + 0xb0]
mov eax, 1
mov rsi, qword [rbp + 0xb8]
mov r14, r13
jmp 0x140089cbe
mov byte [rbp + 0xf7], al
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 0x53
lea r8, [rbp + 0xb0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x140089c03
cmp byte [rbp + 0x50], 0
jne 0x1400896bc
jmp 0x14008a4e8
mov eax, 1
jmp 0x140089cbe
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x140089ef8
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r13, rax
cmp qword [rdi], 0
je 0x140089ca0
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x140089ca0
nop dword [rax + rax]
mov r14, rax
mov rcx, rax
call rbx
mov rsi, rax
mov qword [rbp + 0xb0], 0
mov rcx, r13
mov rdx, r14
mov r8d, 3
lea r9, [rbp + 0xb0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x14008a45a
mov rcx, qword [rbp + 0xb0]
mov r15, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r15
mov rcx, r14
call r15
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x140089c40
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x140089f04
cmp rdx, r14
je 0x140089cbc
mov qword [rdi + 0x190], r15
xor eax, eax
sub r13, r14
mov qword [rdi + 0x198], r13
mov qword [rdi + 0x1f8], rax
test r12d, r12d
mov r14d, r12d
mov r13, rsi
lea rax, [0x1401d1658]
cmove r13, rax
mov rax, qword [rdi + 0x1a8]
mov r15, qword [rdi + 0x1b0]
sub rax, r15
cmp rax, r14
jb 0x14008a03d
mov r12, qword [rbp + 0xa8]
mov rcx, qword [rdi + 0x1a0]
add rcx, r15
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov qword [rdi + 0x1b0], r15
mov rcx, rsi
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r13, qword [rbp + 0xa0]
mov r15, qword [rbp + 0x50]
test r15, r15
jne 0x140089e25
jmp 0x140089e42
cmp rdx, rsi
jne 0x140089d54
xor eax, eax
cmp r13, rsi
sete al
jmp 0x140089d63
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x190], r14
mov qword [rdi + 0x198], r15
mov qword [rdi + 0x1f8], rax
test r12, r12
mov r13, qword [rbp + 0xa0]
mov r12, qword [rbp + 0xa8]
je 0x140089deb
mov eax, dword [rbp + 0x74]
test eax, eax
mov esi, eax
mov r14, qword [rbp + 0x60]
lea rax, [0x1401d1658]
cmove r14, rax
mov rax, qword [rdi + 0x1a8]
mov r13, qword [rdi + 0x1b0]
sub rax, r13
cmp rax, rsi
jb 0x14008a05b
mov rcx, qword [rdi + 0x1a0]
add rcx, r13
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r13, rsi
mov qword [rdi + 0x1b0], r13
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r15, qword [rdi + 0x198]
mov r13, qword [rbp + 0xa0]
test r15, r15
je 0x140089e06
lea rcx, [rbp + 0x30]
mov rdx, rdi
call fcn.14008a6b0
cmp byte [rbp + 0x30], 0
jne 0x14008a48f
cmp byte [rdi + 0x140], 0
jne 0x140089e16
mov byte [rdi + 0x142], 0
mov r15, rbx
mov rbx, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
test r15, r15
je 0x140089e42
mov r8, r12
cmp r15, 0x11
jb 0x140089e33
mov r8, qword [r12 - 8]
mov rcx, qword [0x1401de220]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x140089e62
mov r8, qword [rbp + 0x80]
mov rcx, qword [0x1401de220]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r10, qword [rbp + 0x78]
jmp 0x1400894fa
mov ecx, eax
mov al, 2
test cl, cl
mov r13, qword [rbp + 0xa0]
jne 0x140089eca
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 4
lea r8, [rbp + 0xb0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x14008a548
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0xb4]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0xbc]
mov qword [rbp - 0x18], rax
mov al, 1
mov byte [rdi + 0x140], al
mov eax, dword [rbp + 0x14]
mov dword [rdi + 0x144], eax
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x148], rax
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x150], rax
mov r10, qword [rbp + 0x78]
jmp 0x1400894fa
mov r13, qword [rdi]
test r13, r13
je 0x140089f04
mov r13, qword [rdi + 8]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xc0], 0
mov dword [rbp + 0xb0], 0x20
mov dword [rbp + 0xb8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rbp + 0x80], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0x88], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0x90], rax
mov dword [rbp + 0xc0], 3
lea rax, [rbp + 0x80]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x30], 0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
xor r8d, r8d
mov r9, r13
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x14008a4fc
mov r14, qword [rbp + 0x30]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x14008a18f
cmp dword [r14 + 0xc], 0
je 0x14008a18f
mov qword [rbp + 0xa8], r12
mov rax, qword [r14 + 0x10]
mov rbx, qword [rax]
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, r14
mov r14, rax
mov qword [rbp + 0x68], rcx
cmp dword [rcx + 0xc], 2
jb 0x14008a079
mov r15d, 1
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r12, qword [rbp + 0x68]
nop
mov rax, qword [r12 + 0x10]
mov rbx, qword [rax + r15*8]
mov rcx, r12
call r13
mov rsi, rax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
inc r15
mov r14, rsi
cmp r15, rax
jb 0x14008a010
jmp 0x14008a087
lea rcx, [rdi + 0x1a0]
mov rdx, r15
mov r8, r14
call fcn.14011c970
mov r15, qword [rdi + 0x1b0]
jmp 0x140089cfd
lea rcx, [rdi + 0x1a0]
mov rdx, r13
mov r8, rsi
call fcn.14011c970
mov r13, qword [rdi + 0x1b0]
jmp 0x140089db4
mov rsi, r14
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r12, qword [rbp + 0x68]
mov rcx, r12
call r13
mov qword [rbp - 0x10], rax
mov rcx, rsi
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
call r13
mov r14, r12
xor r12d, r12d
jmp 0x14008a0bd
inc r12
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [rbp + 0x68]
mov eax, dword [rbx + 0xc]
mov esi, 0xf00
cmp r12, rax
jae 0x14008a17a
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14008a17a
mov rax, qword [rax + r12*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x14008a0a6
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r8d, dword [rsi + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x14008a14e
mov rdx, qword [r13 + 8]
mov rcx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r15d, eax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
je 0x14008a159
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x14008a100
jmp 0x14008a0a6
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x14008a137
mov rcx, r14
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r13
call rsi
mov esi, 0xf10
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [rbp + 0x68]
mov rcx, qword [rbp - 0x10]
call r13
mov r12, qword [rbp + 0xa8]
mov rbx, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
lea rax, [rbp + 0x38]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x30], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x14008a1bd
cmp byte [rdi + 0x221], 0
jne 0x14008a1bd
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x18], 0x10
mov dword [rbp + 0x1c], esi
lea rax, [rbp + 0x30]
mov qword [rbp + 0x20], rax
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x80], 0x18
mov ecx, 4
mov rdx, r14
lea r8, [rbp + 0x18]
lea r9, [rbp + 0x80]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x14008a50f
mov r13d, dword [rbp + 0x84]
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x14008a269
mov r8, qword [rdi + 0x1f0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rbp + 0xb0], r14
mov dword [rbp + 0xb8], r13d
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xbc], rax
lea rdx, [rbp + 0xb0]
call qword [r8 + 0x28]
test rax, rax
je 0x14008a27b
jmp 0x14008a52b
test r13d, r13d
jne 0x14008a518
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
movzx eax, byte [rbp + 0xf7]
jne 0x1400896b2
mov rax, qword [rbp + 8]
mov byte [rax], 1
movzx eax, byte [rbp + 0xf7]
jmp 0x1400896b2
movabs rax, 0xd00000003
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rax
mov eax, 2
mov dword [rdi], eax
movaps xmm6, xmmword [rbp + 0x100]
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp eax, 1
jne 0x14008a307
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rbp + 0xe8]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x14008a2c6
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x14008a2c6
movzx eax, byte [0x1401de2b8]
mov rcx, qword [0x1401de220]
test rcx, rcx
je 0x14008a355
mov rdi, qword [rbp + 0xe8]
jmp 0x14008a375
movabs rdx, 0xd00000003
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rdx
jmp 0x14008a2c1
shl r14, 0x20
or r14, 2
jmp 0x14008a496
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x14008a620
mov rcx, rax
mov qword [0x1401de220], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14008a620
mov rsi, rax
movups xmm0, xmmword [0x1401a0087]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x1401de2b8]
mov rcx, qword [0x1401de220]
test rcx, rcx
jne 0x14008a3d0
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14008a631
mov rcx, rax
mov qword [0x1401de220], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14008a631
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], 0x1f
mov qword [rax + 0x10], 0x1f
movzx eax, byte [0x1401de2b8]
mov rcx, qword [0x1401de220]
test rcx, rcx
jne 0x14008a429
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14008a642
mov rcx, rax
mov qword [0x1401de220], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14008a642
mov qword [rax], rbx
lea rcx, [0x14019fdc8]
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x14008a2bd
mov rbx, r13
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r14
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rdi
mov rcx, rsi
call rdi
mov rcx, rbx
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x14008a52e
mov r14, qword [rbp + 0x38]
mov r15, rbx
test r15, r15
mov rdi, qword [rbp + 0xe8]
je 0x14008a4bf
cmp r15, 0x11
jb 0x14008a4ad
mov r12, qword [r12 - 8]
mov rcx, qword [0x1401de220]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x14008a4df
mov r8, qword [rbp + 0x80]
mov rcx, qword [0x1401de220]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rdi + 8], r14
jmp 0x14008a2c1
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rdi, qword [rbp + 0xe8]
jmp 0x14008a53f
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x14008a52e
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x14008a52e
mov r13, rax
mov rdi, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rdi + 8], r13
jmp 0x14008a2c1
shl rax, 0x20
or rax, 2
jmp 0x14008a2b6
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140115070
ud2
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140115070
ud2
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140115070
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_native_tls_0.3.1_srclib.rs
mov edx, 0x29
call fcn.140115150
ud2
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rsi
call fcn.140115000
ud2
mov ecx, 8
mov edx, 0x20
call fcn.140114cd0
ud2
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.1401150e0
ud2
lea rcx, [0x1401a0097]
lea r8, str.C:Users_sola.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov edx, 0x1f
call fcn.140115150
ud2
lea r8, str._rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
mov rcx, r14
call fcn.1401150e0
ud2
lea r8, str._rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1401150e0
ud2
mov ecx, 1
mov edx, 0x1f
call fcn.140114cd0
ud2
mov ecx, 8
mov edx, 0x18
call fcn.140114cd0
ud2
mov qword [rbp + 0x78], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140114cd0
ud2