Function at 0x1400bada0
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 + 0x70], rcx
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x128], rax
lea rbx, [rdx + 0x10]
lea rax, [rdx + 0x1f0]
mov qword [rsp + 0x108], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x1d0]
test eax, eax
jne 0x1400bbd9b
movzx ebp, byte [rdi + 0x1d1]
movzx r13d, byte [rdi + 0x1d2]
movzx r14d, byte [rdi + 0x1d3]
movzx esi, byte [rdi + 0x1d4]
mov rdx, qword [rdi + 0x190]
mov r15, qword [rdi + 0x198]
cmp r15, rdx
jne 0x1400bae40
test bpl, bpl
mov ebp, 0x400
jne 0x1400baeb0
jmp 0x1400baeca
xor r12d, r12d
nop word cs:[rax + rax]
mov r8, rdx
sub r8, r15
jb 0x1400bbee2
mov rdx, qword [rdi + 0x188]
add rdx, r15
mov rcx, rbx
call fcn.1400c8210
test rax, rax
jne 0x1400bbd70
add r12, rdx
add r15, rdx
mov qword [rdi + 0x198], r15
mov rdx, qword [rdi + 0x190]
cmp r15, rdx
jne 0x1400bae50
test r12, r12
je 0x1400bae28
cmp byte [rdi + 0x1d0], 0
mov ebp, 0x400
jne 0x1400baeb0
mov byte [rdi + 0x1d1], 1
nop word [rax + rax]
mov rcx, rbx
call fcn.1400c8120
test rax, rax
jne 0x1400bbdee
cmp byte [rdi + 0x1d0], 0
je 0x1400baed1
or sil, r14b
jne 0x1400baeea
jmp 0x1400baedd
mov byte [rdi + 0x1d1], 0
or sil, r14b
jne 0x1400baeea
cmp byte [rdi + 0x222], 0
je 0x1400bb4e6
test r13b, r13b
je 0x1400bb66e
mov r13, qword [rdi + 0x178]
mov r15, qword [rdi + 0x210]
test r15, r15
je 0x1400bb029
xor esi, esi
nop dword [rax]
lea rax, [r13*2]
cmp rax, r15
cmova r15, rax
cmp r15, 0x401
cmovb r15, rbp
mov r12, qword [rdi + 0x170]
sub r15, r12
jbe 0x1400baf7e
mov rax, qword [rdi + 0x160]
sub rax, r12
cmp rax, r15
jb 0x1400bafe0
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jb 0x1400baf71
lea r8, [r15 - 1]
xor edx, edx
call fcn.140117440
add r12, r15
dec r12
add r14, r12
mov rcx, r14
mov byte [rcx], 0
inc r12
mov qword [rdi + 0x170], r12
mov r8, r12
sub r8, r13
jb 0x1400bbef1
mov rdx, qword [rdi + 0x168]
add rdx, r13
mov rcx, rbx
call fcn.1400c8070
test rax, rax
jne 0x1400bbd70
add r13, rdx
mov qword [rdi + 0x178], r13
mov rax, qword [rdi + 0x210]
mov rcx, rax
sub rcx, rdx
mov r15d, 0
cmovae r15, rcx
mov qword [rdi + 0x210], r15
test rdx, rdx
je 0x1400bb020
add rsi, rdx
cmp rax, rdx
ja 0x1400baf10
jmp 0x1400bb020
lea rcx, [rdi + 0x160]
mov rdx, r12
mov r8, r15
call fcn.140119d10
mov r12, qword [rdi + 0x170]
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jae 0x1400baf5a
jmp 0x1400baf71
test rsi, rsi
je 0x1400bbdda
movzx eax, byte [0x140194310]
mov edx, 0x20
xor ecx, ecx
call fcn.1400eed30
test rax, rax
je 0x1400bbf12
mov rdx, qword [rdi + 0x170]
cmp r13, rdx
ja 0x1400bbf03
mov r12, rax
mov rax, qword [rdi + 0x168]
mov dword [r12], r13d
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xd0], 2
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xe0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x1400bb0c0
mov qword [rsp + 0xb0], 0
jmp 0x1400bb140
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.1400de4b0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400bb140
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.1400bf580
mov r12, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], ebp
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], r14
inc r13
mov qword [rsp + 0xe0], r13
jmp 0x1400bb148
mov r13d, 2
xor esi, esi
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], r13d
mov qword [rsp + 0x138], r12
movabs rax, 0x200000000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x98]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0xec], 0
cmp byte [rdi + 0x222], 0
je 0x1400bb333
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0x108]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xec]
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 ebp, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400bb26c
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400bb27f
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp ebp, 0x80090318
je 0x1400bb49f
test ebp, ebp
je 0x1400bb3fb
cmp ebp, 0x90312
jne 0x1400bb4d0
mov byte [rdi + 0x223], 0
cmp r13, 1
jbe 0x1400bbece
cmp dword [r12 + 0x14], 5
jne 0x1400bb56c
mov r14, qword [rdi + 0x178]
mov eax, dword [r12 + 0x10]
mov r13, r14
sub r13, rax
jb 0x1400bbf21
mov ebp, dword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
test eax, eax
je 0x1400bb664
mov rdx, qword [rdi + 0x170]
mov r15, rdx
sub r15, r13
jb 0x1400bbf39
mov qword [rdi + 0x170], 0
test r13, r13
je 0x1400bb6fe
cmp rdx, r13
je 0x1400bb70a
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r13]
mov r8, r15
call fcn.140116da0
jmp 0x1400bb703
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x1400bb349
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 + 0xec]
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 + 0x108]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebp, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x1400bb266
jmp 0x1400bb26c
cmp r13, 1
jbe 0x1400bbeba
cmp dword [r12 + 0x14], 5
jne 0x1400bb526
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x1400bb436
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x110], r14
mov r13, qword [rdi + 0x178]
mov esi, dword [r12 + 0x10]
mov r15, r13
sub r15, rsi
cmp r13, r15
jb 0x1400bbf21
je 0x1400bb7a0
mov rdx, qword [rdi + 0x170]
mov r12, rdx
sub r12, r15
jb 0x1400bbf48
mov qword [rdi + 0x170], 0
test r15, r15
je 0x1400bb797
cmp rdx, r15
je 0x1400bb7a0
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r15]
mov r8, r12
call fcn.140116da0
jmp 0x1400bb82e
cmp r13, 1
jbe 0x1400bbea6
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400bb4bb
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x210], rax
test rsi, rsi
jne 0x1400bb8f4
jmp 0x1400bb914
shl rbp, 0x20
or rbp, 2
test rsi, rsi
jne 0x1400bb888
jmp 0x1400bb8a8
mov byte [rsp + 0x6e], r13b
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x108]
mov edx, 0x53
lea r8, [rsp + 0x80]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x1400bb58f
cmp byte [rsp + 0x6e], 0
jne 0x1400baef3
jmp 0x1400bbe36
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400bb54b
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x110], rax
mov qword [rdi + 0x178], 0
mov qword [rdi + 0x210], 1
jne 0x1400bb7bf
jmp 0x1400bb8d7
mov r14, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x80]
mov eax, 1
mov r12, qword [rsp + 0x88]
mov r13, r14
jmp 0x1400bb70c
mov r12, qword [rsp + 0x80]
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x1400bb77b
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov rsi, rax
cmp qword [rdi], 0
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400bb945
mov qword [rsp + 0xc8], r12
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400bb647
nop dword [rax + rax]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r15, rax
mov qword [rsp + 0x80], 0
mov rcx, rsi
mov rdx, rbp
mov r8d, 3
lea r9, [rsp + 0x80]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400bbdff
mov rcx, qword [rsp + 0x80]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r12
mov rcx, rbp
call r12
mov rcx, qword [rdi + 8]
mov rdx, r15
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400bb5e0
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov ebp, 0x400
mov r12, qword [rsp + 0xc8]
jmp 0x1400bb950
mov eax, 1
jmp 0x1400bb70c
mov al, 2
test r14b, r14b
mov ecx, dword [rsp + 0x11c]
mov rdx, qword [rsp + 0x150]
mov r8, qword [rsp + 0x148]
jne 0x1400bb6c8
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x108]
call fcn.1400de450
cmp dword [rsp + 0x80], 0
jne 0x1400bbe99
mov ecx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov al, 1
mov byte [rdi + 0x1d0], al
mov dword [rsp + 0x11c], ecx
mov dword [rdi + 0x1d4], ecx
mov qword [rsp + 0x150], rdx
mov qword [rdi + 0x1d8], rdx
mov qword [rsp + 0x148], r8
mov qword [rdi + 0x1e0], r8
jmp 0x1400bade8
cmp rdx, r13
je 0x1400bb70a
mov qword [rdi + 0x170], r15
xor eax, eax
sub r14, r13
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x210], rax
test ebp, ebp
mov r15d, ebp
mov rdx, r12
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov r13, qword [rdi + 0x190]
sub rax, r13
cmp rax, r15
jb 0x1400bbaa8
mov rcx, qword [rdi + 0x188]
add rcx, r13
mov r8, r15
call fcn.140116da0
add r13, r15
mov qword [rdi + 0x190], r13
mov rcx, r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
test rsi, rsi
jne 0x1400bb8f4
jmp 0x1400bb914
mov rsi, qword [rdi]
test rsi, rsi
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400bb950
mov rsi, qword [rdi + 8]
jmp 0x1400bb950
cmp rdx, r15
jne 0x1400bb82e
xor eax, eax
cmp r13, r15
sete al
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x210], rax
test r14, r14
je 0x1400bb854
mov r15d, dword [rsp + 0x120]
test r15, r15
mov rsi, qword [rsp + 0x110]
mov rdx, rsi
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov r12, qword [rdi + 0x190]
sub rax, r12
cmp rax, r15
jb 0x1400bbd44
mov rcx, qword [rdi + 0x188]
add rcx, r12
mov r8, r15
call fcn.140116da0
add r12, r15
mov qword [rdi + 0x190], r12
mov rcx, rsi
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rsi, qword [rdi + 0x178]
test rsi, rsi
jne 0x1400bb859
jmp 0x1400bb8d7
xor eax, eax
cmp r13, r15
sete al
mov qword [rdi + 0x170], r12
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x210], rax
test r14, r14
jne 0x1400bb7bf
test rsi, rsi
je 0x1400bb8d7
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.1400bbf60
cmp byte [rsp + 0xf0], 0
je 0x1400bb8d7
mov rbp, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400bb8a8
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x1400bb89a
mov r8, qword [r8 - 8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xd0], 0
je 0x1400bb8c9
mov r8, qword [rsp + 0xd8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
test rbp, rbp
je 0x1400bade8
jmp 0x1400bbdcf
cmp byte [rdi + 0x1d0], 0
jne 0x1400bb8e7
mov byte [rdi + 0x1d2], 0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400bb914
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x1400bb906
mov r8, qword [r8 - 8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xd0], 0
je 0x1400bb935
mov r8, qword [rsp + 0xd8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
xor ebp, ebp
test rbp, rbp
je 0x1400bade8
jmp 0x1400bbdcf
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x80], 0x20
mov dword [rsp + 0x88], 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 + 0x90], 3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, r12
xor r8d, r8d
mov r9, rsi
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400bbe48
mov rdx, qword [rsp + 0xd0]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0x78], rdx
je 0x1400bbbf0
cmp dword [rdx + 0xc], 0
je 0x1400bbbf0
mov qword [rsp + 0xc8], r12
mov byte [rsp + 0x6f], r14b
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rcx, rdx
call r13
mov rcx, qword [rsp + 0x78]
mov r13, rax
cmp dword [rcx + 0xc], 2
jb 0x1400bbacc
mov esi, 1
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax + rsi*8]
and al, 0xf0
call r14
mov r15, rax
mov rcx, r13
call rbp
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + 0xc]
inc rsi
mov r13, r15
cmp rsi, rax
jb 0x1400bba80
jmp 0x1400bbadd
lea rcx, [rdi + 0x180]
mov r14, rdx
mov rdx, r13
mov r8, r15
call fcn.140119d10
push rbx
loop 0x1400bbac1
add byte [rcx + rcx*4 - 0xe], cl
mov r13, qword [rdi + 0x190]
jmp 0x1400bb748
mov r15, r13
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
jrcxz 0x1400bbb51
invalid
invalid
call r14
mov qword [rsp + 0x140], rax
mov rcx, r15
call rbp
xor r15d, r15d
movzx r14d, byte [rsp + 0x6f]
jmp 0x1400bbb13
mov r15, qword [rsp + 0x158]
inc r15
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
mov esi, 0xf00
cmp r15, rax
jae 0x1400bbbd4
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x1400bbbd4
mov qword [rsp + 0x158], r15
mov rax, qword [rax + r15*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400bbaf8
nop
mov r15, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbp, rax
mov r8d, dword [r13 + 0x10]
cmp dword [r15 + 0x10], r8d
jne 0x1400bbbac
mov rdx, qword [r13 + 8]
mov rcx, qword [r15 + 8]
call fcn.1401177e0
mov esi, eax
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1400bbbb7
mov rcx, qword [rdi + 8]
mov rdx, rbp
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400bbb60
jmp 0x1400bbaf8
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1400bbb95
mov rcx, rbp
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r13
call rsi
mov esi, 0xf10
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rsp + 0x140]
call rbp
mov ebp, 0x400
mov r12, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0xd8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xd0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x1400bbc38
cmp byte [rdi + 0x221], 0
jne 0x1400bbc38
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xf0], 0x10
mov dword [rsp + 0xf4], esi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xf8], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xb0], 0x18
mov ecx, 4
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xb0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400bbe5b
mov r13d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x1400bbd04
mov r8, qword [rdi + 0x208]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
ror dword [rax - 0x7d], 0xc1
adc byte [rax - 0x75], cl
and al, 0x78
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], r13d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x8c], rax
lea rdx, [rsp + 0x80]
call qword [r8 + 0x28]
test rax, rax
je 0x1400bbd18
jmp 0x1400bbe79
test r13d, r13d
mov rcx, qword [rsp + 0x78]
jne 0x1400bbe69
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
movzx r13d, byte [rsp + 0x6e]
jne 0x1400baeea
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400baeea
lea rcx, [rdi + 0x180]
mov rsi, rdx
mov rdx, r12
mov r8, r15
call fcn.140119d10
mov rdx, rsi
mov rsi, qword [rsp + 0x110]
adc byte [rcx], al
add byte [rax], al
mov r12, qword [rdi + 0x190]
jmp 0x1400bb7f8
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], rdx
mov dword [rax], 2
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 0x1400bbdc2
mov rcx, qword [rsp + 0x70]
mov dword [rcx], 1
mov rax, qword [rsp + 0x128]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 4], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x14], eax
jmp 0x1400bbd7f
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
jmp 0x1400bbd7f
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], rbp
jmp 0x1400bbd79
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400bed80
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov dword [rcx], 2
jmp 0x1400bbd7f
mov r12, qword [rsp + 0xc8]
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rdi
mov rcx, r15
call rdi
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400bbe7c
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x70]
jmp 0x1400bbe8a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400bbe7c
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
mov rcx, qword [rsp + 0x78]
shl r13, 0x20
or r13, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400bbe7c
mov r13, rax
mov rsi, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rsi + 8], r13
mov dword [rsi], 2
jmp 0x1400bbd7f
mov rax, qword [rsp + 0x88]
jmp 0x1400bbdee
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140117bc0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140117bc0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov ecx, 1
mov rdx, r13
call fcn.140117bc0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.140117bb0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
mov rdx, r12
call fcn.140117bb0
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
call fcn.140117c30
mov ecx, 8
mov edx, 0x20
call fcn.1401178d0
lea rcx, [0x140151f37]
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov edx, 0x1f
call fcn.140117c40
lea r8, str._rustc_f9b16149208c8a8a349c32813312716f6603eb6flibrary_alloc_src_vecmod.rs
mov rcx, r13
call fcn.140117c30
lea r8, str._rustc_f9b16149208c8a8a349c32813312716f6603eb6flibrary_alloc_src_vecmod.rs
mov rcx, r15
call fcn.140117c30
int3