Function at 0x1401b5d00
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 0x1401b6b5b
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 0x1401b5dc0
test r15b, r15b
je 0x1401b5daf
cmp qword [rdi + 0x38], 0
je 0x1401b6d74
cmp byte [rdi + 0x40], 0
je 0x1401b5e68
or r14b, bl
jne 0x1401b5e7e
jmp 0x1401b5e71
mov byte [rbp + 0xe0], cl
xor r12d, r12d
nop dword [rax]
mov rax, rdx
sub rax, rsi
jb 0x1401b6d8e
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1401b6d74
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, qword [rbp + 0x58]
call fcn.1402aa230
mov rcx, qword [rbp + 0xb0]
cmp rcx, 2
je 0x1401b6b24
mov rax, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1401b6b2e
add r12, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1401b5dd0
test r12, r12
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
movzx ecx, byte [rbp + 0xe0]
je 0x1401b5d95
cmp byte [rdi + 0x40], 0
jne 0x1401b5d9a
mov byte [rdi + 0x41], 1
jmp 0x1401b5d9a
mov byte [rdi + 0x41], 0
or r14b, bl
jne 0x1401b5e7e
cmp byte [rdi + 0x122], 0
je 0x1401b6366
test cl, cl
je 0x1401b6531
cmp qword [rdi + 0xf8], 0
je 0x1401b5eb9
mov rcx, r13
mov rdx, rdi
call fcn.1401b7190
cmp qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb8]
jne 0x1401b6b2e
test rax, rax
je 0x1401b6b97
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1403ce430]
mov rax, qword [0x1403cdf08]
test rax, rax
jne 0x1401b5ee9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1401b6d9f
mov qword [0x1403cdf08], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401b6d9f
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1401b6db0
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 0x1401b5fe0
mov r8, qword [rdi + 0x118]
lea rcx, [rbp + 0xb0]
call fcn.140272e30
mov rbx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xc0]
test rbx, rbx
mov qword [rbp + 0x28], rax
je 0x1401b5fe0
mov rsi, qword [rbp + 0xb8]
lea rcx, [rbp + 0x90]
mov r14, rax
call fcn.1402730e0
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 0x1401b5fe2
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 0x1401b61a0
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 0x1401b60d3
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1401b60e5
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x1401b62f3
test esi, esi
je 0x1401b623e
cmp esi, 0x90312
jne 0x1401b631b
mov byte [rdi + 0x123], 0
cmp r13, 1
jbe 0x1401b6d4c
cmp dword [r12 + 0x14], 5
jne 0x1401b645b
mov r13, qword [rdi + 0x98]
mov eax, dword [r12 + 0x10]
mov r14, r13
sub r14, rax
jb 0x1401b6dc1
mov esi, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0xe0], rcx
test eax, eax
je 0x1401b6527
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, r14
jb 0x1401b6ddb
mov qword [rdi + 0x90], 0
test r14, r14
je 0x1401b65a1
cmp rdx, r14
je 0x1401b65b4
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
jmp 0x1401b65ad
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 0x1401b60cd
jmp 0x1401b60d3
cmp r13, 1
jbe 0x1401b6d5e
cmp dword [r12 + 0x14], 5
jne 0x1401b6415
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 0x1401b6287
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov rax, rcx
cmp r13, rsi
jb 0x1401b6dc1
mov qword [rbp + 0x80], rax
je 0x1401b667a
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x1401b6dec
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1401b6675
cmp rdx, rsi
je 0x1401b667a
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 0x1401b6684
cmp r13, 1
jbe 0x1401b6d55
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x1401b630f
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x1401b6626
shl rsi, 0x20
or rsi, 2
lea r13, [rbp + 0xb0]
test rbx, rbx
je 0x1401b6736
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1401b6344
mov r8, qword [rax - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
jne 0x1401b6740
jmp 0x1401b6752
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 0x1401b63a5
mov rbx, qword [rbp + 0xb0]
movzx eax, byte [rbp + 0xe0]
je 0x1401b647c
test al, al
je 0x1401b6ce6
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x1401b5e86
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 0x1401b63fe
cmp qword [r15 + 0x10], 0x11
jb 0x1401b63ec
mov r14, qword [r14 - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1401b5e86
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x1401b6433
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 0x1401b66ad
jmp 0x1401b6767
mov r13, qword [rdi + 0x98]
mov esi, dword [rbp + 0xb0]
mov eax, 1
mov rcx, qword [rbp + 0xb8]
mov r14, r13
jmp 0x1401b65bd
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1401b677a
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r15, rax
cmp qword [rdi], 0
je 0x1401b6510
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1401b6510
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 0x1401b6cb8
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 0x1401b64b0
mov rcx, r15
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1401b6786
mov eax, 1
jmp 0x1401b65b6
mov al, 2
test bl, bl
jne 0x1401b6583
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 0x1401b6d3f
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 0x1401b5d63
cmp rdx, r14
jne 0x1401b65ad
xor eax, eax
xor r14d, r14d
jmp 0x1401b65b6
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, [0x1403c0b88]
cmove r13, rax
mov rax, qword [rdi + 0xa8]
mov r15, qword [rdi + 0xb0]
sub rax, r15
cmp rax, r14
mov rsi, rcx
jb 0x1401b68bb
mov rcx, qword [rdi + 0xa0]
add rcx, r15
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
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 0x1401b6652
mov rax, qword [rbp + 0x28]
mov r8, rax
cmp rbx, 0x11
jb 0x1401b6643
mov r8, qword [rax - 8]
mov rcx, qword [0x1403cdf08]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x98], 0
je 0x1401b666e
mov rcx, qword [0x1403cdf08]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
jmp 0x1401b6752
cmp rdx, rsi
jne 0x1401b6684
xor eax, eax
cmp r13, rsi
sete al
jmp 0x1401b6693
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 0x1401b6712
mov esi, dword [rbp + 0x38]
test rsi, rsi
mov r14, qword [rbp + 0x80]
lea rax, [0x1403c0b88]
cmove r14, rax
mov rax, qword [rdi + 0xa8]
mov r15, qword [rdi + 0xb0]
sub rax, r15
cmp rax, rsi
jb 0x1401b6b06
mov rcx, qword [rdi + 0xa0]
add rcx, r15
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov qword [rdi + 0xb0], r15
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov r15, qword [rdi + 0x98]
test r15, r15
je 0x1401b6767
lea rcx, [rbp + 0x60]
mov rdx, rdi
call fcn.1401b6e90
cmp byte [rbp + 0x60], 0
je 0x1401b6767
mov rsi, qword [rbp + 0x68]
test rbx, rbx
jne 0x1401b6333
cmp qword [rbp + 0x98], 0
je 0x1401b6752
mov rcx, qword [0x1403cdf08]
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 0x1401b5d63
jmp 0x1401b6b8a
cmp byte [rdi + 0x40], 0
jne 0x1401b662d
mov byte [rdi + 0x42], 0
jmp 0x1401b662d
mov r15, qword [rdi]
test r15, r15
je 0x1401b6786
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 0x1401b6cef
mov rdx, qword [rbp + 0x60]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rbp + 0xa8], rdx
je 0x1401b69ec
cmp dword [rdx + 0xc], 0
je 0x1401b69ec
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 0x1401b68d9
mov r15d, 1
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop word cs:[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 0x1401b6890
jmp 0x1401b68e3
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, r14
call fcn.1402eac30
mov r15, qword [rdi + 0xb0]
jmp 0x1401b65fe
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 0x1401b691b
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 0x1401b69d7
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1401b69d7
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 0x1401b6904
mov r12, rax
mov rcx, rax
call r13
mov r14, rax
mov r8d, dword [r12 + 0x10]
cmp r8d, dword [rsi + 0x10]
jne 0x1401b69ad
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 0x1401b69b8
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1401b6960
jmp 0x1401b6904
mov rcx, r12
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1401b6996
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 0x1401b6a1a
cmp byte [rdi + 0x121], 0
jne 0x1401b6a1a
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 0x1401b6d01
mov r14d, dword [rbp + 0x94]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1401b6ac6
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 0x1401b6ad9
jmp 0x1401b6d20
test r14d, r14d
mov rcx, qword [rbp + 0xa8]
jne 0x1401b6d10
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 0x1401b5e7e
mov rax, qword [rbp + 0x30]
mov byte [rax], 1
jmp 0x1401b5e7e
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, rsi
call fcn.1402eac30
mov r15, qword [rdi + 0xb0]
jmp 0x1401b66df
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 0x1401b6b7f
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 0x1401b6b3e
xor eax, eax
mov rdi, qword [rbp + 0xe8]
jmp 0x1401b6b3e
mov rdi, qword [rbp + 0xe8]
mov qword [rdi + 8], rsi
jmp 0x1401b6b39
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
je 0x1401b6bb3
mov rdi, qword [rbp + 0xe8]
jmp 0x1401b6bd3
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x1401b6dfd
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x1f
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401b6dfd
mov rsi, rax
movups xmm0, xmmword [0x14032a74f]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1401b6c2e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1401b6e0e
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401b6e0e
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], 0x1f
mov qword [rax + 0x10], 0x1f
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1401b6c87
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1401b6e1f
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1401b6e1f
mov qword [rax], rbx
lea rcx, fcn.14000e710
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1401b6b35
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 0x1401b6d23
mov rdi, qword [rbp + 0xe8]
jmp 0x1401b6d36
call sub.kernel32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x1401b6d23
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 0x1401b6d23
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 0x1401b6b39
shl rax, 0x20
or rax, 2
jmp 0x1401b6b2e
lea r8, [0x14032a7c8]
jmp 0x1401b6d65
lea r8, [0x14032a7b0]
jmp 0x1401b6d65
lea r8, [0x14032a7e0]
mov ecx, 1
mov rdx, r13
call fcn.1402ea300
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140327188]
mov edx, 0x29
call fcn.1402ea480
ud2
lea r8, [0x14032a8c8]
mov rcx, rsi
call fcn.1402ea380
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1402e6e10
ud2
lea r8, [0x14032a798]
mov rcx, rsi
call fcn.1402ea400
ud2
lea rcx, [0x14032a75f]
lea r8, [0x14032a780]
mov edx, 0x1f
call fcn.1402ea480
ud2
lea r8, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
mov rcx, r14
call fcn.1402ea400
ud2
lea r8, str._rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1402ea400
ud2
mov ecx, 1
mov edx, 0x1f
call fcn.1402e6e10
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1402e6e10
ud2
mov qword [rbp + 0x58], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1402e6e10
ud2