Function at 0x1800e68f0
Capabilities:
Get remote cert context via schannel

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x100], xmm6
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0xe8], rcx
lea rax, [rdx + 0x144]
mov qword [rbp + 0x28], rax
lea rax, [rdx + 0x10]
mov qword [rbp + 0x18], rax
lea rax, [rdx + 0x1c0]
mov qword [rbp + 0x68], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x140]
test rax, rax
je 0x1800e6998
cmp eax, 1
jne 0x1800e7738
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rbp + 0xe8]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x1800e791d
xor r13d, r13d
test r13, r13
jne 0x1800e7746
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x1800e6954
movzx r14d, byte [rdi + 0x141]
movzx r12d, byte [rdi + 0x142]
movzx esi, byte [rdi + 0x143]
movzx ebx, byte [rdi + 0x144]
lea r13, [rbp + 0xa0]
mov rcx, r13
mov rdx, rdi
call fcn.1800e7a60
cmp qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa8]
jne 0x1800e790d
test rax, rax
je 0x1800e6a00
cmp byte [rdi + 0x140], 0
jne 0x1800e6a05
mov byte [rdi + 0x141], 1
jmp 0x1800e6a05
test r14b, r14b
je 0x1800e6a42
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1800e7984
mov rax, qword [rbp + 0x18]
cmp dword [rax], 2
je 0x1800e6a39
mov rcx, qword [rbp + 0x18]
call fcn.1800e7b90
test rax, rax
jne 0x1800e7772
test rdx, rdx
jne 0x1800e777c
cmp byte [rdi + 0x140], 0
je 0x1800e6a50
or bl, sil
jne 0x1800e6a69
jmp 0x1800e6a5c
mov byte [rdi + 0x141], 0
or bl, sil
jne 0x1800e6a69
cmp byte [rdi + 0x222], 0
je 0x1800e6f4b
test r12b, r12b
je 0x1800e710a
cmp qword [rdi + 0x1f8], 0
je 0x1800e6aa5
mov rcx, r13
mov rdx, rdi
call fcn.1800e7d30
cmp qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa8]
jne 0x1800e790d
test rax, rax
je 0x1800e7756
mov rbx, qword [rdi + 0x198]
movzx eax, byte [0x180247060]
mov rax, qword [0x180246f98]
test rax, rax
jne 0x1800e6ad5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e7962
mov qword [0x180246f98], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e7962
mov rdx, qword [rdi + 0x190]
cmp rbx, rdx
ja 0x1800e7973
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 [rbp + 0x80], rsi
mov qword [rbp + 0x88], 2
mov qword [rbp + 0x90], 2
mov rdx, qword [rdi + 0x208]
mov r12d, 2
test rdx, rdx
je 0x1800e6bc0
mov r8, qword [rdi + 0x218]
mov rcx, r13
call fcn.180112990
mov r15, qword [rbp + 0xa0]
mov r14, qword [rbp + 0xb0]
test r15, r15
mov qword [rbp + 0xd8], r14
je 0x1800e6bc0
mov rbx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x80]
call fcn.180112e60
mov rsi, qword [rbp + 0x80]
mov r12, qword [rbp + 0x90]
mov rax, r12
shl rax, 4
mov dword [rsi + rax], ebx
mov dword [rsi + rax + 4], 0x12
mov qword [rsi + rax + 8], r14
inc r12
mov qword [rbp + 0x90], r12
jmp 0x1800e6bc3
xor r15d, r15d
mov dword [rbp + 8], 0
mov dword [rbp + 0xc], r12d
mov qword [rbp + 0x10], rsi
movabs rax, 0x200000000
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 0
movabs rax, 0x1100000000
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xb8]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x7c], 0
cmp byte [rdi + 0x222], 0
je 0x1800e6d80
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rbp + 0x68]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm0
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x50]
lea r8, [rbp + 8]
mov r9d, 0x1011c
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov r13d, eax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1800e6cab
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1800e6cbd
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
cmp r13d, 0x80090318
je 0x1800e6ed0
test r13d, r13d
je 0x1800e6e20
cmp r13d, 0x90312
jne 0x1800e6f00
mov byte [rdi + 0x223], 0
cmp r12, 1
jbe 0x1800e794c
cmp dword [rsi + 0x14], 5
jne 0x1800e702a
mov r13, qword [rdi + 0x198]
mov eax, dword [rsi + 0x10]
mov rbx, r13
sub rbx, rax
jb 0x1800e799e
mov r12d, dword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
mov qword [rbp + 0xe0], rcx
test eax, eax
je 0x1800e7100
mov rdx, qword [rdi + 0x190]
mov r14, rdx
sub r14, rbx
jb 0x1800e79b8
mov qword [rdi + 0x190], 0
test rbx, rbx
je 0x1800e7197
cmp rdx, rbx
je 0x1800e71a9
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rbx]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
jmp 0x1800e71a2
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 [rbp + 0x50], xmm0
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 8]
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, [rbp + 0x50]
mov rdx, qword [rbp + 0x68]
mov r9d, 0x9819c
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
mov r13d, eax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1800e6ca5
jmp 0x1800e6cab
cmp r12, 1
jbe 0x1800e793a
cmp dword [rsi + 0x14], 5
jne 0x1800e6fe7
mov r13, qword [rdi + 0x198]
mov r12d, dword [rsi + 0x10]
mov rbx, r13
sub rbx, r12
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1800e6e60
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x48], rcx
cmp r13, rbx
jb 0x1800e799e
je 0x1800e726e
mov rdx, qword [rdi + 0x190]
mov r14, rdx
sub r14, rbx
jb 0x1800e79b8
mov qword [rdi + 0x190], 0
test rbx, rbx
je 0x1800e7269
cmp rdx, rbx
je 0x1800e726e
mov qword [rbp + 0xe0], rcx
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rbx]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe0]
jmp 0x1800e7278
cmp r12, 1
jbe 0x1800e7943
mov eax, 1
cmp dword [rsi + 0x14], 4
jne 0x1800e6ee8
mov eax, dword [rsi + 0x10]
mov qword [rdi + 0x1f8], rax
jmp 0x1800e721c
shl r13, 0x20
or r13, 2
test r15, r15
je 0x1800e7330
mov r8, qword [rbp + 0xd8]
cmp r15, 0x11
jb 0x1800e6f29
mov rax, qword [rbp + 0xd8]
mov r8, qword [rax - 8]
mov rcx, qword [0x180246f98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
jne 0x1800e733e
jmp 0x1800e6983
mov qword [rbp + 0xa0], 0
mov rcx, qword [rbp + 0x68]
mov edx, 0x53
mov r8, r13
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov rdx, rax
shl rdx, 0x20
or rdx, 2
test eax, eax
jne 0x1800e6f7e
mov rdx, qword [rbp + 0xa0]
je 0x1800e704c
test r12b, r12b
je 0x1800e777c
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x1800e6a72
lea rbx, [rdx - 1]
mov r14, qword [rdx - 1]
mov rsi, qword [rdx + 7]
mov rcx, r14
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1800e6fd0
cmp qword [rsi + 0x10], 0x11
jb 0x1800e6fbe
mov r14, qword [r14 - 8]
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800e6a72
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x1800e7002
mov rcx, qword [rbp + 0xa0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x48], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
mov r13, qword [rbp + 0xd8]
jne 0x1800e72a1
jmp 0x1800e7355
mov r13, qword [rdi + 0x198]
mov r12d, dword [rbp + 0xa0]
mov eax, 1
mov rcx, qword [rbp + 0xa8]
mov rbx, r13
jmp 0x1800e71b2
mov rcx, qword [rdx + 0x20]
test rcx, rcx
mov qword [rbp + 0xe0], rdx
je 0x1800e736e
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r15, rax
cmp qword [rdi], 0
je 0x1800e70e2
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1800e70e2
mov r13, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov qword [rbp + 0xa0], 0
mov rcx, r15
mov rdx, r13
mov r8d, 3
lea r9, [rbp + 0xa0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1800e788d
mov rcx, qword [rbp + 0xa0]
mov rbx, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rbx
mov rcx, r13
call rbx
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1800e7080
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
lea r13, [rbp + 0xa0]
mov rdx, qword [rbp + 0xe0]
jmp 0x1800e737a
mov eax, 1
jmp 0x1800e71ab
mov al, 2
test sil, sil
jne 0x1800e715d
movaps xmmword [rbp + 0xa0], xmm6
mov dword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x68]
mov edx, 4
mov r8, r13
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1800e7905
mov eax, dword [rbp + 0xa0]
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0xa4]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0xac]
mov qword [rbp - 8], rax
mov al, 1
mov byte [rdi + 0x140], al
mov eax, dword [rbp + 0x34]
mov dword [rdi + 0x144], eax
mov rax, qword [rbp - 0x10]
mov qword [rdi + 0x148], rax
mov rax, qword [rbp - 8]
mov qword [rdi + 0x150], rax
movzx eax, byte [rdi + 0x140]
test rax, rax
je 0x1800e6998
jmp 0x1800e6954
cmp rdx, rbx
jne 0x1800e71a2
xor eax, eax
xor ebx, ebx
jmp 0x1800e71ab
mov qword [rdi + 0x190], r14
xor eax, eax
mov rcx, qword [rbp + 0xe0]
sub r13, rbx
mov qword [rdi + 0x198], r13
mov qword [rdi + 0x1f8], rax
test r12d, r12d
mov ebx, r12d
mov r14, rcx
lea rax, [0x180234e18]
cmove r14, rax
mov rax, qword [rdi + 0x1a8]
mov r13, qword [rdi + 0x1b0]
sub rax, r13
cmp rax, rbx
mov r12, rcx
jb 0x1800e74b0
mov rcx, qword [rdi + 0x1a0]
add rcx, r13
mov rdx, r14
mov r8, rbx
call fcn.180199330
add r13, rbx
mov qword [rdi + 0x1b0], r13
mov rcx, r12
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
mov r13, qword [rbp + 0xd8]
test r15, r15
je 0x1800e7244
mov r8, r13
cmp r15, 0x11
jb 0x1800e7235
mov r8, qword [r13 - 8]
mov rcx, qword [0x180246f98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x1800e6980
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800e6980
cmp rdx, rbx
jne 0x1800e7278
xor eax, eax
cmp r13, rbx
sete al
jmp 0x1800e7287
xor eax, eax
cmp r13, rbx
sete al
mov qword [rdi + 0x190], r14
mov qword [rdi + 0x198], r12
mov qword [rdi + 0x1f8], rax
test rcx, rcx
mov r13, qword [rbp + 0xd8]
je 0x1800e7300
mov ebx, dword [rbp + 0x20]
test rbx, rbx
mov r14, qword [rbp + 0x48]
lea rax, [0x180234e18]
cmove r14, rax
mov rax, qword [rdi + 0x1a8]
mov r12, qword [rdi + 0x1b0]
sub rax, r12
cmp rax, rbx
jb 0x1800e771a
mov rcx, qword [rdi + 0x1a0]
add rcx, r12
mov rdx, r14
mov r8, rbx
call fcn.180199330
add r12, rbx
mov qword [rdi + 0x1b0], r12
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
mov r12, qword [rdi + 0x198]
test r12, r12
je 0x1800e7355
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.1800e7f70
cmp byte [rbp + 0x50], 0
je 0x1800e7355
mov r13, qword [rbp + 0x58]
test r15, r15
jne 0x1800e6f11
nop word cs:[rax + rax]
cmp qword [rbp + 0x88], 0
je 0x1800e6983
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800e6983
cmp byte [rdi + 0x140], 0
jne 0x1800e7223
mov byte [rdi + 0x142], 0
jmp 0x1800e7223
mov r15, qword [rdi]
test r15, r15
je 0x1800e737a
mov r15, qword [rdi + 8]
movaps xmmword [rbp + 0xa0], xmm6
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xa0], 0x20
mov dword [rbp + 0xa8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rbp + 0x80], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0x88], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0x90], rax
mov dword [rbp + 0xb0], 3
lea rax, [rbp + 0x80]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x50], 0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
xor r8d, r8d
mov r9, r15
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1800e78ba
mov r14, qword [rbp + 0x50]
mov ebx, 0xf00
cmp qword [rdi], 0
je 0x1800e75f4
cmp dword [r14 + 0xc], 0
je 0x1800e75f4
mov byte [rbp + 0xf7], sil
mov byte [rbp + 0xf6], r12b
mov rax, qword [r14 + 0x10]
mov rsi, qword [rax]
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, r14
mov r14, rax
mov qword [rbp + 0x70], rcx
cmp dword [rcx + 0xc], 2
jb 0x1800e74ce
mov r15d, 1
mov r12, qword [rbp + 0x70]
nop word cs:[rax + rax]
mov rax, qword [r12 + 0x10]
mov rsi, qword [rax + r15*8]
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
inc r15
mov r14, rbx
cmp r15, rax
jb 0x1800e7480
jmp 0x1800e74d5
lea rcx, [rdi + 0x1a0]
mov rdx, r13
mov r8, rbx
call fcn.18019b9e0
mov r13, qword [rdi + 0x1b0]
jmp 0x1800e71f4
mov rbx, r14
mov r12, qword [rbp + 0x70]
mov qword [rbp - 0x18], rsi
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp], rax
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
xor edx, edx
mov r14, r12
movzx r12d, byte [rbp + 0xf6]
movzx esi, byte [rbp + 0xf7]
jmp 0x1800e7523
mov rbx, qword [rbp - 0x20]
inc rbx
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, rbx
lea r13, [rbp + 0xa0]
mov r14, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx + 0xc]
mov ebx, 0xf00
cmp rdx, rax
jae 0x1800e75ea
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1800e75ea
mov qword [rbp - 0x20], 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 0x1800e7505
nop dword [rax + rax]
mov r14, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x1800e75be
mov rcx, qword [r14 + 8]
mov rdx, qword [r13 + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r15d, eax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
je 0x1800e75c9
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1800e7570
jmp 0x1800e7505
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1800e75a7
mov rcx, rbx
mov rbx, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rbx
mov rcx, r13
call rbx
mov ebx, 0xf10
lea r13, [rbp + 0xa0]
mov r14, qword [rbp + 0x70]
mov rcx, qword [rbp]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
lea rax, [rbp + 0x58]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x50], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x1800e7622
cmp byte [rdi + 0x221], 0
jne 0x1800e7622
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x38], 0x10
mov dword [rbp + 0x3c], ebx
lea rax, [rbp + 0x50]
mov qword [rbp + 0x40], rax
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x80], 0x18
mov ecx, 4
mov rdx, r14
lea r8, [rbp + 0x38]
lea r9, [rbp + 0x80]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1800e78cb
mov ebx, dword [rbp + 0x84]
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x1800e76e3
mov r8, qword [rdi + 0x1f0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov qword [rbp + 0xa0], r14
mov dword [rbp + 0xa8], ebx
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xac], rax
mov rdx, r13
call qword [r8 + 0x28]
test rax, rax
jne 0x1800e78e5
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
jne 0x1800e6a69
jmp 0x1800e770e
test ebx, ebx
jne 0x1800e78d2
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
jne 0x1800e6a69
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
jmp 0x1800e6a69
lea rcx, [rdi + 0x1a0]
mov rdx, r12
mov r8, rbx
call fcn.18019b9e0
mov r12, qword [rdi + 0x1b0]
jmp 0x1800e72d0
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e791d
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], r13
jmp 0x1800e7918
movzx eax, byte [0x180247060]
mov rcx, qword [0x180246f98]
test rcx, rcx
je 0x1800e7788
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e77a8
movabs rdx, 0xd00000003
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e78ff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x1800e79c9
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e79c9
mov rsi, rax
movups xmm0, xmmword [0x180205e17]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x180247060]
mov rcx, qword [0x180246f98]
test rcx, rcx
jne 0x1800e7803
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e79da
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e79da
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], 0x1f
mov qword [rax + 0x10], 0x1f
movzx eax, byte [0x180247060]
mov rcx, qword [0x180246f98]
test rcx, rcx
jne 0x1800e785c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e79eb
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e79eb
mov qword [rax], rbx
lea rcx, fcn.18001e8e0
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1800e7914
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, r13
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r14
call rsi
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1800e78e8
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x1800e78e8
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1800e78e8
mov rbx, rax
mov rdi, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, rbx
mov qword [rdi + 8], rdx
jmp 0x1800e7918
shl rax, 0x20
or rax, 2
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rax
mov eax, 2
mov dword [rdi], eax
movaps xmm6, xmmword [rbp + 0x100]
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.21_src_tls_stream.rsSenderC:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.4.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x1800e7953
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.21_src_tls_stream.rsSenderC:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.4.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x1800e7953
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.21_src_tls_stream.rsSenderC:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.4.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r12
call fcn.18019ac00
ud2
mov ecx, 8
mov edx, 0x20
call fcn.18019a870
ud2
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.21_src_tls_stream.rsSenderC:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.4.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbx
call fcn.18019ad00
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x180201ae8]
mov edx, 0x29
call fcn.18019ad80
ud2
lea rcx, [0x180205e27]
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.21_src_tls_stream.rsSenderC:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.4.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.18019ad80
ud2
lea r8, str._rustc_8c74a5d27c644a0f7a22bb2fa8dd3ff8257bc220library_alloc_src_vecmod.rs
mov rcx, rbx
call fcn.18019ad00
ud2
mov ecx, 1
mov edx, 0x1f
call fcn.18019a870
ud2
mov ecx, 8
mov edx, 0x18
call fcn.18019a870
ud2
mov qword [rbp + 0xd8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.18019a870
ud2