Function at 0x1400c46a0
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 + 0xe0], rcx
lea rax, [rdx + 0x104]
mov qword [rbp + 0x28], rax
lea rax, [rdx + 0xd8]
mov qword [rbp - 0x20], rax
lea rax, [rdx + 0x60]
mov qword [rbp + 0x58], rax
lea r13, [rbp + 0xb0]
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x100]
test rax, rax
jne 0x1400c5644
movzx r15d, byte [rdi + 0x101]
movzx ebx, byte [rdi + 0x102]
movzx r12d, byte [rdi + 0x103]
movzx r14d, byte [rdi + 0x104]
mov rsi, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x58]
cmp rsi, rdx
jne 0x1400c4770
test r15b, r15b
je 0x1400c475b
cmp qword [rdi + 0xf8], 0
je 0x1400c586b
cmp byte [rdi + 0x100], 0
je 0x1400c4814
or r14b, r12b
jne 0x1400c482d
jmp 0x1400c4820
mov byte [rbp + 0xe8], bl
mov ebx, r12d
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400c5885
mov r8, qword [rdi + 0xf8]
test r8, r8
je 0x1400c586b
mov r9, qword [rdi + 0x50]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rbp - 0x20]
call fcn.1400f4f00
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x1400c560d
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1400c5617
add r12, rax
add rsi, rax
mov qword [rdi + 0x40], rsi
mov rdx, qword [rdi + 0x58]
cmp rsi, rdx
jne 0x1400c4780
test r12, r12
mov r12d, ebx
movzx ebx, byte [rbp + 0xe8]
je 0x1400c473b
cmp byte [rdi + 0x100], 0
jne 0x1400c4740
mov byte [rdi + 0x101], 1
jmp 0x1400c4740
mov byte [rdi + 0x101], 0
or r14b, r12b
jne 0x1400c482d
cmp byte [rdi + 0x11a], 0
je 0x1400c4cea
test bl, bl
je 0x1400c4eb0
cmp qword [rdi + 0xa8], 0
je 0x1400c4868
mov rcx, r13
mov rdx, rdi
call fcn.1400c5980
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x1400c5617
test rax, rax
je 0x1400c5680
mov rsi, qword [rdi + 0x20]
mov rax, qword [0x14017e260]
test rax, rax
jne 0x1400c488e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c5896
mov qword [0x14017e260], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c5896
mov rdx, qword [rdi + 0x38]
cmp rsi, rdx
ja 0x1400c58a7
mov r12, rax
mov rax, qword [rdi + 0x30]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rbp + 0x88], 2
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 2
mov rdx, qword [rdi + 0xc0]
test rdx, rdx
je 0x1400c4960
mov r8, qword [rdi + 0xc8]
lea rcx, [rbp + 0x60]
call fcn.1400dcef0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x1400c4968
mov rsi, qword [rbp + 0x70]
mov r14d, dword [rbp + 0x60]
lea rcx, [rbp + 0x88]
call fcn.1400c13f0
mov r12, qword [rbp + 0x90]
mov r13, qword [rbp + 0x98]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], r14d
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], rsi
inc r13
mov qword [rbp + 0x98], r13
jmp 0x1400c4970
mov qword [rbp + 0x68], 0
mov r13d, 2
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 + 0x84], 0
cmp byte [rdi + 0x11a], 0
je 0x1400c4b30
cmp byte [rdi + 0x11b], 0
mov edx, 0
mov rcx, qword [rbp + 0x58]
cmove rdx, rcx
mov rax, qword [rdi + 0xd0]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xa0], xmm0
lea rax, [rbp + 0x84]
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 + 0xa0]
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 0x1400c4a6a
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1400c4a7c
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x1400c4c7a
test esi, esi
je 0x1400c4bd7
cmp esi, 0x90312
jne 0x1400c4ca2
mov byte [rdi + 0x11b], 0
cmp r13, 1
jbe 0x1400c5843
cmp dword [r12 + 0x14], 5
jne 0x1400c4dc0
mov rsi, qword [rdi + 0x20]
mov eax, dword [r12 + 0x10]
mov r14, rsi
sub r14, rax
jb 0x1400c58b8
mov ecx, dword [rbp + 0xb0]
mov r15, qword [rbp + 0xb8]
test eax, eax
je 0x1400c4ea6
mov rdx, qword [rdi + 0x38]
mov r13, rdx
sub r13, r14
jb 0x1400c58d2
mov qword [rdi + 0x38], 0
test r14, r14
je 0x1400c4f2d
cmp rdx, r14
je 0x1400c4f3d
mov dword [rbp + 0xe8], ecx
mov rcx, qword [rdi + 0x30]
lea rdx, [rcx + r14]
mov r8, r13
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [rbp + 0xe8]
jmp 0x1400c4f39
cmp byte [rdi + 0x118], 0
mov rax, qword [rdi + 0x98]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0xd0]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xa0], xmm0
lea rax, [rbp + 0x84]
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 + 0xa0]
mov rdx, qword [rbp + 0x58]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x1400c4a64
jmp 0x1400c4a6a
cmp r13, 1
jbe 0x1400c5855
cmp dword [r12 + 0x14], 5
jne 0x1400c4d87
mov r15, qword [rdi + 0x20]
mov r13d, dword [r12 + 0x10]
mov rsi, r15
sub rsi, r13
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
mov rax, qword [rbp + 0x40]
je 0x1400c4c1a
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
mov rax, rcx
cmp r15, rsi
jb 0x1400c58b8
mov qword [rbp + 0x40], rax
je 0x1400c4f90
mov rdx, qword [rdi + 0x38]
mov r14, rdx
sub r14, rsi
jb 0x1400c58e3
mov qword [rdi + 0x38], 0
test rsi, rsi
je 0x1400c4f8b
cmp rdx, rsi
je 0x1400c4f90
mov qword [rbp + 0xe8], rcx
mov rcx, qword [rdi + 0x30]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe8]
jmp 0x1400c4ff0
cmp r13, 1
jbe 0x1400c584c
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400c4c96
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xa8], rax
jmp 0x1400c5080
shl rsi, 0x20
or rsi, 2
test rbx, rbx
lea r13, [rbp + 0xb0]
je 0x1400c5040
mov r8, qword [rbp + 0x70]
cmp rbx, 0x11
jb 0x1400c4cc8
mov r8, qword [r8 - 8]
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
jne 0x1400c504a
jmp 0x1400c505c
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 0x53
mov r8, r13
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov r15, rax
shl r15, 0x20
or r15, 2
test eax, eax
jne 0x1400c4d1d
mov r15, qword [rbp + 0xb0]
je 0x1400c4dde
test bl, bl
je 0x1400c57db
mov eax, r15d
and eax, 3
cmp eax, 1
jne 0x1400c4835
lea rsi, [r15 - 1]
mov rcx, qword [r15 - 1]
mov rax, qword [r15 + 7]
call qword [rax]
mov rax, qword [r15 + 7]
cmp qword [rax + 8], 0
je 0x1400c4d70
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x1400c4d61
mov r8, qword [r8 - 8]
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400c4835
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x1400c4da2
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x40], rax
mov qword [rdi + 0x20], 0
mov qword [rdi + 0xa8], 1
jne 0x1400c4fa8
jmp 0x1400c506a
mov rsi, qword [rdi + 0x20]
mov ecx, dword [rbp + 0xb0]
mov eax, 1
mov r15, qword [rbp + 0xb8]
mov r14, rsi
jmp 0x1400c4f3f
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x1400c50d5
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov qword [rbp + 0xe8], rax
cmp qword [rdi + 0x80], 0
je 0x1400c4e8b
mov rcx, qword [rdi + 0x88]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c4e8b
nop word [rax + rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r13, rax
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0xe8]
mov rdx, rsi
mov r8d, 3
lea r9, [rbp + 0xb0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400c57a8
mov rcx, qword [rbp + 0xb0]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov rcx, qword [rdi + 0x88]
mov rdx, r13
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400c4e20
mov rcx, qword [rbp + 0xe8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
lea r13, [rbp + 0xb0]
jmp 0x1400c50f6
mov eax, 1
jmp 0x1400c4f3f
mov al, 2
test r12b, r12b
jne 0x1400c4f03
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 4
mov r8, r13
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1400c5836
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x38], 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 + 0x100], al
mov eax, dword [rbp + 0x38]
mov dword [rdi + 0x104], eax
mov rax, qword [rbp - 8]
mov qword [rdi + 0x108], rax
mov rax, qword [rbp]
mov qword [rdi + 0x110], rax
jmp 0x1400c46ff
cmp rdx, r14
jne 0x1400c4f39
xor eax, eax
xor r14d, r14d
jmp 0x1400c4f3f
mov qword [rdi + 0x38], r13
xor eax, eax
sub rsi, r14
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0xa8], rax
mov r14d, ecx
mov rax, qword [rdi + 0x48]
mov r13, qword [rdi + 0x58]
sub rax, r13
cmp rax, r14
jb 0x1400c5281
mov rcx, qword [rdi + 0x50]
add rcx, r13
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
add r13, r14
mov qword [rdi + 0x58], r13
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x1400c5080
cmp rdx, rsi
jne 0x1400c4ff0
xor eax, eax
cmp r15, rsi
sete al
mov qword [rdi + 0x20], r13
mov qword [rdi + 0xa8], rax
test rcx, rcx
je 0x1400c500c
mov esi, dword [rbp + 0x30]
mov rax, qword [rdi + 0x48]
mov r14, qword [rdi + 0x58]
sub rax, r14
cmp rax, rsi
jb 0x1400c5523
mov rcx, qword [rdi + 0x50]
add rcx, r14
mov r15, qword [rbp + 0x40]
mov rdx, r15
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r14, rsi
mov qword [rdi + 0x58], r14
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r13, qword [rdi + 0x20]
test r13, r13
jne 0x1400c5011
jmp 0x1400c506a
xor eax, eax
cmp r15, rsi
sete al
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x20], r13
mov qword [rdi + 0xa8], rax
test rcx, rcx
jne 0x1400c4fa8
test r13, r13
je 0x1400c506a
lea rcx, [rbp + 0xa0]
mov rdx, rdi
call fcn.1400c5b90
cmp byte [rbp + 0xa0], 0
je 0x1400c506a
mov rsi, qword [rbp + 0xa8]
test rbx, rbx
lea r13, [rbp + 0xb0]
jne 0x1400c4cba
cmp qword [rbp + 0x88], 0
je 0x1400c505c
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
test rsi, rsi
je 0x1400c46ff
jmp 0x1400c5673
cmp byte [rdi + 0x100], 0
jne 0x1400c5080
mov byte [rdi + 0x102], 0
nop word [rax + rax]
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1400c50a9
mov r8, qword [rbp + 0x70]
cmp rbx, 0x11
jb 0x1400c509a
mov r8, qword [r8 - 8]
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x1400c50c5
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
test rsi, rsi
je 0x1400c46ff
jmp 0x1400c5673
mov rax, qword [rdi + 0x80]
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1400c50f6
mov rax, qword [rdi + 0x88]
mov qword [rbp + 0xe8], rax
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xc0], 0
mov dword [rbp + 0xb0], 0x20
mov dword [rbp + 0xb8], 1
lea rax, [0x14017e148]
mov qword [rbp + 0x48], rax
mov rax, qword [0x14017e160]
cmp rax, 3
jne 0x1400c553b
mov rsi, qword [0x14017e150]
lea rax, [0x14017e168]
mov qword [rbp + 0x48], rax
mov rax, qword [0x14017e180]
cmp rax, 3
jne 0x1400c5581
mov r14, qword [0x14017e170]
lea rax, [0x14017e188]
mov qword [rbp + 0x48], rax
mov rax, qword [0x14017e1a0]
cmp rax, 3
jne 0x1400c55c7
mov rax, qword [0x14017e190]
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], rax
mov dword [rbp + 0xc0], 3
lea rax, [rbp + 0x60]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x88], 0
lea rax, [rbp + 0x88]
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, r15
xor r8d, r8d
mov r9, qword [rbp + 0xe8]
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400c57e4
mov rdx, qword [rbp + 0x88]
mov esi, 0xf00
cmp qword [rdi + 0x80], 0
mov qword [rbp + 0xe8], rdx
je 0x1400c53fa
cmp dword [rdx + 0xc], 0
je 0x1400c53fa
mov qword [rbp + 8], r15
mov byte [rbp + 0xf7], r12b
mov rax, qword [rdx + 0x10]
mov r15, qword [rax]
mov rcx, rdx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, qword [rbp + 0xe8]
mov r14, rax
cmp dword [rcx + 0xc], 2
jb 0x1400c5299
mov r12d, 1
nop dword [rax]
mov rax, qword [rcx + 0x10]
mov r15, qword [rax + r12*8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rsi, rax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0xe8]
mov eax, dword [rcx + 0xc]
inc r12
mov r14, rsi
cmp r12, rax
jb 0x1400c5250
jmp 0x1400c529c
lea rcx, [rdi + 0x48]
mov rdx, r13
mov r8, r14
call fcn.14010fe50
mov r13, qword [rdi + 0x58]
jmp 0x1400c4f64
mov rsi, r14
mov qword [rbp - 0x10], r15
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp + 0x10], rax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
xor r14d, r14d
mov r15, qword [rbp + 8]
jmp 0x1400c52cc
mov r14, qword [rbp - 0x18]
inc r14
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp r14, rax
movzx r12d, byte [rbp + 0xf7]
jae 0x1400c53e9
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c53e9
mov qword [rbp - 0x18], r14
mov rax, qword [rax + r14*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov rcx, qword [rdi + 0x88]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c52bc
mov r12, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [rsi + 0x10]
jne 0x1400c535b
mov rcx, qword [r12 + 8]
mov rdx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov dword [rbp + 0x3c], eax
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp dword [rbp + 0x3c], 0
jne 0x1400c5370
jmp 0x1400c53c9
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
nop word cs:[rax + rax]
mov rcx, qword [rdi + 0x88]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400c52bc
mov r12, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [rsi + 0x10]
jne 0x1400c535b
mov rcx, qword [r12 + 8]
mov rdx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r13d, eax
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r13d, r13d
lea r13, [rbp + 0xb0]
jne 0x1400c5370
mov rcx, r14
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov esi, 0xf10
movzx r12d, byte [rbp + 0xf7]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rdx, qword [rbp + 0xe8]
lea rax, [rbp + 0x90]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x88], rax
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x1400c5431
cmp byte [rdi + 0x119], 0
jne 0x1400c5431
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], 0x10
mov dword [rbp + 0xa4], esi
lea rax, [rbp + 0x88]
mov qword [rbp + 0xa8], rax
movaps xmmword [rbp + 0x60], xmm6
mov qword [rbp + 0x70], 0
mov dword [rbp + 0x60], 0x18
mov ecx, 4
lea r8, [rbp + 0xa0]
lea r9, [rbp + 0x60]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400c57f7
mov r14d, dword [rbp + 0x64]
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x1400c54eb
mov r8, qword [rdi + 0x78]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], r14d
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xbc], rax
mov rdx, r13
call qword [r8 + 0x28]
test rax, rax
jne 0x1400c5817
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x100], 0
jne 0x1400c482d
jmp 0x1400c5517
test r14d, r14d
mov rcx, qword [rbp + 0xe8]
jne 0x1400c5807
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x100], 0
jne 0x1400c482d
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
jmp 0x1400c482d
lea rcx, [rdi + 0x48]
mov rdx, r14
mov r8, rsi
call fcn.14010fe50
mov r14, qword [rdi + 0x58]
jmp 0x1400c4fbf
lea rax, [rbp + 0x48]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x88], rax
lea rax, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001flazy_static_1.4.0_srcinline_lazy.rs8
mov qword [rsp + 0x20], rax
lea rcx, [0x14017e160]
xor edx, edx
lea r8, [rbp + 0x88]
lea r9, [0x140149cc8]
call fcn.140112210
jmp 0x1400c5138
lea rax, [rbp + 0x48]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x88], rax
lea rax, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001flazy_static_1.4.0_srcinline_lazy.rs8
mov qword [rsp + 0x20], rax
lea rcx, [0x14017e180]
xor edx, edx
lea r8, [rbp + 0x88]
lea r9, [0x140149d40]
call fcn.140112210
jmp 0x1400c515b
lea rax, [rbp + 0x48]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x88], rax
lea rax, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001flazy_static_1.4.0_srcinline_lazy.rs8
mov qword [rsp + 0x20], rax
lea rcx, [0x14017e1a0]
xor edx, edx
lea r8, [rbp + 0x88]
lea r9, [0x140149cf0]
call fcn.140112210
jmp 0x1400c517e
movabs rax, 0xd00000003
mov rdi, qword [rbp + 0xe0]
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 0x1400c5668
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rbp + 0xe0]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x1400c5627
xor eax, eax
mov rdi, qword [rbp + 0xe0]
jmp 0x1400c5627
mov rdi, qword [rbp + 0xe0]
mov qword [rdi + 8], rsi
jmp 0x1400c5622
mov rcx, qword [0x14017e260]
test rcx, rcx
je 0x1400c5695
mov rdi, qword [rbp + 0xe0]
jmp 0x1400c56b5
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe0]
je 0x1400c58f4
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c58f4
mov rsi, rax
movups xmm0, xmmword [0x140145227]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x1400c5709
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c5905
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c5905
mov qword [rax], 0x1f
mov qword [rax + 8], rsi
mov qword [rax + 0x10], 0x1f
mov byte [rbp + 0xc0], 0x25
mov qword [rbp + 0xb0], rax
lea rax, fcn.1400f4630
mov qword [rbp + 0xb8], rax
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x1400c5774
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400c5916
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400c5916
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rax], xmm0
inc rax
jmp 0x1400c561e
call qword [sym.imp.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, r13
call rsi
mov rcx, qword [rbp + 0xe8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400c581a
mov rdi, qword [rbp + 0xe0]
jmp 0x1400c582d
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x1400c581a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14d, eax
mov rcx, qword [rbp + 0xe8]
shl r14, 0x20
or r14, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400c581a
mov r14, rax
mov rdi, qword [rbp + 0xe0]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r15, r14
mov qword [rdi + 8], r15
jmp 0x1400c5622
shl rax, 0x20
or rax, 2
jmp 0x1400c5617
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x1400c585c
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x1400c585c
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.14010b480
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140141118]
mov edx, 0x29
call fcn.14010b520
ud2
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14010b500
ud2
mov ecx, 0x20
mov edx, 8
call fcn.14010b0b0
ud2
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14010b510
ud2
lea rcx, [0x140145237]
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.14010b520
ud2
lea r8, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrary_alloc_src_vecmod.rs
mov rcx, r14
call fcn.14010b510
ud2
lea r8, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrary_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.14010b510
ud2
mov ecx, 0x1f
mov edx, 1
call fcn.14010b0b0
ud2
mov ecx, 0x18
mov edx, 8
call fcn.14010b0b0
ud2
mov ecx, 0x18
mov edx, 8
call fcn.14010b0b0
ud2