Function at 0x1800e82f0
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 + 0x44]
mov qword [rbp + 0x30], rax
lea rax, [rdx + 0x10]
mov qword [rbp + 0x58], rax
lea rax, [rdx + 0xc0]
mov qword [rbp + 0x78], rax
lea r13, [rbp + 0xb0]
xorps xmm6, xmm6
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx eax, byte [rdi + 0x40]
test rax, rax
jne 0x1800e915b
movzx r15d, byte [rdi + 0x41]
movzx ecx, byte [rdi + 0x42]
movzx ebx, byte [rdi + 0x43]
movzx r14d, byte [rdi + 0x44]
mov rsi, qword [rdi + 0xb8]
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1800e83b0
test r15b, r15b
je 0x1800e839f
cmp qword [rdi + 0x38], 0
je 0x1800e9374
cmp byte [rdi + 0x40], 0
je 0x1800e8458
or r14b, bl
jne 0x1800e846e
jmp 0x1800e8461
mov byte [rbp + 0xe0], cl
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1800e938e
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1800e9374
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rbp + 0x58]
call fcn.18013a2f0
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x1800e9124
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1800e912e
add r12, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1800e83c0
test r12, r12
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx ecx, byte [rbp + 0xe0]
je 0x1800e8385
cmp byte [rdi + 0x40], 0
jne 0x1800e838a
mov byte [rdi + 0x41], 1
jmp 0x1800e838a
mov byte [rdi + 0x41], 0
or r14b, bl
jne 0x1800e846e
cmp byte [rdi + 0x122], 0
je 0x1800e8956
test cl, cl
je 0x1800e8b21
cmp qword [rdi + 0xf8], 0
je 0x1800e84a9
mov rcx, r13
mov rdx, rdi
call fcn.1800e9790
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x1800e912e
test rax, rax
je 0x1800e9197
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x180247060]
mov rax, qword [0x180246f98]
test rax, rax
jne 0x1800e84d9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e939f
mov qword [0x180246f98], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e939f
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1800e93b0
mov r12, rax
mov rax, qword [rdi + 0x80]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 2
mov qword [rbp + 0xa0], 2
mov rdx, qword [rdi + 0x108]
mov r13d, 2
test rdx, rdx
je 0x1800e85d0
mov r8, qword [rdi + 0x118]
lea rcx, [rbp + 0xb0]
call fcn.180112990
mov rbx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xc0]
test rbx, rbx
mov qword [rbp + 0x28], rax
je 0x1800e85d0
mov rsi, qword [rbp + 0xb8]
lea rcx, [rbp + 0x90]
mov r14, rax
call fcn.180112e60
mov r12, qword [rbp + 0x90]
mov r13, qword [rbp + 0xa0]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], esi
mov dword [r12 + rax + 4], 0x12
mov qword [r12 + rax + 8], r14
inc r13
mov qword [rbp + 0xa0], r13
jmp 0x1800e85d2
xor ebx, ebx
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], r13d
mov qword [rbp + 0x20], r12
movabs rax, 0x200000000
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 0
movabs rax, 0x1100000000
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xc8]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x8c], 0
cmp byte [rdi + 0x122], 0
je 0x1800e8790
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rbp + 0x78]
cmove rdx, rcx
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x60], xmm0
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x60]
lea r8, [rbp + 0x18]
mov r9d, 0x1011c
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1800e86c3
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1800e86d5
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x1800e88e3
test esi, esi
je 0x1800e882e
cmp esi, 0x90312
jne 0x1800e890b
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x1800e935e
cmp dword [r12 + 0x14], 5
jne 0x1800e8a4b
mov r13, qword [rdi + 0x98]
mov eax, dword [r12 + 0x10]
mov r14, r13
sub r14, rax
jb 0x1800e93c1
mov esi, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0xe0], rcx
test eax, eax
je 0x1800e8b17
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, r14
jb 0x1800e93db
mov qword [rdi + 0x90], 0
test r14, r14
je 0x1800e8b91
cmp rdx, r14
je 0x1800e8ba4
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
jmp 0x1800e8b9d
cmp byte [rdi + 0x120], 0
mov rax, qword [rdi + 0xd0]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x60], xmm0
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x18]
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 + 0x60]
mov rdx, qword [rbp + 0x78]
mov r9d, 0x9819c
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x1800e86bd
jmp 0x1800e86c3
cmp r13, 1
jbe 0x1800e934c
cmp dword [r12 + 0x14], 5
jne 0x1800e8a05
mov r13, qword [rdi + 0x98]
mov r15d, dword [r12 + 0x10]
mov rsi, r13
sub rsi, r15
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
mov rax, qword [rbp + 0x80]
je 0x1800e8877
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov rax, rcx
cmp r13, rsi
jb 0x1800e93c1
mov qword [rbp + 0x80], rax
je 0x1800e8c7a
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x1800e93ec
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1800e8c75
cmp rdx, rsi
je 0x1800e8c7a
mov qword [rbp + 0xe0], rcx
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe0]
jmp 0x1800e8c84
cmp r13, 1
jbe 0x1800e9355
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1800e88ff
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x1800e8c16
shl rsi, 0x20
or rsi, 2
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1800e8d3d
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1800e8934
mov r8, qword [rax - 8]
mov rcx, qword [0x180246f98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
jne 0x1800e8d47
jmp 0x1800e8d59
mov byte [rbp + 0xe0], cl
mov byte [rbp + 0xf7], bl
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x78]
mov edx, 0x53
mov r8, r13
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov rbx, rax
shl rbx, 0x20
or rbx, 2
test eax, eax
jne 0x1800e8995
mov rbx, qword [rbp + 0xb0]
movzx eax, byte [rbp + 0xe0]
je 0x1800e8a6c
test al, al
je 0x1800e92e6
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1800e8476
lea rsi, [rbx - 1]
mov r14, qword [rbx - 1]
mov r15, qword [rbx + 7]
mov rcx, r14
call qword [r15]
cmp qword [r15 + 8], 0
je 0x1800e89ee
cmp qword [r15 + 0x10], 0x11
jb 0x1800e89dc
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, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800e8476
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x1800e8a23
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x80], rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0xf8], 1
lea r13, [rbp + 0xb0]
jne 0x1800e8cad
jmp 0x1800e8d6e
mov r13, qword [rdi + 0x98]
mov esi, dword [rbp + 0xb0]
mov eax, 1
mov rcx, qword [rbp + 0xb8]
mov r14, r13
jmp 0x1800e8bad
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800e8d81
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r15, rax
cmp qword [rdi], 0
je 0x1800e8b00
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1800e8b00
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r12, rax
mov qword [rbp + 0xb0], 0
mov rcx, r15
mov rdx, rsi
mov r8d, 3
mov r9, r13
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1800e92b8
mov rcx, qword [rbp + 0xb0]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov rcx, qword [rdi + 8]
mov rdx, r12
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1800e8aa0
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1800e8d8d
mov eax, 1
jmp 0x1800e8ba6
mov al, 2
test bl, bl
jne 0x1800e8b73
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x78]
mov edx, 4
mov r8, r13
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x1800e933f
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0xb4]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0xbc]
mov qword [rbp], rax
mov al, 1
mov byte [rdi + 0x40], al
mov eax, dword [rbp + 0x44]
mov dword [rdi + 0x44], eax
mov rax, qword [rbp - 8]
mov qword [rdi + 0x48], rax
mov rax, qword [rbp]
mov qword [rdi + 0x50], rax
jmp 0x1800e8353
cmp rdx, r14
jne 0x1800e8b9d
xor eax, eax
xor r14d, r14d
jmp 0x1800e8ba6
mov qword [rdi + 0x90], r15
xor eax, eax
mov rcx, qword [rbp + 0xe0]
sub r13, r14
mov qword [rdi + 0x98], r13
mov qword [rdi + 0xf8], rax
test esi, esi
mov r14d, esi
mov r13, rcx
lea rax, [0x180234e18]
cmove r13, rax
mov rax, qword [rdi + 0xa8]
mov r15, qword [rdi + 0xb0]
sub rax, r15
cmp rax, r14
mov rsi, rcx
jb 0x1800e8ebb
mov rcx, qword [rdi + 0xa0]
add rcx, r15
mov rdx, r13
mov r8, r14
call fcn.180199330
add r15, r14
mov qword [rdi + 0xb0], r15
mov rcx, rsi
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1800e8c42
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1800e8c33
mov r8, qword [rax - 8]
mov rcx, qword [0x180246f98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
je 0x1800e8c5e
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
test rsi, rsi
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
je 0x1800e8353
jmp 0x1800e918a
cmp rdx, rsi
jne 0x1800e8c84
xor eax, eax
cmp r13, rsi
sete al
jmp 0x1800e8c93
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x90], r14
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test rcx, rcx
lea r13, [rbp + 0xb0]
je 0x1800e8d19
mov esi, dword [rbp + 0x38]
test rsi, rsi
mov r14, qword [rbp + 0x80]
lea rax, [0x180234e18]
cmove r14, rax
mov rax, qword [rdi + 0xa8]
mov r13, qword [rdi + 0xb0]
sub rax, r13
cmp rax, rsi
jb 0x1800e9106
mov rcx, qword [rdi + 0xa0]
add rcx, r13
mov rdx, r14
mov r8, rsi
call fcn.180199330
add r13, rsi
mov qword [rdi + 0xb0], r13
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.Secur32.dll_FreeContextBuffer]
mov r15, qword [rdi + 0x98]
lea r13, [rbp + 0xb0]
test r15, r15
je 0x1800e8d6e
lea rcx, [rbp + 0x60]
mov rdx, rdi
call fcn.1800e9490
cmp byte [rbp + 0x60], 0
je 0x1800e8d6e
mov rsi, qword [rbp + 0x68]
test rbx, rbx
jne 0x1800e8923
cmp qword [rbp + 0x98], 0
je 0x1800e8d59
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
je 0x1800e8353
jmp 0x1800e918a
cmp byte [rdi + 0x40], 0
jne 0x1800e8c1d
mov byte [rdi + 0x42], 0
jmp 0x1800e8c1d
mov r15, qword [rdi]
test r15, r15
je 0x1800e8d8d
mov r15, qword [rdi + 8]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xc0], 0
mov dword [rbp + 0xb0], 0x20
mov dword [rbp + 0xb8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rbp + 0x90], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0x98], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xc0], 3
lea rax, [rbp + 0x90]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x60], 0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1800e92ef
mov rdx, qword [rbp + 0x60]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rbp + 0xa8], rdx
je 0x1800e8fec
cmp dword [rdx + 0xc], 0
je 0x1800e8fec
mov qword [rbp + 8], rbx
mov rax, qword [rdx + 0x10]
mov rbx, qword [rax]
mov rcx, rdx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, qword [rbp + 0xa8]
mov r14, rax
cmp dword [rcx + 0xc], 2
jb 0x1800e8ed9
mov r15d, 1
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop word [rax + rax]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + r15*8]
call r13
mov rsi, rax
mov rcx, r14
call r12
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + 0xc]
inc r15
mov r14, rsi
cmp r15, rax
jb 0x1800e8e90
jmp 0x1800e8ee3
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, r14
call fcn.18019b9e0
mov r15, qword [rdi + 0xb0]
jmp 0x1800e8bee
mov rsi, r14
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp - 0x10], rbx
call r13
mov qword [rbp + 0x10], rax
mov rcx, rsi
call r12
xor r14d, r14d
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, qword [rbp + 8]
jmp 0x1800e8f1b
mov r14, qword [rbp - 0x18]
inc r14
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp r14, rax
jae 0x1800e8fd7
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1800e8fd7
mov qword [rbp - 0x18], r14
mov rax, qword [rax + r14*8]
mov rcx, qword [rax + 8]
call r13
mov rsi, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1800e8f04
mov r12, rax
mov rcx, rax
call r13
mov r14, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [rsi + 0x10]
jne 0x1800e8fad
mov rcx, qword [r12 + 8]
mov rdx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r15d, eax
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
je 0x1800e8fb8
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1800e8f60
jmp 0x1800e8f04
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1800e8f96
mov rcx, r14
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rsi
call r14
mov esi, 0xf10
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x10]
call r12
lea r13, [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
lea rax, [rbp + 0x68]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x60], rax
mov rax, qword [rdi + 0xd0]
test rax, rax
je 0x1800e901a
cmp byte [rdi + 0x121], 0
jne 0x1800e901a
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x48], 0x10
mov dword [rbp + 0x4c], esi
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0xa0], 0
mov dword [rbp + 0x90], 0x18
mov ecx, 4
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1800e9301
mov r14d, dword [rbp + 0x94]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1800e90c6
mov r8, qword [rdi + 0xf0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], r14d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xbc], rax
mov rdx, r13
call qword [r8 + 0x28]
test rax, rax
je 0x1800e90d9
jmp 0x1800e9320
test r14d, r14d
mov rcx, qword [rbp + 0xa8]
jne 0x1800e9310
call r12
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x40], 0
movzx ebx, byte [rbp + 0xf7]
movzx ecx, byte [rbp + 0xe0]
jne 0x1800e846e
mov rax, qword [rbp + 0x30]
mov byte [rax], 1
jmp 0x1800e846e
lea rcx, [rdi + 0xa0]
mov rdx, r13
mov r8, rsi
call fcn.18019b9e0
mov r13, qword [rdi + 0xb0]
jmp 0x1800e8cdf
movabs rax, 0xd00000003
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
cmp eax, 1
jne 0x1800e917f
mov rcx, qword [rbp + 0x30]
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 0x1800e913e
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e913e
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rsi
jmp 0x1800e9139
movzx eax, byte [0x180247060]
mov rcx, qword [0x180246f98]
test rcx, rcx
je 0x1800e91b3
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e91d3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x1800e93fd
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e93fd
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 0x1800e922e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e940e
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e940e
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 0x1800e9287
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800e941f
mov rcx, rax
mov qword [0x180246f98], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800e941f
mov qword [rax], rbx
lea rcx, fcn.18001e8e0
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1800e9135
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r12
call rsi
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1800e9323
mov rdi, qword [rbp + 0xe8]
jmp 0x1800e9336
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x1800e9323
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
mov rcx, qword [rbp + 0xa8]
shl r14, 0x20
or r14, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1800e9323
mov r14, rax
mov rdi, qword [rbp + 0xe8]
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rbx, r14
mov qword [rdi + 8], rbx
jmp 0x1800e9139
shl rax, 0x20
or rax, 2
jmp 0x1800e912e
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 0x1800e9365
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 0x1800e9365
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, r13
call fcn.18019ac00
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x180201ae8]
mov edx, 0x29
call fcn.18019ad80
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, rsi
call fcn.18019ac80
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, rsi
call fcn.18019ad00
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, r14
call fcn.18019ad00
ud2
lea r8, str._rustc_8c74a5d27c644a0f7a22bb2fa8dd3ff8257bc220library_alloc_src_vecmod.rs
mov rcx, rsi
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 + 0x58], rbx
mov ecx, 8
mov edx, 0x18
call fcn.18019a870
ud2