Function at 0x1400d5420
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 r12, rcx
lea rax, [rdx + 0x144]
mov qword [rsp + 0x128], rax
lea r10, [rdx + 0x10]
lea rax, [rdx + 0x1c0]
mov qword [rsp + 0x108], rax
lea r13, [rdx + 0x18]
xorps xmm6, xmm6
mov qword [rsp + 0x110], r10
mov qword [rsp + 0x68], r13
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x1400d62e8
movzx r14d, byte [rdi + 0x141]
movzx ebx, byte [rdi + 0x142]
movzx r15d, byte [rdi + 0x143]
movzx ebp, byte [rdi + 0x144]
mov rsi, qword [rdi + 0x1b8]
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
jne 0x1400d5510
test r14b, r14b
je 0x1400d54fa
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1400d6477
cmp dword [r10], 2
je 0x1400d54ed
mov rcx, r10
call fcn.1400b18e0
test rax, rax
jne 0x1400d6327
test rdx, rdx
jne 0x1400d6331
cmp byte [rdi + 0x140], 0
je 0x1400d55f1
or bpl, r15b
jne 0x1400d560a
jmp 0x1400d55fd
mov byte [rsp + 0xa8], bl
mov ebx, r15d
xor r15d, r15d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1400d6491
mov r8, qword [rdi + 0x138]
test r8, r8
je 0x1400d6477
mov r9, qword [rdi + 0x1a0]
add r9, rsi
cmp dword [r10], 2
jne 0x1400d5570
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.140124090
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
jne 0x1400d5591
jmp 0x1400d62b4
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rdx, r10
call fcn.1400b20a0
mov rcx, qword [rsp + 0x70]
cmp rcx, 2
je 0x1400d62b4
mov rax, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400d62be
add r15, rax
add rsi, rax
mov qword [rdi + 0x1b8], rsi
mov rdx, qword [rdi + 0x1b0]
cmp rsi, rdx
mov r10, qword [rsp + 0x110]
jne 0x1400d5520
test r15, r15
mov r15d, ebx
movzx ebx, byte [rsp + 0xa8]
je 0x1400d54b8
cmp byte [rdi + 0x140], 0
jne 0x1400d54bd
mov byte [rdi + 0x141], 1
jmp 0x1400d54bd
mov byte [rdi + 0x141], 0
or bpl, r15b
jne 0x1400d560a
cmp byte [rdi + 0x222], 0
je 0x1400d5b37
test bl, bl
je 0x1400d5dd3
cmp qword [rdi + 0x1f8], 0
je 0x1400d5643
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1400d64f0
cmp qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x78]
jne 0x1400d62be
test rax, rax
je 0x1400d6311
mov rsi, qword [rdi + 0x198]
movzx eax, byte [0x1401be180]
mov rax, qword [0x1401be0e8]
test rax, rax
jne 0x1400d5672
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400d64a2
mov qword [0x1401be0e8], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400d64a2
mov rdx, qword [rdi + 0x190]
cmp rsi, rdx
ja 0x1400d64b3
mov r13, rax
mov rax, qword [rdi + 0x180]
mov dword [r13], esi
mov dword [r13 + 4], 2
mov qword [r13 + 8], rax
movups xmmword [r13 + 0x10], xmm6
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], 2
mov qword [rsp + 0xc0], 2
mov rdx, qword [rdi + 0x208]
test rdx, rdx
je 0x1400d5760
mov r8, qword [rdi + 0x218]
lea rcx, [rsp + 0xd0]
call fcn.1400ebb90
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x1400d576c
mov rsi, qword [rsp + 0xe0]
mov r14d, dword [rsp + 0xd8]
mov edx, 2
lea rcx, [rsp + 0xb0]
call fcn.140050660
mov r13, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xc0]
mov rax, rbp
shl rax, 4
mov dword [r13 + rax], r14d
mov dword [r13 + rax + 4], 0x12
mov qword [r13 + rax + 8], rsi
inc rbp
mov qword [rsp + 0xc0], rbp
jmp 0x1400d5773
mov qword [rsp + 0xd0], 0
mov ebp, 2
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], ebp
mov qword [rsp + 0x138], r13
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
lea rax, [rsp + 0x70]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0xcc], 0
cmp byte [rdi + 0x222], 0
je 0x1400d5950
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0x108]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xcc]
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 sub.secur32.dll_AcceptSecurityContext
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400d588b
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400d589d
call sub.secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x1400d5a06
test esi, esi
je 0x1400d5a31
cmp esi, 0x90312
jne 0x1400d6338
mov byte [rdi + 0x223], 0
cmp rbp, 1
jbe 0x1400d6435
cmp dword [r13 + 0x14], 5
jne 0x1400d5ad3
mov rbp, qword [rdi + 0x198]
mov eax, dword [r13 + 0x10]
mov rsi, rbp
sub rsi, rax
jb 0x1400d64c4
mov r15, r12
mov r12d, dword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
test eax, eax
je 0x1400d5b68
mov rdx, qword [rdi + 0x190]
mov r14, rdx
sub r14, rsi
jb 0x1400d64de
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x1400d5c1f
cmp rdx, rsi
je 0x1400d5c2b
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.msvcrt.dll_memmove
jmp 0x1400d5c24
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 + 0xf0], xmm0
lea rax, [rsp + 0xcc]
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 sub.secur32.dll_InitializeSecurityContextW
mov esi, eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x1400d5886
jmp 0x1400d588b
cmp rbp, 1
jbe 0x1400d644b
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x1400d5a20
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0x1f8], rax
mov r13, qword [rsp + 0x68]
jmp 0x1400d5d80
cmp rbp, 1
jbe 0x1400d6461
cmp dword [r13 + 0x14], 5
jne 0x1400d5af4
mov r15, r12
mov r12, qword [rsp + 0x78]
test r12, r12
je 0x1400d5a66
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xc8], eax
mov qword [rsp + 0x120], r12
mov rbp, qword [rdi + 0x198]
mov eax, dword [r13 + 0x10]
mov rsi, rbp
sub rsi, rax
cmp rbp, rsi
jb 0x1400d64c4
mov r13, qword [rsp + 0x68]
je 0x1400d5ca5
mov rdx, qword [rdi + 0x190]
mov r14, rdx
sub r14, rsi
jb 0x1400d64de
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x1400d5ca0
cmp rdx, rsi
je 0x1400d5ca5
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.msvcrt.dll_memmove
jmp 0x1400d5caf
mov r15, r12
mov rbp, qword [rdi + 0x198]
mov r12d, dword [rsp + 0x70]
mov eax, 1
mov r13, qword [rsp + 0x78]
mov rsi, rbp
jmp 0x1400d5c2d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400d5b11
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0xc8], ecx
mov qword [rsp + 0x120], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
mov r13, qword [rsp + 0x68]
jne 0x1400d5cd4
jmp 0x1400d5d65
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x108]
mov edx, 0x53
lea r8, [rsp + 0x70]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1400d5b72
test bl, bl
jne 0x1400d5612
jmp 0x1400d63d0
mov eax, 1
jmp 0x1400d5c2d
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
mov qword [rsp + 0x100], rsi
je 0x1400d5e6e
call sub.crypt32.dll_CertDuplicateStore
mov r13, rax
cmp qword [rdi], 0
je 0x1400d5e9a
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400d5c08
nop
mov rsi, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r14, rax
mov qword [rsp + 0x70], 0
mov rcx, r13
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x70]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x1400d6342
mov rcx, qword [rsp + 0x70]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, r14
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400d5bb0
mov rcx, r13
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov rsi, qword [rsp + 0x100]
jmp 0x1400d5ea4
cmp rdx, rsi
je 0x1400d5c2b
mov qword [rdi + 0x190], r14
xor eax, eax
sub rbp, rsi
mov qword [rdi + 0x198], rbp
mov qword [rdi + 0x1f8], rax
test r12d, r12d
mov esi, r12d
mov r14, r13
lea rax, str.NoneSome
cmove r14, rax
mov rax, qword [rdi + 0x1a8]
mov rbp, qword [rdi + 0x1b0]
sub rax, rbp
cmp rax, rsi
jb 0x1400d5e7c
mov r12, r15
mov rcx, qword [rdi + 0x1a0]
add rcx, rbp
mov rdx, r14
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [rdi + 0x1b0], rbp
mov rcx, r13
call sub.secur32.dll_FreeContextBuffer
mov r13, qword [rsp + 0x68]
jmp 0x1400d5d80
cmp rdx, rsi
jne 0x1400d5caf
xor eax, eax
sub rbp, rsi
sete al
jmp 0x1400d5cbe
xor eax, eax
sub rbp, rsi
sete al
mov qword [rdi + 0x190], r14
mov qword [rdi + 0x198], rbp
mov qword [rdi + 0x1f8], rax
test r12, r12
mov r12, r15
je 0x1400d5d42
mov eax, dword [rsp + 0xc8]
test eax, eax
mov esi, eax
mov r15, qword [rsp + 0x120]
mov r14, r15
lea rax, str.NoneSome
cmove r14, rax
mov rax, qword [rdi + 0x1a8]
mov r13, qword [rdi + 0x1b0]
sub rax, r13
cmp rax, rsi
jb 0x1400d5fe5
mov rcx, qword [rdi + 0x1a0]
add rcx, r13
mov rdx, r14
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r13, rsi
mov qword [rdi + 0x1b0], r13
mov rcx, r15
call sub.secur32.dll_FreeContextBuffer
mov rbp, qword [rdi + 0x198]
mov r13, qword [rsp + 0x68]
test rbp, rbp
je 0x1400d5d65
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.1400d6720
cmp byte [rsp + 0xf0], 0
jne 0x1400d6378
cmp byte [rdi + 0x140], 0
jne 0x1400d5d80
mov byte [rdi + 0x142], 0
nop word cs:[rax + rax]
test rbx, rbx
je 0x1400d5da5
mov r8, qword [rsp + 0xe0]
cmp rbx, 0x11
jb 0x1400d5d97
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xb8], 0
je 0x1400d5dc6
mov r8, qword [rsp + 0xb0]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov r10, qword [rsp + 0x110]
jmp 0x1400d5477
mov al, 2
test r15b, r15b
jne 0x1400d5e30
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x108]
mov edx, 4
lea r8, [rsp + 0x70]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x1400d6428
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x11c], 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 + 0x140], al
mov eax, dword [rsp + 0x11c]
mov dword [rdi + 0x144], eax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x150], rax
mov r10, qword [rsp + 0x110]
jmp 0x1400d5477
mov r13, qword [rdi]
test r13, r13
je 0x1400d5ea4
mov r13, qword [rdi + 8]
jmp 0x1400d5ea4
lea rcx, [rdi + 0x1a0]
mov rdx, rbp
mov r8, rsi
call fcn.140058000
mov rbp, qword [rdi + 0x1b0]
jmp 0x1400d5c6c
mov rcx, r13
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 + 0xd0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xd8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x80], 3
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rsi
xor r8d, r8d
mov r9, r13
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1400d63dc
mov rbp, qword [rsp + 0xb0]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xa8], rbp
je 0x1400d5fdb
cmp dword [rbp + 0xc], 0
mov r13, qword [rsp + 0x68]
je 0x1400d615f
mov byte [rsp + 0x67], r15b
mov r13, r12
mov rax, qword [rbp + 0x10]
mov r15, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r14, rax
cmp dword [rbp + 0xc], 2
jb 0x1400d6003
mov r12d, 1
nop dword [rax]
mov rax, qword [rbp + 0x10]
mov r15, qword [rax + r12*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc r12
mov r14, rsi
cmp r12, rax
jb 0x1400d5fb0
jmp 0x1400d6006
mov r13, qword [rsp + 0x68]
jmp 0x1400d615f
lea rcx, [rdi + 0x1a0]
mov rdx, r13
mov r8, rsi
call fcn.140058000
mov r13, qword [rdi + 0x1b0]
jmp 0x1400d5d0f
mov rsi, r14
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor r14d, r14d
mov r12, r13
mov r13, qword [rsp + 0x68]
jmp 0x1400d6046
mov r14, qword [rsp + 0x158]
inc r14
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rbp, qword [rsp + 0xa8]
mov eax, dword [r15 + 0xc]
mov esi, 0xf00
cmp r14, rax
jae 0x1400d614c
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x1400d614c
mov qword [rsp + 0x158], r14
mov rax, qword [rax + r14*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 0x1400d602b
mov r14, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1400d60cd
mov rdx, qword [rbp + 8]
mov rcx, qword [r14 + 8]
call sub.msvcrt.dll_memcmp
mov dword [rsp + 0x118], eax
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
cmp dword [rsp + 0x118], 0
jne 0x1400d60e0
jmp 0x1400d612f
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
nop word cs:[rax + rax]
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400d602b
mov r14, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov r8d, dword [r14 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1400d60cd
mov rdx, qword [rbp + 8]
mov rcx, qword [r14 + 8]
call sub.msvcrt.dll_memcmp
mov r13d, eax
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
test r13d, r13d
mov r13, qword [rsp + 0x68]
jne 0x1400d60e0
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
movzx r15d, byte [rsp + 0x67]
lea rax, [rsp + 0xb8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xb0], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x1400d6199
cmp byte [rdi + 0x221], 0
jne 0x1400d6199
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xf0], 0x10
mov dword [rsp + 0xf4], esi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xf8], rax
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0xd0], 0x18
mov ecx, 4
mov rdx, rbp
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xd0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1400d63ed
mov ebp, dword [rsp + 0xd4]
mov rax, qword [rdi + 0x1e8]
test rax, rax
mov rsi, qword [rsp + 0x100]
je 0x1400d627a
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], ebp
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x7c], rax
lea rdx, [rsp + 0x70]
call qword [r8 + 0x28]
test rax, rax
jne 0x1400d6413
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x140], 0
jne 0x1400d560a
jmp 0x1400d62a4
test ebp, ebp
jne 0x1400d63fc
mov rcx, qword [rsp + 0xa8]
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x140], 0
jne 0x1400d560a
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400d560a
movabs rax, 0xd00000003
mov qword [r12 + 8], rax
mov eax, 2
mov dword [r12], 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 0x1400d630d
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 0x1400d62c8
xor eax, eax
jmp 0x1400d62c8
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.140067130
jmp 0x1400d62be
movabs rdx, 0xd00000003
mov qword [r12 + 8], rdx
jmp 0x1400d62c3
shl rsi, 0x20
or rsi, 2
jmp 0x1400d6380
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r14
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov rsi, qword [rsp + 0x100]
jmp 0x1400d6416
mov rsi, qword [rsp + 0xf8]
test rbx, rbx
je 0x1400d63a5
mov r8, qword [rsp + 0xe0]
cmp rbx, 0x11
jb 0x1400d6397
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0xb8], 0
je 0x1400d63c6
mov r8, qword [rsp + 0xb0]
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov qword [r12 + 8], rsi
jmp 0x1400d62c3
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400d641e
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400d6416
call sub.kernel32.dll_GetLastError
mov ebp, eax
mov rsi, qword [rsp + 0x100]
shl rbp, 0x20
or rbp, 2
mov rcx, qword [rsp + 0xa8]
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1400d6416
mov rbp, rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [r12 + 8], rbp
jmp 0x1400d62c3
shl rax, 0x20
or rax, 2
jmp 0x1400d62be
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.14000aa40
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.14000aa40
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rbp
call fcn.14000aa40
ud2
lea rcx, [0x14017f1f3]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_native_tls_0.3.1_src_lib.rs
mov edx, 0x29
call fcn.14000c150
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14000a9c0
ud2
mov ecx, 8
mov edx, 0x20
call fcn.140007810
ud2
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14000b910
ud2
lea rcx, [0x1401810cf]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs_Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.14000c150
ud2
lea r8, str._rustc_a2f5f9691b6ce64c1703feaf9363710dfd7a56cflibrary_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.14000b910
ud2