Function at 0x140219bd0
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 qword [rsp + 0x68], rcx
movabs r15, 0x8000000000000000
lea rax, [rdx + 0xd4]
mov qword [rsp + 0x130], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x158], rax
lea rax, [rdx + 0xf0]
mov qword [rsp + 0x100], rax
lea r13, [rsp + 0x70]
xorps xmm6, xmm6
movzx eax, byte [rdi + 0xd0]
test rax, rax
jne 0x14021a998
movzx r14d, byte [rdi + 0xd1]
movzx r12d, byte [rdi + 0xd2]
movzx ebx, byte [rdi + 0xd3]
movzx ebp, byte [rdi + 0xd4]
mov rdx, qword [rdi + 0x90]
mov rsi, qword [rdi + 0x98]
cmp rsi, rdx
jne 0x140219ca0
test r14b, r14b
je 0x140219c8d
cmp qword [rdi + 0x38], 0
je 0x14021ab22
cmp byte [rdi + 0xd0], 0
je 0x140219d4a
or bpl, bl
jne 0x140219d63
jmp 0x140219d56
xor r15d, r15d
nop word cs:[rax + rax]
mov rax, rdx
sub rax, rsi
jb 0x14021ab3a
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x14021ab22
mov r9, qword [rdi + 0x88]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rsp + 0x158]
call fcn.14027e930
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
je 0x14021a962
mov rax, qword [rsp + 0x78]
test rcx, rcx
jne 0x14021a96c
add r15, rax
add rsi, rax
mov qword [rdi + 0x98], rsi
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
jne 0x140219cb0
test r15, r15
movabs r15, 0x8000000000000000
je 0x140219c70
cmp byte [rdi + 0xd0], 0
jne 0x140219c75
mov byte [rdi + 0xd1], 1
jmp 0x140219c75
mov byte [rdi + 0xd1], 0
or bpl, bl
jne 0x140219d63
cmp byte [rdi + 0x122], 0
je 0x14021a289
test r12b, r12b
je 0x14021a52a
cmp qword [rdi + 0x110], 0
lea rcx, [rsp + 0x70]
je 0x140219d9d
mov rdx, rdi
call fcn.14021ab90
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x14021a96c
test rax, rax
je 0x14021a9c7
mov rsi, qword [rdi + 0x78]
movzx eax, byte [0x1403ac1f0]
mov rax, qword [0x1403ac160]
test rax, rax
jne 0x140219dc9
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14021ab49
mov qword [0x1403ac160], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14021ab49
mov rdx, qword [rdi + 0x70]
cmp rsi, rdx
ja 0x14021ab58
mov r12, rax
mov rax, qword [rdi + 0x68]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xe8], 2
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], 2
cmp qword [rdi + 0xb8], r15
jne 0x140219e50
mov qword [rsp + 0xb0], 0
jmp 0x140219ed0
mov rdx, qword [rdi + 0xc0]
mov r8, qword [rdi + 0xc8]
lea rcx, [rsp + 0xb0]
call fcn.14023bb70
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x140219ed0
mov rsi, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xe8]
call fcn.1402197c0
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
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 + 0xf8], r13
jmp 0x140219ed8
mov r13d, 2
xor ebx, ebx
mov dword [rsp + 0x138], 0
mov dword [rsp + 0x13c], r13d
mov qword [rsp + 0x140], 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 + 0x160], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0xac], 0
cmp byte [rdi + 0x122], 0
je 0x14021a0b0
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0x100]
cmove rdx, rcx
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0xac]
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 + 0xd0]
lea r8, [rsp + 0x138]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140219ff1
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14021a003
call sub.secur32.dll_FreeContextBuffer
cmp ebp, 0x80090318
je 0x14021a16d
test ebp, ebp
je 0x14021a19a
cmp ebp, 0x90312
jne 0x14021a9dd
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x14021aae6
cmp dword [r12 + 0x14], 5
jne 0x14021a22c
mov rbp, qword [rdi + 0x78]
mov eax, dword [r12 + 0x10]
mov rsi, rbp
sub rsi, rax
jb 0x14021ab67
mov r15d, dword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
test eax, eax
je 0x14021a2c4
mov rdx, qword [rdi + 0x70]
mov r14, rdx
sub r14, rsi
jb 0x14021ab7f
mov qword [rdi + 0x70], 0
test rsi, rsi
je 0x14021a375
cmp rdx, rsi
je 0x14021a384
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.msvcrt.dll_memmove
jmp 0x14021a380
cmp byte [rdi + 0x120], 0
mov r8d, 0
je 0x14021a0c6
mov r8, qword [rdi + 0xa8]
cmp qword [rdi + 0xa0], r15
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0xac]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x138]
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 + 0xd0]
mov rdx, qword [rsp + 0x100]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x140219fec
jmp 0x140219ff1
cmp r13, 1
jbe 0x14021aafa
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x14021a189
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x110], rax
lea r13, [rsp + 0x70]
jmp 0x14021a4e0
cmp r13, 1
jbe 0x14021ab0e
cmp dword [r12 + 0x14], 5
jne 0x14021a247
mov r15, qword [rsp + 0x78]
test r15, r15
je 0x14021a1cf
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x110], r15
mov r14, qword [rdi + 0x78]
mov eax, dword [r12 + 0x10]
mov rsi, r14
sub rsi, rax
cmp r14, rsi
jb 0x14021ab67
je 0x14021a402
mov rdx, qword [rdi + 0x70]
mov r13, rdx
sub r13, rsi
jb 0x14021ab7f
mov qword [rdi + 0x70], 0
test rsi, rsi
je 0x14021a3fd
cmp rdx, rsi
je 0x14021a402
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + rsi]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x14021a40c
mov rbp, qword [rdi + 0x78]
mov r15d, dword [rsp + 0x70]
mov eax, 1
mov r13, qword [rsp + 0x78]
mov rsi, rbp
jmp 0x14021a386
mov rax, qword [rsp + 0x78]
test rax, rax
lea r13, [rsp + 0x70]
je 0x14021a26b
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x110], rax
mov qword [rdi + 0x78], 0
mov qword [rdi + 0x110], 1
jne 0x14021a437
jmp 0x14021a4c6
mov byte [rsp + 0x67], bl
mov byte [rsp + 0x66], r12b
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x100]
mov edx, 0x53
mov r8, r13
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14021a2ce
cmp byte [rsp + 0x66], 0
jne 0x140219d6c
jmp 0x14021aa72
mov eax, 1
jmp 0x14021a386
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14021a5b0
call sub.crypt32.dll_CertDuplicateStore
mov r14, rax
cmp qword [rdi], 0
lea r13, [rsp + 0x70]
je 0x14021a366
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x14021a366
nop word cs:[rax + rax]
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, r13
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x14021a9e7
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 0x14021a310
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x14021a5c1
cmp rdx, rsi
jne 0x14021a380
xor eax, eax
xor esi, esi
jmp 0x14021a386
mov qword [rdi + 0x70], r14
xor eax, eax
sub rbp, rsi
mov qword [rdi + 0x78], rbp
mov qword [rdi + 0x110], rax
test r15d, r15d
mov esi, r15d
mov rbp, r13
lea rax, [0x1403911f0]
cmove rbp, rax
mov rax, qword [rdi + 0x80]
mov r14, qword [rdi + 0x90]
sub rax, r14
cmp rax, rsi
jb 0x14021a6ee
movabs r15, 0x8000000000000000
mov rcx, qword [rdi + 0x88]
add rcx, r14
mov rdx, rbp
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r14, rsi
mov qword [rdi + 0x90], r14
mov rcx, r13
call sub.secur32.dll_FreeContextBuffer
lea r13, [rsp + 0x70]
jmp 0x14021a4e0
cmp rdx, rsi
jne 0x14021a40c
xor eax, eax
sub r14, rsi
sete al
jmp 0x14021a418
xor eax, eax
sub r14, rsi
sete al
mov qword [rdi + 0x70], r13
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], rax
test r15, r15
movabs r15, 0x8000000000000000
lea r13, [rsp + 0x70]
je 0x14021a4a3
mov esi, dword [rsp + 0x128]
test rsi, rsi
mov r13, qword [rsp + 0x110]
lea rax, [0x1403911f0]
cmove r13, rax
mov rax, qword [rdi + 0x80]
mov rbp, qword [rdi + 0x90]
sub rax, rbp
cmp rax, rsi
jb 0x14021a70c
mov rcx, qword [rdi + 0x88]
add rcx, rbp
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [rdi + 0x90], rbp
mov rcx, qword [rsp + 0x110]
call sub.secur32.dll_FreeContextBuffer
mov r14, qword [rdi + 0x78]
lea r13, [rsp + 0x70]
test r14, r14
je 0x14021a4c6
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.14021ad70
cmp byte [rsp + 0xd0], 0
jne 0x14021aa1b
cmp byte [rdi + 0xd0], 0
jne 0x14021a4e0
mov byte [rdi + 0xd2], 0
nop word cs:[rax + rax]
test rbx, rbx
je 0x14021a505
mov r8, qword [rsp + 0xc0]
cmp rbx, 0x11
jb 0x14021a4f7
mov r8, qword [r8 - 8]
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
cmp qword [rsp + 0xe8], 0
je 0x140219c2f
mov rcx, qword [0x1403ac160]
xor edx, edx
mov r8, r12
call fcn.14029804c
jmp 0x140219c2f
mov al, 2
test bl, bl
lea r13, [rsp + 0x70]
jne 0x14021a57a
mov rcx, r13
mov rdx, qword [rsp + 0x100]
call fcn.14023c090
cmp dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x120], rax
jne 0x14021aad4
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x11c], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x150], rax
mov al, 1
mov byte [rdi + 0xd0], al
mov eax, dword [rsp + 0x11c]
mov dword [rdi + 0xd4], eax
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0xd8], rax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0xe0], rax
jmp 0x140219c2f
mov r14, qword [rdi]
test r14, r14
lea r13, [rsp + 0x70]
je 0x14021a5c1
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 + 0xb0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xb8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xe8], 0
lea rax, [rsp + 0xe8]
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, r14
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x14021aa84
mov qword [rsp + 0x108], rbx
mov r12, qword [rsp + 0xe8]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x14021a821
cmp dword [r12 + 0xc], 0
je 0x14021a821
mov rax, qword [r12 + 0x10]
mov r15, qword [rax]
mov rcx, r12
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [r12 + 0xc], 2
jb 0x14021a72a
mov r14d, 1
nop dword [rax]
mov rax, qword [r12 + 0x10]
mov r15, qword [rax + r14*8]
mov rcx, r12
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [r12 + 0xc]
inc r14
mov r13, rsi
cmp r14, rax
jb 0x14021a6c0
jmp 0x14021a72d
lea rcx, [rdi + 0x80]
mov rdx, r14
mov r8, rsi
call fcn.14011a890
mov r14, qword [rdi + 0x90]
jmp 0x14021a3c2
lea rcx, [rdi + 0x80]
mov rdx, rbp
mov r8, rsi
call fcn.14011a890
mov rbp, qword [rdi + 0x90]
jmp 0x14021a46e
mov rsi, r13
mov rcx, r12
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x148], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor r14d, r14d
jmp 0x14021a758
mov r14, rbx
inc r14
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov eax, dword [r15 + 0xc]
mov esi, 0xf00
cmp r14, rax
jae 0x14021a80a
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14021a80a
mov rbx, r14
mov rax, qword [rax + r14*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 0x14021a74a
nop word [rax + 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 0x14021a7eb
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 0x14021a7f5
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x14021a7a0
jmp 0x14021a74a
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x14021a7d5
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov rcx, qword [rsp + 0x148]
call sub.crypt32.dll_CertFreeCertificateChain
movabs r15, 0x8000000000000000
lea rax, [rsp + 0xf0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe8], rax
cmp qword [rdi + 0xa0], r15
je 0x14021a85f
cmp byte [rdi + 0x121], 0
jne 0x14021a85f
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0xd0], 0x10
mov dword [rsp + 0xd4], esi
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xd8], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xb0], 0x18
mov ecx, 4
mov rdx, r12
lea r8, [rsp + 0xd0]
lea r9, [rsp + 0xb0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x14021aa99
mov r13d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x100]
test rax, rax
je 0x14021a91c
mov r8, qword [rdi + 0x108]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r13d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
je 0x14021a92d
jmp 0x14021aab3
test r13d, r13d
jne 0x14021aaa1
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0x108]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0xd0], 0
movzx r12d, byte [rsp + 0x66]
movzx ebx, byte [rsp + 0x67]
jne 0x140219d63
mov rax, qword [rsp + 0x130]
mov byte [rax], 1
jmp 0x140219d63
movabs rax, 0xd00000003
mov rsi, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov eax, 2
mov dword [rsi], 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 0x14021a9be
mov rcx, qword [rsp + 0x130]
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 0x14021a97a
xor eax, eax
mov rsi, qword [rsp + 0x68]
jmp 0x14021a97a
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1401fd370
jmp 0x14021a96c
shl rbp, 0x20
or rbp, 2
jmp 0x14021aa23
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
mov rsi, qword [rsp + 0x68]
jmp 0x14021aac3
mov rbp, qword [rsp + 0xd8]
test rbx, rbx
mov rsi, qword [rsp + 0x68]
je 0x14021aa4d
mov r8, qword [rsp + 0xc0]
cmp rbx, 0x11
jb 0x14021aa3f
mov r8, qword [r8 - 8]
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
cmp qword [rsp + 0xe8], 0
je 0x14021aa69
mov rcx, qword [0x1403ac160]
xor edx, edx
mov r8, r12
call fcn.14029804c
mov qword [rsi + 8], rbp
jmp 0x14021a975
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x68]
jmp 0x14021aacb
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x14021aa11
call sub.kernel32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x14021aab6
mov r13, rax
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x108]
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi + 8], r13
jmp 0x14021a975
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x120]
jmp 0x14021a971
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.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.1400aaf00
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.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.1400aaf00
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.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.1400aaf00
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14035b6b0]
mov edx, 0x29
call fcn.1400abba0
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.1400aae80
mov ecx, 8
mov edx, 0x20
call fcn.1400a81e0
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.1400ab800
lea rcx, [0x14036009f]
lea r8, str._home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_hj_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.1400abba0
lea r8, [0x140367738]
mov rcx, rsi
call fcn.1400ab800
int3