Function at 0x1400adb10
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 0x1400aeb0c
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 0x1400adbb0
test bpl, bpl
mov ebp, 0x400
jne 0x1400adc20
jmp 0x1400adc3a
xor r12d, r12d
nop word cs:[rax + rax]
mov r8, rdx
sub r8, r15
jb 0x1400aec0b
mov rdx, qword [rdi + 0x188]
add rdx, r15
mov rcx, rbx
call fcn.140078fa0
test rax, rax
jne 0x1400aeae0
add r12, rdx
add r15, rdx
mov qword [rdi + 0x198], r15
mov rdx, qword [rdi + 0x190]
cmp r15, rdx
jne 0x1400adbc0
test r12, r12
je 0x1400adb98
cmp byte [rdi + 0x1d0], 0
mov ebp, 0x400
jne 0x1400adc20
mov byte [rdi + 0x1d1], 1
nop word [rax + rax]
mov rcx, rbx
call fcn.140078eb0
test rax, rax
jne 0x1400aeb59
cmp byte [rdi + 0x1d0], 0
je 0x1400adc41
or sil, r14b
jne 0x1400adc5a
jmp 0x1400adc4d
mov byte [rdi + 0x1d1], 0
or sil, r14b
jne 0x1400adc5a
cmp byte [rdi + 0x222], 0
je 0x1400ae23f
test r13b, r13b
je 0x1400ae3de
mov r13, qword [rdi + 0x178]
mov r15, qword [rdi + 0x210]
test r15, r15
je 0x1400add99
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 0x1400adcee
mov rax, qword [rdi + 0x160]
sub rax, r12
cmp rax, r15
jb 0x1400add50
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jb 0x1400adce1
lea r8, [r15 - 1]
xor edx, edx
call fcn.140118c00
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 0x1400aec1a
mov rdx, qword [rdi + 0x168]
add rdx, r13
mov rcx, rbx
call fcn.140078e00
test rax, rax
jne 0x1400aeae0
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 0x1400add90
add rsi, rdx
cmp rax, rdx
ja 0x1400adc80
jmp 0x1400add90
lea rcx, [rdi + 0x160]
mov rdx, r12
mov r8, r15
call fcn.14011f430
mov r12, qword [rdi + 0x170]
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jae 0x1400adcca
jmp 0x1400adce1
test rsi, rsi
je 0x1400aeb45
movzx eax, byte [0x140196310]
mov edx, 0x20
xor ecx, ecx
call fcn.1400f0c90
test rax, rax
je 0x1400aec2c
mov rdx, qword [rdi + 0x170]
cmp r13, rdx
ja 0x1400aec3b
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 + 0xd8], 2
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x1400ade30
mov qword [rsp + 0xb0], 0
jmp 0x1400adeb0
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.1400e0510
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400adeb0
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xd8]
call fcn.140106940
mov r12, qword [rsp + 0xe0]
mov dword [r12 + 0x20], ebp
mov dword [r12 + 0x24], 0x12
mov qword [r12 + 0x28], r14
mov qword [rsp + 0xe8], 3
mov eax, 3
jmp 0x1400adeb7
mov eax, 2
xor esi, esi
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], eax
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 + 0xd4], 0
cmp byte [rdi + 0x222], 0
je 0x1400ae09b
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 + 0xd4]
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 r13d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400adfdb
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400adfee
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp r13d, 0x80090318
je 0x1400ae1fe
test r13d, r13d
je 0x1400ae164
cmp r13d, 0x90312
jne 0x1400ae229
mov byte [rdi + 0x223], 0
cmp dword [r12 + 0x14], 5
jne 0x1400ae2de
mov r14, qword [rdi + 0x178]
mov eax, dword [r12 + 0x10]
mov r13, r14
sub r13, rax
jb 0x1400aec4a
mov ebp, dword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
test eax, eax
je 0x1400ae3d4
mov rdx, qword [rdi + 0x170]
mov r15, rdx
sub r15, r13
jb 0x1400aec62
mov qword [rdi + 0x170], 0
test r13, r13
je 0x1400ae46e
cmp rdx, r13
je 0x1400ae47a
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r13]
mov r8, r15
call fcn.140118560
jmp 0x1400ae473
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x1400ae0b1
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 + 0xd4]
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 r13d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x1400adfd5
jmp 0x1400adfdb
cmp dword [r12 + 0x14], 5
jne 0x1400ae283
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x1400ae195
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 0x1400aec4a
je 0x1400ae50a
mov rdx, qword [rdi + 0x170]
mov r12, rdx
sub r12, r15
jb 0x1400aec71
mov qword [rdi + 0x170], 0
test r15, r15
je 0x1400ae501
cmp rdx, r15
je 0x1400ae50a
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r15]
mov r8, r12
call fcn.140118560
jmp 0x1400ae592
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1400ae2c9
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x210], rax
test rsi, rsi
jne 0x1400ae65e
jmp 0x1400ae67f
shl r13, 0x20
or r13, 2
test rsi, rsi
jne 0x1400ae5f0
jmp 0x1400ae611
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 0x1400ae301
cmp byte [rsp + 0x6e], 0
jne 0x1400adc63
jmp 0x1400aeba0
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400ae2a8
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 0x1400ae529
jmp 0x1400ae641
mov qword [rdi + 0x210], rax
test rsi, rsi
jne 0x1400ae65e
jmp 0x1400ae67f
mov r14, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x80]
mov eax, 1
mov r12, qword [rsp + 0x88]
mov r13, r14
jmp 0x1400ae47c
mov r15, qword [rsp + 0x80]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x1400ae4e5
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov rsi, rax
cmp qword [rdi], 0
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400ae6b2
mov qword [rsp + 0x100], r15
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400ae3b7
nop dword [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 0x1400aeb64
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 0x1400ae350
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov ebp, 0x400
mov r15, qword [rsp + 0x100]
jmp 0x1400ae6bd
mov eax, 1
jmp 0x1400ae47c
mov al, 2
test r14b, r14b
mov rcx, qword [rsp + 0x150]
mov edx, dword [rsp + 0x11c]
mov r8, qword [rsp + 0x148]
jne 0x1400ae438
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x108]
call fcn.1400e0a00
cmp dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x88]
jne 0x1400aebfd
mov edx, dword [rsp + 0x84]
mov r8, qword [rsp + 0x90]
mov al, 1
mov byte [rdi + 0x1d0], al
mov dword [rsp + 0x11c], edx
mov dword [rdi + 0x1d4], edx
mov qword [rsp + 0x150], rcx
mov qword [rdi + 0x1d8], rcx
mov qword [rsp + 0x148], r8
mov qword [rdi + 0x1e0], r8
jmp 0x1400adb58
cmp rdx, r13
je 0x1400ae47a
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 rcx, qword [rdi + 0x190]
sub rax, rcx
cmp rax, r15
jb 0x1400ae808
add rcx, qword [rdi + 0x188]
mov r8, r15
call fcn.140118560
add qword [rdi + 0x190], r15
mov rcx, r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
test rsi, rsi
jne 0x1400ae65e
jmp 0x1400ae67f
mov rsi, qword [rdi]
test rsi, rsi
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400ae6bd
mov rsi, qword [rdi + 8]
jmp 0x1400ae6bd
cmp rdx, r15
jne 0x1400ae592
xor eax, eax
cmp r13, r15
sete al
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x210], rax
test r14, r14
je 0x1400ae5b8
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 rcx, qword [rdi + 0x190]
sub rax, rcx
cmp rax, r15
jb 0x1400aeaa4
add rcx, qword [rdi + 0x188]
mov r8, r15
call fcn.140118560
add qword [rdi + 0x190], r15
mov rcx, rsi
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rsi, qword [rdi + 0x178]
test rsi, rsi
jne 0x1400ae5c1
jmp 0x1400ae641
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 0x1400ae529
test rsi, rsi
je 0x1400ae641
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.1400aec90
cmp byte [rsp + 0xf0], 0
je 0x1400ae641
mov r13, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400ae611
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x1400ae602
mov r8, qword [r8 - 8]
mov rcx, qword [0x140196260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
je 0x1400ae633
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x140196260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r13, r13
je 0x1400adb58
jmp 0x1400aeb3b
cmp byte [rdi + 0x1d0], 0
jne 0x1400ae651
mov byte [rdi + 0x1d2], 0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400ae67f
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x1400ae670
mov r8, qword [r8 - 8]
mov rcx, qword [0x140196260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
je 0x1400ae6a1
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x140196260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
xor r13d, r13d
test r13, r13
je 0x1400adb58
jmp 0x1400aeb3b
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 + 0xd8], 0
lea rax, [rsp + 0xd8]
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, r15
xor r8d, r8d
mov r9, rsi
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400aebb2
mov rdx, qword [rsp + 0xd8]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0x78], rdx
je 0x1400ae950
cmp dword [rdx + 0xc], 0
je 0x1400ae950
mov qword [rsp + 0x100], r15
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 0x1400ae832
mov esi, 1
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax + rsi*8]
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 0x1400ae7e0
jmp 0x1400ae843
lea rax, [rdi + 0x180]
mov r8, rcx
mov rcx, rax
mov r14, rdx
mov rdx, r8
mov r8, r15
call fcn.14011f430
mov rdx, r14
mov rcx, qword [rdi + 0x190]
jmp 0x1400ae4b8
mov r15, r13
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
call r14
mov qword [rsp + 0x140], rax
mov rcx, r15
call rbp
xor esi, esi
movzx r14d, byte [rsp + 0x6f]
jmp 0x1400ae878
mov rsi, qword [rsp + 0x158]
inc rsi
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
cmp rsi, rax
jae 0x1400aead6
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x158], rsi
mov rax, qword [rax + rsi*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 0x1400ae85d
nop word cs:[rax + rax]
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 0x1400ae90c
mov rdx, qword [r13 + 8]
mov rcx, qword [r15 + 8]
call fcn.140118fa0
mov esi, eax
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1400ae917
mov rcx, qword [rdi + 8]
mov rdx, rbp
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400ae8c0
jmp 0x1400ae85d
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1400ae8f5
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 r15, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0xe0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xd8], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x1400ae998
cmp byte [rdi + 0x221], 0
jne 0x1400ae998
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], 0x10
mov dword [rsp + 0xf4], esi
lea rax, [rsp + 0xd8]
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 0x1400aebc5
mov r13d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x1400aea64
mov r8, qword [rdi + 0x208]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 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 0x1400aea78
jmp 0x1400aebe3
test r13d, r13d
mov rcx, qword [rsp + 0x78]
jne 0x1400aebd3
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
movzx r13d, byte [rsp + 0x6e]
jne 0x1400adc5a
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400adc5a
lea rax, [rdi + 0x180]
mov r8, rcx
mov rcx, rax
mov rsi, rdx
mov rdx, r8
mov r8, r15
call fcn.14011f430
mov rdx, rsi
mov rsi, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x190]
jmp 0x1400ae562
mov esi, 0xf00
jmp 0x1400ae934
mov rsi, qword [rsp + 0x70]
mov qword [rsi + 8], rdx
mov eax, 2
mov dword [rsi], 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
cmp eax, 1
jne 0x1400aeb32
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 4], xmm0
mov eax, 1
jmp 0x1400aeaee
xor eax, eax
mov rsi, qword [rsp + 0x70]
jmp 0x1400aeaee
mov rsi, qword [rsp + 0x70]
jmp 0x1400aebf4
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400ac910
mov rsi, qword [rsp + 0x70]
mov qword [rsi + 8], rax
jmp 0x1400aeae9
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]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x100]
jmp 0x1400aebeb
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x70]
jmp 0x1400aebf4
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400aebe6
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 0x1400aebe6
mov r13, rax
mov rsi, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rsi + 8], r13
jmp 0x1400aeae9
mov rsi, qword [rsp + 0x70]
mov qword [rsi + 8], rcx
jmp 0x1400aeae9
lea r8, str.C:UsersBOTNET.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.140119370
lea r8, str.C:UsersBOTNET.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.140119370
mov ecx, 8
mov edx, 0x20
call fcn.140119090
lea r8, str.C:UsersBOTNET.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.140119450
lea rcx, [0x140154567]
lea r8, str.C:UsersBOTNET.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.1401194c0
lea r8, str._rustc_d9284afea99e0969a0e692b9e9fd61ea4ba21366library_alloc_src_vecmod.rs
mov rcx, r13
call fcn.140119450
lea r8, str._rustc_d9284afea99e0969a0e692b9e9fd61ea4ba21366library_alloc_src_vecmod.rs
mov rcx, r15
call fcn.140119450
int3