Function at 0x140104740
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
lea r14, [rbp + 0xa0]
xorps xmm6, xmm6
nop
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x1401054ad
mov qword [rbp + 0xe0], r15
movzx esi, byte [rdi + 0x141]
movzx r12d, byte [rdi + 0x142]
movzx r15d, byte [rdi + 0x143]
movzx ebx, byte [rdi + 0x144]
mov rcx, r14
mov rdx, rdi
call fcn.1401058a0
cmp qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa8]
jne 0x1401054d4
test rax, rax
je 0x140104810
cmp byte [rdi + 0x140], 0
jne 0x140104815
mov byte [rdi + 0x141], 1
jmp 0x140104815
test sil, sil
je 0x140104852
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x1401057c2
mov rax, qword [rbp + 0x18]
cmp dword [rax], 2
je 0x140104849
mov rcx, qword [rbp + 0x18]
call fcn.1401059d0
test rax, rax
jne 0x14010550a
test rdx, rdx
jne 0x140105514
cmp byte [rdi + 0x140], 0
je 0x140104860
or bl, r15b
jne 0x140104879
jmp 0x14010486c
mov byte [rdi + 0x141], 0
or bl, r15b
jne 0x140104879
cmp byte [rdi + 0x222], 0
je 0x140104d8f
test r12b, r12b
je 0x140105051
cmp qword [rdi + 0x1f8], 0
mov r15, qword [rbp + 0xe0]
je 0x1401048bc
mov rcx, r14
mov rdx, rdi
call fcn.140105b60
cmp qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa8]
jne 0x1401054d4
test rax, rax
je 0x1401054ee
mov rsi, qword [rdi + 0x198]
movzx eax, byte [0x1402153f8]
mov rax, qword [0x140215360]
test rax, rax
jne 0x1401048ec
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1401057a0
mov qword [0x140215360], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1401057a0
mov rdx, qword [rdi + 0x190]
cmp rsi, rdx
ja 0x1401057b1
mov r12, rax
mov rax, qword [rdi + 0x180]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 2
mov qword [rbp + 0x90], 2
mov rdx, qword [rdi + 0x208]
mov r13d, 2
test rdx, rdx
je 0x1401049e0
mov r8, qword [rdi + 0x218]
mov rcx, r14
call fcn.14012c350
mov rbx, qword [rbp + 0xa0]
mov r15, qword [rbp + 0xb0]
test rbx, rbx
je 0x1401049e0
mov rsi, qword [rbp + 0xa8]
lea rcx, [rbp + 0x80]
call fcn.14012c870
mov r12, qword [rbp + 0x80]
mov r13, qword [rbp + 0x90]
mov rax, r13
shl rax, 4
mov dword [r12 + rax], esi
mov rsi, rbx
mov dword [r12 + rax + 4], setsockopt
mov qword [r12 + rax + 8], r15
inc r13
mov qword [rbp + 0x90], r13
jmp 0x1401049e2
xor esi, esi
mov dword [rbp + 8], 0
mov dword [rbp + 0xc], r13d
mov qword [rbp + 0x10], r12
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], r14
mov dword [rbp + 0x7c], 0
cmp byte [rdi + 0x222], 0
je 0x140104bb0
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 ebx, eax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140104ac9
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140104adb
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp ebx, 0x80090318
je 0x140104d00
test ebx, ebx
mov qword [rbp + 0xd8], rsi
je 0x140104c50
cmp ebx, 0x90312
jne 0x140105524
mov byte [rdi + 0x223], 0
cmp r13, 1
jbe 0x14010575e
cmp dword [r12 + 0x14], 5
mov qword [rbp + 0xe0], r15
jne 0x140104d6d
mov r14, qword [rdi + 0x198]
mov eax, dword [r12 + 0x10]
mov rsi, r14
sub rsi, rax
jb 0x1401057dc
mov r15d, dword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
test eax, eax
je 0x140104dbe
mov rdx, qword [rdi + 0x190]
mov rbx, rdx
sub rbx, rsi
jb case.0x1400e7c4b.177
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x140104e84
cmp rdx, rsi
je 0x140104e96
mov r13, rcx
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov rcx, r13
jmp 0x140104e8f
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 ebx, eax
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x140104ac3
jmp 0x140104ac9
cmp r13, 1
jbe 0x14010578a
cmp dword [r12 + 0x14], 5
jne 0x140104d31
mov qword [rbp + 0xe0], r15
mov r15, qword [rbp + 0xa8]
test r15, r15
je 0x140104c88
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x48], r15
mov r13, qword [rdi + 0x198]
mov r14d, dword [r12 + 0x10]
mov rsi, r13
sub rsi, r14
cmp r13, rsi
jb 0x1401057dc
je 0x140104f2a
mov rdx, qword [rdi + 0x190]
mov rbx, rdx
sub rbx, rsi
jb case.0x1400e7c4b.177
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x140104f25
cmp rdx, rsi
je 0x140104f2a
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
jmp 0x140104f34
cmp r13, 1
jbe 0x140105774
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x140104d1c
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x1f8], rax
test rsi, rsi
jne 0x140105010
jmp 0x14010502c
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x140104d4c
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
jne 0x140104f64
jmp 0x140104fe5
mov r14, qword [rdi + 0x198]
mov r15d, dword [rbp + 0xa0]
mov eax, 1
mov rcx, qword [rbp + 0xa8]
mov rsi, r14
jmp 0x140104e98
mov qword [rbp + 0xa0], 0
mov rcx, qword [rbp + 0x68]
mov edx, 0x53
mov r8, r14
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x140104dc8
test r12b, r12b
jne 0x140104882
jmp 0x1401056e9
mov eax, 1
jmp 0x140104e98
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0xd8], rax
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1401050d5
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r14, rax
cmp qword [rdi], 0
je 0x140104e74
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x140104e74
nop word [rax + rax]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov qword [rbp + 0xa0], 0
mov rcx, r14
mov rdx, rbx
mov r8d, 3
lea r9, [rbp + 0xa0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x140105667
mov rcx, qword [rbp + 0xa0]
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r13
mov rcx, rbx
call r13
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x140104e10
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1401050e1
cmp rdx, rsi
jne 0x140104e8f
xor eax, eax
xor esi, esi
jmp 0x140104e98
mov qword [rdi + 0x190], rbx
xor eax, eax
sub r14, rsi
mov qword [rdi + 0x198], r14
mov qword [rdi + 0x1f8], rax
test r15d, r15d
mov esi, r15d
mov r13, rcx
mov rbx, rcx
lea rax, [0x140204680]
cmove rbx, rax
mov rax, qword [rdi + 0x1a8]
mov r14, qword [rdi + 0x1b0]
sub rax, r14
cmp rax, rsi
jb 0x14010521e
mov r15, qword [rbp + 0xe0]
mov rcx, qword [rdi + 0x1a0]
add rcx, r14
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r14, rsi
mov qword [rdi + 0x1b0], r14
mov rcx, r13
call qword [sym.imp.secur32.dll_FreeContextBuffer]
lea r14, [rbp + 0xa0]
mov rsi, qword [rbp + 0xd8]
test rsi, rsi
jne 0x140105010
jmp 0x14010502c
cmp rdx, rsi
jne 0x140104f34
xor eax, eax
cmp r13, rsi
sete al
jmp 0x140104f43
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x190], rbx
mov qword [rdi + 0x198], r14
mov qword [rdi + 0x1f8], rax
test r15, r15
mov r15, qword [rbp + 0xe0]
mov rsi, qword [rbp + 0xd8]
je 0x140104fca
mov esi, dword [rbp + 0x20]
test rsi, rsi
mov rbx, qword [rbp + 0x48]
lea rax, [0x140204680]
cmove rbx, rax
mov rax, qword [rdi + 0x1a8]
mov r13, qword [rdi + 0x1b0]
sub rax, r13
cmp rax, rsi
jb 0x140105248
mov rcx, qword [rdi + 0x1a0]
add rcx, r13
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r13, rsi
mov qword [rdi + 0x1b0], r13
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r14, qword [rdi + 0x198]
mov rsi, qword [rbp + 0xd8]
test r14, r14
je 0x140104fe5
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.140105d90
cmp byte [rbp + 0x50], 0
jne 0x140105698
cmp byte [rdi + 0x140], 0
je 0x140104ffc
lea r14, [rbp + 0xa0]
test rsi, rsi
jne 0x140105010
jmp 0x14010502c
mov byte [rdi + 0x142], 0
lea r14, [rbp + 0xa0]
test rsi, rsi
je 0x14010502c
nop
mov r8, r15
cmp rsi, 0x11
jb 0x14010501d
mov r8, qword [r15 - 8]
mov rcx, qword [0x140215360]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x1401047a0
mov rcx, qword [0x140215360]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1401047a0
mov al, 2
test r15b, r15b
mov r15, qword [rbp + 0xe0]
jne 0x1401050ab
movaps xmmword [rbp + 0xa0], xmm6
mov dword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x68]
mov edx, 4
mov r8, r14
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x14010574a
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
jmp 0x1401047a0
mov r14, qword [rdi]
test r14, r14
je 0x1401050e1
mov r14, 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
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rbp + 0xd8]
xor r8d, r8d
mov r9, r14
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1401056fd
mov rbx, qword [rbp + 0x50]
mov esi, 0xf00
cmp qword [rdi], 0
je 0x14010523c
cmp dword [rbx + 0xc], 0
lea r14, [rbp + 0xa0]
je 0x140105384
mov byte [rbp + 0xf7], r12b
mov rax, qword [rbx + 0x10]
mov r12, qword [rax]
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rcx, rbx
mov rbx, rax
mov qword [rbp + 0x70], rcx
cmp dword [rcx + 0xc], 2
jb 0x140105266
mov r14d, 1
mov r13, qword [rbp + 0x70]
nop dword [rax]
mov rax, qword [r13 + 0x10]
mov r12, qword [rax + r14*8]
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r13 + 0xc]
inc r14
mov rbx, rsi
cmp r14, rax
jb 0x1401051f0
jmp 0x14010526d
lea rcx, [rdi + 0x1a0]
mov rdx, r14
mov r8, rsi
call fcn.14015cc80
mov r14, qword [rdi + 0x1b0]
jmp 0x140104eda
lea r14, [rbp + 0xa0]
jmp 0x140105384
lea rcx, [rdi + 0x1a0]
mov rdx, r13
mov r8, rsi
call fcn.14015cc80
mov r13, qword [rdi + 0x1b0]
jmp 0x140104f93
mov rsi, rbx
mov r13, qword [rbp + 0x70]
mov qword [rbp - 0x18], r12
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp], rax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
xor edx, edx
lea r14, [rbp + 0xa0]
mov rbx, r13
movzx r12d, byte [rbp + 0xf7]
jmp 0x1401052b4
mov rsi, qword [rbp - 0x20]
inc rsi
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, rsi
mov rbx, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp rdx, rax
jae 0x14010537a
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14010537a
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 0x14010529d
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, rax
mov r8d, dword [rsi + 0x10]
cmp r8d, dword [r13 + 0x10]
jne 0x140105355
mov rcx, qword [rsi + 8]
mov rdx, qword [r13 + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r14d, eax
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r14d, r14d
lea r14, [rbp + 0xa0]
je 0x140105360
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x140105300
jmp 0x14010529d
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x14010533e
mov rcx, rbx
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r13
call rsi
mov esi, 0xf10
mov rbx, 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 0x1401053b2
cmp byte [rdi + 0x221], 0
jne 0x1401053b2
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x38], reloc.WS2_32.dll_recv
mov dword [rbp + 0x3c], esi
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, rbx
lea r8, [rbp + 0x38]
lea r9, [rbp + 0x80]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x14010570f
mov r13d, dword [rbp + 0x84]
mov rax, qword [rdi + 0x1e8]
test rax, rax
je 0x140105475
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], rbx
mov dword [rbp + 0xa8], r13d
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xac], rax
mov rdx, r14
call qword [r8 + 0x28]
test rax, rax
jne case.0x14010324d.228
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
jne 0x140104879
jmp 0x1401054a1
test r13d, r13d
jne 0x140105717
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
jne 0x140104879
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
jmp 0x140104879
cmp eax, 1
jne 0x1401054e0
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 0x14010564a
mov rdi, qword [rbp + 0xe8]
jmp 0x140105641
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x14010564a
movzx eax, byte [0x1402153f8]
mov rcx, qword [0x140215360]
test rcx, rcx
je 0x140105541
mov rdi, qword [rbp + 0xe8]
jmp 0x140105561
movabs rdx, 0xd00000003
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rdx
jmp 0x140105645
shl rbx, 0x20
or rbx, 2
test rsi, rsi
mov rdi, qword [rbp + 0xe8]
jne 0x1401056a8
jmp 0x1401056c4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x140105807
mov rcx, rax
mov qword [0x140215360], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140105807
mov rsi, rax
movups xmm0, xmmword [0x1401d7cdf]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x1402153f8]
mov rcx, qword [0x140215360]
test rcx, rcx
jne 0x1401055bc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140105818
add byte [rax], al
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbx
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rdi
mov rcx, rsi
call rdi
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x14010572d
mov rbx, qword [rbp + 0x58]
test rsi, rsi
mov rdi, qword [rbp + 0xe8]
je 0x1401056c4
cmp rsi, 0x11
jb 0x1401056b2
mov r15, qword [r15 - 8]
mov rcx, qword [0x140215360]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x88], 0
je 0x1401056e0
mov rcx, qword [0x140215360]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi + 8], rbx
jmp 0x140105645
mov r13d, eax
shl r13, 0x20
or r13, 2
int 2
mov rdi, qword [rbp + 0xe8]
jmp 0x140105741
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x14010572d
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jo case.0x1400e4b0f.205
invalid
add bl, ch
invalid
mov r13, rax
mov rdi, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rdi + 8], r13
jmp 0x140105645
shl rax, 0x20
or rax, 2
mov rdi, qword [rbp + 0xe8]
mov edi, dword [rbp + 0xe8]
jmp 0x140105641
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.140160ed0
pop rsi
mov bh, 5
add byte [rdi], cl
invalid
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
add byte [rax], al
mov rdx, r13
call fcn.140160ed0
ud2
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, r13
call fcn.140160ed0
ud2
invalid
mov ecx, 8
mov edx, 0x20
call fcn.14015d7f0
ud2
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
int1
call fcn.140160f40
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401d35c8]
lea eax, [0x1401d35c8]
lea rcx, [0x1401d7cef]
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
lea eax, [0x1401d7d10]
mov edx, 0x1f
call fcn.140160fb0
ud2
mov ecx, 1