Function at 0x140110020
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 r13, rdx
mov qword [rbp + 0xf0], rcx
lea rax, [rdx + 0x20c]
mov qword [rbp + 0x30], rax
lea rax, [rdx + 0x88]
mov qword [rbp - 8], rax
lea r12, [rdx + 0x60]
lea rdi, [rbp + 0xb0]
xorps xmm6, xmm6
mov qword [rbp + 0xe0], r12
movzx eax, byte [r13 + 0x208]
test rax, rax
je 0x1401100d8
cmp eax, 1
jne 0x140110e62
mov rcx, qword [rbp + 0x30]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rbp + 0xf0]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x140110fff
xor ebx, ebx
test rbx, rbx
jne 0x140110ed8
movzx eax, byte [r13 + 0x208]
test rax, rax
jne 0x14011008f
movzx ebx, byte [r13 + 0x209]
movzx r15d, byte [r13 + 0x20a]
movzx r14d, byte [r13 + 0x20b]
movzx esi, byte [r13 + 0x20c]
mov rcx, rdi
mov rdx, r13
call fcn.1401111a0
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x140110e56
test rax, rax
je 0x140110140
cmp byte [r13 + 0x208], 0
jne 0x140110144
mov byte [r13 + 0x209], 1
jmp 0x140110144
test bl, bl
je 0x140110183
mov rdx, qword [r13 + 0x80]
test rdx, rdx
je 0x1401110c0
cmp dword [r13 + 0x108], 2
je 0x140110179
mov rcx, qword [rbp - 8]
call fcn.1401112d0
test rax, rax
jne 0x140110e88
test rdx, rdx
jne 0x140110e92
cmp byte [r13 + 0x208], 0
je 0x140110190
or sil, r14b
jne 0x1401101ab
jmp 0x14011019d
mov byte [r13 + 0x209], 0
or sil, r14b
jne 0x1401101ab
cmp byte [r13 + 0x222], 0
je 0x140110671
test r15b, r15b
je 0x140110815
cmp qword [r13 + 0x1d8], 0
je 0x1401101e7
mov rcx, rdi
mov rdx, r13
call fcn.140111490
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x140110e56
test rax, rax
je 0x140110e70
mov rsi, qword [r13 + 0x20]
mov rax, qword [0x140221370]
test rax, rax
jne 0x14011020d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14011109e
mov qword [0x140221370], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14011109e
mov rdx, qword [r13 + 0x38]
cmp rsi, rdx
ja 0x1401110af
mov r14, rax
mov rax, qword [r13 + 0x30]
mov dword [r14], esi
mov dword [r14 + 4], 2
mov qword [r14 + 8], rax
movups xmmword [r14 + 0x10], xmm6
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], 2
mov rdx, qword [r13 + 0x1f0]
test rdx, rdx
je 0x1401102e0
mov r8, qword [r13 + 0x1f8]
lea rcx, [rbp + 0x80]
call fcn.140139920
mov r15, qword [rbp + 0x88]
test r15, r15
je 0x1401102eb
mov rbx, qword [rbp + 0x90]
mov edi, dword [rbp + 0x80]
lea rcx, [rbp + 0x58]
call fcn.140139de0
mov r14, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov rax, rsi
shl rax, 4
mov dword [r14 + rax], edi
lea rdi, [rbp + 0xb0]
mov dword [r14 + rax + 4], send
mov qword [r14 + rax + 8], rbx
inc rsi
mov qword [rbp + 0x68], rsi
jmp 0x1401102f3
mov qword [rbp + 0x88], 0
mov esi, 2
xor r15d, r15d
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x24], esi
mov qword [rbp + 0x28], r14
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 - 0x18], rax
mov qword [rbp - 0x10], rdi
mov dword [rbp + 0xa4], 0
cmp byte [r13 + 0x222], 0
je 0x1401104b0
cmp byte [r13 + 0x223], 0
mov edx, 0
cmove rdx, r12
mov rax, qword [r13 + 0x200]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x70], xmm0
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x70]
lea r8, [rbp + 0x20]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov ebx, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1401103dd
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1401103ef
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp ebx, 0x80090318
je 0x140110600
test ebx, ebx
je 0x140110560
cmp ebx, 0x90312
jne 0x140110630
mov byte [r13 + 0x223], 0
cmp rsi, 1
jbe 0x140111088
cmp dword [r14 + 0x14], 5
mov qword [rbp + 0xa8], r15
jne 0x140110746
mov rdi, qword [r13 + 0x20]
mov eax, dword [r14 + 0x10]
mov rbx, rdi
sub rbx, rax
jb 0x1401110da
mov r12d, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
test eax, eax
je 0x14011080b
mov rdx, qword [r13 + 0x38]
mov rsi, rdx
sub rsi, rbx
jb 0x1401110f4
mov qword [r13 + 0x38], 0
test rbx, rbx
je 0x1401108a4
cmp rdx, rbx
je 0x1401108b1
mov qword [rbp + 0xe8], rcx
mov rcx, qword [r13 + 0x30]
lea rdx, [rcx + rbx]
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe8]
jmp 0x1401108ad
cmp byte [r13 + 0x220], 0
mov rax, qword [r13 + 0x1c8]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [r13 + 0x200]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x70], xmm0
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x20]
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 + 0x70]
mov rdx, r12
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebx, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x1401103d7
jmp 0x1401103dd
cmp rsi, 1
jbe 0x14011107f
cmp dword [r14 + 0x14], 5
jne 0x14011070d
mov rdi, qword [r13 + 0x20]
mov r12d, dword [r14 + 0x10]
mov rsi, rdi
sub rsi, r12
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x14011059e
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x48], rcx
cmp rdi, rsi
jb 0x1401110da
je 0x140110966
mov rdx, qword [r13 + 0x38]
mov rbx, rdx
sub rbx, rsi
jb 0x140111105
mov qword [r13 + 0x38], 0
test rsi, rsi
je 0x140110953
cmp rdx, rsi
je 0x140110966
mov qword [rbp + 0xe8], rcx
mov rcx, qword [r13 + 0x30]
lea rdx, [rcx + rsi]
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0xe8]
jmp 0x140110958
cmp rsi, 1
jbe 0x140111076
mov eax, 1
cmp dword [r14 + 0x14], 4
jne 0x14011061a
mov eax, dword [r14 + 0x10]
mov qword [r13 + 0x1d8], rax
test r15, r15
jne 0x140110a50
jmp 0x140110a70
shl rbx, 0x20
or rbx, 2
test r15, r15
je 0x140110a00
mov r8, qword [rbp + 0x90]
cmp r15, 0x11
jb 0x140110652
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x58], 0
jne 0x140110a0b
jmp 0x1401100c2
mov qword [rbp + 0xb0], 0
mov rcx, r12
mov edx, 0x53
mov r8, rdi
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov rbx, rax
shl rbx, 0x20
or rbx, 2
test eax, eax
jne 0x1401106a3
mov rbx, qword [rbp + 0xb0]
je 0x140110765
test r15b, r15b
je 0x140110ed8
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1401101b4
lea rsi, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
cmp qword [rax + 8], 0
je 0x1401106f6
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x1401106e7
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1401101b4
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x140110728
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], rax
mov qword [r13 + 0x20], 0
mov qword [r13 + 0x1d8], 1
jne 0x140110985
jmp 0x140110a22
mov rdi, qword [r13 + 0x20]
mov r12d, dword [rbp + 0xb0]
mov eax, 1
mov rcx, qword [rbp + 0xb8]
mov rbx, rdi
jmp 0x1401108b3
mov rcx, qword [rbx + 0x20]
test rcx, rcx
mov byte [rbp + 0xa8], r15b
je 0x140110a92
mov r15, rbx
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov rsi, rax
cmp qword [r13 + 0x1b0], 0
je 0x140110931
xor edi, edi
nop word cs:[rax + rax]
mov rcx, qword [r13 + 0x1b8]
mov rdx, rdi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x140110931
mov r12, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rdi, rax
mov qword [rbp + 0xb0], 0
mov rcx, rsi
mov rdx, r12
mov r8d, 3
lea r9, [rbp + 0xb0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x140110ea2
mov rcx, qword [rbp + 0xb0]
mov rbx, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rbx
mov rcx, r12
call rbx
jmp 0x1401107a0
mov eax, 1
jmp 0x1401108b3
mov al, 2
test r14b, r14b
jne 0x140110867
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, r12
mov edx, 4
mov r8, rdi
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x140111065
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 + 0x10], rax
mov al, 1
mov byte [r13 + 0x208], al
mov eax, dword [rbp + 0x44]
mov dword [r13 + 0x20c], eax
mov rax, qword [rbp + 8]
mov qword [r13 + 0x210], rax
mov rax, qword [rbp + 0x10]
mov qword [r13 + 0x218], rax
movzx eax, byte [r13 + 0x208]
test rax, rax
je 0x1401100d8
jmp 0x14011008f
test rdx, rdx
je 0x140110c01
mov qword [r13 + 0x38], rsi
xor eax, eax
sub rdi, rbx
mov qword [r13 + 0x20], rdi
mov qword [r13 + 0x1d8], rax
test r12d, r12d
mov edi, r12d
mov r15, rcx
mov rsi, rcx
lea rax, method..virtual_32
cmove rsi, rax
mov rax, qword [r13 + 0x48]
mov rbx, qword [r13 + 0x58]
sub rax, rbx
cmp rax, rdi
jb 0x140110be9
mov r12, qword [rbp + 0xe0]
mov rcx, qword [r13 + 0x50]
add rcx, rbx
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [r13 + 0x58], rbx
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
lea rdi, [rbp + 0xb0]
mov r15, qword [rbp + 0xa8]
test r15, r15
jne 0x140110a50
jmp 0x140110a70
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
lea rdi, [rbp + 0xb0]
mov rbx, r15
movzx r15d, byte [rbp + 0xa8]
jmp 0x140110aa5
test rdx, rdx
je 0x140110966
xor eax, eax
cmp rdi, rsi
sete al
mov qword [r13 + 0x38], rbx
jmp 0x14011096e
xor eax, eax
cmp rdi, rsi
sete al
mov qword [r13 + 0x20], r12
mov qword [r13 + 0x1d8], rax
test rcx, rcx
lea rdi, [rbp + 0xb0]
je 0x1401109d5
mov esi, dword [rbp + 0x38]
test rsi, rsi
mov r12, qword [rbp + 0x48]
lea rax, method..virtual_32
cmove r12, rax
mov rax, qword [r13 + 0x48]
mov rbx, qword [r13 + 0x58]
sub rax, rbx
cmp rax, rsi
jb 0x140110c0a
mov rcx, qword [r13 + 0x50]
add rcx, rbx
mov rdx, r12
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rsi
mov qword [r13 + 0x58], rbx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r12, qword [r13 + 0x20]
test r12, r12
je 0x140110a22
lea rcx, [rbp + 0x70]
mov rdx, r13
call fcn.1401116b0
cmp byte [rbp + 0x70], 0
je 0x140110a22
mov rbx, qword [rbp + 0x78]
mov r12, qword [rbp + 0xe0]
test r15, r15
jne 0x140110641
cmp qword [rbp + 0x58], 0
je 0x1401100c2
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1401100c2
cmp byte [r13 + 0x208], 0
je 0x140110a3a
mov r12, qword [rbp + 0xe0]
test r15, r15
jne 0x140110a50
jmp 0x140110a70
mov byte [r13 + 0x20a], 0
mov r12, qword [rbp + 0xe0]
test r15, r15
je 0x140110a70
nop
mov r8, qword [rbp + 0x90]
cmp r15, 0x11
jb 0x140110a61
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x58], 0
je 0x1401100c0
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1401100c0
mov rsi, qword [r13 + 0x1b0]
test rsi, rsi
je 0x140110aa5
mov rsi, qword [r13 + 0x1b8]
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 + 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 + 0xc0], 3
lea rax, [rbp + 0x80]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x58], 0
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov qword [rbp + 0x50], rbx
mov rdx, rbx
xor r8d, r8d
mov r9, rsi
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x14011101c
mov rdx, qword [rbp + 0x58]
mov esi, 0xf00
cmp dword [r13 + 0x1b0], 1
mov qword [rbp + 0xe8], rdx
jne 0x140110bdd
cmp dword [rdx + 0xc], 0
mov r12, qword [rbp + 0xe0]
je 0x140110d35
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rcx, rdx
mov rdi, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
call rdi
mov rcx, qword [rbp + 0xe8]
mov rbx, rax
cmp dword [rcx + 0xc], 2
jb 0x140110c22
mov esi, 1
mov rdi, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop
mov rax, qword [rcx + 0x10]
mov r12, qword [rax + rsi*8]
call rdi
mov r15, rax
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0xe8]
mov eax, dword [rcx + 0xc]
inc rsi
mov rbx, r15
cmp rsi, rax
jb 0x140110bb0
jmp 0x140110c2c
mov r12, qword [rbp + 0xe0]
jmp 0x140110d35
lea rcx, [r13 + 0x48]
mov rdx, rbx
mov r8, rdi
call fcn.1401726f0
mov rbx, qword [r13 + 0x58]
jmp 0x1401108ec
xor eax, eax
xor ebx, ebx
jmp 0x1401108b3
lea rcx, [r13 + 0x48]
mov rdx, rbx
mov r8, rsi
call fcn.1401726f0
mov rbx, qword [r13 + 0x58]
jmp 0x1401109ae
mov r15, rbx
mov rdi, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
call rdi
mov qword [rbp + 0x18], rax
mov rcx, r15
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
call rdi
xor ecx, ecx
movzx r15d, byte [rbp + 0xa8]
jmp 0x140110c5e
mov rcx, rdi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp]
mov eax, dword [r12 + 0xc]
mov esi, 0xf00
cmp rcx, rax
jae 0x140110d1a
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x140110d1a
mov rax, qword [rax + rcx*8]
inc rcx
mov qword [rbp], rcx
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rdi, rax
xor esi, esi
jmp 0x140110ca9
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [r13 + 0x1b8]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x140110c4a
mov rbx, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov r8d, dword [rbx + 0x10]
cmp r8d, dword [rdi + 0x10]
jne 0x140110ca0
mov rcx, qword [rbx + 8]
mov rdx, qword [rdi + 8]
call sub.VCRUNTIME140.dll_memcmp
mov r15d, eax
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
movzx r15d, byte [rbp + 0xa8]
jne 0x140110ca9
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, rdi
call rsi
mov esi, 0xf10
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x18]
call rdi
mov r12, qword [rbp + 0xe0]
lea rdi, [rbp + 0xb0]
mov rdx, qword [rbp + 0xe8]
lea rax, [rbp + 0x60]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x58], rax
mov rax, qword [r13 + 0x1c8]
test rax, rax
je 0x140110d64
cmp byte [r13 + 0x221], 0
jne 0x140110d64
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], reloc.WS2_32.dll_recv
mov dword [rbp + 0x74], esi
lea rax, [rbp + 0x58]
mov qword [rbp + 0x78], rax
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x80], 0x18
mov ecx, 4
lea r8, [rbp + 0x70]
lea r9, [rbp + 0x80]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x140111034
mov ebx, dword [rbp + 0x84]
mov rcx, qword [r13 + 0x70]
test rcx, rcx
je 0x140110e1d
mov rax, qword [r13 + 0x78]
mov rdx, qword [rax + 0x10]
add rdx, 0xf
and rdx, 0xfffffffffffffff0
add rcx, rdx
mov rdx, qword [rbp + 0xe8]
mov qword [rbp + 0xb0], rdx
mov dword [rbp + 0xb8], ebx
mov rdx, qword [rbp + 0x88]
mov qword [rbp + 0xbc], rdx
mov rdx, rdi
call qword [rax + 0x28]
test rax, rax
jne 0x140111059
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [r13 + 0x208], 0
jne 0x1401101ab
jmp 0x140110e4a
test ebx, ebx
mov rcx, qword [rbp + 0xe8]
jne 0x140111042
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [r13 + 0x208], 0
jne 0x1401101ab
mov rax, qword [rbp + 0x30]
mov byte [rax], 1
jmp 0x1401101ab
mov rdi, qword [rbp + 0xf0]
jmp 0x140110ff6
xor eax, eax
mov rdi, qword [rbp + 0xf0]
jmp 0x140110fff
mov rcx, qword [0x140221370]
test rcx, rcx
je 0x140110ee8
mov rdi, qword [rbp + 0xf0]
jmp 0x140110f08
movabs rdx, 0xd00000003
mov rdi, qword [rbp + 0xf0]
mov qword [rdi + 8], rdx
jmp 0x140110ffa
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, r12
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r14
mov rcx, rdi
call r14
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdi, qword [rbp + 0xf0]
mov qword [rdi + 8], rbx
jmp 0x140110ffa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xf0]
je 0x140111116
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140111116
mov rsi, rax
movups xmm0, xmmword [0x1401e88af]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x140110f5c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140111127
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140111127
mov qword [rax], 0x1f
mov qword [rax + 8], rsi
mov qword [rax + 0x10], 0x1f
mov byte [rbp + 0xc0], 0x25
mov qword [rbp + 0xb0], rax
lea rax, fcn.1400a0830
mov qword [rbp + 0xb8], rax
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x140110fc7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140111138
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140111138
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rax], xmm0
inc rax
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
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rbp + 0x50]
jmp 0x140110ed2
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov rcx, qword [rbp + 0xe8]
shl rbx, 0x20
or rbx, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x50]
jmp 0x140110ed2
mov rbx, rax
mov rcx, qword [rbp + 0x50]
jmp 0x140110ed2
shl rax, 0x20
or rax, 2
mov rdi, qword [rbp + 0xf0]
jmp 0x140110ff6
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x14011108f
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x14011108f
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.14016f330
ud2
mov ecx, 0x20
mov edx, 8
call fcn.14016c090
ud2
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.14016f3c0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401e4158]
mov edx, 0x29
call fcn.14016f3d0
ud2
lea rcx, [0x1401e88bf]
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.14016f3d0
ud2
lea r8, str._rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrary_alloc_src_vecmod.rs
mov rcx, rbx
call fcn.14016f3c0
ud2
lea r8, str._rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrary_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.14016f3c0
ud2
mov ecx, 0x1f
mov edx, 1
call fcn.14016c090
ud2
mov ecx, 0x18
mov edx, 8
call fcn.14016c090
ud2
mov ecx, 0x18
mov edx, 8
call fcn.14016c090
ud2