Function at 0x140059240
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 r12, rcx
lea rax, [rdx + 0x44]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x158], rax
lea rax, [rdx + 0xc0]
mov qword [rsp + 0xd8], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x40]
test rax, rax
jne 0x14005a024
movzx r14d, byte [rdi + 0x41]
movzx ebx, byte [rdi + 0x42]
movzx r13d, byte [rdi + 0x43]
movzx ebp, byte [rdi + 0x44]
mov rsi, qword [rdi + 0xb8]
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400592f0
test r14b, r14b
je 0x1400592d7
cmp qword [rdi + 0x38], 0
je 0x14005a18d
cmp byte [rdi + 0x40], 0
je 0x14005939a
or bpl, r13b
jne 0x1400593b0
jmp 0x1400593a3
mov byte [rsp + 0x98], bl
mov ebx, r13d
mov r13, r15
xor r15d, r15d
mov rax, rdx
sub rax, rsi
jb 0x14005a1a7
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x14005a18d
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x158]
call fcn.1401007c0
mov rcx, qword [rsp + 0x60]
cmp rcx, 2
je 0x140059ff0
mov rax, qword [rsp + 0x68]
test rcx, rcx
jne 0x140059ffa
add r15, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x140059300
test r15, r15
mov r15, r13
mov r13d, ebx
movzx ebx, byte [rsp + 0x98]
je 0x1400592bd
cmp byte [rdi + 0x40], 0
jne 0x1400592c2
mov byte [rdi + 0x41], 1
jmp 0x1400592c2
mov byte [rdi + 0x41], 0
or bpl, r13b
jne 0x1400593b0
cmp byte [rdi + 0x122], 0
je 0x1400598ce
test bl, bl
je 0x140059b75
cmp qword [rdi + 0xf8], 0
je 0x1400593e9
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.14005ba20
cmp qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
jne 0x140059ffa
test rax, rax
je 0x14005a04d
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1401891c0]
mov rax, qword [0x140189110]
test rax, rax
jne 0x140059418
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14005a1b8
mov qword [0x140189110], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14005a1b8
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x14005a1c9
mov r13, rax
mov rax, qword [rdi + 0x80]
mov dword [r13], esi
mov dword [r13 + 4], 2
mov qword [r13 + 8], rax
movups xmmword [r13 + 0x10], xmm6
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], 2
mov qword [rsp + 0xb0], 2
mov rdx, qword [rdi + 0x108]
mov ebp, 2
test rdx, rdx
je 0x140059500
mov r8, qword [rdi + 0x118]
lea rcx, [rsp + 0x60]
call fcn.1400d09f0
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
test rbx, rbx
je 0x140059500
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.1400d0fc0
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
mov rax, rbp
shl rax, 4
mov dword [r13 + rax], esi
mov dword [r13 + rax + 4], 0x12
mov qword [r13 + rax + 8], r15
inc rbp
mov qword [rsp + 0xb0], rbp
jmp 0x140059502
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], ebp
mov qword [rsp + 0x138], r13
movabs rax, 0x200000000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x78]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0xd4], 0
cmp byte [rdi + 0x122], 0
je 0x1400596f0
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xd8]
cmove rdx, rcx
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x100]
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 + 0x78]
test rcx, rcx
je 0x14005960e
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140059620
call sub.secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x1400597a0
test esi, esi
je 0x1400597c6
cmp esi, 0x90312
jne 0x14005a063
mov byte [rdi + 0x123], 0
cmp rbp, 1
jbe 0x14005a14b
mov qword [rsp + 0x98], r15
cmp dword [r13 + 0x14], 5
jne 0x14005986d
mov r15, qword [rdi + 0x98]
mov eax, dword [r13 + 0x10]
mov rsi, r15
sub rsi, rax
jb 0x14005a1da
mov rbp, r12
mov r12d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x1400598ff
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x14005a1f4
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1400599b7
cmp rdx, rsi
je 0x1400599c9
mov qword [rsp + 0xc0], rcx
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.msvcrt.dll_memmove
mov rcx, qword [rsp + 0xc0]
jmp 0x1400599c2
cmp byte [rdi + 0x120], 0
mov rax, qword [rdi + 0xd0]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x100]
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 + 0xd8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov esi, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x140059609
jmp 0x14005960e
cmp rbp, 1
jbe 0x14005a161
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x1400597ba
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x140059b30
cmp rbp, 1
jbe 0x14005a177
cmp dword [r13 + 0x14], 5
mov qword [rsp + 0xc8], r12
jne 0x14005988e
mov r12, qword [rsp + 0x68]
test r12, r12
je 0x140059802
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xf8], r12
mov r14, qword [rdi + 0x98]
mov eax, dword [r13 + 0x10]
mov rsi, r14
sub rsi, rax
cmp r14, rsi
jb 0x14005a1da
mov rbp, r15
je 0x140059a49
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, rsi
jb 0x14005a1f4
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x140059a44
cmp rdx, rsi
je 0x140059a49
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r15
call sub.msvcrt.dll_memmove
jmp 0x140059a53
mov rbp, r12
mov r15, qword [rdi + 0x98]
mov r12d, dword [rsp + 0x60]
mov eax, 1
mov rcx, qword [rsp + 0x68]
mov rsi, r15
jmp 0x1400599cb
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400598ad
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0xf8], rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0xf8], 1
jne 0x140059a80
jmp 0x140059b1b
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0xd8]
mov edx, 0x53
lea r8, [rsp + 0x60]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x140059909
test bl, bl
jne 0x1400593b8
jmp 0x14005a0e9
mov eax, 1
jmp 0x1400599cb
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rax + 0x20]
mov rbp, r15
test rcx, rcx
je 0x140059bea
call sub.crypt32.dll_CertDuplicateStore
mov r14, rax
cmp qword [rdi], 0
je 0x1400599a8
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400599a8
nop word cs:[rax + rax]
mov rsi, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r15, rax
mov qword [rsp + 0x60], 0
mov rcx, r14
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x60]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x14005a06d
mov rcx, qword [rsp + 0x60]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, r15
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140059950
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x140059bf6
cmp rdx, rsi
jne 0x1400599c2
xor eax, eax
xor esi, esi
jmp 0x1400599cb
mov qword [rdi + 0x90], r14
xor eax, eax
sub r15, rsi
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test r12d, r12d
mov esi, r12d
mov r12, rcx
mov r15, rcx
lea rax, [0x140178ba0]
cmove r15, rax
mov rax, qword [rdi + 0xa8]
mov r14, qword [rdi + 0xb0]
sub rax, r14
cmp rax, rsi
jb 0x140059d3b
mov rcx, qword [rdi + 0xa0]
add rcx, r14
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r14, rsi
mov qword [rdi + 0xb0], r14
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
mov r15, qword [rsp + 0x98]
mov r12, rbp
jmp 0x140059b30
cmp rdx, rsi
jne 0x140059a53
xor eax, eax
sub r14, rsi
sete al
jmp 0x140059a62
xor eax, eax
sub r14, rsi
sete al
mov qword [rdi + 0x90], r15
mov qword [rdi + 0x98], r14
mov qword [rdi + 0xf8], rax
test r12, r12
mov r12, qword [rsp + 0xc8]
mov r15, rbp
je 0x140059af8
mov r12, r15
mov esi, dword [rsp + 0x120]
test rsi, rsi
mov r15, qword [rsp + 0xf8]
lea rax, [0x140178ba0]
cmove r15, rax
mov rax, qword [rdi + 0xa8]
mov rbp, qword [rdi + 0xb0]
sub rax, rbp
cmp rax, rsi
jb 0x140059d64
mov rcx, qword [rdi + 0xa0]
add rcx, rbp
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [rdi + 0xb0], rbp
mov rcx, qword [rsp + 0xf8]
call sub.secur32.dll_FreeContextBuffer
mov r14, qword [rdi + 0x98]
mov r15, r12
mov r12, qword [rsp + 0xc8]
test r14, r14
je 0x140059b1b
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.14005b4f0
cmp byte [rsp + 0xe0], 0
jne 0x14005a09b
cmp byte [rdi + 0x40], 0
jne 0x140059b30
mov byte [rdi + 0x42], 0
nop word cs:[rax + rax]
test rbx, rbx
je 0x140059b50
mov r8, r15
cmp rbx, 0x11
jb 0x140059b42
mov r8, qword [r15 - 8]
mov rcx, qword [0x140189110]
xor edx, edx
call fcn.14011631c
cmp qword [rsp + 0xa8], 0
je 0x14005928b
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, r13
call fcn.14011631c
jmp 0x14005928b
mov al, 2
test r13b, r13b
jne 0x140059bc0
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0xd8]
call fcn.1400d1070
cmp dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x118], rax
jne 0x14005a13e
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x148], rax
mov al, 1
mov byte [rdi + 0x40], al
mov eax, dword [rsp + 0x114]
mov dword [rdi + 0x44], eax
mov rax, qword [rsp + 0x118]
mov qword [rdi + 0x48], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x50], rax
jmp 0x14005928b
mov r14, qword [rdi]
test r14, r14
je 0x140059bf6
mov r14, qword [rdi + 8]
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x68], 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 + 0x70], 3
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xe0], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
xor r8d, r8d
mov r9, r14
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x14005a0f5
mov rax, qword [rsp + 0xe0]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xb8], rax
je 0x140059d59
cmp dword [rax + 0xc], 0
mov r15, rbp
mov rbp, rax
je 0x140059e9f
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xc8], r12
mov rax, qword [rbp + 0x10]
mov r12, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r15, rax
cmp dword [rbp + 0xc], 2
jb 0x140059d82
mov r14d, 1
nop dword [rax + rax]
mov rax, qword [rbp + 0x10]
mov r12, qword [rax + r14*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc r14
mov r15, rsi
cmp r14, rax
jb 0x140059d10
jmp 0x140059d85
lea rcx, [rdi + 0xa0]
mov rdx, r14
mov r8, rsi
call fcn.1400d0ce0
mov r14, qword [rdi + 0xb0]
jmp 0x140059a0d
mov r15, rbp
mov rbp, rax
jmp 0x140059e9f
lea rcx, [rdi + 0xa0]
mov rdx, rbp
mov r8, rsi
call fcn.1400d0ce0
mov rbp, qword [rdi + 0xb0]
jmp 0x140059aba
mov rsi, r15
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor ecx, ecx
jmp 0x140059dbf
mov rsi, qword [rsp + 0x150]
inc rsi
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
mov rbp, qword [rsp + 0xb8]
mov eax, dword [r12 + 0xc]
mov esi, 0xf00
cmp rcx, rax
mov r15, qword [rsp + 0x98]
jae 0x140059e8a
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x140059e8a
mov qword [rsp + 0x150], rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x140059da1
mov r15, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov r8d, dword [r15 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x140059e5b
mov rcx, qword [r15 + 8]
mov rdx, qword [rbp + 8]
call sub.msvcrt.dll_memcmp
mov r14d, eax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
test r14d, r14d
je 0x140059e65
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x140059e10
jmp 0x140059da1
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x140059e45
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov r15, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
mov r12, qword [rsp + 0xc8]
lea rax, [rsp + 0xe8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0xd0]
test rax, rax
je 0x140059ed9
cmp byte [rdi + 0x121], 0
jne 0x140059ed9
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x100], 0x10
mov dword [rsp + 0x104], esi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x108], 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 + 0x100]
lea r9, [rsp + 0xa0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x14005a106
mov ebp, dword [rsp + 0xa4]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x140059fb4
mov r8, qword [rdi + 0xf0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], ebp
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x6c], rax
lea rdx, [rsp + 0x60]
call qword [r8 + 0x28]
test rax, rax
jne 0x14005a124
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1400593b0
jmp 0x140059fe0
test ebp, ebp
jne 0x14005a10d
mov rcx, qword [rsp + 0xb8]
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1400593b0
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400593b0
movabs rax, 0xd00000003
mov qword [r12 + 8], rax
mov eax, 2
mov dword [r12], eax
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 0x14005a049
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov dword [r12 + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [r12 + 4], xmm0
mov eax, 1
jmp 0x14005a004
xor eax, eax
jmp 0x14005a004
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.14001bbf0
jmp 0x140059ffa
shl rsi, 0x20
or rsi, 2
jmp 0x14005a0a3
call sub.KERNEL32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x14005a127
mov rsi, qword [rsp + 0xe8]
test rbx, rbx
je 0x14005a0c3
cmp rbx, 0x11
jb 0x14005a0b2
mov r15, qword [r15 - 8]
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, r15
call fcn.14011631c
cmp qword [rsp + 0xa8], 0
je 0x14005a0df
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, r13
call fcn.14011631c
mov qword [r12 + 8], rsi
jmp 0x140059fff
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x14005a134
call sub.KERNEL32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x14005a127
call sub.KERNEL32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, qword [rsp + 0xb8]
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x14005a127
mov rbp, rax
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [r12 + 8], rbp
jmp 0x140059fff
mov rax, qword [rsp + 0x118]
jmp 0x140059ffa
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov ecx, 1
mov rdx, rbp
call fcn.140085ca0
ud2
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov ecx, 1
mov rdx, rbp
call fcn.140085ca0
ud2
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov ecx, 1
mov rdx, rbp
call fcn.140085ca0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14011f718]
mov edx, 0x29
call fcn.140086940
ud2
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov rcx, rsi
call fcn.140085c20
ud2
mov ecx, 8
mov edx, 0x20
call fcn.140083160
ud2
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov rcx, rsi
call fcn.1400865a0
ud2
lea rcx, [0x140121f3f]
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rs
mov edx, 0x1f
call fcn.140086940
ud2
lea r8, str._rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1400865a0
ud2