Function at 0x1400ec9c0
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 + 0x68], rcx
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x118], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x1f0]
mov qword [rsp + 0xf8], rax
lea rbp, [rsp + 0x70]
xorps xmm6, xmm6
nop word cs:[rax + rax]
movzx eax, byte [rdi + 0x1d0]
test rax, rax
jne 0x1400ed7a5
movzx esi, byte [rdi + 0x1d1]
movzx r14d, byte [rdi + 0x1d2]
movzx r15d, byte [rdi + 0x1d3]
movzx ebx, byte [rdi + 0x1d4]
mov rcx, rbp
mov rdx, rdi
call fcn.1400ed9f0
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x1400ed7ee
test rax, rax
je 0x1400eca90
cmp byte [rdi + 0x1d0], 0
jne 0x1400eca95
mov byte [rdi + 0x1d1], 1
jmp 0x1400eca95
test sil, sil
je 0x1400ecada
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1400ed994
mov rax, qword [rsp + 0x128]
cmp dword [rax], 2
je 0x1400ecad1
mov rcx, qword [rsp + 0x128]
call fcn.1400edb20
test rax, rax
jne 0x1400ed7fc
test rdx, rdx
jne 0x1400ed806
cmp byte [rdi + 0x1d0], 0
je 0x1400ecaf0
or bl, r15b
jne 0x1400ecb09
jmp 0x1400ecafc
mov byte [rdi + 0x1d1], 0
or bl, r15b
jne 0x1400ecb09
cmp byte [rdi + 0x222], 0
je 0x1400ed057
test r14b, r14b
je 0x1400ed314
cmp qword [rdi + 0x210], 0
je 0x1400ecb41
mov rcx, rbp
mov rdx, rdi
call fcn.1400edc80
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x1400ed7ee
test rax, rax
je 0x1400ed7da
mov r12, qword [rdi + 0x178]
movzx eax, byte [0x140222418]
mov rax, qword [0x140222380]
test rax, rax
jne 0x1400ecb70
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400ed976
mov qword [0x140222380], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call fcn.140167f74
test rax, rax
je 0x1400ed976
mov rdx, qword [rdi + 0x170]
cmp r12, rdx
ja 0x1400ed985
mov rsi, rax
mov rax, qword [rdi + 0x168]
mov dword [rsi], r12d
mov dword [rsi + 4], 2
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x1400ecc00
mov qword [rsp + 0xb0], 0
jmp 0x1400ecc80
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.14010f8d0
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x1400ecc80
mov rbx, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xe0]
call fcn.1400edea0
mov rsi, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
mov dword [rsi + rax], ebp
lea rbp, [rsp + 0x70]
mov dword [rsi + rax + 4], 0x12
mov qword [rsi + rax + 8], rbx
inc r12
mov qword [rsp + 0xf0], r12
jmp 0x1400ecc89
mov r12d, 2
xor r14d, r14d
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], r12d
mov qword [rsp + 0x138], 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 + 0x160], rax
mov qword [rsp + 0x168], rbp
mov dword [rsp + 0xac], 0
cmp byte [rdi + 0x222], 0
je 0x1400ece60
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0xf8]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0xac]
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 + 0xd0]
lea r8, [rsp + 0x130]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400ecd9e
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400ecdb0
call sub.secur32.dll_FreeContextBuffer
cmp r13d, 0x80090318
je 0x1400ecf30
test r13d, r13d
je 0x1400ecf60
cmp r13d, 0x90312
jne 0x1400ed814
mov byte [rdi + 0x223], 0
cmp r12, 1
jbe 0x1400ed93a
cmp dword [rsi + 0x14], 5
jne 0x1400ecffa
mov r15, qword [rdi + 0x178]
mov eax, dword [rsi + 0x10]
mov r13, r15
sub r13, rax
jb 0x1400ed9ac
mov ebp, dword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
test eax, eax
je 0x1400ed087
mov rdx, qword [rdi + 0x170]
mov rbx, rdx
sub rbx, r13
jb 0x1400ed9c4
mov qword [rdi + 0x170], 0
test r13, r13
je 0x1400ed13c
cmp rdx, r13
je 0x1400ed14f
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r13]
mov r8, rbx
call sub.msvcrt.dll_memmove
jmp 0x1400ed148
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x1400ece76
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 + 0xd0], xmm0
lea rax, [rsp + 0xac]
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 + 0xd0]
mov rdx, qword [rsp + 0xf8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov r13d, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1400ecd99
jmp 0x1400ecd9e
cmp r12, 1
jbe 0x1400ed94e
mov eax, 1
cmp dword [rsi + 0x14], 4
jne 0x1400ecf48
mov eax, dword [rsi + 0x10]
mov qword [rdi + 0x210], rax
test r14, r14
jne 0x1400ed2c1
jmp 0x1400ed2e1
cmp r12, 1
jbe 0x1400ed962
cmp dword [rsi + 0x14], 5
jne 0x1400ed017
mov r15, qword [rsp + 0x78]
test r15, r15
je 0x1400ecf93
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x100], r15
mov rbx, qword [rdi + 0x178]
mov eax, dword [rsi + 0x10]
mov r12, rbx
sub r12, rax
cmp rbx, r12
jb 0x1400ed9ac
je 0x1400ed1d2
mov rdx, qword [rdi + 0x170]
mov r13, rdx
sub r13, r12
jb 0x1400ed9d3
mov qword [rdi + 0x170], 0
test r12, r12
je 0x1400ed1c9
cmp rdx, r12
je 0x1400ed1d2
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r12]
mov r8, r13
call sub.msvcrt.dll_memmove
jmp 0x1400ed268
mov r15, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x70]
mov eax, 1
mov r12, qword [rsp + 0x78]
mov r13, r15
jmp 0x1400ed151
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400ed036
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x100], rax
mov qword [rdi + 0x178], 0
mov qword [rdi + 0x210], 1
jne 0x1400ed1f1
jmp 0x1400ed2b3
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 0x53
mov r8, rbp
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1400ed091
test r14b, r14b
jne 0x1400ecb12
jmp 0x1400ed8ab
mov eax, 1
jmp 0x1400ed151
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400ed3a5
call sub.crypt32.dll_CertDuplicateStore
mov rsi, rax
cmp qword [rdi], 0
je 0x1400ed3d1
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400ed128
nop word cs:[rax + rax]
mov r13, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov qword [rsp + 0x70], 0
mov rcx, rsi
mov rdx, r13
mov r8d, 3
lea r9, [rsp + 0x70]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x1400ed828
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400ed0d0
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
lea rbp, [rsp + 0x70]
jmp 0x1400ed3db
cmp rdx, r13
jne 0x1400ed148
xor eax, eax
xor r13d, r13d
jmp 0x1400ed151
mov qword [rdi + 0x170], rbx
xor eax, eax
sub r15, r13
mov qword [rdi + 0x178], r15
mov qword [rdi + 0x210], rax
test ebp, ebp
mov r13d, ebp
mov rbp, r12
lea rax, [0x14020d258]
cmove rbp, rax
mov rax, qword [rdi + 0x180]
mov rbx, qword [rdi + 0x190]
sub rax, rbx
cmp rax, r13
jb 0x1400ed3b3
mov rcx, qword [rdi + 0x188]
add rcx, rbx
mov rdx, rbp
mov r8, r13
call sub.msvcrt.dll_memcpy
add rbx, r13
mov qword [rdi + 0x190], rbx
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
lea rbp, [rsp + 0x70]
test r14, r14
jne 0x1400ed2c1
jmp 0x1400ed2e1
cmp rdx, r12
jne 0x1400ed268
xor eax, eax
sub rbx, r12
sete al
mov qword [rdi + 0x178], rbx
mov qword [rdi + 0x210], rax
test r15, r15
je 0x1400ed290
mov r12d, dword [rsp + 0x120]
test r12, r12
mov r13, qword [rsp + 0x100]
lea rax, [0x14020d258]
cmove r13, rax
mov rax, qword [rdi + 0x180]
mov rbp, qword [rdi + 0x190]
sub rax, rbp
cmp rax, r12
jb 0x1400ed51b
mov rcx, qword [rdi + 0x188]
add rcx, rbp
mov rdx, r13
mov r8, r12
call sub.msvcrt.dll_memcpy
add rbp, r12
mov qword [rdi + 0x190], rbp
mov rcx, qword [rsp + 0x100]
call sub.secur32.dll_FreeContextBuffer
mov rbx, qword [rdi + 0x178]
lea rbp, [rsp + 0x70]
test rbx, rbx
jne 0x1400ed295
jmp 0x1400ed2b3
xor eax, eax
sub rbx, r12
sete al
mov qword [rdi + 0x170], r13
mov qword [rdi + 0x178], rbx
mov qword [rdi + 0x210], rax
test r15, r15
jne 0x1400ed1f1
nop
test rbx, rbx
je 0x1400ed2b3
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.1400edf50
cmp byte [rsp + 0xd0], 0
jne 0x1400ed857
cmp byte [rdi + 0x1d0], 0
je 0x1400ed306
test r14, r14
je 0x1400ed2e1
mov r8, qword [rsp + 0xc0]
cmp r14, 0x11
jb 0x1400ed2d3
mov r8, qword [r8 - 8]
mov rcx, qword [0x140222380]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xe0], 0
je 0x1400eca20
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
jmp 0x1400eca20
mov byte [rdi + 0x1d2], 0
test r14, r14
jne 0x1400ed2c1
jmp 0x1400ed2e1
mov al, 2
test r15b, r15b
jne 0x1400ed36f
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0xf8]
mov edx, 4
mov r8, rbp
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x1400ed92d
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x10c], eax
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x7c]
mov qword [rsp + 0x148], rax
mov al, 1
mov byte [rdi + 0x1d0], al
mov eax, dword [rsp + 0x10c]
mov dword [rdi + 0x1d4], eax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0x1d8], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x1e0], rax
jmp 0x1400eca20
mov rsi, qword [rdi]
test rsi, rsi
je 0x1400ed3db
mov rsi, qword [rdi + 8]
jmp 0x1400ed3db
lea rcx, [rdi + 0x180]
mov rdx, rbx
mov r8, r13
call fcn.14014c280
mov rbx, qword [rdi + 0x190]
jmp 0x1400ed18f
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
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], rbp
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9, rsi
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1400ed8bd
mov qword [rsp + 0x110], rbx
mov rax, qword [rsp + 0xe0]
mov ebx, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xa0], rax
je 0x1400ed63c
cmp dword [rax + 0xc], 0
je 0x1400ed63c
mov rbp, qword [rsp + 0xa0]
mov rax, qword [rbp + 0x10]
mov rsi, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r13, rax
cmp dword [rbp + 0xc], 2
jb 0x1400ed539
mov ebx, 1
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov rsi, qword [rax + rbx*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r12, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc rbx
mov r13, r12
cmp rbx, rax
jb 0x1400ed4f0
jmp 0x1400ed53c
lea rcx, [rdi + 0x180]
mov rdx, rbp
mov r8, r12
call fcn.14014c280
mov rbp, qword [rdi + 0x190]
jmp 0x1400ed229
mov r12, r13
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateChain
xor r13d, r13d
jmp 0x1400ed56c
mov r13, qword [rsp + 0x158]
inc r13
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov eax, dword [rsi + 0xc]
mov ebx, 0xf00
cmp r13, rax
jae 0x1400ed62a
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400ed62a
mov qword [rsp + 0x158], r13
mov rax, qword [rax + r13*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r12, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400ed559
nop word cs:[rax + rax]
mov rbp, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r13, rax
mov r8d, dword [rbp + 0x10]
cmp r8d, dword [r12 + 0x10]
jne 0x1400ed60b
mov rdx, qword [r12 + 8]
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_memcmp
mov ebx, eax
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
test ebx, ebx
je 0x1400ed615
mov rcx, qword [rdi + 8]
mov rdx, r13
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400ed5c0
jmp 0x1400ed559
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x1400ed5f5
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov ebx, 0xf10
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
lea rbp, [rsp + 0x70]
lea rax, [rsp + 0xe8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe0], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x1400ed684
cmp byte [rdi + 0x221], 0
jne 0x1400ed684
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xd0], 0x10
mov dword [rsp + 0xd4], ebx
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xd8], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xb0], 0x18
mov ecx, 4
mov rdx, qword [rsp + 0xa0]
lea r8, [rsp + 0xd0]
lea r9, [rsp + 0xb0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1400ed8cf
mov r12d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x200]
test rax, rax
mov rbx, qword [rsp + 0x110]
je 0x1400ed76a
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 + 0xa0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], r12d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x7c], rax
mov rdx, rbp
call qword [r8 + 0x28]
test rax, rax
jne 0x1400ed8f6
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1d0], 0
jne 0x1400ecb09
jmp 0x1400ed795
test r12d, r12d
jne 0x1400ed8df
mov rcx, qword [rsp + 0xa0]
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x1d0], 0
jne 0x1400ecb09
mov rax, qword [rsp + 0x118]
mov byte [rax], 1
jmp 0x1400ecb09
cmp eax, 1
jne 0x1400ed7ce
mov rcx, qword [rsp + 0x118]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rsp + 0x68]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x1400ed90f
xor eax, eax
mov rdi, qword [rsp + 0x68]
jmp 0x1400ed90f
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400d26a0
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rax
jmp 0x1400ed90a
movabs rdx, 0xd00000003
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 8], rdx
jmp 0x1400ed90a
shl r13, 0x20
or r13, 2
test r14, r14
mov rdi, qword [rsp + 0x68]
jne 0x1400ed869
jmp 0x1400ed889
call fcn.140167f34
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400ed8f9
mov r13, qword [rsp + 0xd8]
test r14, r14
mov rdi, qword [rsp + 0x68]
je 0x1400ed889
mov r8, qword [rsp + 0xc0]
cmp r14, 0x11
jb 0x1400ed87b
mov r8, qword [r8 - 8]
mov rcx, qword [0x140222380]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xe0], 0
je 0x1400ed8a5
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov qword [rdi + 8], r13
jmp 0x1400ed90a
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rdi, qword [rsp + 0x68]
jmp 0x1400ed906
call fcn.140167f34
mov r12d, eax
shl r12, 0x20
or r12, 2
jmp 0x1400ed8f9
call fcn.140167f34
mov r12d, eax
mov rbx, qword [rsp + 0x110]
shl r12, 0x20
or r12, 2
mov rcx, qword [rsp + 0xa0]
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1400ed8f9
mov r12, rax
mov rdi, qword [rsp + 0x68]
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rdi + 8], r12
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 0x1400ed7ee
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r12
call fcn.140035100
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r12
call fcn.140035100
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r12
call fcn.140035100
mov ecx, 8
mov edx, 0x20
call fcn.1400315c0
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.140035fd0
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401da1c8]
mov edx, 0x29
call fcn.140036810
lea rcx, [0x1401de777]
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140036810
lea r8, [0x1401e2650]
mov rcx, r13
call fcn.140035fd0
lea r8, [0x1401e2650]
mov rcx, r12
call fcn.140035fd0
int3