Function at 0x1400c8040
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 rdi, rdx
mov r12, rcx
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x128], rax
lea r10, [rdx + 0x10]
lea rax, [rdx + 0x1f0]
mov qword [rsp + 0x110], rax
lea r13, [rdx + 0x18]
xorps xmm6, xmm6
mov qword [rsp + 0x118], r10
mov qword [rsp + 0x68], r13
movzx eax, byte [rdi + 0x1d0]
test rax, rax
jne 0x1400c9032
movzx r14d, byte [rdi + 0x1d1]
movzx ebx, byte [rdi + 0x1d2]
movzx r15d, byte [rdi + 0x1d3]
movzx ebp, byte [rdi + 0x1d4]
mov rdx, qword [rdi + 0x190]
mov rsi, qword [rdi + 0x198]
cmp rsi, rdx
jne 0x1400c8130
test r14b, r14b
je 0x1400c811a
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1400c91c7
cmp dword [r10], 2
je 0x1400c810d
mov rcx, r10
call fcn.14009e760
test rax, rax
jne 0x1400c9071
test rdx, rdx
jne 0x1400c907b
cmp byte [rdi + 0x1d0], 0
je 0x1400c8211
or bpl, r15b
jne 0x1400c822a
jmp 0x1400c821d
mov byte [rsp + 0xa0], bl
mov ebx, r15d
xor r15d, r15d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400c91df
mov r8, qword [rdi + 0x138]
test r8, r8
je 0x1400c91c7
mov r9, qword [rdi + 0x188]
add r9, rsi
cmp dword [r10], 2
jne 0x1400c8190
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rdx, r13
call case.0x1400dad18.230
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
jne 0x1400c81b1
jmp 0x1400c8ffe
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rdx, r10
call fcn.14009f7a0
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
je 0x1400c8ffe
mov rax, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400c9008
add r15, rax
add rsi, rax
mov qword [rdi + 0x198], rsi
mov rdx, qword [rdi + 0x190]
cmp rsi, rdx
mov r10, qword [rsp + 0x118]
jne 0x1400c8140
test r15, r15
mov r15d, ebx
movzx ebx, byte [rsp + 0xa0]
je 0x1400c80d8
cmp byte [rdi + 0x1d0], 0
jne 0x1400c80dd
mov byte [rdi + 0x1d1], 1
jmp 0x1400c80dd
mov byte [rdi + 0x1d1], 0
or bpl, r15b
jne 0x1400c822a
cmp byte [rdi + 0x222], 0
je 0x1400c87b2
test bl, bl
je 0x1400c8ab7
cmp qword [rdi + 0x210], 0
je 0x1400c8263
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1400c9240
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x1400c9008
test rax, rax
je 0x1400c905b
mov rsi, qword [rdi + 0x178]
movzx eax, byte [0x14016b2a0]
mov rax, qword [0x14016b208]
test rax, rax
jne 0x1400c8293
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c91ee
mov qword [0x14016b208], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400c91ee
mov rdx, qword [rdi + 0x170]
cmp rsi, rdx
ja 0x1400c91fd
mov r13, rax
mov rax, qword [rdi + 0x168]
mov dword [r13], esi
mov dword [r13 + 4], 2
mov qword [r13 + 8], rax
movups xmmword [r13 + 0x10], xmm6
mov qword [rsp + 0xb0], 2
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x1400c8320
mov qword [rsp + 0xd0], 0
jmp 0x1400c83b0
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xd0]
call fcn.1400d1ef0
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x1400c83b0
mov rsi, qword [rsp + 0xe0]
mov r14d, dword [rsp + 0xd8]
mov edx, 2
lea rcx, [rsp + 0xb0]
call fcn.14008ac10
mov r13, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc0]
mov rax, rbp
shl rax, 4
mov dword [r13 + rax], r14d
mov dword [r13 + rax + 4], 0x12
mov qword [r13 + rax + 8], rsi
inc rbp
mov qword [rsp + 0xc0], rbp
jmp 0x1400c83b7
mov ebp, 2
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], ebp
mov qword [rsp + 0x138], r13
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 + 0x160], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0xcc], 0
cmp byte [rdi + 0x222], 0
je 0x1400c85a0
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0x110]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x160]
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 + 0x130]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400c84d1
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400c84e4
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x1400c8668
test esi, esi
je 0x1400c869c
cmp esi, 0x90312
jne 0x1400c9082
mov byte [rdi + 0x223], 0
cmp rbp, 1
jbe 0x1400c918b
cmp dword [r13 + 0x14], 5
jne 0x1400c874e
mov rbp, qword [rdi + 0x178]
mov eax, dword [r13 + 0x10]
mov rsi, rbp
sub rsi, rax
jb 0x1400c920c
mov r15, r12
mov r12d, dword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
test eax, eax
je 0x1400c87e4
mov rdx, qword [rdi + 0x170]
mov r14, rdx
sub r14, rsi
jb 0x1400c9224
mov qword [rdi + 0x170], 0
test rsi, rsi
je 0x1400c88d6
cmp rdx, rsi
je 0x1400c88e2
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400c88db
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x1400c85b6
mov r8, qword [rdi + 0x1a8]
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x130]
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 + 0x110]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1400c84cb
jmp 0x1400c84d1
cmp rbp, 1
jbe 0x1400c919f
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x1400c8682
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0x210], rax
mov r13, qword [rsp + 0x68]
test rbx, rbx
jne 0x1400c8a67
jmp 0x1400c8a88
cmp rbp, 1
jbe 0x1400c91b3
cmp dword [r13 + 0x14], 5
mov qword [rsp + 0xa8], r12
jne 0x1400c876f
mov rbp, qword [rsp + 0x78]
test rbp, rbp
mov rax, qword [rsp + 0x108]
je 0x1400c86d9
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xc8], eax
mov rax, rbp
mov r15, qword [rdi + 0x178]
mov r12d, dword [r13 + 0x10]
mov rsi, r15
sub rsi, r12
cmp r15, rsi
jb 0x1400c920c
mov r13, qword [rsp + 0x68]
mov qword [rsp + 0x108], rax
je 0x1400c896a
mov rdx, qword [rdi + 0x170]
mov r14, rdx
sub r14, rsi
jb 0x1400c9224
mov qword [rdi + 0x170], 0
test rsi, rsi
je 0x1400c8961
cmp rdx, rsi
je 0x1400c896a
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400c8a01
mov r15, r12
mov rbp, qword [rdi + 0x178]
mov r12d, dword [rsp + 0x70]
mov eax, 1
mov r13, qword [rsp + 0x78]
mov rsi, rbp
jmp 0x1400c88e4
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400c878c
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0xc8], ecx
mov qword [rsp + 0x108], rax
mov qword [rdi + 0x178], 0
mov qword [rdi + 0x210], 1
mov r13, qword [rsp + 0x68]
jne 0x1400c8989
jmp 0x1400c8a4a
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x110]
mov edx, 0x53
lea r8, [rsp + 0x70]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x1400c87ee
test bl, bl
jne 0x1400c8232
jmp 0x1400c9127
mov eax, 1
jmp 0x1400c88e4
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
mov qword [rsp + 0xa0], rsi
je 0x1400c8b53
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r13, rax
cmp qword [rdi], 0
je 0x1400c8b94
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c8b7f
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov qword [rsp + 0x70], 0
mov rcx, r13
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x70]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400c908c
mov ebp, r15d
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
mov r15, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r15
mov rcx, rsi
call r15
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
mov r15d, ebp
je 0x1400c8b7f
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov qword [rsp + 0x70], 0
mov rcx, r13
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x70]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x1400c8870
jmp 0x1400c908c
cmp rdx, rsi
je 0x1400c88e2
mov qword [rdi + 0x170], r14
xor eax, eax
sub rbp, rsi
mov qword [rdi + 0x178], rbp
mov qword [rdi + 0x210], rax
test r12d, r12d
mov esi, r12d
mov r14, r13
lea rax, [0x14015dbe8]
cmove r14, rax
mov rax, qword [rdi + 0x180]
mov rbp, qword [rdi + 0x190]
sub rax, rbp
cmp rax, rsi
jb 0x1400c8b61
mov r12, r15
mov rcx, qword [rdi + 0x188]
add rcx, rbp
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rbp, rsi
mov qword [rdi + 0x190], rbp
mov rcx, r13
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r13, qword [rsp + 0x68]
test rbx, rbx
jne 0x1400c8a67
jmp 0x1400c8a88
cmp rdx, rsi
jne 0x1400c8a01
xor eax, eax
cmp r15, rsi
sete al
mov qword [rdi + 0x178], r12
mov qword [rdi + 0x210], rax
test rbp, rbp
je 0x1400c8a27
mov eax, dword [rsp + 0xc8]
test eax, eax
mov esi, eax
mov r14, qword [rsp + 0x108]
lea rax, [0x14015dbe8]
cmove r14, rax
mov rax, qword [rdi + 0x180]
mov r13, qword [rdi + 0x190]
sub rax, r13
cmp rax, rsi
jb 0x1400c8d04
mov rcx, qword [rdi + 0x188]
add rcx, r13
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r13, rsi
mov qword [rdi + 0x190], r13
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r12, qword [rdi + 0x178]
mov r13, qword [rsp + 0x68]
test r12, r12
jne 0x1400c8a2c
jmp 0x1400c8a4a
xor eax, eax
cmp r15, rsi
sete al
mov qword [rdi + 0x170], r14
mov qword [rdi + 0x178], r12
mov qword [rdi + 0x210], rax
test rbp, rbp
jne 0x1400c8989
test r12, r12
je 0x1400c8a4a
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.1400c9460
cmp byte [rsp + 0xf0], 0
jne 0x1400c90c5
cmp byte [rdi + 0x1d0], 0
jne 0x1400c8a5a
mov byte [rdi + 0x1d2], 0
mov r12, qword [rsp + 0xa8]
test rbx, rbx
je 0x1400c8a88
mov r8, qword [rsp + 0xe0]
cmp rbx, 0x11
jb 0x1400c8a79
mov r8, qword [r8 - 8]
mov rcx, qword [0x14016b208]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xb0], 0
je 0x1400c8aaa
mov r8, qword [rsp + 0xb8]
mov rcx, qword [0x14016b208]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r10, qword [rsp + 0x118]
jmp 0x1400c8097
mov al, 2
test r15b, r15b
jne 0x1400c8b15
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x110]
mov edx, 4
lea r8, [rsp + 0x70]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1400c917e
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x7c]
mov qword [rsp + 0x148], rax
mov al, 1
mov byte [rdi + 0x1d0], al
mov eax, dword [rsp + 0x124]
mov dword [rdi + 0x1d4], eax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0x1d8], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x1e0], rax
mov r10, qword [rsp + 0x118]
jmp 0x1400c8097
mov r13, qword [rdi]
test r13, r13
je 0x1400c8b9f
mov r13, qword [rdi + 8]
jmp 0x1400c8b9f
lea rcx, [rdi + 0x180]
mov rdx, rbp
mov r8, rsi
call fcn.1400feee0
mov rbp, qword [rdi + 0x190]
jmp 0x1400c8923
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rsi, qword [rsp + 0xa0]
jmp 0x1400c8b9f
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
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 + 0xd0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xd8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rsi
xor r8d, r8d
mov r9, r13
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400c9133
mov r14, qword [rsp + 0xb0]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x1400c8cfa
cmp dword [r14 + 0xc], 0
mov r13, qword [rsp + 0x68]
je 0x1400c8ea4
mov byte [rsp + 0x67], r15b
mov qword [rsp + 0xa8], r12
mov rax, qword [r14 + 0x10]
mov r15, qword [rax]
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, r14
mov r14, rax
mov qword [rsp + 0x100], rcx
cmp dword [rcx + 0xc], 2
jb 0x1400c8d22
mov r12d, 1
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rbp, qword [rsp + 0x100]
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov r15, qword [rax + r12*8]
mov rcx, rbp
call r13
mov rsi, rax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [rbp + 0xc]
inc r12
mov r14, rsi
cmp r12, rax
jb 0x1400c8cd0
jmp 0x1400c8d34
mov r13, qword [rsp + 0x68]
jmp 0x1400c8ea4
lea rcx, [rdi + 0x180]
mov rdx, r13
mov r8, rsi
call fcn.1400feee0
mov r13, qword [rdi + 0x190]
jmp 0x1400c89c1
mov rsi, r14
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rbp, qword [rsp + 0x100]
mov rcx, rbp
call r13
mov qword [rsp + 0x140], rax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
xor ecx, ecx
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
mov r14, rbp
jmp 0x1400c8d7e
mov rsi, qword [rsp + 0x158]
inc rsi
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, rsi
mov r14, qword [rsp + 0x100]
mov eax, dword [r15 + 0xc]
mov esi, 0xf00
cmp rcx, rax
jae 0x1400c8e90
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x1400c8e90
mov qword [rsp + 0x158], rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbp, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c8d5f
mov r14, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1400c8e09
mov rdx, qword [rbp + 8]
mov rcx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcmp
mov dword [rsp + 0x120], eax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x120], 0
jne 0x1400c8e20
jmp 0x1400c8e72
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
nop word cs:[rax + rax]
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c8d5f
mov r14, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1400c8e09
mov rdx, qword [rbp + 8]
mov rcx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r13d, eax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r13d, r13d
mov r13, qword [rsp + 0x68]
jne 0x1400c8e20
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, rbp
call rsi
mov esi, 0xf10
mov r14, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx r15d, byte [rsp + 0x67]
lea rax, [rsp + 0xb8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xb0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x1400c8eec
cmp byte [rdi + 0x221], 0
jne 0x1400c8eec
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xf0], 0x10
mov dword [rsp + 0xf4], esi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xf8], rax
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0xd0], 0x18
mov ecx, 4
mov rdx, r14
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xd0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400c9145
mov ebp, dword [rsp + 0xd4]
mov rax, qword [rdi + 0x200]
test rax, rax
mov rsi, qword [rsp + 0xa0]
je 0x1400c8fc7
mov r8, qword [rdi + 0x208]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], ebp
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
jne 0x1400c9168
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
jne 0x1400c822a
jmp 0x1400c8fee
test ebp, ebp
jne 0x1400c9155
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
jne 0x1400c822a
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400c822a
movabs rax, 0xd00000003
mov qword [r12 + 8], rax
mov eax, 2
mov dword [r12], 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
cmp eax, 1
jne 0x1400c9057
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov dword [r12 + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [r12 + 4], xmm0
mov eax, 1
jmp 0x1400c9012
xor eax, eax
jmp 0x1400c9012
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.14009ec20
jmp 0x1400c9008
movabs rdx, 0xd00000003
mov qword [r12 + 8], rdx
jmp 0x1400c900d
shl rsi, 0x20
or rsi, 2
jmp 0x1400c90d5
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r14
call rsi
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rsi, qword [rsp + 0xa0]
jmp 0x1400c916b
mov rsi, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xa8]
test rbx, rbx
je 0x1400c90fb
mov r8, qword [rsp + 0xe0]
cmp rbx, 0x11
jb 0x1400c90ec
mov r8, qword [r8 - 8]
mov rcx, qword [0x14016b208]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xb0], 0
je 0x1400c911d
mov r8, qword [rsp + 0xb8]
mov rcx, qword [0x14016b208]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [r12 + 8], rsi
jmp 0x1400c900d
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400c9174
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400c916b
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebp, eax
mov rsi, qword [rsp + 0xa0]
shl rbp, 0x20
or rbp, 2
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400c916b
mov rbp, rax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [r12 + 8], rbp
jmp 0x1400c900d
shl rax, 0x20
or rax, 2
jmp 0x1400c9008
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.1400fa050
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.1400fa050
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.1400fa050
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14012ea80]
mov edx, 0x29
call fcn.1400fa150
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.1400f9fd0
mov ecx, 8
mov edx, 0x20
call fcn.1400f9ca0
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.1400fa0d0
lea rcx, [0x140132b97]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.1400fa150
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1400fa0d0
int3