Function at 0x1400b9960
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, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rdi, rdx
mov qword [rsp + 0x68], rcx
lea rax, [rdx + 0xd4]
mov qword [rsp + 0x110], rax
lea rbx, [rdx + 0x10]
lea rax, [rdx + 0xf0]
mov qword [rsp + 0xf0], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0xd0]
test eax, eax
jne 0x1400ba909
movzx r14d, byte [rdi + 0xd1]
movzx r15d, byte [rdi + 0xd2]
movzx r13d, byte [rdi + 0xd3]
movzx ebp, byte [rdi + 0xd4]
mov rdx, qword [rdi + 0x90]
mov rsi, qword [rdi + 0x98]
cmp rsi, rdx
jne 0x1400b9a00
test r14b, r14b
jne 0x1400b9a90
jmp 0x1400b9aa4
xor r12d, r12d
nop word cs:[rax + rax]
mov r9, rdx
sub r9, rsi
jb 0x1400baa5b
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400baa43
mov r8, qword [rdi + 0x88]
add r8, rsi
mov rcx, rbx
call fcn.1400f9d20
cmp rax, 2
movabs rcx, 0xd00000003
cmove rdx, rcx
test rax, rax
jne 0x1400ba8de
add r12, rdx
add rsi, rdx
mov qword [rdi + 0x98], rsi
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
jne 0x1400b9a10
test r12, r12
je 0x1400b99e9
cmp byte [rdi + 0xd0], 0
jne 0x1400b9a90
mov byte [rdi + 0xd1], 1
nop dword [rax + rax]
cmp qword [rdi + 0x38], 0
je 0x1400baa43
cmp byte [rdi + 0xd0], 0
je 0x1400b9aab
or bpl, r13b
jne 0x1400b9ac4
jmp 0x1400b9ab7
mov byte [rdi + 0xd1], 0
or bpl, r13b
jne 0x1400b9ac4
cmp byte [rdi + 0x122], 0
je 0x1400ba0db
test r15b, r15b
je 0x1400ba228
mov r13, qword [rdi + 0x78]
mov rsi, qword [rdi + 0x110]
test rsi, rsi
je 0x1400b9c49
xor r14d, r14d
nop word cs:[rax + rax]
lea rax, [r13*2]
cmp rax, rsi
cmova rsi, rax
cmp rsi, 0x401
mov eax, 0x400
cmovb rsi, rax
mov r12, qword [rdi + 0x70]
sub rsi, r12
jbe 0x1400b9b57
mov rax, qword [rdi + 0x60]
sub rax, r12
cmp rax, rsi
jb 0x1400b9c09
mov rbp, qword [rdi + 0x68]
lea rcx, [r12 + rbp]
cmp rsi, 2
jb 0x1400b9b4d
lea r8, [rsi - 1]
xor edx, edx
call fcn.140117440
add r12, rsi
dec r12
add rbp, r12
mov rcx, rbp
mov byte [rcx], 0
inc r12
mov qword [rdi + 0x70], r12
mov rax, r12
sub rax, r13
jb 0x1400baa6a
mov rcx, qword [rdi + 0x68]
add rcx, r13
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], rax
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400baa43
mov rcx, rbx
lea r8, [rsp + 0x70]
call fcn.1400f9a60
test rax, rax
movabs rax, 0xd00000003
cmovne rdx, rax
test rdx, rdx
jne 0x1400ba8de
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
cmp rcx, rdx
ja 0x1400baa7c
add r13, rcx
mov qword [rdi + 0x78], r13
mov rax, qword [rdi + 0x110]
mov rdx, rax
sub rdx, rcx
mov esi, 0
cmovae rsi, rdx
mov qword [rdi + 0x110], rsi
test rcx, rcx
je 0x1400b9c40
add r14, rcx
cmp rax, rcx
ja 0x1400b9af0
jmp 0x1400b9c40
lea rcx, [rdi + 0x60]
mov rdx, r12
mov r8, rsi
call fcn.140119d10
mov r12, qword [rdi + 0x70]
mov rbp, qword [rdi + 0x68]
lea rcx, [r12 + rbp]
cmp rsi, 2
jae 0x1400b9b36
jmp 0x1400b9b4d
test r14, r14
je 0x1400ba948
movzx eax, byte [0x140194310]
mov edx, 0x20
xor ecx, ecx
call fcn.1400eed30
test rax, rax
je 0x1400baa88
mov rdx, qword [rdi + 0x70]
cmp r13, rdx
ja 0x1400baa97
mov r12, rax
mov rax, qword [rdi + 0x68]
mov dword [r12], r13d
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xd0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xb8], rax
jne 0x1400b9ce0
mov qword [rsp + 0xa0], 0
jmp 0x1400b9d60
mov rdx, qword [rdi + 0xc0]
mov r8, qword [rdi + 0xc8]
lea rcx, [rsp + 0xa0]
call fcn.1400de4b0
mov r14, qword [rsp + 0xa0]
test r14, r14
je 0x1400b9d60
mov rsi, qword [rsp + 0xb0]
mov ebp, dword [rsp + 0xa8]
lea rcx, [rsp + 0xc0]
call fcn.1400bf580
mov r12, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
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 + 0xd0], r13
jmp 0x1400b9d69
mov r13d, 2
xor r14d, r14d
mov dword [rsp + 0x118], 0
mov dword [rsp + 0x11c], r13d
mov qword [rsp + 0x120], 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 + 0x150], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0xdc], 0
cmp byte [rdi + 0x122], 0
je 0x1400b9f3a
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xf0]
cmove rdx, rcx
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x150]
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 + 0x118]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b9e84
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400b9e97
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp ebp, 0x80090318
je 0x1400ba094
test ebp, ebp
je 0x1400ba002
cmp ebp, 0x90312
jne 0x1400ba0c5
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x1400baa2f
cmp dword [r12 + 0x14], 5
jne 0x1400ba157
mov rbp, qword [rdi + 0x78]
mov eax, dword [r12 + 0x10]
mov r13, rbp
sub r13, rax
jb 0x1400baaa6
mov r12d, dword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
test eax, eax
je 0x1400ba21e
mov rdx, qword [rdi + 0x70]
mov rsi, rdx
sub rsi, r13
jb 0x1400baabe
mov qword [rdi + 0x70], 0
test r13, r13
je 0x1400ba2ac
cmp rdx, r13
je 0x1400ba2b5
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + r13]
mov r8, rsi
call fcn.140116da0
jmp 0x1400ba2b1
cmp byte [rdi + 0x120], 0
mov r8d, 0
je 0x1400b9f50
mov r8, qword [rdi + 0xa8]
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0xe8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x118]
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 qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1400b9e7e
jmp 0x1400b9e84
cmp r13, 1
jbe 0x1400baa1b
cmp dword [r12 + 0x14], 5
jne 0x1400ba11a
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x1400ba037
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xf8], r13
mov rbp, qword [rdi + 0x78]
mov r14d, dword [r12 + 0x10]
mov rsi, rbp
sub rsi, r14
cmp rbp, rsi
jb 0x1400baaa6
je 0x1400ba489
mov rdx, qword [rdi + 0x70]
mov r12, rdx
sub r12, rsi
jb 0x1400baacd
mov qword [rdi + 0x70], 0
test rsi, rsi
je 0x1400ba480
cmp rdx, rsi
je 0x1400ba489
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + rsi]
mov r8, r12
call fcn.140116da0
jmp 0x1400ba510
cmp r13, 1
jbe 0x1400baa07
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400ba0b0
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x110], rax
test r14, r14
jne 0x1400ba5d0
jmp 0x1400ba5f0
shl rbp, 0x20
or rbp, 2
test r14, r14
jne 0x1400ba564
jmp 0x1400ba584
mov byte [rsp + 0x66], r15b
mov byte [rsp + 0x67], r13b
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf0]
mov edx, 0x53
lea r8, [rsp + 0x70]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x1400ba172
cmp byte [rsp + 0x66], 0
jne 0x1400b9acd
jmp 0x1400ba99c
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400ba139
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0xf8], rax
mov qword [rdi + 0x78], 0
mov qword [rdi + 0x110], 1
jne 0x1400ba4a5
jmp 0x1400ba5b3
mov rbp, qword [rdi + 0x78]
mov r12d, dword [rsp + 0x70]
mov eax, 1
mov r15, qword [rsp + 0x78]
mov r13, rbp
jmp 0x1400ba2b7
mov r15, qword [rsp + 0x70]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x1400ba324
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r14, rax
cmp qword [rdi], 0
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400ba20e
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400ba20e
nop dword [rax + rax]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov qword [rsp + 0x70], 0
mov rcx, r14
mov rdx, rbp
mov r8d, 3
lea r9, [rsp + 0x70]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400ba96d
mov rcx, qword [rsp + 0x70]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r12
mov rcx, rbp
call r12
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400ba1b0
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400ba337
mov eax, 1
jmp 0x1400ba2b7
mov al, 2
test r13b, r13b
jne 0x1400ba276
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0xf0]
call fcn.1400de450
cmp dword [rsp + 0x70], 0
jne 0x1400ba9fd
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x138], rax
mov al, 1
mov byte [rdi + 0xd0], al
mov eax, dword [rsp + 0x104]
mov dword [rdi + 0xd4], eax
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0xd8], rax
mov rax, qword [rsp + 0x138]
mov qword [rdi + 0xe0], rax
jmp 0x1400b99a8
cmp rdx, r13
je 0x1400ba2b5
mov qword [rdi + 0x70], rsi
xor eax, eax
sub rbp, r13
mov qword [rdi + 0x78], rbp
mov qword [rdi + 0x110], rax
test r12d, r12d
mov esi, r12d
mov rdx, r15
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x80]
mov r13, qword [rdi + 0x90]
sub rax, r13
cmp rax, rsi
jb 0x1400ba621
mov rcx, qword [rdi + 0x88]
add rcx, r13
mov r8, rsi
call fcn.140116da0
add r13, rsi
mov qword [rdi + 0x90], r13
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
test r14, r14
jne 0x1400ba5d0
jmp 0x1400ba5f0
mov r14, qword [rdi]
test r14, r14
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400ba337
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 + 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 + 0xc0], 0
lea rax, [rsp + 0xc0]
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, r15
xor r8d, r8d
mov r9, r14
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400ba9ae
mov r12, qword [rsp + 0xc0]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x1400ba768
cmp dword [r12 + 0xc], 0
je 0x1400ba768
mov qword [rsp + 0x130], r15
mov rax, qword [r12 + 0x10]
mov rbp, qword [rax]
mov rcx, r12
call r13
mov r13, rax
mov rax, r12
cmp dword [r12 + 0xc], 2
jb 0x1400ba645
mov r14d, 1
mov r15, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r12, rax
nop dword [rax + rax]
mov rax, qword [r12 + 0x10]
mov rbp, qword [rax + r14*8]
mov rcx, r12
call r15
mov rsi, rax
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
inc r14
mov r13, rsi
cmp r14, rax
jb 0x1400ba450
jmp 0x1400ba652
cmp rdx, rsi
jne 0x1400ba510
xor eax, eax
cmp rbp, rsi
sete al
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], rax
test r13, r13
je 0x1400ba530
mov esi, dword [rsp + 0x108]
test rsi, rsi
mov r14, qword [rsp + 0xf8]
mov rdx, r14
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x80]
mov r12, qword [rdi + 0x90]
sub rax, r12
cmp rax, rsi
jb 0x1400ba8b2
mov rcx, qword [rdi + 0x88]
add rcx, r12
mov r8, rsi
call fcn.140116da0
add r12, rsi
mov qword [rdi + 0x90], r12
mov rcx, r14
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r14, qword [rdi + 0x78]
test r14, r14
jne 0x1400ba535
jmp 0x1400ba5b3
xor eax, eax
cmp rbp, rsi
sete al
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], rax
test r13, r13
jne 0x1400ba4a5
test r14, r14
je 0x1400ba5b3
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.1400baae0
cmp byte [rsp + 0xe0], 0
je 0x1400ba5b3
mov rbp, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xa0]
test r14, r14
je 0x1400ba584
mov r8, qword [rsp + 0xb0]
cmp r14, 0x11
jb 0x1400ba576
mov r8, qword [r8 - 8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xc0], 0
je 0x1400ba5a5
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
test rbp, rbp
je 0x1400b99a8
jmp 0x1400ba93d
cmp byte [rdi + 0xd0], 0
jne 0x1400ba5c3
mov byte [rdi + 0xd2], 0
mov r14, qword [rsp + 0xa0]
test r14, r14
je 0x1400ba5f0
mov r8, qword [rsp + 0xb0]
cmp r14, 0x11
jb 0x1400ba5e2
mov r8, qword [r8 - 8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xc0], 0
je 0x1400ba611
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
xor ebp, ebp
test rbp, rbp
je 0x1400b99a8
jmp 0x1400ba93d
lea rcx, [rdi + 0x80]
mov r12, rdx
mov rdx, r13
mov r8, rsi
call fcn.140119d10
mov rdx, r12
mov r13, qword [rdi + 0x90]
jmp 0x1400ba2f1
mov rsi, r13
mov r15, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r12, rax
mov qword [rsp + 0x148], rbp
mov rcx, r12
call r15
mov qword [rsp + 0x128], rax
mov rcx, rsi
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
call rbp
xor edx, edx
jmp 0x1400ba68e
inc r15
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, r15
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rsp + 0x148]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp rdx, rax
jae 0x1400ba756
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400ba756
mov r15, rdx
mov rax, qword [rax + rdx*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 0x1400ba678
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbp, rax
mov r8d, dword [r13 + 0x10]
cmp dword [rsi + 0x10], r8d
jne 0x1400ba72e
mov rdx, qword [r13 + 8]
mov rcx, qword [rsi + 8]
call fcn.1401177e0
mov r14d, eax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r14d, r14d
je 0x1400ba739
mov rcx, qword [rdi + 8]
mov rdx, rbp
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400ba6e0
jmp 0x1400ba678
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1400ba717
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 + 0x128]
call rbp
mov r15, qword [rsp + 0x130]
lea rax, [rsp + 0xc8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xc0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
je 0x1400ba7b0
cmp byte [rdi + 0x121], 0
jne 0x1400ba7b0
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xe0], 0x10
mov dword [rsp + 0xe4], esi
lea rax, [rsp + 0xc0]
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, r12
lea r8, [rsp + 0xe0]
lea r9, [rsp + 0xa0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400ba9c1
mov r13d, dword [rsp + 0xa4]
mov rax, qword [rdi + 0x100]
test rax, rax
je 0x1400ba86e
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 + 0xa8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
je 0x1400ba880
jmp 0x1400ba9dd
test r13d, r13d
jne 0x1400ba9ca
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0xd0], 0
movzx r13d, byte [rsp + 0x67]
movzx r15d, byte [rsp + 0x66]
jne 0x1400b9ac4
mov rax, qword [rsp + 0x110]
mov byte [rax], 1
jmp 0x1400b9ac4
lea rcx, [rdi + 0x80]
mov r14, rdx
mov rdx, r12
mov r8, rsi
call fcn.140119d10
mov rdx, r14
mov r14, qword [rsp + 0xf8]
mov r12, qword [rdi + 0x90]
jmp 0x1400ba4dd
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], rdx
mov dword [rax], 2
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
jne 0x1400ba930
mov rcx, qword [rsp + 0x68]
mov dword [rcx], 1
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 4], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x14], eax
jmp 0x1400ba8ed
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
jmp 0x1400ba8ed
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], rbp
jmp 0x1400ba8e7
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400bed80
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rax
mov dword [rcx], 2
jmp 0x1400ba8ed
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, rsi
call rdi
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1400ba9e0
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x68]
jmp 0x1400ba9ee
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400ba9e0
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400ba9e0
mov r13, rax
mov rsi, qword [rsp + 0x68]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rsi + 8], r13
mov dword [rsi], 2
jmp 0x1400ba8ed
mov rax, qword [rsp + 0x78]
jmp 0x1400ba95c
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 rcx, [0x140152c54]
lea r8, [0x140152c80]
mov edx, 0x29
call fcn.140117c40
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, rsi
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_tokio_1.36.0_srcio_read_buf.rs
call fcn.140117c30
mov ecx, 8
mov edx, 0x20
call fcn.1401178d0
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
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, rsi
call fcn.140117c30
int3