Function at 0x1400c8370
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 + 0x44]
mov qword [rbp + 0x30], rax
lea rax, [rdx + 0x10]
mov qword [rbp + 0x58], rax
lea rax, [rdx + 0xc0]
mov qword [rbp + 0x78], rax
lea r13, [rbp + 0xb0]
xorps xmm6, xmm6
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx eax, byte [rdi + 0x40]
test rax, rax
jne 0x1400c91cb
movzx r15d, byte [rdi + 0x41]
movzx ecx, byte [rdi + 0x42]
movzx ebx, byte [rdi + 0x43]
movzx r14d, byte [rdi + 0x44]
mov rsi, qword [rdi + 0xb8]
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400c8430
test r15b, r15b
je 0x1400c841f
cmp qword [rdi + 0x38], 0
je 0x1400c93e4
cmp byte [rdi + 0x40], 0
je 0x1400c84d8
or r14b, bl
jne 0x1400c84ee
jmp 0x1400c84e1
mov byte [rbp + 0xe0], cl
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400c93fe
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400c93e4
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rbp + 0x58]
call fcn.1402aa230
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x1400c9194
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1400c919e
add r12, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400c8440
test r12, r12
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx ecx, byte [rbp + 0xe0]
je 0x1400c8405
cmp byte [rdi + 0x40], 0
jne 0x1400c840a
mov byte [rdi + 0x41], 1
jmp 0x1400c840a
mov byte [rdi + 0x41], 0
or r14b, bl
jne 0x1400c84ee
cmp byte [rdi + 0x122], 0
je 0x1400c89d6
test cl, cl
je 0x1400c8ba1
cmp qword [rdi + 0xf8], 0
je 0x1400c8529
mov rcx, r13
mov rdx, rdi
call fcn.1401b7190
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x1400c919e
test rax, rax
je 0x1400c9207
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1403ce430]
mov rax, qword [0x1403cdf08]
test rax, rax
jne 0x1400c8559
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c940f
mov qword [0x1403cdf08], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c940f
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1400c9420
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 [rbp + 0x90], r12
mov qword [rbp + 0x98], 2
mov qword [rbp + 0xa0], 2
mov rdx, qword [rdi + 0x108]
mov r13d, 2
test rdx, rdx
je 0x1400c8650
mov r8, qword [rdi + 0x118]
lea rcx, [rbp + 0xb0]
call fcn.140272e30
mov rbx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xc0]
test rbx, rbx
mov qword [rbp + 0x28], rax
je 0x1400c8650
mov rsi, qword [rbp + 0xb8]
lea rcx, [rbp + 0x90]
mov r14, rax
call fcn.1402730e0
mov r12, qword [rbp + 0x90]
mov r13, qword [rbp + 0xa0]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], esi
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], r14
inc r13
mov qword [rbp + 0xa0], r13
jmp 0x1400c8652
xor ebx, ebx
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], r13d
mov qword [rbp + 0x20], r12
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 + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x8c], 0
cmp byte [rdi + 0x122], 0
je 0x1400c8810
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rbp + 0x78]
cmove rdx, rcx
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x60], xmm0
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x60]
lea r8, [rbp + 0x18]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1400c8743
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1400c8755
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x1400c8963
test esi, esi
je 0x1400c88ae
cmp esi, 0x90312
jne 0x1400c898b
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x1400c93bc
cmp dword [r12 + 0x14], 5
jne 0x1400c8acb
mov r13, qword [rdi + 0x98]
mov eax, dword [r12 + 0x10]
mov r14, r13
sub r14, rax
jb 0x1400c9431
mov esi, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0xe0], rcx
test eax, eax
je 0x1400c8b97
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, r14
jb 0x1400c944b
mov qword [rdi + 0x90], 0
test r14, r14
je 0x1400c8c11
cmp rdx, r14
je 0x1400c8c24
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400c8c1d
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 [rbp + 0x60], xmm0
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x18]
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 + 0x60]
mov rdx, qword [rbp + 0x78]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x1400c873d
jmp 0x1400c8743
cmp r13, 1
jbe 0x1400c93ce
cmp dword [r12 + 0x14], 5
jne 0x1400c8a85
mov r13, qword [rdi + 0x98]
mov r15d, dword [r12 + 0x10]
mov rsi, r13
sub rsi, r15
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
mov rax, qword [rbp + 0x80]
je 0x1400c88f7
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov rax, rcx
cmp r13, rsi
jb 0x1400c9431
mov qword [rbp + 0x80], rax
je 0x1400c8cea
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x1400c945c
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1400c8ce5
cmp rdx, rsi
je 0x1400c8cea
mov qword [rbp + 0xe0], rcx
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe0]
jmp 0x1400c8cf4
cmp r13, 1
jbe 0x1400c93c5
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400c897f
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x1400c8c96
shl rsi, 0x20
or rsi, 2
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1400c8da6
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1400c89b4
mov r8, qword [rax - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
jne 0x1400c8db0
jmp 0x1400c8dc2
mov byte [rbp + 0xe0], cl
mov byte [rbp + 0xf7], bl
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x78]
mov edx, 0x53
mov r8, r13
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov rbx, rax
shl rbx, 0x20
or rbx, 2
test eax, eax
jne 0x1400c8a15
mov rbx, qword [rbp + 0xb0]
movzx eax, byte [rbp + 0xe0]
je 0x1400c8aec
test al, al
je 0x1400c9356
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1400c84f6
lea rsi, [rbx - 1]
mov r14, qword [rbx - 1]
mov r15, qword [rbx + 7]
mov rcx, r14
call qword [r15]
cmp qword [r15 + 8], 0
je 0x1400c8a6e
cmp qword [r15 + 0x10], 0x11
jb 0x1400c8a5c
mov r14, qword [r14 - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400c84f6
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x1400c8aa3
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x80], rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0xf8], 1
lea r13, [rbp + 0xb0]
jne 0x1400c8d1d
jmp 0x1400c8dd7
mov r13, qword [rdi + 0x98]
mov esi, dword [rbp + 0xb0]
mov eax, 1
mov rcx, qword [rbp + 0xb8]
mov r14, r13
jmp 0x1400c8c2d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c8dea
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r15, rax
cmp qword [rdi], 0
je 0x1400c8b80
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c8b80
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r12, rax
mov qword [rbp + 0xb0], 0
mov rcx, r15
mov rdx, rsi
mov r8d, 3
mov r9, r13
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400c9328
mov rcx, qword [rbp + 0xb0]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov rcx, qword [rdi + 8]
mov rdx, r12
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400c8b20
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400c8df6
mov eax, 1
jmp 0x1400c8c26
mov al, 2
test bl, bl
jne 0x1400c8bf3
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x78]
mov edx, 4
mov r8, r13
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1400c93af
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0xb4]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0xbc]
mov qword [rbp], rax
mov al, 1
mov byte [rdi + 0x40], al
mov eax, dword [rbp + 0x44]
mov dword [rdi + 0x44], eax
mov rax, qword [rbp - 8]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp]
mov qword [rdi + 0x50], rax
jmp 0x1400c83d3
cmp rdx, r14
jne 0x1400c8c1d
xor eax, eax
xor r14d, r14d
jmp 0x1400c8c26
mov qword [rdi + 0x90], r15
xor eax, eax
mov rcx, qword [rbp + 0xe0]
sub r13, r14
mov qword [rdi + 0x98], r13
mov qword [rdi + 0xf8], rax
test esi, esi
mov r14d, esi
mov r13, rcx
lea rax, [0x1403c0b88]
cmove r13, rax
mov rax, qword [rdi + 0xa8]
mov r15, qword [rdi + 0xb0]
sub rax, r15
cmp rax, r14
mov rsi, rcx
jb 0x1400c8f2b
mov rcx, qword [rdi + 0xa0]
add rcx, r15
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov qword [rdi + 0xb0], r15
mov rcx, rsi
call qword [sym.imp.secur32.dll_FreeContextBuffer]
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1400c8cc2
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1400c8cb3
mov r8, qword [rax - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
je 0x1400c8cde
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
jmp 0x1400c8dc2
cmp rdx, rsi
jne 0x1400c8cf4
xor eax, eax
cmp r13, rsi
sete al
jmp 0x1400c8d03
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x90], r14
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test rcx, rcx
lea r13, [rbp + 0xb0]
je 0x1400c8d82
mov esi, dword [rbp + 0x38]
test rsi, rsi
mov r14, qword [rbp + 0x80]
lea rax, [0x1403c0b88]
cmove r14, rax
mov rax, qword [rdi + 0xa8]
mov r15, qword [rdi + 0xb0]
sub rax, r15
cmp rax, rsi
jb 0x1400c9176
mov rcx, qword [rdi + 0xa0]
add rcx, r15
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov qword [rdi + 0xb0], r15
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r15, qword [rdi + 0x98]
test r15, r15
je 0x1400c8dd7
lea rcx, [rbp + 0x60]
mov rdx, rdi
call fcn.1401b6e90
cmp byte [rbp + 0x60], 0
je 0x1400c8dd7
mov rsi, qword [rbp + 0x68]
test rbx, rbx
jne 0x1400c89a3
cmp qword [rbp + 0x98], 0
je 0x1400c8dc2
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
test rsi, rsi
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
je 0x1400c83d3
jmp 0x1400c91fa
cmp byte [rdi + 0x40], 0
jne 0x1400c8c9d
mov byte [rdi + 0x42], 0
jmp 0x1400c8c9d
mov r15, qword [rdi]
test r15, r15
je 0x1400c8df6
mov r15, 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 + 0x90], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0x98], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xc0], 3
lea rax, [rbp + 0x90]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x60], 0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400c935f
mov rdx, qword [rbp + 0x60]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rbp + 0xa8], rdx
je 0x1400c905c
cmp dword [rdx + 0xc], 0
je 0x1400c905c
mov qword [rbp + 8], rbx
mov rax, qword [rdx + 0x10]
mov rbx, qword [rax]
mov rcx, rdx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, qword [rbp + 0xa8]
mov r14, rax
cmp dword [rcx + 0xc], 2
jb 0x1400c8f49
mov r15d, 1
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop word cs:[rax + rax]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + r15*8]
call r13
mov rsi, rax
mov rcx, r14
call r12
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + 0xc]
inc r15
mov r14, rsi
cmp r15, rax
jb 0x1400c8f00
jmp 0x1400c8f53
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, r14
call fcn.1402eac30
mov r15, qword [rdi + 0xb0]
jmp 0x1400c8c6e
mov rsi, r14
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp - 0x10], rbx
call r13
mov qword [rbp + 0x10], rax
mov rcx, rsi
call r12
xor r14d, r14d
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, qword [rbp + 8]
jmp 0x1400c8f8b
mov r14, qword [rbp - 0x18]
inc r14
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp r14, rax
jae 0x1400c9047
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c9047
mov qword [rbp - 0x18], r14
mov rax, qword [rax + r14*8]
mov rcx, qword [rax + 8]
call r13
mov rsi, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c8f74
mov r12, rax
mov rcx, rax
call r13
mov r14, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [rsi + 0x10]
jne 0x1400c901d
mov rcx, qword [r12 + 8]
mov rdx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r15d, eax
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
je 0x1400c9028
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400c8fd0
jmp 0x1400c8f74
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1400c9006
mov rcx, r14
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov esi, 0xf10
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x10]
call r12
lea r13, [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
lea rax, [rbp + 0x68]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x60], rax
mov rax, qword [rdi + 0xd0]
test rax, rax
je 0x1400c908a
cmp byte [rdi + 0x121], 0
jne 0x1400c908a
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x48], 0x10
mov dword [rbp + 0x4c], esi
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0xa0], 0
mov dword [rbp + 0x90], 0x18
mov ecx, 4
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400c9371
mov r14d, dword [rbp + 0x94]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1400c9136
mov r8, qword [rdi + 0xf0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], r14d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xbc], rax
mov rdx, r13
call qword [r8 + 0x28]
test rax, rax
je 0x1400c9149
jmp 0x1400c9390
test r14d, r14d
mov rcx, qword [rbp + 0xa8]
jne 0x1400c9380
call r12
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x40], 0
movzx ebx, byte [rbp + 0xf7]
movzx ecx, byte [rbp + 0xe0]
jne 0x1400c84ee
mov rax, qword [rbp + 0x30]
mov byte [rax], 1
jmp 0x1400c84ee
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, rsi
call fcn.1402eac30
mov r15, qword [rdi + 0xb0]
jmp 0x1400c8d4f
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 0x1400c91ef
mov rcx, qword [rbp + 0x30]
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 0x1400c91ae
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x1400c91ae
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rsi
jmp 0x1400c91a9
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
je 0x1400c9223
mov rdi, qword [rbp + 0xe8]
jmp 0x1400c9243
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x1400c946d
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c946d
mov rsi, rax
movups xmm0, xmmword [0x14032a74f]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1400c929e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c947e
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c947e
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], 0x1f
mov qword [rax + 0x10], 0x1f
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1400c92f7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c948f
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c948f
mov qword [rax], rbx
lea rcx, fcn.14000e710
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1400c91a5
call sub.kernel32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r12
call rsi
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400c9393
mov rdi, qword [rbp + 0xe8]
jmp 0x1400c93a6
call sub.kernel32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x1400c9393
call sub.kernel32.dll_GetLastError
mov r14d, eax
mov rcx, qword [rbp + 0xa8]
shl r14, 0x20
or r14, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400c9393
mov r14, rax
mov rdi, qword [rbp + 0xe8]
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rbx, r14
mov qword [rdi + 8], rbx
jmp 0x1400c91a9
shl rax, 0x20
or rax, 2
jmp 0x1400c919e
lea r8, [0x14032a7c8]
jmp 0x1400c93d5
lea r8, [0x14032a7b0]
jmp 0x1400c93d5
lea r8, [0x14032a7e0]
mov ecx, 1
mov rdx, r13
call fcn.1402ea300
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140327188]
mov edx, 0x29
call fcn.1402ea480
ud2
lea r8, [0x14032a8c8]
mov rcx, rsi
call fcn.1402ea380
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1402e6e10
ud2
lea r8, [0x14032a798]
mov rcx, rsi
call fcn.1402ea400
ud2
lea rcx, [0x14032a75f]
lea r8, [0x14032a780]
mov edx, 0x1f
call fcn.1402ea480
ud2
lea r8, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
mov rcx, r14
call fcn.1402ea400
ud2
lea r8, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1402ea400
ud2
mov ecx, 1
mov edx, 0x1f
call fcn.1402e6e10
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1402e6e10
ud2
mov qword [rbp + 0x58], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1402e6e10
ud2