Function at 0x1401965b0
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 + 0x1cc]
mov qword [rsp + 0x120], rax
lea r13, [rdx + 0x10]
lea rax, [rdx + 0x1e8]
mov qword [rsp + 0xf0], rax
xorps xmm6, xmm6
mov qword [rsp + 0x100], r13
movzx eax, byte [rdi + 0x1c8]
test eax, eax
je 0x140196666
cmp eax, 1
jne 0x140197445
mov rcx, qword [rsp + 0x120]
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 0x140197516
xor esi, esi
test rsi, rsi
jne 0x140197451
movzx eax, byte [rdi + 0x1c8]
test eax, eax
jne 0x140196615
movzx ebp, byte [rdi + 0x1c9]
movzx r14d, byte [rdi + 0x1ca]
movzx ebx, byte [rdi + 0x1cb]
movzx esi, byte [rdi + 0x1cc]
mov rcx, rdi
call fcn.140197750
test rax, rax
jne 0x140197487
test rdx, rdx
je 0x1401966b0
cmp byte [rdi + 0x1c8], 0
jne 0x1401966b5
mov byte [rdi + 0x1c9], 1
jmp 0x1401966b5
test bpl, bpl
je 0x1401966ef
mov rdx, qword [rdi + 0x130]
test rdx, rdx
je 0x14019755f
cmp dword [r13], 2
je 0x1401966e6
mov rcx, r13
call fcn.140197850
test rax, rax
jne 0x14019747d
test rdx, rdx
jne 0x140197487
cmp byte [rdi + 0x1c8], 0
je 0x140196700
or sil, bl
jne 0x140196719
jmp 0x14019670c
mov byte [rdi + 0x1c9], 0
or sil, bl
jne 0x140196719
cmp byte [rdi + 0x21a], 0
je 0x140196c15
test r14b, r14b
je 0x140196d83
cmp qword [rdi + 0x208], 0
je 0x140196746
mov rcx, rdi
call fcn.1401979b0
test rax, rax
jne 0x140197487
test rdx, rdx
je 0x14019745b
mov rsi, qword [rdi + 0x170]
movzx eax, byte [0x1404a3130]
mov edx, 0x20
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x140197550
mov rdx, qword [rdi + 0x168]
cmp rsi, rdx
ja 0x140197541
mov r12, rax
mov rax, qword [rdi + 0x160]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xc8], 2
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], 2
cmp qword [rdi + 0x1b0], r15
jne 0x1401967e0
mov qword [rsp + 0xa0], 0
jmp 0x140196860
mov rdx, qword [rdi + 0x1b8]
mov r8, qword [rdi + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.1401d5320
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x140196860
mov rsi, qword [rsp + 0xb0]
mov ebp, dword [rsp + 0xa8]
lea rcx, [rsp + 0xc8]
call fcn.14011d5c0
mov r12, qword [rsp + 0xd0]
mov dword [r12 + 0x20], ebp
mov dword [r12 + 0x24], 0x12
mov qword [r12 + 0x28], rsi
mov qword [rsp + 0xd8], 3
mov eax, 3
jmp 0x140196867
mov eax, 2
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x138], 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 + 0xc4], 0
cmp byte [rdi + 0x21a], 0
je 0x140196a40
cmp byte [rdi + 0x21b], 0
mov edx, 0
mov rcx, qword [rsp + 0xf0]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e0]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xc4]
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 + 0xe0]
lea r8, [rsp + 0x130]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14019697f
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140196991
call sub.secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x140196ba0
test esi, esi
je 0x140196b00
cmp esi, 0x90312
jne 0x140196bd0
mov byte [rdi + 0x21b], 0
cmp dword [r12 + 0x14], 5
jne 0x140196ca0
mov r14, qword [rdi + 0x170]
mov eax, dword [r12 + 0x10]
mov r12, r14
sub r12, rax
jb 0x140197577
mov ebp, dword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
test eax, eax
je 0x140196d79
mov rdx, qword [rdi + 0x168]
mov r13, rdx
sub r13, r12
jb 0x14019758f
mov qword [rdi + 0x168], 0
test r12, r12
je 0x140196e24
cmp rdx, r12
je 0x140196e30
mov rcx, qword [rdi + 0x160]
lea rdx, [rcx + r12]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x140196e29
cmp byte [rdi + 0x218], 0
mov r8d, 0
je 0x140196a56
mov r8, qword [rdi + 0x1a0]
cmp qword [rdi + 0x198], r15
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0x1e0]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xc4]
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 + 0xe0]
mov rdx, qword [rsp + 0xf0]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14019697a
jmp 0x14019697f
cmp dword [r12 + 0x14], 5
jne 0x140196c4b
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140196b2b
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xf8], r14
mov rbx, qword [rdi + 0x170]
mov eax, dword [r12 + 0x10]
mov rsi, rbx
sub rsi, rax
cmp rbx, rsi
jb 0x140197577
je 0x140196ebb
mov rdx, qword [rdi + 0x168]
mov r12, rdx
sub r12, rsi
jb 0x14019759e
mov qword [rdi + 0x168], 0
test rsi, rsi
je 0x140196eb2
cmp rdx, rsi
je 0x140196ebb
mov rcx, qword [rdi + 0x160]
lea rdx, [rcx + rsi]
mov r8, r12
call sub.msvcrt.dll_memmove
jmp 0x140196f47
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x140196c8b
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x208], rax
test rbx, rbx
jne 0x140196ff7
jmp 0x140197017
shl rsi, 0x20
or rsi, 2
test rbx, rbx
je 0x140196fb0
mov r8, qword [rsp + 0xb0]
cmp rbx, 0x11
jb 0x140196bf3
mov r8, qword [r8 - 8]
mov rcx, qword [0x1404a30d0]
xor edx, edx
call fcn.14021d5e4
cmp qword [rsp + 0xc8], 0
jne 0x140196fbf
jmp 0x140196652
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf0]
mov edx, 0x53
lea r8, [rsp + 0x70]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x140196cbd
test r14b, r14b
jne 0x140196722
jmp 0x1401974bd
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140196c6a
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0xf8], rax
mov qword [rdi + 0x170], 0
mov qword [rdi + 0x208], 1
jne 0x140196eda
jmp 0x140196fda
mov qword [rdi + 0x208], rax
test rbx, rbx
jne 0x140196ff7
jmp 0x140197017
mov r14, qword [rdi + 0x170]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov rsi, qword [rsp + 0x78]
mov r12, r14
jmp 0x140196e32
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
mov qword [rsp + 0x118], rsi
je 0x140197041
call sub.crypt32.dll_CertDuplicateStore
mov r12, rax
cmp qword [rdi], 0
je 0x140197073
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140196d58
nop dword [rax]
mov r13, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov qword [rsp + 0x70], 0
mov rcx, r12
mov rdx, r13
mov r8d, 3
lea r9, [rsp + 0x70]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x140197492
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 0x140196d00
mov rcx, r12
xor edx, edx
call sub.crypt32.dll_CertCloseStore
movabs r15, 0x8000000000000000
mov r13, qword [rsp + 0x100]
jmp 0x14019707d
mov eax, 1
jmp 0x140196e32
mov al, 2
test bl, bl
mov ecx, dword [rsp + 0x10c]
mov rdx, qword [rsp + 0x150]
mov r8, qword [rsp + 0x148]
jne 0x140196ddf
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xf0]
mov edx, 4
lea r8, [rsp + 0x70]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x140197534
mov ecx, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x74]
mov r8, qword [rsp + 0x7c]
mov al, 1
mov byte [rdi + 0x1c8], al
mov dword [rsp + 0x10c], ecx
mov dword [rdi + 0x1cc], ecx
mov qword [rsp + 0x150], rdx
mov qword [rdi + 0x1d0], rdx
mov qword [rsp + 0x148], r8
mov qword [rdi + 0x1d8], r8
movzx eax, byte [rdi + 0x1c8]
test eax, eax
je 0x140196666
jmp 0x140196615
cmp rdx, r12
je 0x140196e30
mov qword [rdi + 0x168], r13
xor eax, eax
sub r14, r12
mov qword [rdi + 0x170], r14
mov qword [rdi + 0x208], rax
test ebp, ebp
mov r12d, ebp
mov rdx, rsi
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x178]
mov r13, qword [rdi + 0x188]
sub rax, r13
cmp rax, r12
jb 0x14019704f
mov rcx, qword [rdi + 0x180]
add rcx, r13
mov r8, r12
call sub.msvcrt.dll_memcpy
add r13, r12
mov qword [rdi + 0x188], r13
mov rcx, rsi
call sub.secur32.dll_FreeContextBuffer
movabs r15, 0x8000000000000000
mov r13, qword [rsp + 0x100]
test rbx, rbx
jne 0x140196ff7
jmp 0x140197017
cmp rdx, rsi
jne 0x140196f47
xor eax, eax
sub rbx, rsi
sete al
mov qword [rdi + 0x170], rbx
mov qword [rdi + 0x208], rax
test r14, r14
je 0x140196f6d
mov esi, dword [rsp + 0x128]
test rsi, rsi
mov rbx, qword [rsp + 0xf8]
mov rdx, rbx
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x178]
mov r12, qword [rdi + 0x188]
sub rax, r12
cmp rax, rsi
jb 0x14019740f
mov rcx, qword [rdi + 0x180]
add rcx, r12
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r12, rsi
mov qword [rdi + 0x188], r12
mov rcx, rbx
call sub.secur32.dll_FreeContextBuffer
mov rbx, qword [rdi + 0x170]
test rbx, rbx
jne 0x140196f72
jmp 0x140196fda
xor eax, eax
sub rbx, rsi
sete al
mov qword [rdi + 0x168], r12
mov qword [rdi + 0x170], rbx
mov qword [rdi + 0x208], rax
test r14, r14
jne 0x140196eda
test rbx, rbx
je 0x140196fda
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.140197bd0
cmp byte [rsp + 0xe0], 0
je 0x140196fda
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
jne 0x140196be1
nop word cs:[rax + rax]
cmp qword [rsp + 0xc8], 0
je 0x140196652
mov r8, qword [rsp + 0xd0]
mov rcx, qword [0x1404a30d0]
xor edx, edx
call fcn.14021d5e4
jmp 0x140196652
cmp byte [rdi + 0x1c8], 0
jne 0x140196fea
mov byte [rdi + 0x1ca], 0
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x140197017
mov r8, qword [rsp + 0xb0]
cmp rbx, 0x11
jb 0x140197009
mov r8, qword [r8 - 8]
mov rcx, qword [0x1404a30d0]
xor edx, edx
call fcn.14021d5e4
cmp qword [rsp + 0xc8], 0
je 0x140196650
mov r8, qword [rsp + 0xd0]
mov rcx, qword [0x1404a30d0]
xor edx, edx
call fcn.14021d5e4
jmp 0x140196650
mov r12, qword [rdi]
test r12, r12
je 0x14019707d
mov r12, qword [rdi + 8]
jmp 0x14019707d
lea rcx, [rdi + 0x178]
mov r14, rdx
mov rdx, r13
mov r8, r12
call fcn.1401d5ea0
mov rdx, r14
mov r13, qword [rdi + 0x188]
jmp 0x140196e6e
mov rcx, r12
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 + 0xa0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xa8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xc8], 0
lea rax, [rsp + 0xc8]
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, r12
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1401974ce
mov rbp, qword [rsp + 0xc8]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x1401972c1
cmp dword [rbp + 0xc], 0
je 0x1401972c1
mov rax, qword [rbp + 0x10]
mov r12, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbp + 0xc], 2
jb 0x1401971ab
mov r15d, 1
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov r12, qword [rax + r15*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc r15
mov r13, rsi
cmp r15, rax
jb 0x140197180
jmp 0x1401971ae
mov rsi, r13
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor r15d, r15d
mov qword [rsp + 0x110], rbp
jmp 0x1401971ee
mov r15, qword [rsp + 0x158]
inc r15
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rbp, qword [rsp + 0x110]
mov eax, dword [r12 + 0xc]
cmp r15, rax
jae 0x14019743b
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x158], r15
mov rax, qword [rax + r15*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1401971d3
nop dword [rax]
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov r8d, dword [rsi + 0x10]
cmp dword [rbp + 0x10], r8d
jne 0x14019727b
mov rdx, qword [rsi + 8]
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_memcmp
mov r15d, eax
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
test r15d, r15d
je 0x140197285
mov rcx, qword [rdi + 8]
mov rdx, r13
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140197230
jmp 0x1401971d3
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x140197265
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov rbp, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
movabs r15, 0x8000000000000000
mov r13, qword [rsp + 0x100]
lea rax, [rsp + 0xd0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xc8], rax
cmp qword [rdi + 0x198], r15
je 0x1401972ff
cmp byte [rdi + 0x219], 0
jne 0x1401972ff
mov rax, qword [rdi + 0x1a0]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0xe0], 0x10
mov dword [rsp + 0xe4], esi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xe8], rax
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xa0], 0x18
mov ecx, 4
mov rdx, rbp
lea r8, [rsp + 0xe0]
lea r9, [rsp + 0xa0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1401974df
mov esi, dword [rsp + 0xa4]
mov rax, qword [rdi + 0x1f8]
test rax, rax
je 0x1401973d5
mov r8, qword [rdi + 0x200]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rsp + 0x70], rbp
mov dword [rsp + 0x78], esi
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
jne 0x1401974f8
mov rcx, qword [rsp + 0x118]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1c8], 0
jne 0x140196719
jmp 0x1401973ff
test esi, esi
jne 0x1401974e6
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0x118]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1c8], 0
jne 0x140196719
mov rax, qword [rsp + 0x120]
mov byte [rax], 1
jmp 0x140196719
lea rcx, [rdi + 0x178]
mov rbx, rdx
mov rdx, r12
mov r8, rsi
call fcn.1401d5ea0
mov rdx, rbx
mov rbx, qword [rsp + 0xf8]
mov r12, qword [rdi + 0x188]
jmp 0x140196f12
mov esi, 0xf00
jmp 0x1401972a2
xor eax, eax
mov rdi, qword [rsp + 0x68]
jmp 0x140197516
mov rdi, qword [rsp + 0x68]
jmp 0x14019750d
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1401c1070
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rax
jmp 0x140197511
movabs rdx, 0xd00000003
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rdx
jmp 0x140197511
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r12
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1401974fb
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rdi, qword [rsp + 0x68]
jmp 0x14019750d
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x1401974fb
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1401974fb
mov rsi, rax
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x118]
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rdi + 8], rsi
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 0x14019746f
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.140047140
mov ecx, 8
mov edx, 0x20
call fcn.140043da0
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140436560]
mov edx, 0x29
call fcn.140047420
lea rcx, [0x1404374a7]
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140047420
lea r8, str.pWF_
mov rcx, r12
call fcn.140047140
lea r8, str.pWF_
mov rcx, rsi
call fcn.140047140
int3