Function at 0x1401b12b0
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rdi, rdx
mov r12, rcx
lea rax, [rdx + 0x44]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x158], rax
lea rax, [rdx + 0xc0]
mov qword [rsp + 0xd8], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x40]
test rax, rax
jne 0x1401b2094
movzx r14d, byte [rdi + 0x41]
movzx ebx, byte [rdi + 0x42]
movzx r13d, byte [rdi + 0x43]
movzx ebp, byte [rdi + 0x44]
mov rsi, qword [rdi + 0xb8]
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1401b1360
test r14b, r14b
je 0x1401b1347
cmp qword [rdi + 0x38], 0
je 0x1401b22f2
cmp byte [rdi + 0x40], 0
je 0x1401b140a
or bpl, r13b
jne 0x1401b1420
jmp 0x1401b1413
mov byte [rsp + 0x98], bl
mov ebx, r13d
mov r13, r15
xor r15d, r15d
mov rax, rdx
sub rax, rsi
jb 0x1401b230c
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1401b22f2
mov r9, qword [rdi + 0xa0]
add r9, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x158]
call fcn.1402c8f50
mov rcx, qword [rsp + 0x60]
cmp rcx, 2
je 0x1401b2060
mov rax, qword [rsp + 0x68]
test rcx, rcx
jne 0x1401b206a
add r15, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1401b1370
test r15, r15
mov r15, r13
mov r13d, ebx
movzx ebx, byte [rsp + 0x98]
je 0x1401b132d
cmp byte [rdi + 0x40], 0
jne 0x1401b1332
mov byte [rdi + 0x41], 1
jmp 0x1401b1332
mov byte [rdi + 0x41], 0
or bpl, r13b
jne 0x1401b1420
cmp byte [rdi + 0x122], 0
je 0x1401b193e
test bl, bl
je 0x1401b1be5
cmp qword [rdi + 0xf8], 0
je 0x1401b1459
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.1401b26c0
cmp qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
jne 0x1401b206a
test rax, rax
je 0x1401b20bd
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1403f6a90]
mov rax, qword [0x1403f6548]
test rax, rax
jne 0x1401b1488
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401b231d
mov qword [0x1403f6548], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401b231d
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1401b232e
mov r13, rax
mov rax, qword [rdi + 0x80]
mov dword [r13], esi
mov dword [r13 + 4], 2
mov qword [r13 + 8], rax
movups xmmword [r13 + 0x10], xmm6
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], 2
mov qword [rsp + 0xb0], 2
mov rdx, qword [rdi + 0x108]
mov ebp, 2
test rdx, rdx
je 0x1401b1570
mov r8, qword [rdi + 0x118]
lea rcx, [rsp + 0x60]
call fcn.140271a30
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
test rbx, rbx
je 0x1401b1570
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.140271d20
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
mov rax, rbp
shl rax, 4
mov dword [r13 + rax], esi
mov dword [r13 + rax + 4], 0x12
mov qword [r13 + rax + 8], r15
inc rbp
mov qword [rsp + 0xb0], rbp
jmp 0x1401b1572
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], ebp
mov qword [rsp + 0x138], r13
movabs rax, 0x200000000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x78]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0xd4], 0
cmp byte [rdi + 0x122], 0
je 0x1401b1760
cmp byte [rdi + 0x123], 0
mov edx, 0
mov rcx, qword [rsp + 0xd8]
cmove rdx, rcx
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xe0]
lea r8, [rsp + 0x130]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov esi, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401b167e
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1401b1690
call sub.secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x1401b18b7
test esi, esi
je 0x1401b1810
cmp esi, 0x90312
jne 0x1401b21c8
mov byte [rdi + 0x123], 0
cmp rbp, 1
jbe 0x1401b22b0
mov qword [rsp + 0x98], r15
cmp dword [r13 + 0x14], 5
jne 0x1401b191d
mov r15, qword [rdi + 0x98]
mov eax, dword [r13 + 0x10]
mov rsi, r15
sub rsi, rax
jb 0x1401b233f
mov rbp, r12
mov r12d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x1401b196f
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x1401b2359
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1401b1a27
cmp rdx, rsi
je 0x1401b1a39
mov qword [rsp + 0xc0], rcx
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r14
call sub.msvcrt.dll_memmove
mov rcx, qword [rsp + 0xc0]
jmp 0x1401b1a32
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 [rsp + 0xe0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x130]
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, [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov r9d, 0x9819c
call sub.secur32.dll_InitializeSecurityContextW
mov esi, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x1401b1679
jmp 0x1401b167e
cmp rbp, 1
jbe 0x1401b22c6
cmp dword [r13 + 0x14], 5
mov qword [rsp + 0xc8], r12
jne 0x1401b18dd
mov r12, qword [rsp + 0x68]
test r12, r12
je 0x1401b184c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xf8], r12
mov r14, qword [rdi + 0x98]
mov eax, dword [r13 + 0x10]
mov rsi, r14
sub rsi, rax
cmp r14, rsi
jb 0x1401b233f
mov rbp, r15
je 0x1401b1ab9
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, rsi
jb 0x1401b2359
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1401b1ab4
cmp rdx, rsi
je 0x1401b1ab9
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r15
call sub.msvcrt.dll_memmove
jmp 0x1401b1ac3
cmp rbp, 1
jbe 0x1401b22dc
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x1401b18d1
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x1401b1ba0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1401b18fc
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0xf8], rax
mov qword [rdi + 0x98], 0
mov qword [rdi + 0xf8], 1
jne 0x1401b1af0
jmp 0x1401b1b8b
mov rbp, r12
mov r15, qword [rdi + 0x98]
mov r12d, dword [rsp + 0x60]
mov eax, 1
mov rcx, qword [rsp + 0x68]
mov rsi, r15
jmp 0x1401b1a3b
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0xd8]
mov edx, 0x53
lea r8, [rsp + 0x60]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1401b1979
test bl, bl
jne 0x1401b1428
jmp 0x1401b224e
mov eax, 1
jmp 0x1401b1a3b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rax + 0x20]
mov rbp, r15
test rcx, rcx
je 0x1401b1c5a
call sub.crypt32.dll_CertDuplicateStore
mov r14, rax
cmp qword [rdi], 0
je 0x1401b1a18
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1401b1a18
nop word cs:[rax + rax]
mov rsi, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r15, rax
mov qword [rsp + 0x60], 0
mov rcx, r14
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x60]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x1401b21d2
mov rcx, qword [rsp + 0x60]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, r15
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1401b19c0
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1401b1c66
cmp rdx, rsi
jne 0x1401b1a32
xor eax, eax
xor esi, esi
jmp 0x1401b1a3b
mov qword [rdi + 0x90], r14
xor eax, eax
sub r15, rsi
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xf8], rax
test r12d, r12d
mov esi, r12d
mov r12, rcx
mov r15, rcx
lea rax, [0x1403d7910]
cmove r15, rax
mov rax, qword [rdi + 0xa8]
mov r14, qword [rdi + 0xb0]
sub rax, r14
cmp rax, rsi
jb 0x1401b1dab
mov rcx, qword [rdi + 0xa0]
add rcx, r14
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
add r14, rsi
mov qword [rdi + 0xb0], r14
mov rcx, r12
call sub.secur32.dll_FreeContextBuffer
mov r15, qword [rsp + 0x98]
mov r12, rbp
jmp 0x1401b1ba0
cmp rdx, rsi
jne 0x1401b1ac3
xor eax, eax
sub r14, rsi
sete al
jmp 0x1401b1ad2
xor eax, eax
sub r14, rsi
sete al
mov qword [rdi + 0x90], r15
mov qword [rdi + 0x98], r14
mov qword [rdi + 0xf8], rax
test r12, r12
mov r12, qword [rsp + 0xc8]
mov r15, rbp
je 0x1401b1b68
mov r12, r15
mov esi, dword [rsp + 0x120]
test rsi, rsi
mov r15, qword [rsp + 0xf8]
lea rax, [0x1403d7910]
cmove r15, rax
mov rax, qword [rdi + 0xa8]
mov rbp, qword [rdi + 0xb0]
sub rax, rbp
cmp rax, rsi
jb 0x1401b1dd4
mov rcx, qword [rdi + 0xa0]
add rcx, rbp
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
add rbp, rsi
mov qword [rdi + 0xb0], rbp
mov rcx, qword [rsp + 0xf8]
call sub.secur32.dll_FreeContextBuffer
mov r14, qword [rdi + 0x98]
mov r15, r12
mov r12, qword [rsp + 0xc8]
test r14, r14
je 0x1401b1b8b
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.1401b23c0
cmp byte [rsp + 0xe0], 0
jne 0x1401b2200
cmp byte [rdi + 0x40], 0
jne 0x1401b1ba0
mov byte [rdi + 0x42], 0
nop word cs:[rax + rax]
test rbx, rbx
je 0x1401b1bc0
mov r8, r15
cmp rbx, 0x11
jb 0x1401b1bb2
mov r8, qword [r15 - 8]
mov rcx, qword [0x1403f6548]
xor edx, edx
call fcn.140302ad4
cmp qword [rsp + 0xa8], 0
je 0x1401b12fb
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r13
call fcn.140302ad4
jmp 0x1401b12fb
mov al, 2
test r13b, r13b
jne 0x1401b1c30
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0xd8]
call fcn.140271dd0
cmp dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x118], rax
jne 0x1401b22a3
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x148], rax
mov al, 1
mov byte [rdi + 0x40], al
mov eax, dword [rsp + 0x114]
mov dword [rdi + 0x44], eax
mov rax, qword [rsp + 0x118]
mov qword [rdi + 0x48], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x50], rax
jmp 0x1401b12fb
mov r14, qword [rdi]
test r14, r14
je 0x1401b1c66
mov r14, qword [rdi + 8]
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x68], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rsp + 0xa0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xa8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xe0], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc0000001
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
xor r8d, r8d
mov r9, r14
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x1401b225a
mov rax, qword [rsp + 0xe0]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xb8], rax
je 0x1401b1dc9
cmp dword [rax + 0xc], 0
mov r15, rbp
mov rbp, rax
je 0x1401b1f0f
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xc8], r12
mov rax, qword [rbp + 0x10]
mov r12, qword [rax]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r15, rax
cmp dword [rbp + 0xc], 2
jb 0x1401b1df2
mov r14d, 1
nop dword [rax + rax]
mov rax, qword [rbp + 0x10]
mov r12, qword [rax + r14*8]
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov rsi, rax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [rbp + 0xc]
inc r14
mov r15, rsi
cmp r14, rax
jb 0x1401b1d80
jmp 0x1401b1df5
lea rcx, [rdi + 0xa0]
mov rdx, r14
mov r8, rsi
call fcn.1400f68e0
mov r14, qword [rdi + 0xb0]
jmp 0x1401b1a7d
mov r15, rbp
mov rbp, rax
jmp 0x1401b1f0f
lea rcx, [rdi + 0xa0]
mov rdx, rbp
mov r8, rsi
call fcn.1400f68e0
mov rbp, qword [rdi + 0xb0]
jmp 0x1401b1b2a
mov rsi, r15
mov rcx, rbp
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x140], rax
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateChain
xor ecx, ecx
jmp 0x1401b1e2f
mov rsi, qword [rsp + 0x150]
inc rsi
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rsi
mov rbp, qword [rsp + 0xb8]
mov eax, dword [r12 + 0xc]
mov esi, 0xf00
cmp rcx, rax
mov r15, qword [rsp + 0x98]
jae 0x1401b1efa
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x1401b1efa
mov qword [rsp + 0x150], rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1401b1e11
mov r15, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rsi, rax
mov r8d, dword [r15 + 0x10]
cmp r8d, dword [rbp + 0x10]
jne 0x1401b1ecb
mov rcx, qword [r15 + 8]
mov rdx, qword [rbp + 8]
call sub.msvcrt.dll_memcmp
mov r14d, eax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
test r14d, r14d
je 0x1401b1ed5
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1401b1e80
jmp 0x1401b1e11
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x1401b1eb5
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov r15, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x140]
call sub.crypt32.dll_CertFreeCertificateChain
mov r12, qword [rsp + 0xc8]
lea rax, [rsp + 0xe8]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0xd0]
test rax, rax
je 0x1401b1f49
cmp byte [rdi + 0x121], 0
jne 0x1401b1f49
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x100], 0x10
mov dword [rsp + 0x104], esi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x108], rax
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xa0], 0x18
mov ecx, 4
mov rdx, rbp
lea r8, [rsp + 0x100]
lea r9, [rsp + 0xa0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
je 0x1401b226b
mov ebp, dword [rsp + 0xa4]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1401b2024
mov r8, qword [rdi + 0xf0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], ebp
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x6c], rax
lea rdx, [rsp + 0x60]
call qword [r8 + 0x28]
test rax, rax
jne 0x1401b2289
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1401b1420
jmp 0x1401b2050
test ebp, ebp
jne 0x1401b2272
mov rcx, qword [rsp + 0xb8]
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1401b1420
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1401b1420
movabs rax, 0xd00000003
mov qword [r12 + 8], rax
mov eax, 2
mov dword [r12], eax
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
jne 0x1401b20b9
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov dword [r12 + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [r12 + 4], xmm0
mov eax, 1
jmp 0x1401b2074
xor eax, eax
jmp 0x1401b2074
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1401b20e8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401b236a
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x1f
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401b236a
mov rdi, rax
movups xmm0, xmmword [0x140341817]
movups xmmword [rax + 0xf], xmm0
movups xmm0, xmmword [str.unexpected_EOF_during_handshakeassertion_failed:_size___nread]
movups xmmword [rax], xmm0
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1401b2141
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401b237b
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401b237b
mov rsi, rax
mov qword [rax], rdi
mov qword [rax + 8], 0x1f
mov qword [rax + 0x10], 0x1f
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1401b2198
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401b238c
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401b238c
mov qword [rax], rsi
lea rcx, fcn.1401b28d0
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1401b206a
shl rsi, 0x20
or rsi, 2
jmp 0x1401b2208
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rsi
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1401b228c
mov rsi, qword [rsp + 0xe8]
test rbx, rbx
je 0x1401b2228
cmp rbx, 0x11
jb 0x1401b2217
mov r15, qword [r15 - 8]
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r15
call fcn.140302ad4
cmp qword [rsp + 0xa8], 0
je 0x1401b2244
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r13
call fcn.140302ad4
mov qword [r12 + 8], rsi
jmp 0x1401b206f
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1401b2299
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1401b228c
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, qword [rsp + 0xb8]
call sub.crypt32.dll_CertFreeCertificateChain
jmp 0x1401b228c
mov rbp, rax
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [r12 + 8], rbp
jmp 0x1401b206f
mov rax, qword [rsp + 0x118]
jmp 0x1401b206a
lea r8, [0x140341890]
mov ecx, 1
mov rdx, rbp
call fcn.140136ed0
ud2
lea r8, [0x140341878]
mov ecx, 1
mov rdx, rbp
call fcn.140136ed0
ud2
lea r8, [0x1403418a8]
mov ecx, 1
mov rdx, rbp
call fcn.140136ed0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x14033e360]
mov edx, 0x29
call fcn.140137ef0
ud2
lea r8, [0x140341978]
mov rcx, rsi
call fcn.140136e60
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1400eb190
ud2
lea r8, [0x140341860]
mov rcx, rsi
call fcn.140137b60
ud2
lea rcx, [0x140341827]
lea r8, [0x140341848]
mov edx, 0x1f
call fcn.140137ef0
ud2
lea r8, str.Pn:_
mov rcx, rsi
call fcn.140137b60
ud2
mov ecx, 1
mov edx, 0x1f
call fcn.1400eb190
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400eb190
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400eb190
ud2