Function at 0x1402182e0
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
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x118], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x1f0]
mov qword [rsp + 0xf8], rax
lea rbp, [rsp + 0x70]
xorps xmm6, xmm6
nop word cs:[rax + rax]
movzx eax, byte [rdi + 0x1d0]
test rax, rax
jne 0x1402190c5
movzx esi, byte [rdi + 0x1d1]
movzx r14d, byte [rdi + 0x1d2]
movzx r15d, byte [rdi + 0x1d3]
movzx ebx, byte [rdi + 0x1d4]
mov rcx, rbp
mov rdx, rdi
call fcn.140219310
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x14021910e
test rax, rax
je 0x1402183b0
cmp byte [rdi + 0x1d0], 0
jne 0x1402183b5
mov byte [rdi + 0x1d1], 1
jmp 0x1402183b5
test sil, sil
je 0x1402183fa
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1402192b4
mov rax, qword [rsp + 0x128]
cmp dword [rax], 2
je 0x1402183f1
mov rcx, qword [rsp + 0x128]
call fcn.140219440
test rax, rax
jne 0x14021911c
test rdx, rdx
jne 0x140219126
cmp byte [rdi + 0x1d0], 0
je 0x140218410
or bl, r15b
jne 0x140218429
jmp 0x14021841c
mov byte [rdi + 0x1d1], 0
or bl, r15b
jne 0x140218429
cmp byte [rdi + 0x222], 0
je 0x140218977
test r14b, r14b
je 0x140218c34
cmp qword [rdi + 0x210], 0
je 0x140218461
mov rcx, rbp
mov rdx, rdi
call fcn.1402195a0
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x14021910e
test rax, rax
je 0x1402190fa
mov r12, qword [rdi + 0x178]
movzx eax, byte [0x1403ac1f0]
mov rax, qword [0x1403ac160]
test rax, rax
jne 0x140218490
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140219296
mov qword [0x1403ac160], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140219296
mov rdx, qword [rdi + 0x170]
cmp r12, rdx
ja 0x1402192a5
mov rsi, rax
mov rax, qword [rdi + 0x168]
mov dword [rsi], r12d
mov dword [rsi + 4], 2
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x140218520
mov qword [rsp + 0xb0], 0
jmp 0x1402185a0
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.14023bb70
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x1402185a0
mov rbx, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xe0]
call fcn.1402197c0
mov rsi, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
mov dword [rsi + rax], ebp
lea rbp, [rsp + 0x70]
mov dword [rsi + rax + 4], 0x12
mov qword [rsi + rax + 8], rbx
inc r12
mov qword [rsp + 0xf0], r12
jmp 0x1402185a9
mov r12d, 2
xor r14d, r14d
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], r12d
mov qword [rsp + 0x138], rsi
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
mov qword [rsp + 0x168], rbp
mov dword [rsp + 0xac], 0
cmp byte [rdi + 0x222], 0
je 0x140218780
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0xf8]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e8]
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 + 0x130]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1402186be
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1402186d0
call sub.secur32.dll_FreeContextBuffer
cmp r13d, 0x80090318
je 0x140218850
test r13d, r13d
je 0x140218880
cmp r13d, 0x90312
jne 0x140219134
mov byte [rdi + 0x223], 0
cmp r12, 1
jbe 0x14021925a
cmp dword [rsi + 0x14], 5
jne 0x14021891a
mov r15, qword [rdi + 0x178]
mov eax, dword [rsi + 0x10]
mov r13, r15
sub r13, rax
jb 0x1402192cc
mov ebp, dword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
test eax, eax
je 0x1402189a7
mov rdx, qword [rdi + 0x170]
mov rbx, rdx
sub rbx, r13
jb 0x1402192e4
mov qword [rdi + 0x170], 0
test r13, r13
je 0x140218a5c
cmp rdx, r13
je 0x140218a6f
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r13]
mov r8, rbx
call sub.msvcrt.dll_memmove
jmp 0x140218a68
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x140218796
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 + 0xd0], xmm0
lea rax, [rsp + 0xac]
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 + 0xd0]
mov rdx, qword [rsp + 0xf8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1402186b9
jmp 0x1402186be
cmp r12, 1
jbe 0x14021926e
mov eax, 1
cmp dword [rsi + 0x14], 4
jne 0x140218868
mov eax, dword [rsi + 0x10]
mov qword [rdi + 0x210], rax
test r14, r14
jne 0x140218be1
jmp 0x140218c01
cmp r12, 1
jbe 0x140219282
cmp dword [rsi + 0x14], 5
jne 0x140218937
mov r15, qword [rsp + 0x78]
test r15, r15
je 0x1402188b3
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x100], r15
mov rbx, qword [rdi + 0x178]
mov eax, dword [rsi + 0x10]
mov r12, rbx
sub r12, rax
cmp rbx, r12
jb 0x1402192cc
je 0x140218af2
mov rdx, qword [rdi + 0x170]
mov r13, rdx
sub r13, r12
jb 0x1402192f3
mov qword [rdi + 0x170], 0
test r12, r12
je 0x140218ae9
cmp rdx, r12
je 0x140218af2
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r12]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x140218b88
mov r15, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov r12, qword [rsp + 0x78]
mov r13, r15
jmp 0x140218a71
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140218956
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x100], rax
mov qword [rdi + 0x178], 0
mov qword [rdi + 0x210], 1
jne 0x140218b11
jmp 0x140218bd3
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 0x53
mov r8, rbp
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1402189b1
test r14b, r14b
jne 0x140218432
jmp 0x1402191cb
mov eax, 1
jmp 0x140218a71
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140218cc5
call sub.crypt32.dll_CertDuplicateStore
mov rsi, rax
cmp qword [rdi], 0
je 0x140218cf1
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140218a48
nop word cs:[rax + rax]
mov r13, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov qword [rsp + 0x70], 0
mov rcx, rsi
mov rdx, r13
mov r8d, 3
lea r9, [rsp + 0x70]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x140219148
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1402189f0
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
lea rbp, [rsp + 0x70]
jmp 0x140218cfb
cmp rdx, r13
jne 0x140218a68
xor eax, eax
xor r13d, r13d
jmp 0x140218a71
mov qword [rdi + 0x170], rbx
xor eax, eax
sub r15, r13
mov qword [rdi + 0x178], r15
mov qword [rdi + 0x210], rax
test ebp, ebp
mov r13d, ebp
mov rbp, r12
lea rax, [0x1403911f0]
cmove rbp, rax
mov rax, qword [rdi + 0x180]
mov rbx, qword [rdi + 0x190]
sub rax, rbx
cmp rax, r13
jb 0x140218cd3
mov rcx, qword [rdi + 0x188]
add rcx, rbx
mov rdx, rbp
mov r8, r13
call sub.msvcrt.dll_memcpy
add rbx, r13
mov qword [rdi + 0x190], rbx
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
lea rbp, [rsp + 0x70]
test r14, r14
jne 0x140218be1
jmp 0x140218c01
cmp rdx, r12
jne 0x140218b88
xor eax, eax
sub rbx, r12
sete al
mov qword [rdi + 0x178], rbx
mov qword [rdi + 0x210], rax
test r15, r15
je 0x140218bb0
mov r12d, dword [rsp + 0x120]
test r12, r12
mov r13, qword [rsp + 0x100]
lea rax, [0x1403911f0]
cmove r13, rax
mov rax, qword [rdi + 0x180]
mov rbp, qword [rdi + 0x190]
sub rax, rbp
cmp rax, r12
jb 0x140218e3b
mov rcx, qword [rdi + 0x188]
add rcx, rbp
mov rdx, r13
mov r8, r12
call sub.msvcrt.dll_memcpy
add rbp, r12
mov qword [rdi + 0x190], rbp
mov rcx, qword [rsp + 0x100]
call sub.secur32.dll_FreeContextBuffer
mov rbx, qword [rdi + 0x178]
lea rbp, [rsp + 0x70]
test rbx, rbx
jne 0x140218bb5
jmp 0x140218bd3
xor eax, eax
sub rbx, r12
sete al
mov qword [rdi + 0x170], r13
mov qword [rdi + 0x178], rbx
mov qword [rdi + 0x210], rax
test r15, r15
jne 0x140218b11
nop
test rbx, rbx
je 0x140218bd3
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.140219870
cmp byte [rsp + 0xd0], 0
jne 0x140219177
cmp byte [rdi + 0x1d0], 0
je 0x140218c26
test r14, r14
je 0x140218c01
mov r8, qword [rsp + 0xc0]
cmp r14, 0x11
jb 0x140218bf3
mov r8, qword [r8 - 8]
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
cmp qword [rsp + 0xe0], 0
je 0x140218340
mov rcx, qword [0x1403ac160]
xor edx, edx
mov r8, rsi
call fcn.14029804c
jmp 0x140218340
mov byte [rdi + 0x1d2], 0
test r14, r14
jne 0x140218be1
jmp 0x140218c01
mov al, 2
test r15b, r15b
jne 0x140218c8f
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 4
mov r8, rbp
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x14021924d
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x10c], 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 + 0x10c]
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
jmp 0x140218340
mov rsi, qword [rdi]
test rsi, rsi
je 0x140218cfb
mov rsi, qword [rdi + 8]
jmp 0x140218cfb
lea rcx, [rdi + 0x180]
mov rdx, rbx
mov r8, r13
call fcn.14011a890
mov rbx, qword [rdi + 0x190]
jmp 0x140218aaf
mov rcx, rsi
xor edx, edx
call sub.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 + 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 + 0xe0], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9, rsi
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1402191dd
mov qword [rsp + 0x110], rbx
mov rax, qword [rsp + 0xe0]
mov ebx, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xa0], rax
je 0x140218f5c
cmp dword [rax + 0xc], 0
je 0x140218f5c
mov rbp, qword [rsp + 0xa0]
mov rax, qword [rbp + 0x10]
mov rsi, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbp + 0xc], 2
jb 0x140218e59
mov ebx, 1
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov rsi, qword [rax + rbx*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r12, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc rbx
mov r13, r12
cmp rbx, rax
jb 0x140218e10
jmp 0x140218e5c
lea rcx, [rdi + 0x180]
mov rdx, rbp
mov r8, r12
call fcn.14011a890
mov rbp, qword [rdi + 0x190]
jmp 0x140218b49
mov r12, r13
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateChain
xor r13d, r13d
jmp 0x140218e8c
mov r13, qword [rsp + 0x158]
inc r13
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov eax, dword [rsi + 0xc]
mov ebx, 0xf00
cmp r13, rax
jae 0x140218f4a
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140218f4a
mov qword [rsp + 0x158], r13
mov rax, qword [rax + r13*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r12, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140218e79
nop word cs:[rax + rax]
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov r8d, dword [rbp + 0x10]
cmp r8d, dword [r12 + 0x10]
jne 0x140218f2b
mov rdx, qword [r12 + 8]
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_memcmp
mov ebx, eax
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
test ebx, ebx
je 0x140218f35
mov rcx, qword [rdi + 8]
mov rdx, r13
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140218ee0
jmp 0x140218e79
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x140218f15
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov ebx, 0xf10
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
lea rbp, [rsp + 0x70]
lea rax, [rsp + 0xe8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x140218fa4
cmp byte [rdi + 0x221], 0
jne 0x140218fa4
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xd0], 0x10
mov dword [rsp + 0xd4], ebx
lea rax, [rsp + 0xe0]
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, qword [rsp + 0xa0]
lea r8, [rsp + 0xd0]
lea r9, [rsp + 0xb0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1402191ef
mov r12d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x200]
test rax, rax
mov rbx, qword [rsp + 0x110]
je 0x14021908a
mov r8, qword [rdi + 0x208]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], r12d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x7c], rax
mov rdx, rbp
call qword [r8 + 0x28]
test rax, rax
jne 0x140219216
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1d0], 0
jne 0x140218429
jmp 0x1402190b5
test r12d, r12d
jne 0x1402191ff
mov rcx, qword [rsp + 0xa0]
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1d0], 0
jne 0x140218429
mov rax, qword [rsp + 0x118]
mov byte [rax], 1
jmp 0x140218429
cmp eax, 1
jne 0x1402190ee
mov rcx, qword [rsp + 0x118]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rsp + 0x68]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x14021922f
xor eax, eax
mov rdi, qword [rsp + 0x68]
jmp 0x14021922f
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1401fd370
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rax
jmp 0x14021922a
movabs rdx, 0xd00000003
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rdx
jmp 0x14021922a
shl r13, 0x20
or r13, 2
test r14, r14
mov rdi, qword [rsp + 0x68]
jne 0x140219189
jmp 0x1402191a9
call sub.kernel32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x140219219
mov r13, qword [rsp + 0xd8]
test r14, r14
mov rdi, qword [rsp + 0x68]
je 0x1402191a9
mov r8, qword [rsp + 0xc0]
cmp r14, 0x11
jb 0x14021919b
mov r8, qword [r8 - 8]
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
cmp qword [rsp + 0xe0], 0
je 0x1402191c5
mov rcx, qword [0x1403ac160]
xor edx, edx
mov r8, rsi
call fcn.14029804c
mov qword [rdi + 8], r13
jmp 0x14021922a
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rdi, qword [rsp + 0x68]
jmp 0x140219226
call sub.kernel32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
jmp 0x140219219
call sub.kernel32.dll_GetLastError
mov r12d, eax
mov rbx, qword [rsp + 0x110]
shl r12, 0x20
or r12, 2
mov rcx, qword [rsp + 0xa0]
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x140219219
mov r12, rax
mov rdi, qword [rsp + 0x68]
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rdi + 8], r12
mov eax, 2
mov dword [rdi], 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
shl rax, 0x20
or rax, 2
jmp 0x14021910e
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, r12
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, r12
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, r12
call fcn.1400aaf00
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, r12
call fcn.1400ab800
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14035b6b0]
mov edx, 0x29
call fcn.1400abba0
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, r13
call fcn.1400ab800
lea r8, [0x140367738]
mov rcx, r12
call fcn.1400ab800
int3