Function at 0x14005a210
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 + 0x60], rcx
lea rax, [rdx + 0x144]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x138], rax
lea rax, [rdx + 0x1c0]
mov qword [rsp + 0xd8], rax
lea r12, [rsp + 0x70]
xorps xmm6, xmm6
nop word cs:[rax + rax]
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x14005af9e
movzx esi, byte [rdi + 0x141]
movzx r15d, byte [rdi + 0x142]
movzx r14d, byte [rdi + 0x143]
movzx ebx, byte [rdi + 0x144]
mov rcx, r12
mov rdx, rdi
call fcn.14005bc30
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x14005afe7
test rax, rax
je 0x14005a2e0
cmp byte [rdi + 0x140], 0
jne 0x14005a2e5
mov byte [rdi + 0x141], 1
jmp 0x14005a2e5
test sil, sil
je 0x14005a32a
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x14005b198
mov rax, qword [rsp + 0x138]
cmp dword [rax], 2
je 0x14005a321
mov rcx, qword [rsp + 0x138]
call fcn.14000af80
test rax, rax
jne 0x14005aff5
test rdx, rdx
jne 0x14005afff
cmp byte [rdi + 0x140], 0
je 0x14005a340
or bl, r14b
jne 0x14005a359
jmp 0x14005a34c
mov byte [rdi + 0x141], 0
or bl, r14b
jne 0x14005a359
cmp byte [rdi + 0x222], 0
je 0x14005a881
test r15b, r15b
je 0x14005ab19
cmp qword [rdi + 0x1f8], 0
je 0x14005a391
mov rcx, r12
mov rdx, rdi
call fcn.14005b7f0
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x14005afe7
test rax, rax
je 0x14005afd3
mov rbx, qword [rdi + 0x198]
movzx eax, byte [0x1401891c0]
mov rax, qword [0x140189110]
test rax, rax
jne 0x14005a3c0
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14005b176
mov qword [0x140189110], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14005b176
mov rdx, qword [rdi + 0x190]
cmp rbx, rdx
ja 0x14005b187
mov rsi, rax
mov rax, qword [rdi + 0x180]
mov dword [rsi], ebx
mov dword [rsi + 4], 2
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], 2
mov qword [rsp + 0xc0], 2
mov rdx, qword [rdi + 0x208]
mov r13d, 2
test rdx, rdx
je 0x14005a4a0
mov r8, qword [rdi + 0x218]
mov rcx, r12
call fcn.1400d09f0
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
test r14, r14
je 0x14005a4a0
mov rbx, qword [rsp + 0x78]
lea rcx, [rsp + 0xb0]
call fcn.1400d0fc0
mov rsi, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xc0]
mov rax, r13
shl rax, 4
mov dword [rsi + rax], ebx
mov dword [rsi + rax + 4], 0x12
mov qword [rsi + rax + 8], rbp
inc r13
mov qword [rsp + 0xc0], r13
jmp 0x14005a4a3
xor r14d, r14d
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x140], 0
mov dword [rsp + 0x144], r13d
mov qword [rsp + 0x148], 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 + 0x110], rax
mov qword [rsp + 0x118], r12
mov dword [rsp + 0xd4], 0
cmp byte [rdi + 0x222], 0
je 0x14005a680
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0xd8]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x110]
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 + 0x140]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14005a5bc
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14005a5ce
call sub.secur32.dll_FreeContextBuffer
cmp ebp, 0x80090318
je 0x14005a740
test ebp, ebp
je 0x14005a780
cmp ebp, 0x90312
jne 0x14005b00d
mov byte [rdi + 0x223], 0
cmp r13, 1
jbe 0x14005b134
cmp dword [rsi + 0x14], 5
jne 0x14005a81f
mov r15, qword [rdi + 0x198]
mov eax, dword [rsi + 0x10]
mov rbx, r15
sub rbx, rax
jb 0x14005b1b2
mov ebp, dword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
test eax, eax
je 0x14005a8b1
mov rdx, qword [rdi + 0x190]
mov r12, rdx
sub r12, rbx
jb 0x14005b1cc
mov qword [rdi + 0x190], 0
test rbx, rbx
je 0x14005a965
cmp rdx, rbx
je 0x14005a977
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rbx]
mov r8, r12
call sub.msvcrt.dll_memmove
jmp 0x14005a970
cmp byte [rdi + 0x220], 0
mov rax, qword [rdi + 0x1d0]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x140]
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 ebp, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14005a5b7
jmp 0x14005a5bc
cmp r13, 1
jbe 0x14005b14a
mov eax, 1
cmp dword [rsi + 0x14], 4
jne 0x14005a758
mov eax, dword [rsi + 0x10]
mov qword [rdi + 0x1f8], rax
mov rbp, qword [rsp + 0x68]
test r14, r14
jne 0x14005aacb
jmp 0x14005aae6
cmp r13, 1
jbe 0x14005b160
cmp dword [rsi + 0x14], 5
jne 0x14005a83c
mov r12, qword [rsp + 0x78]
test r12, r12
mov rbp, qword [rsp + 0x68]
je 0x14005a7b8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x108], r12
mov r15, qword [rdi + 0x198]
mov eax, dword [rsi + 0x10]
mov rbx, r15
sub rbx, rax
cmp r15, rbx
jb 0x14005b1b2
je 0x14005a9fa
mov rdx, qword [rdi + 0x190]
mov r13, rdx
sub r13, rbx
jb 0x14005b1cc
mov qword [rdi + 0x190], 0
test rbx, rbx
je 0x14005a9f5
cmp rdx, rbx
je 0x14005a9fa
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rbx]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x14005aa04
mov r15, qword [rdi + 0x198]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov r13, qword [rsp + 0x78]
mov rbx, r15
jmp 0x14005a979
mov rax, qword [rsp + 0x78]
test rax, rax
mov rbp, qword [rsp + 0x68]
je 0x14005a860
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x108], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
jne 0x14005aa2b
jmp 0x14005aabd
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xd8]
mov edx, 0x53
mov r8, r12
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14005a8bb
test r15b, r15b
jne 0x14005a362
jmp 0x14005b0a8
mov eax, 1
jmp 0x14005a979
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x100], rax
mov rcx, qword [rax + 0x20]
test rcx, rcx
mov qword [rsp + 0x68], rbp
je 0x14005abaa
call sub.crypt32.dll_CertDuplicateStore
mov rsi, rax
cmp qword [rdi], 0
je 0x14005a956
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x14005a956
nop dword [rax + rax]
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbx, rax
mov qword [rsp + 0x70], 0
mov rcx, rsi
mov rdx, rbp
mov r8d, 3
mov r9, r12
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x14005b021
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, rbx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x14005a900
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x14005abb6
cmp rdx, rbx
jne 0x14005a970
xor eax, eax
xor ebx, ebx
jmp 0x14005a979
mov qword [rdi + 0x190], r12
xor eax, eax
sub r15, rbx
mov qword [rdi + 0x198], r15
mov qword [rdi + 0x1f8], rax
test ebp, ebp
mov ebx, ebp
mov rbp, r13
lea rax, [0x140178ba0]
cmove rbp, rax
mov rax, qword [rdi + 0x1a8]
mov r12, qword [rdi + 0x1b0]
sub rax, r12
cmp rax, rbx
jb 0x14005acf0
mov rcx, qword [rdi + 0x1a0]
add rcx, r12
mov rdx, rbp
mov r8, rbx
call sub.msvcrt.dll_memcpy
add r12, rbx
mov qword [rdi + 0x1b0], r12
mov rcx, r13
call sub.secur32.dll_FreeContextBuffer
lea r12, [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
test r14, r14
jne 0x14005aacb
jmp 0x14005aae6
cmp rdx, rbx
jne 0x14005aa04
xor eax, eax
sub r15, rbx
sete al
jmp 0x14005aa13
xor eax, eax
sub r15, rbx
sete al
mov qword [rdi + 0x190], r13
mov qword [rdi + 0x198], r15
mov qword [rdi + 0x1f8], rax
test r12, r12
lea r12, [rsp + 0x70]
je 0x14005aa9a
mov ebx, dword [rsp + 0x130]
test rbx, rbx
mov r13, qword [rsp + 0x108]
lea rax, [0x140178ba0]
cmove r13, rax
mov rax, qword [rdi + 0x1a8]
mov rbp, qword [rdi + 0x1b0]
sub rax, rbp
cmp rax, rbx
jb 0x14005ad18
mov rcx, qword [rdi + 0x1a0]
add rcx, rbp
mov rdx, r13
mov r8, rbx
call sub.msvcrt.dll_memcpy
add rbp, rbx
mov qword [rdi + 0x1b0], rbp
mov rcx, qword [rsp + 0x108]
call sub.secur32.dll_FreeContextBuffer
mov r15, qword [rdi + 0x198]
mov rbp, qword [rsp + 0x68]
test r15, r15
je 0x14005aabd
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.14005b1e0
cmp byte [rsp + 0xe0], 0
jne 0x14005b050
cmp byte [rdi + 0x140], 0
je 0x14005ab0b
test r14, r14
je 0x14005aae6
mov r8, rbp
cmp r14, 0x11
jb 0x14005aad8
mov r8, qword [rbp - 8]
mov rcx, qword [0x140189110]
xor edx, edx
call fcn.14011631c
cmp qword [rsp + 0xb8], 0
je 0x14005a270
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, rsi
call fcn.14011631c
jmp 0x14005a270
mov byte [rdi + 0x142], 0
test r14, r14
jne 0x14005aacb
jmp 0x14005aae6
mov al, 2
test r14b, r14b
jne 0x14005ab74
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xd8]
mov edx, 4
mov r8, r12
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x14005b127
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x7c]
mov qword [rsp + 0x158], rax
mov al, 1
mov byte [rdi + 0x140], al
mov eax, dword [rsp + 0x124]
mov dword [rdi + 0x144], eax
mov rax, qword [rsp + 0x160]
mov qword [rdi + 0x148], rax
mov rax, qword [rsp + 0x158]
mov qword [rdi + 0x150], rax
jmp 0x14005a270
mov rsi, qword [rdi]
test rsi, rsi
je 0x14005abb6
mov rsi, 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 + 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], r12
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rsp + 0x100]
xor r8d, r8d
mov r9, rsi
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x14005b0ba
mov rdx, qword [rsp + 0xe0]
mov ebx, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xa8], rdx
je 0x14005ad0e
cmp dword [rdx + 0xc], 0
mov rbp, qword [rsp + 0x68]
je 0x14005ae49
mov rax, qword [rdx + 0x10]
mov rsi, qword [rax]
mov rcx, rdx
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rcx, qword [rsp + 0xa8]
mov r13, rax
cmp dword [rcx + 0xc], 2
jb 0x14005ad36
mov r12d, 1
nop
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax + r12*8]
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rbx, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + 0xc]
inc r12
mov r13, rbx
cmp r12, rax
jb 0x14005acc0
jmp 0x14005ad39
lea rcx, [rdi + 0x1a0]
mov rdx, r12
mov r8, rbx
call fcn.1400d0ce0
mov r12, qword [rdi + 0x1b0]
jmp 0x14005a9b6
mov rbp, qword [rsp + 0x68]
jmp 0x14005ae49
lea rcx, [rdi + 0x1a0]
mov rdx, rbp
mov r8, rbx
call fcn.1400d0ce0
mov rbp, qword [rdi + 0x1b0]
jmp 0x14005aa62
mov rbx, r13
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x150], rax
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateChain
xor ecx, ecx
lea r12, [rsp + 0x70]
jmp 0x14005ad72
mov rbx, qword [rsp + 0x168]
inc rbx
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbx
mov rbp, qword [rsp + 0x68]
mov eax, dword [rsi + 0xc]
mov ebx, 0xf00
cmp rcx, rax
jae 0x14005ae34
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14005ae34
mov qword [rsp + 0x168], rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x14005ad57
nop dword [rax + rax]
mov rbx, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov r8d, dword [rbx + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x14005ae10
mov rcx, qword [rbx + 8]
mov rdx, qword [r13 + 8]
call sub.msvcrt.dll_memcmp
mov r12d, eax
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
test r12d, r12d
lea r12, [rsp + 0x70]
je 0x14005ae1a
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x14005adc0
jmp 0x14005ad57
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x14005adfa
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov ebx, 0xf10
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x150]
call sub.crypt32.dll_CertFreeCertificateChain
mov rdx, qword [rsp + 0xa8]
lea rax, [rsp + 0xe8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x14005ae83
cmp byte [rdi + 0x221], 0
jne 0x14005ae83
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x110], 0x10
mov dword [rsp + 0x114], ebx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x118], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xb0], 0x18
mov ecx, 4
lea r8, [rsp + 0x110]
lea r9, [rsp + 0xb0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x14005b0cc
mov r13d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x14005af5e
mov r8, qword [rdi + 0x1f0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], r13d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x7c], rax
mov rdx, r12
call qword [r8 + 0x28]
test rax, rax
jne 0x14005b0eb
mov rcx, qword [rsp + 0x100]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x140], 0
jne 0x14005a359
jmp 0x14005af8e
test r13d, r13d
mov rcx, qword [rsp + 0xa8]
jne 0x14005b0dc
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0x100]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x140], 0
jne 0x14005a359
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x14005a359
cmp eax, 1
jne 0x14005afc7
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rsp + 0x60]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x14005b109
xor eax, eax
mov rdi, qword [rsp + 0x60]
jmp 0x14005b109
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.14001bbf0
mov rdi, qword [rsp + 0x60]
mov qword [rdi + 8], rax
jmp 0x14005b104
movabs rdx, 0xd00000003
mov rdi, qword [rsp + 0x60]
mov qword [rdi + 8], rdx
jmp 0x14005b104
shl rbp, 0x20
or rbp, 2
test r14, r14
mov rdi, qword [rsp + 0x60]
jne 0x14005b062
jmp 0x14005b086
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x14005b0ee
mov rbp, qword [rsp + 0xe8]
test r14, r14
mov rdi, qword [rsp + 0x60]
je 0x14005b086
cmp r14, 0x11
jae 0x14005b06f
mov r8, qword [rsp + 0x68]
jmp 0x14005b078
mov r8, qword [rsp + 0x68]
mov r8, qword [r8 - 8]
mov rcx, qword [0x140189110]
xor edx, edx
call fcn.14011631c
cmp qword [rsp + 0xb8], 0
je 0x14005b0a2
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, rsi
call fcn.14011631c
mov qword [rdi + 8], rbp
jmp 0x14005b104
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rdi, qword [rsp + 0x60]
jmp 0x14005b100
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x14005b0ee
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
mov rcx, qword [rsp + 0xa8]
shl r13, 0x20
or r13, 2
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x14005b0ee
mov r13, rax
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rdi + 8], r13
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 0x14005afe7
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, r13
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, r13
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, r13
call fcn.140085ca0
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, rbx
call fcn.1400865a0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14011f718]
mov edx, 0x29
call fcn.140086940
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, rbx
call fcn.1400865a0
ud2