Function at 0x1400b9ae0
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 0x1400ba8c4
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 0x1400b9b90
test r14b, r14b
je 0x1400b9b77
cmp qword [rdi + 0x38], 0
je 0x1400bab22
cmp byte [rdi + 0x40], 0
je 0x1400b9c3a
or bpl, r13b
jne 0x1400b9c50
jmp 0x1400b9c43
mov byte [rsp + 0x98], bl
mov ebx, r13d
mov r13, r15
xor r15d, r15d
mov rax, rdx
sub rax, rsi
jb 0x1400bab3c
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400bab22
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 0x1400ba890
mov rax, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400ba89a
add r15, rax
add rsi, rax
mov qword [rdi + 0xb8], rsi
mov rdx, qword [rdi + 0xb0]
cmp rsi, rdx
jne 0x1400b9ba0
test r15, r15
mov r15, r13
mov r13d, ebx
movzx ebx, byte [rsp + 0x98]
je 0x1400b9b5d
cmp byte [rdi + 0x40], 0
jne 0x1400b9b62
mov byte [rdi + 0x41], 1
jmp 0x1400b9b62
mov byte [rdi + 0x41], 0
or bpl, r13b
jne 0x1400b9c50
cmp byte [rdi + 0x122], 0
je 0x1400ba16e
test bl, bl
je 0x1400ba415
cmp qword [rdi + 0xf8], 0
je 0x1400b9c89
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.1401b26c0
cmp qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x68]
jne 0x1400ba89a
test rax, rax
je 0x1400ba8ed
mov rsi, qword [rdi + 0x98]
movzx eax, byte [0x1403f6a90]
mov rax, qword [0x1403f6548]
test rax, rax
jne 0x1400b9cb8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400bab4d
mov qword [0x1403f6548], rax
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400bab4d
mov rdx, qword [rdi + 0x90]
cmp rsi, rdx
ja 0x1400bab5e
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 0x1400b9da0
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 0x1400b9da0
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 0x1400b9da2
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 0x1400b9f90
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 0x1400b9eae
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b9ec0
call sub.secur32.dll_FreeContextBuffer
cmp esi, 0x80090318
je 0x1400ba0e7
test esi, esi
je 0x1400ba040
cmp esi, 0x90312
jne 0x1400ba9f8
mov byte [rdi + 0x123], 0
cmp rbp, 1
jbe 0x1400baae0
mov qword [rsp + 0x98], r15
cmp dword [r13 + 0x14], 5
jne 0x1400ba14d
mov r15, qword [rdi + 0x98]
mov eax, dword [r13 + 0x10]
mov rsi, r15
sub rsi, rax
jb 0x1400bab6f
mov rbp, r12
mov r12d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x1400ba19f
mov rdx, qword [rdi + 0x90]
mov r14, rdx
sub r14, rsi
jb 0x1400bab89
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1400ba257
cmp rdx, rsi
je 0x1400ba269
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 0x1400ba262
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 0x1400b9ea9
jmp 0x1400b9eae
cmp rbp, 1
jbe 0x1400baaf6
cmp dword [r13 + 0x14], 5
mov qword [rsp + 0xc8], r12
jne 0x1400ba10d
mov r12, qword [rsp + 0x68]
test r12, r12
je 0x1400ba07c
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 0x1400bab6f
mov rbp, r15
je 0x1400ba2e9
mov rdx, qword [rdi + 0x90]
mov r15, rdx
sub r15, rsi
jb 0x1400bab89
mov qword [rdi + 0x90], 0
test rsi, rsi
je 0x1400ba2e4
cmp rdx, rsi
je 0x1400ba2e9
mov rcx, qword [rdi + 0x80]
lea rdx, [rcx + rsi]
mov r8, r15
call sub.msvcrt.dll_memmove
jmp 0x1400ba2f3
cmp rbp, 1
jbe 0x1400bab0c
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x1400ba101
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0xf8], rax
jmp 0x1400ba3d0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400ba12c
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 0x1400ba320
jmp 0x1400ba3bb
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 0x1400ba26b
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 0x1400ba1a9
test bl, bl
jne 0x1400b9c58
jmp 0x1400baa7e
mov eax, 1
jmp 0x1400ba26b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rax + 0x20]
mov rbp, r15
test rcx, rcx
je 0x1400ba48a
call sub.crypt32.dll_CertDuplicateStore
mov r14, rax
cmp qword [rdi], 0
je 0x1400ba248
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x1400ba248
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 0x1400baa02
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 0x1400ba1f0
mov rcx, r14
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x1400ba496
cmp rdx, rsi
jne 0x1400ba262
xor eax, eax
xor esi, esi
jmp 0x1400ba26b
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 0x1400ba5db
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 0x1400ba3d0
cmp rdx, rsi
jne 0x1400ba2f3
xor eax, eax
sub r14, rsi
sete al
jmp 0x1400ba302
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 0x1400ba398
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 0x1400ba604
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 0x1400ba3bb
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.1401b23c0
cmp byte [rsp + 0xe0], 0
jne 0x1400baa30
cmp byte [rdi + 0x40], 0
jne 0x1400ba3d0
mov byte [rdi + 0x42], 0
nop word cs:[rax + rax]
test rbx, rbx
je 0x1400ba3f0
mov r8, r15
cmp rbx, 0x11
jb 0x1400ba3e2
mov r8, qword [r15 - 8]
mov rcx, qword [0x1403f6548]
xor edx, edx
call fcn.140302ad4
cmp qword [rsp + 0xa8], 0
je 0x1400b9b2b
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r13
call fcn.140302ad4
jmp 0x1400b9b2b
mov al, 2
test r13b, r13b
jne 0x1400ba460
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 0x1400baad3
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 0x1400b9b2b
mov r14, qword [rdi]
test r14, r14
je 0x1400ba496
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 0x1400baa8a
mov rax, qword [rsp + 0xe0]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0xb8], rax
je 0x1400ba5f9
cmp dword [rax + 0xc], 0
mov r15, rbp
mov rbp, rax
je 0x1400ba73f
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 0x1400ba622
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 0x1400ba5b0
jmp 0x1400ba625
lea rcx, [rdi + 0xa0]
mov rdx, r14
mov r8, rsi
call fcn.1400f68e0
mov r14, qword [rdi + 0xb0]
jmp 0x1400ba2ad
mov r15, rbp
mov rbp, rax
jmp 0x1400ba73f
lea rcx, [rdi + 0xa0]
mov rdx, rbp
mov r8, rsi
call fcn.1400f68e0
mov rbp, qword [rdi + 0xb0]
jmp 0x1400ba35a
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 0x1400ba65f
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 0x1400ba72a
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x1400ba72a
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 0x1400ba641
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 0x1400ba6fb
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 0x1400ba705
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x1400ba6b0
jmp 0x1400ba641
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x1400ba6e5
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 0x1400ba779
cmp byte [rdi + 0x121], 0
jne 0x1400ba779
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 0x1400baa9b
mov ebp, dword [rsp + 0xa4]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x1400ba854
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 0x1400baab9
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0x40], 0
jne 0x1400b9c50
jmp 0x1400ba880
test ebp, ebp
jne 0x1400baaa2
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 0x1400b9c50
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x1400b9c50
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 0x1400ba8e9
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 0x1400ba8a4
xor eax, eax
jmp 0x1400ba8a4
movzx eax, byte [0x1403f6a90]
mov rcx, qword [0x1403f6548]
test rcx, rcx
jne 0x1400ba918
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400bab9a
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x1f
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400bab9a
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 0x1400ba971
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400babab
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400babab
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 0x1400ba9c8
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400babbc
mov rcx, rax
mov qword [0x1403f6548], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400babbc
mov qword [rax], rsi
lea rcx, [0x1403122f0]
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0x25
inc rax
jmp 0x1400ba89a
shl rsi, 0x20
or rsi, 2
jmp 0x1400baa38
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 0x1400baabc
mov rsi, qword [rsp + 0xe8]
test rbx, rbx
je 0x1400baa58
cmp rbx, 0x11
jb 0x1400baa47
mov r15, qword [r15 - 8]
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r15
call fcn.140302ad4
cmp qword [rsp + 0xa8], 0
je 0x1400baa74
mov rcx, qword [0x1403f6548]
xor edx, edx
mov r8, r13
call fcn.140302ad4
mov qword [r12 + 8], rsi
jmp 0x1400ba89f
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400baac9
call sub.kernel32.dll_GetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
jmp 0x1400baabc
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 0x1400baabc
mov rbp, rax
mov rcx, qword [rsp + 0xc0]
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [r12 + 8], rbp
jmp 0x1400ba89f
mov rax, qword [rsp + 0x118]
jmp 0x1400ba89a
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