Function at 0x1400d3b20
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, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rdi, rdx
mov qword [rsp + 0x68], rcx
lea rax, [rdx + 0x44]
mov qword [rsp + 0x110], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x148], rax
lea rax, [rdx + 0xc0]
mov qword [rsp + 0xf0], rax
lea r13, [rsp + 0x70]
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x40]
test rax, rax
jne 0x1400d48cb
movzx r14d, byte [rdi + 0x41]
movzx r15d, byte [rdi + 0x42]
movzx r12d, byte [rdi + 0x43]
movzx ebp, byte [rdi + 0x44]
mov rsi, qword [rdi + 0xb8]
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400d3bd0
test r14b, r14b
je 0x1400d3bbf
cmp qword [rdi + 0x38], 0
je 0x1400d4a4b
cmp byte [rdi + 0x40], 0
je 0x1400d3c70
or bpl, r12b
jne 0x1400d3c86
jmp 0x1400d3c79
mov ebx, r12d
mov r12d, r15d
xor r15d, r15d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400d4a65
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400d4a4b
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rsp + 0x148]
call fcn.140124090
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
je 0x1400d4895
mov rax, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400d489f
add r15, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400d3be0
test r15, r15
mov r15d, r12d
mov r12d, ebx
je 0x1400d3ba5
cmp byte [rdi + 0x40], 0
jne 0x1400d3baa
mov byte [rdi + 0x41], 1
jmp 0x1400d3baa
mov byte [rdi + 0x41], 0
or bpl, r12b
jne 0x1400d3c86
cmp byte [rdi + 0x122], 0
je 0x1400d41bc
test r15b, r15b
je 0x1400d443f
cmp qword [rdi + 0xf8], 0
lea rcx, [rsp + 0x70]
je 0x1400d3cc0
mov rdx, rdi
call fcn.1400d4ae0
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x1400d489f
test rax, rax
je 0x1400d48fa
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1401be180]
mov rax, qword [0x1401be0e8]
test rax, rax
jne 0x1400d3cef
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400d4a76
mov qword [0x1401be0e8], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400d4a76
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1400d4a87
mov r12, rax
mov rax, qword [rdi + 0x80]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], 2
mov qword [rsp + 0xb0], 2
mov rdx, qword [rdi + 0x108]
test rdx, rdx
je 0x1400d3df0
mov r8, qword [rdi + 0x118]
lea rcx, [rsp + 0xc0]
call fcn.1400ebb90
mov r14, qword [rsp + 0xc0]
test r14, r14
je 0x1400d3dfc
mov rsi, qword [rsp + 0xd0]
mov ebp, dword [rsp + 0xc8]
mov edx, 2
lea rcx, [rsp + 0xa0]
call fcn.140050660
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb0]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], ebp
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], rsi
inc r13
mov qword [rsp + 0xb0], r13
jmp 0x1400d3e05
mov qword [rsp + 0xc0], 0
mov r13d, 2
xor r14d, r14d
mov dword [rsp + 0x118], 0
mov dword [rsp + 0x11c], r13d
mov qword [rsp + 0x120], r12
movabs rax, 0x200000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0xbc], 0
cmp byte [rdi + 0x122], 0
je 0x1400d3fe0
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xf0]
cmove rdx, rcx
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xe0]
lea r8, [rsp + 0x118]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400d3f1b
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400d3f2d
call sub.secur32.dll_FreeContextBuffer
cmp ebp, 0x80090318
je 0x1400d4093
test ebp, ebp
je 0x1400d40c0
cmp ebp, 0x90312
jne 0x1400d4910
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x1400d4a09
cmp dword [r12 + 0x14], 5
jne 0x1400d415c
mov r15, qword [rdi + 0x98]
mov eax, dword [r12 + 0x10]
mov r13, r15
sub r13, rax
jb 0x1400d4a98
mov ebp, dword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
test eax, eax
je 0x1400d41ec
mov rdx, qword [rdi + 0x90]
mov rsi, rdx
sub rsi, r13
jb 0x1400d4ab2
mov qword [rdi + 0x90], 0
test r13, r13
je 0x1400d4295
cmp rdx, r13
je 0x1400d42a1
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + r13]
mov r8, rsi
call sub.msvcrt.dll_memmove
jmp 0x1400d429a
cmp byte [rdi + 0x120], 0
mov rax, qword [rdi + 0xd0]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x118]
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 + 0xe0]
mov rdx, qword [rsp + 0xf0]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1400d3f16
jmp 0x1400d3f1b
cmp r13, 1
jbe 0x1400d4a1f
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400d40af
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xf8], rax
lea r13, [rsp + 0x70]
jmp 0x1400d43f0
cmp r13, 1
jbe 0x1400d4a35
cmp dword [r12 + 0x14], 5
jne 0x1400d4179
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x1400d40f3
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xb8], eax
mov qword [rsp + 0xf8], r13
mov r15, qword [rdi + 0x98]
mov eax, dword [r12 + 0x10]
mov rsi, r15
sub rsi, rax
cmp r15, rsi
jb 0x1400d4a98
je 0x1400d4316
mov rdx, qword [rdi + 0x90]
mov r12, rdx
sub r12, rsi
jb 0x1400d4ac3
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1400d4311
cmp rdx, rsi
je 0x1400d4316
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r12
call sub.msvcrt.dll_memmove
jmp 0x1400d4320
mov r15, qword [rdi + 0x98]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov r12, qword [rsp + 0x78]
mov r13, r15
jmp 0x1400d42a3
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400d4196
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0xb8], ecx
mov qword [rsp + 0xf8], rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0xf8], 1
lea r13, [rsp + 0x70]
jne 0x1400d4347
jmp 0x1400d43da
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf0]
mov edx, 0x53
mov r8, r13
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1400d41f6
test r15b, r15b
jne 0x1400d3c8f
jmp 0x1400d49a5
mov eax, 1
jmp 0x1400d42a3
mov byte [rsp + 0x67], r15b
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400d44c9
call sub.crypt32.dll_CertDuplicateStore
mov r14, rax
cmp qword [rdi], 0
lea r15, [rsp + 0x70]
je 0x1400d4286
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400d4286
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov qword [rsp + 0x70], 0
mov rcx, r14
mov rdx, rbp
mov r8d, 3
mov r9, r15
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x1400d491a
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400d4230
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400d44da
cmp rdx, r13
je 0x1400d42a1
mov qword [rdi + 0x90], rsi
xor eax, eax
sub r15, r13
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test ebp, ebp
mov esi, ebp
mov r13, r12
lea rax, str.NoneSome
cmove r13, rax
mov rax, qword [rdi + 0xa8]
mov rbp, qword [rdi + 0xb0]
sub rax, rbp
cmp rax, rsi
jb 0x1400d45fb
mov rcx, qword [rdi + 0xa0]
add rcx, rbp
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [rdi + 0xb0], rbp
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
lea r13, [rsp + 0x70]
jmp 0x1400d43f0
cmp rdx, rsi
jne 0x1400d4320
xor eax, eax
sub r15, rsi
sete al
jmp 0x1400d432f
xor eax, eax
sub r15, rsi
sete al
mov qword [rdi + 0x90], r12
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test r13, r13
lea r13, [rsp + 0x70]
je 0x1400d43b7
mov eax, dword [rsp + 0xb8]
test eax, eax
mov esi, eax
mov r12, qword [rsp + 0xf8]
lea rax, str.NoneSome
cmove r12, rax
mov rax, qword [rdi + 0xa8]
mov r13, qword [rdi + 0xb0]
sub rax, r13
cmp rax, rsi
jb 0x1400d4619
mov rcx, qword [rdi + 0xa0]
add rcx, r13
mov rdx, r12
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r13, rsi
mov qword [rdi + 0xb0], r13
mov rcx, qword [rsp + 0xf8]
call sub.secur32.dll_FreeContextBuffer
mov r15, qword [rdi + 0x98]
lea r13, [rsp + 0x70]
test r15, r15
je 0x1400d43da
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.1400d4cf0
cmp byte [rsp + 0xe0], 0
jne 0x1400d4949
cmp byte [rdi + 0x40], 0
jne 0x1400d43f0
mov byte [rdi + 0x42], 0
nop word cs:[rax + rax]
test r14, r14
je 0x1400d4415
mov r8, qword [rsp + 0xd0]
cmp r14, 0x11
jb 0x1400d4407
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xa8], 0
je 0x1400d3b72
mov r8, qword [rsp + 0xa0]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400d3b72
mov al, 2
test r12b, r12b
lea r13, [rsp + 0x70]
jne 0x1400d449f
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xf0]
mov edx, 4
mov r8, r13
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x1400d49fc
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x7c]
mov qword [rsp + 0x130], rax
mov al, 1
mov byte [rdi + 0x40], al
mov eax, dword [rsp + 0x104]
mov dword [rdi + 0x44], eax
mov rax, qword [rsp + 0x138]
mov qword [rdi + 0x48], rax
mov rax, qword [rsp + 0x130]
mov qword [rdi + 0x50], rax
jmp 0x1400d3b72
mov r14, qword [rdi]
test r14, r14
lea r15, [rsp + 0x70]
je 0x1400d44da
mov r14, qword [rdi + 8]
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x70], 0x20
mov dword [rsp + 0x78], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rsp + 0xc0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xc8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9, r14
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1400d49b7
mov rbp, qword [rsp + 0xa0]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x1400d4752
cmp dword [rbp + 0xc], 0
movzx r15d, byte [rsp + 0x67]
je 0x1400d4758
mov rax, qword [rbp + 0x10]
mov r15, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbp + 0xc], 2
jb 0x1400d4637
mov r14d, 1
nop
mov rax, qword [rbp + 0x10]
mov r15, qword [rax + r14*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc r14
mov r13, rsi
cmp r14, rax
jb 0x1400d45d0
jmp 0x1400d463a
lea rcx, [rdi + 0xa0]
mov rdx, rbp
mov r8, rsi
call fcn.140058000
mov rbp, qword [rdi + 0xb0]
jmp 0x1400d42e0
lea rcx, [rdi + 0xa0]
mov rdx, r13
mov r8, rsi
call fcn.140058000
mov r13, qword [rdi + 0xb0]
jmp 0x1400d437f
mov rsi, r13
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x128], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor ecx, ecx
mov qword [rsp + 0x108], rbx
jmp 0x1400d467f
mov rsi, qword [rsp + 0x140]
inc rsi
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
mov rbp, rbx
mov rbx, qword [rsp + 0x108]
mov eax, dword [r15 + 0xc]
mov esi, 0xf00
cmp rcx, rax
jae 0x1400d4745
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x1400d4745
mov rbx, rbp
mov qword [rsp + 0x140], rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400d465e
nop dword [rax]
mov rsi, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov r8d, dword [rsi + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x1400d471b
mov rdx, qword [r13 + 8]
mov rcx, qword [rsi + 8]
call sub.msvcrt.dll_memcmp
mov r14d, eax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
test r14d, r14d
je 0x1400d4725
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400d46d0
jmp 0x1400d465e
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x1400d4705
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov rbp, rbx
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x128]
call sub.crypt32.dll_CertFreeCertificateChain
movzx r15d, byte [rsp + 0x67]
lea rax, [rsp + 0xa8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xa0], rax
mov rax, qword [rdi + 0xd0]
test rax, rax
je 0x1400d4792
cmp byte [rdi + 0x121], 0
jne 0x1400d4792
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xe0], 0x10
mov dword [rsp + 0xe4], esi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xe8], rax
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xc0], 0x18
mov ecx, 4
mov rdx, rbp
lea r8, [rsp + 0xe0]
lea r9, [rsp + 0xc0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1400d49c9
mov r13d, dword [rsp + 0xc4]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1400d4862
mov r8, qword [rdi + 0xf0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rsp + 0x70], rbp
mov dword [rsp + 0x78], r13d
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
jne 0x1400d49e3
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1400d3c86
jmp 0x1400d4885
test r13d, r13d
jne 0x1400d49d1
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1400d3c86
mov rax, qword [rsp + 0x110]
mov byte [rax], 1
jmp 0x1400d3c86
movabs rax, 0xd00000003
mov rsi, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov eax, 2
mov dword [rsi], eax
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
jne 0x1400d48f1
mov rcx, qword [rsp + 0x110]
mov eax, dword [rcx + 0x10]
mov rsi, qword [rsp + 0x68]
mov dword [rsi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 4], xmm0
mov eax, 1
jmp 0x1400d48ad
xor eax, eax
mov rsi, qword [rsp + 0x68]
jmp 0x1400d48ad
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.140067130
jmp 0x1400d489f
shl rbp, 0x20
or rbp, 2
jmp 0x1400d4951
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400d49e6
mov rbp, qword [rsp + 0xe8]
test r14, r14
mov rsi, qword [rsp + 0x68]
je 0x1400d497b
mov r8, qword [rsp + 0xd0]
cmp r14, 0x11
jb 0x1400d496d
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xa8], 0
je 0x1400d499c
mov r8, qword [rsp + 0xa0]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov qword [rsi + 8], rbp
jmp 0x1400d48a8
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x68]
jmp 0x1400d49f3
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400d49e6
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1400d49e6
mov r13, rax
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi + 8], r13
jmp 0x1400d48a8
shl rax, 0x20
or rax, 2
jmp 0x1400d489f
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.14000aa40
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.14000aa40
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.14000aa40
ud2
lea rcx, [0x14017f1f3]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_native_tls_0.3.1_src_lib.rs
mov edx, 0x29
call fcn.14000c150
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14000a9c0
ud2
mov ecx, 8
mov edx, 0x20
call fcn.140007810
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14000b910
ud2
lea rcx, [0x1401810cf]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.14000c150
ud2
lea r8, str._rustc_a2f5f9691b6ce64c1703feaf9363710dfd7a56cflibrary_alloc_src_vecmod.rs
mov rcx, r13
call fcn.14000b910
ud2
lea r8, str._rustc_a2f5f9691b6ce64c1703feaf9363710dfd7a56cflibrary_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.14000b910
ud2