Function at 0x140113f70
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 + 0x10c]
mov qword [rbp + 0x40], rax
lea rax, [rdx + 0x98]
mov qword [rbp - 8], rax
lea rax, [rdx + 0x60]
mov qword [rbp + 0x58], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x108]
test rax, rax
jne 0x140114d5c
movzx r14d, byte [rdi + 0x109]
movzx r13d, byte [rdi + 0x10a]
movzx r15d, byte [rdi + 0x10b]
movzx r12d, byte [rdi + 0x10c]
mov rsi, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x58]
cmp rsi, rdx
jne 0x140114040
test r14b, r14b
je 0x140114025
cmp qword [rdi + 0x90], 0
je 0x140114f78
cmp byte [rdi + 0x108], 0
je 0x1401140de
or r12b, r15b
jne 0x1401140f7
jmp 0x1401140ea
xor ebx, ebx
nop word cs:[rax + rax]
mov rax, rdx
sub rax, rsi
jb 0x140114f92
mov r8, qword [rdi + 0x90]
test r8, r8
je 0x140114f78
mov r9, qword [rdi + 0x50]
add r9, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp - 8]
call fcn.140154f00
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x140114d25
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x140114d2f
add rbx, rax
add rsi, rax
mov qword [rdi + 0x40], rsi
mov rdx, qword [rdi + 0x58]
cmp rsi, rdx
jne 0x140114050
test rbx, rbx
je 0x140114005
cmp byte [rdi + 0x108], 0
jne 0x14011400a
mov byte [rdi + 0x109], 1
jmp 0x14011400a
mov byte [rdi + 0x109], 0
or r12b, r15b
jne 0x1401140f7
cmp byte [rdi + 0x122], 0
je 0x1401145ac
test r13b, r13b
je 0x140114757
cmp qword [rdi + 0xd8], 0
je 0x140114137
lea rcx, [rbp + 0xb0]
mov rdx, rdi
call fcn.140115090
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x140114d2f
test rax, rax
je 0x140114d98
mov rsi, qword [rdi + 0x20]
mov rax, qword [0x140221370]
test rax, rax
jne 0x14011415d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140114fa3
mov qword [0x140221370], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140114fa3
mov rdx, qword [rdi + 0x38]
cmp rsi, rdx
ja 0x140114fb4
mov r12, rax
mov rax, qword [rdi + 0x30]
mov dword [r12], esi
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rbp + 0x68], 2
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], 2
mov rdx, qword [rdi + 0xf0]
test rdx, rdx
je 0x140114230
mov r8, qword [rdi + 0xf8]
lea rcx, [rbp + 0x90]
call fcn.140139920
mov r13, qword [rbp + 0x98]
test r13, r13
je 0x14011423b
mov r14, qword [rbp + 0xa0]
mov ebx, dword [rbp + 0x90]
lea rcx, [rbp + 0x68]
call fcn.140139de0
mov r12, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x78]
mov rax, rsi
shl rax, 4
mov dword [r12 + rax], ebx
mov dword [r12 + rax + 4], send
mov qword [r12 + rax + 8], r14
inc rsi
mov qword [rbp + 0x78], rsi
jmp 0x140114243
mov qword [rbp + 0x98], 0
mov esi, 2
xor r13d, r13d
mov dword [rbp + 0x30], 0
mov dword [rbp + 0x34], esi
mov qword [rbp + 0x38], 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 - 0x18], rax
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x10], rax
mov dword [rbp + 0xac], 0
cmp byte [rdi + 0x122], 0
je 0x140114400
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rbp + 0x58]
cmove rdx, rcx
mov rax, qword [rdi + 0x100]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0xac]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rbp + 0x80]
lea r8, [rbp + 0x30]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov ebx, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14011433c
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x14011434e
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp ebx, 0x80090318
je 0x140114543
test ebx, ebx
je 0x1401144a7
cmp ebx, 0x90312
jne 0x14011456b
mov byte [rdi + 0x123], 0
cmp rsi, 1
jbe 0x140114f62
cmp dword [r12 + 0x14], 5
mov qword [rbp + 0xe0], r13
jne 0x14011469b
mov r14, qword [rdi + 0x20]
mov eax, dword [r12 + 0x10]
mov rbx, r14
sub rbx, rax
jb 0x140114fc5
mov r13d, dword [rbp + 0xb0]
mov r15, qword [rbp + 0xb8]
test eax, eax
je 0x14011474d
mov rdx, qword [rdi + 0x38]
mov rsi, rdx
sub rsi, rbx
jb 0x140114fdf
mov qword [rdi + 0x38], 0
test rbx, rbx
je 0x1401147d8
cmp rdx, rbx
je 0x1401147e5
mov rcx, qword [rdi + 0x30]
lea rdx, [rcx + rbx]
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
jmp 0x1401147e1
cmp byte [rdi + 0x120], 0
mov rax, qword [rdi + 0xc8]
mov r8d, 0
cmovne r8, rax
test rax, rax
cmove r8, rax
mov rax, qword [rdi + 0x100]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0xac]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
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 + 0x80]
mov rdx, qword [rbp + 0x58]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebx, eax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
jne 0x140114336
jmp 0x14011433c
cmp rsi, 1
jbe 0x140114f59
cmp dword [r12 + 0x14], 5
jne 0x140114662
mov qword [rbp + 0xe0], r13
mov r13, qword [rdi + 0x20]
mov r14d, dword [r12 + 0x10]
mov rsi, r13
sub rsi, r14
mov r15, qword [rbp + 0xb8]
test r15, r15
mov rax, qword [rbp + 0x60]
je 0x1401144f1
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
mov rax, r15
cmp r13, rsi
jb 0x140114fc5
mov qword [rbp + 0x60], rax
je 0x14011486e
mov rdx, qword [rdi + 0x38]
mov rbx, rdx
sub rbx, rsi
jb 0x140114ff0
mov qword [rdi + 0x38], 0
test rsi, rsi
je 0x14011485b
cmp rdx, rsi
je 0x14011486e
mov rcx, qword [rdi + 0x30]
lea rdx, [rcx + rsi]
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
jmp 0x140114860
cmp rsi, 1
jbe 0x140114f50
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x14011455f
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xd8], rax
jmp 0x140114950
shl rbx, 0x20
or rbx, 2
test r13, r13
je 0x14011490a
mov r8, qword [rbp + 0xa0]
cmp r13, 0x11
jb 0x14011458d
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x68], 0
jne 0x140114911
jmp 0x140114923
mov byte [rbp + 0xf7], r15b
mov byte [rbp + 0xe0], r13b
mov qword [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 0x53
lea r8, [rbp + 0xb0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov r15, rax
shl r15, 0x20
or r15, 2
test eax, eax
jne 0x1401145f1
mov r15, qword [rbp + 0xb0]
movzx eax, byte [rbp + 0xe0]
je 0x1401146ba
test al, al
je 0x140114de5
mov eax, r15d
and eax, 3
cmp eax, 1
jne 0x140114100
lea rsi, [r15 - 1]
mov rcx, qword [r15 - 1]
mov rax, qword [r15 + 7]
call qword [rax]
mov rax, qword [r15 + 7]
cmp qword [rax + 8], 0
je 0x14011464b
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14011463c
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 0x140114100
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x14011467d
mov rcx, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x60], rax
mov qword [rdi + 0x20], 0
mov qword [rdi + 0xd8], 1
jne 0x14011488d
jmp 0x140114931
mov r14, qword [rdi + 0x20]
mov r13d, dword [rbp + 0xb0]
mov eax, 1
mov r15, qword [rbp + 0xb8]
mov rbx, r14
jmp 0x1401147e7
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x14011499e
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r14, rax
cmp qword [rdi + 0x80], 0
je 0x14011484b
xor ebx, ebx
mov rcx, qword [rdi + 0x88]
mov rdx, rbx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x14011484b
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbx, rax
mov qword [rbp + 0xb0], 0
mov rcx, r14
mov rdx, rsi
mov r8d, 3
lea r9, [rbp + 0xb0]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x140114dad
mov rcx, qword [rbp + 0xb0]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r12
mov rcx, rsi
call r12
jmp 0x1401146e0
mov eax, 1
jmp 0x1401147e7
mov al, 2
test r15b, r15b
jne 0x1401147ae
movaps xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x58]
mov edx, 4
lea r8, [rbp + 0xb0]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x140114f43
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0xb4]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0xbc]
mov qword [rbp + 0x18], rax
mov al, 1
mov byte [rdi + 0x108], al
mov eax, dword [rbp + 0x54]
mov dword [rdi + 0x10c], eax
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x110], rax
mov rax, qword [rbp + 0x18]
mov qword [rdi + 0x118], rax
jmp 0x140113fc8
test rdx, rdx
je 0x140114af3
mov qword [rdi + 0x38], rsi
xor eax, eax
sub r14, rbx
mov qword [rdi + 0x20], r14
mov qword [rdi + 0xd8], rax
test r13d, r13d
mov ebx, r13d
mov rsi, r15
lea rax, method..virtual_32
cmove rsi, rax
mov rax, qword [rdi + 0x48]
mov r14, qword [rdi + 0x58]
sub rax, r14
cmp rax, rbx
jb 0x140114adb
mov r13, qword [rbp + 0xe0]
mov rcx, qword [rdi + 0x50]
add rcx, r14
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r14, rbx
mov qword [rdi + 0x58], r14
mov rcx, r15
call qword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x140114950
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x1401149b1
test rdx, rdx
je 0x14011486e
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x38], rbx
jmp 0x140114876
xor eax, eax
cmp r13, rsi
sete al
mov qword [rdi + 0x20], r14
mov qword [rdi + 0xd8], rax
test r15, r15
mov r13, qword [rbp + 0xe0]
je 0x1401148dd
mov esi, dword [rbp + 0x48]
test rsi, rsi
mov r14, qword [rbp + 0x60]
lea rax, method..virtual_32
cmove r14, rax
mov rax, qword [rdi + 0x48]
mov rbx, qword [rdi + 0x58]
sub rax, rbx
cmp rax, rsi
jb 0x140114afc
mov rcx, qword [rdi + 0x50]
add rcx, rbx
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rsi
mov qword [rdi + 0x58], rbx
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r14, qword [rdi + 0x20]
test r14, r14
je 0x140114931
lea rcx, [rbp + 0x80]
mov rdx, rdi
call fcn.1401152a0
cmp byte [rbp + 0x80], 0
je 0x140114931
mov rbx, qword [rbp + 0x88]
test r13, r13
jne 0x14011457c
cmp qword [rbp + 0x68], 0
je 0x140114923
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x140113fc8
jmp 0x140114d8b
cmp byte [rdi + 0x108], 0
jne 0x140114950
mov byte [rdi + 0x10a], 0
nop word cs:[rax + rax]
test r13, r13
je 0x140114975
mov r8, qword [rbp + 0xa0]
cmp r13, 0x11
jb 0x140114966
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x68], 0
je 0x14011498e
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
test rbx, rbx
je 0x140113fc8
jmp 0x140114d8b
mov r14, qword [rdi + 0x80]
test r14, r14
je 0x1401149b1
mov r14, qword [rdi + 0x88]
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 + 0x68], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, r15
xor r8d, r8d
mov r9, r14
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x140114f08
mov r13, qword [rbp + 0x68]
mov esi, 0xf00
cmp dword [rdi + 0x80], 1
jne 0x140114c05
cmp dword [r13 + 0xc], 0
je 0x140114c05
mov qword [rbp + 0x20], r15
mov rax, qword [r13 + 0x10]
mov r15, qword [rax]
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov rbx, rax
cmp dword [r13 + 0xc], 2
jb 0x140114b14
mov esi, 1
mov r12, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop dword [rax + rax]
mov rax, qword [r13 + 0x10]
mov r15, qword [rax + rsi*8]
mov rcx, r13
call r12
mov r14, rax
mov rcx, rbx
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r13 + 0xc]
inc rsi
mov rbx, r14
cmp rsi, rax
jb 0x140114ab0
jmp 0x140114b1e
lea rcx, [rdi + 0x48]
mov rdx, r14
mov r8, rbx
call fcn.1401726f0
mov r14, qword [rdi + 0x58]
jmp 0x14011481d
xor eax, eax
xor ebx, ebx
jmp 0x1401147e7
lea rcx, [rdi + 0x48]
mov rdx, rbx
mov r8, rsi
call fcn.1401726f0
mov rbx, qword [rdi + 0x58]
jmp 0x1401148b6
mov r14, rbx
mov r12, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov qword [rbp + 8], r15
mov rcx, r13
call r12
mov qword [rbp + 0x28], rax
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
xor edx, edx
mov r15, qword [rbp + 0x20]
jmp 0x140114b4a
mov rcx, r14
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + 0xc]
mov esi, 0xf00
cmp rdx, rax
jae 0x140114bfb
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140114bfb
mov rax, qword [rax + rdx*8]
inc rdx
mov qword [rbp], rdx
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
xor esi, esi
jmp 0x140114b99
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rdi + 0x88]
mov rdx, rsi
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x140114b3d
mov r12, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [r14 + 0x10]
jne 0x140114b90
mov rcx, qword [r12 + 8]
mov rdx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcmp
mov ebx, eax
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test ebx, ebx
jne 0x140114b99
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r14
call rsi
mov esi, 0xf10
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
lea rax, [rbp + 0x70]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rbp + 0x68], rax
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x140114c33
cmp byte [rdi + 0x121], 0
jne 0x140114c33
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], reloc.WS2_32.dll_recv
mov dword [rbp + 0x84], esi
lea rax, [rbp + 0x68]
mov qword [rbp + 0x88], rax
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0xa0], 0
mov dword [rbp + 0x90], 0x18
mov ecx, 4
mov rdx, r13
lea r8, [rbp + 0x80]
lea r9, [rbp + 0x90]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x140114f1d
mov r12d, dword [rbp + 0x94]
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x140114ce1
mov rax, qword [rdi + 0x78]
mov rdx, qword [rax + 0x10]
add rdx, 0xf
and rdx, 0xfffffffffffffff0
add rcx, rdx
mov qword [rbp + 0xb0], r13
mov dword [rbp + 0xb8], r12d
mov rdx, qword [rbp + 0x98]
mov qword [rbp + 0xbc], rdx
lea rdx, [rbp + 0xb0]
call qword [rax + 0x28]
test rax, rax
je 0x140114cf3
jmp 0x140114f3b
test r12d, r12d
jne 0x140114f25
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x108], 0
movzx r13d, byte [rbp + 0xe0]
movzx r15d, byte [rbp + 0xf7]
jne 0x1401140f7
mov rax, qword [rbp + 0x40]
mov byte [rax], 1
jmp 0x1401140f7
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 0x140114d80
mov rcx, qword [rbp + 0x40]
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 0x140114d3f
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x140114d3f
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rbx
jmp 0x140114d3a
mov rcx, qword [0x140221370]
test rcx, rcx
je 0x140114df5
mov rdi, qword [rbp + 0xe8]
jmp 0x140114e15
call sub.KERNEL32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, rbx
call rsi
mov rcx, r14
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov r15, r12
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], r15
jmp 0x140114d3a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x140115001
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140115001
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 0x140114e69
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140115012
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140115012
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 0x140114ed4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140115023
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140115023
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rax], xmm0
inc rax
jmp 0x140114d36
call sub.KERNEL32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
jmp 0x140114dd9
call sub.KERNEL32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x140114dd9
mov r12, rax
jmp 0x140114dd9
shl rax, 0x20
or rax, 2
jmp 0x140114d2f
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 0x140114f69
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 0x140114f69
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
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401e4158]
mov edx, 0x29
call fcn.14016f3d0
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.14016f3b0
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, [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