Function at 0x140116ce0
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, 0x1f8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x160], xmm6
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov rdi, rdx
mov r13, rcx
lea rax, [rdx + 0x144]
mov qword [rbp + 0x28], rax
lea rax, [rdx + 0x10]
mov qword [rbp + 0x10], rax
lea rax, [rdx + 0x1c0]
mov qword [rbp + 0x88], rax
lea rax, [rdx + 0x1a0]
mov qword [rbp + 0x18], rax
xorps xmm6, xmm6
mov qword [rbp + 0xd8], rcx
nop dword [rax]
movzx eax, byte [rdi + 0x140]
test rax, rax
jne 0x140117c57
mov r14, r12
movzx r12d, byte [rdi + 0x141]
movzx eax, byte [rdi + 0x142]
mov byte [rbp + 0x157], al
movzx r15d, byte [rdi + 0x143]
movzx esi, byte [rdi + 0x144]
lea rcx, [rbp + 0xf0]
mov rdx, rdi
call fcn.140118670
cmp qword [rbp + 0xf0], 0
mov rax, qword [rbp + 0xf8]
jne 0x140117c94
test rax, rax
je 0x140116dd0
cmp byte [rdi + 0x140], 0
mov r12, r14
jne 0x140116dd8
mov byte [rdi + 0x141], 1
jmp 0x140116dd8
test r12b, r12b
mov r12, r14
je 0x140116e15
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x140117e9c
mov rax, qword [rbp + 0x10]
cmp dword [rax], 2
je 0x140116e0c
mov rcx, qword [rbp + 0x10]
call fcn.140115540
test rax, rax
jne 0x140117c9d
test rdx, rdx
jne 0x140117ca7
cmp byte [rdi + 0x140], 0
je 0x140116e20
or sil, r15b
jne 0x140116e39
jmp 0x140116e2c
mov byte [rdi + 0x141], 0
or sil, r15b
jne 0x140116e39
cmp byte [rdi + 0x222], 0
je 0x1401173ce
cmp byte [rbp + 0x157], 0
je 0x1401177c1
cmp qword [rdi + 0x1f8], 0
je 0x140116e7d
lea rcx, [rbp + 0xf0]
mov rdx, rdi
call fcn.1401187b0
cmp qword [rbp + 0xf0], 0
mov rax, qword [rbp + 0xf8]
jne 0x140117c94
test rax, rax
je 0x140117c80
mov rsi, qword [rdi + 0x198]
movzx eax, byte [0x14023c308]
mov rax, qword [0x14023c258]
test rax, rax
jne 0x140116ead
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140117e70
mov qword [0x14023c258], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140117e70
mov r14, rax
mov rdx, qword [rdi + 0x190]
cmp rsi, rdx
ja 0x140117e81
mov rax, qword [rdi + 0x180]
mov dword [r14], esi
mov dword [r14 + 4], 2
mov qword [r14 + 8], rax
movups xmmword [r14 + 0x10], xmm6
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 2
mov qword [rbp + 0xd0], 2
mov rdx, qword [rdi + 0x208]
mov esi, 2
test rdx, rdx
je 0x140116fc0
mov r8, qword [rdi + 0x218]
mov qword [rbp + 8], 2
mov qword [rbp], r14
lea rcx, [rbp + 0xf0]
call fcn.140148370
mov rax, qword [rbp + 0xf0]
mov r12, qword [rbp + 0x100]
test rax, rax
je 0x140116fc0
mov rbx, qword [rbp + 0xf8]
mov r15, rax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x130], r12
lea rcx, [rbp + 0xc0]
call fcn.140148920
mov r14, qword [rbp + 0xc0]
mov rsi, qword [rbp + 0xd0]
mov rax, rsi
shl rax, 4
mov dword [r14 + rax], ebx
mov dword [r14 + rax + 4], shutdown
mov qword [r14 + rax + 8], r12
inc rsi
mov qword [rbp + 0xd0], rsi
mov r9, r15
jmp 0x140116fc3
xor r9d, r9d
mov dword [rbp - 0x10], 0
mov dword [rbp - 0xc], esi
mov qword [rbp - 8], r14
movabs rax, 0x200000000
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0
movabs rax, 0x1100000000
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x108]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x9c], 0
cmp byte [rdi + 0x222], 0
mov qword [rbp + 0x148], r9
je 0x1401170c0
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rbp + 0x88]
cmove rdx, rcx
mov rax, qword [rdi + 0x158]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x138], r9
mov qword [rbp + 0x130], r12
lea rax, [rbp + 0x9c]
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 - 0x10]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
jmp 0x14011715b
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 + 0x60], xmm0
mov qword [rbp + 0x138], r9
mov qword [rbp + 0x130], r12
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
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 + 0x88]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov r15d, eax
xor ebx, ebx
inc rbx
cmp rbx, 3
je 0x1401171a0
mov rax, rbx
shl rax, 4
mov rcx, qword [rbp + rax + 0xf8]
test rcx, rcx
je 0x140117160
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x130], r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x140117160
cmp r15d, 0x80090318
je 0x140117310
test r15d, r15d
mov qword [rbp + 0x140], r12
je 0x140117260
cmp r15d, 0x90312
jne 0x140117d14
mov byte [rdi + 0x223], 0
cmp rsi, 1
jbe 0x140117e14
cmp dword [r14 + 0x14], 5
jne 0x140117390
mov rbx, qword [rdi + 0x198]
mov eax, dword [r14 + 0x10]
mov r15, rbx
mov r13, qword [rbp + 0xf8]
sub r15, rax
jb 0x140117eb6
mov r12d, dword [rbp + 0xf0]
test eax, eax
je 0x14011742d
mov rdx, qword [rdi + 0x190]
mov rsi, rdx
sub rsi, r15
jb 0x140117f13
mov qword [rdi + 0x190], 0
test r15, r15
je 0x140117538
cmp rdx, r15
je 0x14011754b
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + r15]
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
jmp 0x140117544
cmp rsi, 1
jbe 0x140117e42
cmp dword [r14 + 0x14], 5
jne 0x14011734a
mov r12, qword [rbp + 0xf8]
test r12, r12
sete byte [rbp + 0x157]
je 0x14011729a
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0xe0], r12
mov r13, qword [rdi + 0x198]
mov ebx, dword [r14 + 0x10]
mov rsi, r13
sub rsi, rbx
cmp r13, rsi
jb 0x140117ed7
je 0x1401175fb
mov rdx, qword [rdi + 0x190]
mov r15, rdx
sub r15, rsi
jb 0x140117f28
mov qword [rdi + 0x190], 0
test rsi, rsi
je 0x1401175f2
cmp rdx, rsi
je 0x1401175fb
mov rcx, qword [rdi + 0x180]
lea rdx, [rcx + rsi]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
jmp 0x140117752
cmp rsi, 1
jbe 0x140117de6
mov eax, 1
cmp dword [r14 + 0x14], 4
jne 0x1401173b2
mov eax, dword [r14 + 0x10]
mov qword [rdi + 0x1f8], rax
mov rax, qword [rbp + 0x148]
test rax, rax
jne 0x140117710
jmp 0x14011772d
mov rax, qword [rbp + 0xf8]
test rax, rax
sete byte [rbp + 0x157]
je 0x14011736f
mov rcx, qword [rbp + 0xf0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0xe0], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x1f8], 1
jne 0x140117621
jmp 0x1401176f7
mov rbx, qword [rdi + 0x198]
mov r12d, dword [rbp + 0xf0]
mov eax, 1
mov r13, qword [rbp + 0xf8]
mov r15, rbx
jmp 0x14011754d
mov qword [rdi + 0x1f8], rax
mov rax, qword [rbp + 0x148]
test rax, rax
jne 0x140117710
jmp 0x14011772d
mov qword [rbp + 0xf0], 0
mov rcx, qword [rbp + 0x88]
mov edx, 0x53
lea r8, [rbp + 0xf0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x140117437
mov esi, eax
shl rsi, 0x20
or rsi, 2
cmp byte [rbp + 0x157], 0
je 0x140117d0e
mov ecx, 1
mov rdx, rsi
call fcn.140114f10
cmp qword [rdi + 0x1f8], 0
jne 0x140116e50
jmp 0x140116e7d
mov eax, 1
jmp 0x14011754d
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x90], rax
mov rsi, qword [rax + 0x20]
test rsi, rsi
je 0x140117845
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov qword [rbp + 0x128], rax
mov rax, qword [rdi]
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x140117861
mov rbx, r13
xor edx, edx
nop word [rax + rax]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xa8], 0
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
mov qword [rbp + 0x58], r13
test rax, rax
je 0x140117872
mov rcx, rax
mov qword [rbp + 0x148], rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0xf0], 0
mov rcx, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x148]
mov r8d, 3
lea r9, [rbp + 0xf0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x140117cb0
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r13, rsi
mov rsi, qword [rbp + 0x140]
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xa8], 1
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, rsi
mov rsi, r13
mov r13, rdx
jmp 0x140117480
cmp rdx, r15
jne 0x140117544
xor eax, eax
xor r15d, r15d
jmp 0x14011754d
mov qword [rdi + 0x190], rsi
xor eax, eax
sub rbx, r15
mov qword [rdi + 0x198], rbx
mov qword [rdi + 0x1f8], rax
test r12d, r12d
mov r15d, r12d
mov rsi, r13
lea rax, [0x1401ea218]
cmove rsi, rax
mov rax, qword [rdi + 0x1a8]
mov rbx, qword [rdi + 0x1b0]
sub rax, rbx
cmp rax, r15
jae 0x1401175a2
mov qword [rbp + 0x40], r13
mov rcx, qword [rbp + 0x18]
mov rdx, rbx
mov r8, r15
call fcn.14018d7c0
mov rbx, qword [rdi + 0x1b0]
mov rcx, qword [rdi + 0x1a0]
add rcx, rbx
mov rdx, rsi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rbx, r15
mov qword [rdi + 0x1b0], rbx
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x138], rax
mov r12, qword [rbp + 0x140]
mov qword [rbp + 0x130], r12
mov rcx, r13
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r13, qword [rbp + 0xd8]
jmp 0x140117704
cmp rdx, rsi
jne 0x140117752
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x198], rbx
mov qword [rdi + 0x1f8], rax
test r12, r12
je 0x140117778
mov r13, qword [rbp + 0xd8]
mov esi, dword [rbp + 0x20]
test rsi, rsi
mov r15, qword [rbp + 0xe0]
lea rax, [0x1401ea218]
cmove r15, rax
mov rax, qword [rdi + 0x1a8]
mov rbx, qword [rdi + 0x1b0]
sub rax, rbx
cmp rax, rsi
jae 0x140117665
mov rcx, qword [rbp + 0x18]
mov rdx, rbx
mov r8, rsi
call fcn.14018d7c0
mov rbx, qword [rdi + 0x1b0]
mov rcx, qword [rdi + 0x1a0]
add rcx, rbx
mov rdx, r15
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rsi
mov qword [rdi + 0x1b0], rbx
mov sil, byte [rbp + 0x157]
mov byte [rbp + 0x155], sil
mov rcx, qword [rbp + 0xe0]
mov qword [rbp + 0xa0], rcx
mov byte [rbp + 0x154], 0
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rbx, qword [rdi + 0x198]
xor eax, eax
test rbx, rbx
je 0x140117791
mov byte [rbp + 0x155], sil
mov rcx, qword [rbp + 0xe0]
mov qword [rbp + 0xa0], rcx
mov byte [rbp + 0x154], al
lea rcx, [rbp + 0x60]
mov rdx, rdi
call fcn.1401189e0
cmp byte [rbp + 0x60], 0
mov r12, qword [rbp + 0x140]
jne 0x140117d2a
cmp byte [rdi + 0x140], 0
je 0x1401177a5
mov rax, qword [rbp + 0x148]
test rax, rax
je 0x14011772d
mov r8, r12
cmp rax, 0x11
jb 0x14011771e
mov r8, qword [r12 - 8]
mov rcx, qword [0x14023c258]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0xc8], 0
je 0x140116d50
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140116d50
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x190], r15
mov qword [rdi + 0x198], rbx
mov qword [rdi + 0x1f8], rax
test r12, r12
jne 0x14011761a
mov al, 1
mov r13, qword [rbp + 0xd8]
movzx esi, byte [rbp + 0x157]
test rbx, rbx
jne 0x1401176bf
mov r12, qword [rbp + 0x140]
cmp byte [rdi + 0x140], 0
jne 0x140117704
mov byte [rdi + 0x142], 0
mov rax, qword [rbp + 0x148]
test rax, rax
jne 0x140117710
jmp 0x14011772d
mov al, 2
test r15b, r15b
jne 0x14011781b
movaps xmmword [rbp + 0xf0], xmm6
mov dword [rbp + 0x100], 0
mov rcx, qword [rbp + 0x88]
mov edx, 4
lea r8, [rbp + 0xf0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x140117dd9
mov eax, dword [rbp + 0xf0]
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0xf4]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0xfc]
mov qword [rbp - 0x18], rax
mov al, 1
mov byte [rdi + 0x140], al
mov eax, dword [rbp + 0x3c]
mov dword [rdi + 0x144], eax
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x148], rax
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x150], rax
jmp 0x140116d50
mov rax, qword [rdi]
mov qword [rbp + 0x128], rax
test rax, rax
je 0x140117889
mov rax, qword [rdi + 8]
mov qword [rbp + 0x128], rax
jmp 0x140117889
mov rcx, qword [rbp + 0x128]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x140117889
test rsi, rsi
mov r13, rbx
je 0x140117889
mov rcx, qword [rbp + 0x128]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
movaps xmmword [rbp + 0xf0], xmm6
mov qword [rbp + 0x100], 0
mov dword [rbp + 0xf0], 0x20
mov dword [rbp + 0xf8], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rbp + 0xc0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rbp + 0xc8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0x100], 3
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x60], 0
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rbp + 0x90]
xor r8d, r8d
mov r9, qword [rbp + 0x128]
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x140117d9b
mov rdx, qword [rbp + 0x60]
cmp qword [rdi], 0
mov qword [rbp + 0xe8], rdx
je 0x140117adf
mov byte [rbp + 0x156], 1
lea rcx, [rbp + 0xf0]
call fcn.140147b30
cmp qword [rbp + 0xf0], 0
je 0x140117b0b
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x30], rax
xor eax, eax
mov qword [rbp + 0x128], rax
nop word cs:[rax + rax]
mov rcx, qword [rbp + 0x58]
mov eax, dword [rcx + 0xc]
mov r13d, 0xf00
mov rsi, qword [rbp + 0x128]
cmp rsi, rax
jae 0x140117ae7
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140117ae7
mov rax, qword [rax + rsi*8]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x148], rcx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rbp + 0x140], rax
inc rsi
mov qword [rbp + 0x128], rsi
xor esi, esi
mov r13, qword [rbp + 0xb8]
nop dword [rax]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], r13
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
mov rcx, rax
je 0x140117ab0
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0x148], rcx
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov r12, qword [rbp + 0x148]
mov r8d, dword [r12 + 0x10]
mov rax, qword [rbp + 0x140]
cmp r8d, dword [rax + 0x10]
jne 0x140117a70
mov rcx, qword [r12 + 8]
mov rdx, qword [rax + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete r13b
jmp 0x140117a73
xor r13d, r13d
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x78], rsi
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rax, rsi
test r13b, r13b
mov r13, rsi
je 0x140117a00
mov rcx, rsi
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r13
jmp 0x140117abd
mov r12, rcx
mov rsi, r13
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rbp + 0x140]
call r13
mov qword [rbp + 0xb8], rsi
test r12, r12
je 0x1401179a0
mov r13d, 0xf10
jmp 0x140117aee
mov r13d, 0xf00
jmp 0x140117b18
mov rsi, qword [rbp + 0xb8]
mov byte [rbp + 0x156], 1
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov qword [rbp + 0xb8], rsi
mov r12, r14
jmp 0x140117b11
mov r13d, 0xf00
mov rdx, qword [rbp + 0xe8]
lea rax, [rbp + 0x68]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x60], rax
mov rax, qword [rdi + 0x1d0]
test rax, rax
je 0x140117b46
cmp byte [rdi + 0x221], 0
jne 0x140117b46
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x48], reloc.WS2_32.dll_recv
mov dword [rbp + 0x4c], r13d
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xd0], 0
mov dword [rbp + 0xc0], 0x18
mov byte [rbp + 0x156], 1
mov ecx, 4
lea r8, [rbp + 0x48]
lea r9, [rbp + 0xc0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x140117da8
mov edx, dword [rbp + 0xc4]
mov rsi, rdx
shl rsi, 0x20
or rsi, 2
mov rax, qword [rdi + 0x1e8]
test rax, rax
mov r13, qword [rbp + 0xd8]
je 0x140117c1c
mov qword [rbp + 0x148], rsi
mov r8, qword [rdi + 0x1f0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x140], rdx
mov dword [rbp + 0xf8], edx
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xfc], rax
lea rdx, [rbp + 0xf0]
call qword [r8 + 0x28]
test rax, rax
je 0x140117c31
jmp 0x140117dd1
test edx, edx
mov rcx, qword [rbp + 0xe8]
jne 0x140117dc6
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x140], 0
jne 0x140116e39
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
jmp 0x140116e39
cmp eax, 1
jne 0x140117c79
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + 0x10]
mov dword [r13 + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [r13 + 4], xmm0
mov eax, 1
jmp 0x140117d7c
xor eax, eax
jmp 0x140117d7c
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400e4a10
mov qword [r13 + 8], rax
jmp 0x140117d77
movabs rdx, 0xd00000003
mov qword [r13 + 8], rdx
jmp 0x140117d77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdi, qword [rbp + 0x140]
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xa8], 1
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, rdi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r13, rbx
mov rcx, qword [rbp + 0x128]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
shl rsi, 0x20
or rsi, 2
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [r13 + 8], rsi
jmp 0x140117d77
shl r15, 0x20
or r15, 2
mov rax, qword [rbp + 0x148]
test rax, rax
jne 0x140117d3a
jmp 0x140117d57
mov r15, qword [rbp + 0x68]
mov rax, qword [rbp + 0x148]
test rax, rax
je 0x140117d57
cmp rax, 0x11
jb 0x140117d45
mov r12, qword [r12 - 8]
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0xc8], 0
je 0x140117d73
mov rcx, qword [0x14023c258]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r13 + 8], r15
mov eax, 2
mov dword [r13], eax
movaps xmm6, xmmword [rbp + 0x160]
add rsp, 0x1f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140117cf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov r13, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x140117d01
mov rsi, rax
jmp 0x140117d01
shl rax, 0x20
or rax, 2
jmp 0x140117c94
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x130], r12
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140186a70
jmp 0x140117f59
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x130], r12
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140186a70
jmp 0x140117f59
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x130], r12
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ecx, 1
mov rdx, rsi
call fcn.140186a70
jmp 0x140117f59
mov ecx, 8
mov edx, 0x20
call fcn.140186620
ud2
mov qword [rbp + 0x148], r14
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.140186af0
jmp 0x140117f59
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401b99a8]
mov edx, 0x29
call fcn.140186b70
ud2
mov qword [rbp + 0x40], r13
lea rcx, [0x1401bda8f]
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140186b70
jmp 0x140117f59
movzx eax, byte [rbp + 0x157]
mov byte [rbp + 0x155], al
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xa0], rax
mov byte [rbp + 0x154], 1
lea rcx, [0x1401bda8f]
lea r8, str.C:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersFokus.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov edx, 0x1f
call fcn.140186b70
jmp 0x140117f59
mov qword [rbp + 0x40], r13
lea r8, str._rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
mov rcx, r15
call fcn.140186af0
jmp 0x140117f59
movzx eax, byte [rbp + 0x157]
mov byte [rbp + 0x155], al
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xa0], rax
mov byte [rbp + 0x154], 1
lea r8, str._rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.140186af0
ud2