Function at 0x14009f4f0
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, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov rdi, rdx
mov qword [rsp + 0x70], rcx
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x128], rax
lea rbx, [rdx + 0x10]
lea rax, [rdx + 0x1f0]
mov qword [rsp + 0x108], rax
xorps xmm6, xmm6
movzx eax, byte [rdi + 0x1d0]
test eax, eax
jne 0x1400a04e6
movzx ebp, byte [rdi + 0x1d1]
movzx r13d, byte [rdi + 0x1d2]
movzx r14d, byte [rdi + 0x1d3]
movzx esi, byte [rdi + 0x1d4]
mov rdx, qword [rdi + 0x190]
mov r15, qword [rdi + 0x198]
cmp r15, rdx
jne 0x14009f590
test bpl, bpl
mov ebp, 0x400
jne 0x14009f600
jmp 0x14009f61a
xor r12d, r12d
nop word cs:[rax + rax]
mov r8, rdx
sub r8, r15
jb 0x1400a05e4
mov rdx, qword [rdi + 0x188]
add rdx, r15
mov rcx, rbx
call fcn.1400af9a0
test rax, rax
jne 0x1400a04ba
add r12, rdx
add r15, rdx
mov qword [rdi + 0x198], r15
mov rdx, qword [rdi + 0x190]
cmp r15, rdx
jne 0x14009f5a0
test r12, r12
je 0x14009f578
cmp byte [rdi + 0x1d0], 0
mov ebp, 0x400
jne 0x14009f600
mov byte [rdi + 0x1d1], 1
nop word [rax + rax]
mov rcx, rbx
call fcn.1400af8b0
test rax, rax
jne 0x1400a0533
cmp byte [rdi + 0x1d0], 0
je 0x14009f621
or sil, r14b
jne 0x14009f63a
jmp 0x14009f62d
mov byte [rdi + 0x1d1], 0
or sil, r14b
jne 0x14009f63a
cmp byte [rdi + 0x222], 0
je 0x14009fc1f
test r13b, r13b
je 0x14009fdbe
mov r13, qword [rdi + 0x178]
mov r15, qword [rdi + 0x210]
test r15, r15
je 0x14009f779
xor esi, esi
nop dword [rax]
lea rax, [r13*2]
cmp rax, r15
cmova r15, rax
cmp r15, 0x401
cmovb r15, rbp
mov r12, qword [rdi + 0x170]
sub r15, r12
jbe 0x14009f6ce
mov rax, qword [rdi + 0x160]
sub rax, r12
cmp rax, r15
jb 0x14009f730
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jb 0x14009f6c1
lea r8, [r15 - 1]
xor edx, edx
call fcn.14011adf0
add r12, r15
dec r12
add r14, r12
mov rcx, r14
mov byte [rcx], 0
inc r12
mov qword [rdi + 0x170], r12
mov r8, r12
sub r8, r13
jb 0x1400a05f3
mov rdx, qword [rdi + 0x168]
add rdx, r13
mov rcx, rbx
call fcn.1400af4e0
test rax, rax
jne 0x1400a04ba
add r13, rdx
mov qword [rdi + 0x178], r13
mov rax, qword [rdi + 0x210]
mov rcx, rax
sub rcx, rdx
mov r15d, 0
cmovae r15, rcx
mov qword [rdi + 0x210], r15
test rdx, rdx
je 0x14009f770
add rsi, rdx
cmp rax, rdx
ja 0x14009f660
jmp 0x14009f770
lea rcx, [rdi + 0x160]
mov rdx, r12
mov r8, r15
call fcn.140123dc0
mov r12, qword [rdi + 0x170]
mov r14, qword [rdi + 0x168]
lea rcx, [r14 + r12]
cmp r15, 2
jae 0x14009f6aa
jmp 0x14009f6c1
test rsi, rsi
je 0x1400a051f
movzx eax, byte [0x140198310]
mov edx, 0x20
xor ecx, ecx
call fcn.1400f3050
test rax, rax
je 0x1400a0614
mov rdx, qword [rdi + 0x170]
cmp r13, rdx
ja 0x1400a0605
mov r12, rax
mov rax, qword [rdi + 0x168]
mov dword [r12], r13d
mov dword [r12 + 4], 2
mov qword [r12 + 8], rax
movups xmmword [r12 + 0x10], xmm6
mov qword [rsp + 0xd8], 2
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1b8], rax
jne 0x14009f810
mov qword [rsp + 0xb0], 0
jmp 0x14009f890
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.1400e2d90
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14009f890
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xd8]
call fcn.14003f480
mov r12, qword [rsp + 0xe0]
mov dword [r12 + 0x20], ebp
mov dword [r12 + 0x24], 0x12
mov qword [r12 + 0x28], r14
mov qword [rsp + 0xe8], 3
mov eax, 3
jmp 0x14009f897
mov eax, 2
xor esi, esi
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x138], r12
movabs rax, 0x200000000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
movabs rax, 0x1100000000
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x98]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movabs rax, 0x300000000
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0xd4], 0
cmp byte [rdi + 0x222], 0
je 0x14009fa7b
cmp byte [rdi + 0x223], 0
mov edx, 0
mov rcx, qword [rsp + 0x108]
cmove rdx, rcx
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x130]
mov r9d, 0x1011c
call qword [sym.imp.secur32.dll_AcceptSecurityContext]
mov r13d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14009f9bb
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14009f9ce
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp r13d, 0x80090318
je 0x14009fbde
test r13d, r13d
je 0x14009fb44
cmp r13d, 0x90312
jne 0x14009fc09
mov byte [rdi + 0x223], 0
cmp dword [r12 + 0x14], 5
jne 0x14009fcbe
mov r14, qword [rdi + 0x178]
mov eax, dword [r12 + 0x10]
mov r13, r14
sub r13, rax
jb 0x1400a0623
mov ebp, dword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
test eax, eax
je 0x14009fdb4
mov rdx, qword [rdi + 0x170]
mov r15, rdx
sub r15, r13
jb 0x1400a063b
mov qword [rdi + 0x170], 0
test r13, r13
je 0x14009fe4e
cmp rdx, r13
je 0x14009fe5a
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r13]
mov r8, r15
call fcn.14011a750
jmp 0x14009fe53
cmp byte [rdi + 0x220], 0
mov r8d, 0
je 0x14009fa91
mov r8, qword [rdi + 0x1a8]
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0x1e8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x160]
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 + 0xf0]
mov rdx, qword [rsp + 0x108]
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov r13d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x14009f9b5
jmp 0x14009f9bb
cmp dword [r12 + 0x14], 5
jne 0x14009fc63
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x14009fb75
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x110], r14
mov r13, qword [rdi + 0x178]
mov esi, dword [r12 + 0x10]
mov r15, r13
sub r15, rsi
cmp r13, r15
jb 0x1400a0623
je 0x14009fef0
mov rdx, qword [rdi + 0x170]
mov r12, rdx
sub r12, r15
jb 0x1400a064a
mov qword [rdi + 0x170], 0
test r15, r15
je 0x14009fee7
cmp rdx, r15
je 0x14009fef0
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + r15]
mov r8, r12
call fcn.14011a750
jmp 0x14009ff7e
mov eax, 1
cmp dword [r12 + 0x14], 4
jne 0x14009fca9
mov eax, dword [r12 + 0x10]
mov qword [rdi + 0x210], rax
test rsi, rsi
jne 0x1400a004a
jmp 0x1400a006b
shl r13, 0x20
or r13, 2
test rsi, rsi
jne 0x14009ffdc
jmp 0x14009fffd
mov byte [rsp + 0x6e], r13b
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x108]
mov edx, 0x53
lea r8, [rsp + 0x80]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x14009fce1
cmp byte [rsp + 0x6e], 0
jne 0x14009f643
jmp 0x1400a057a
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14009fc88
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x110], rax
mov qword [rdi + 0x178], 0
mov qword [rdi + 0x210], 1
jne 0x14009ff0f
jmp 0x1400a002d
mov qword [rdi + 0x210], rax
test rsi, rsi
jne 0x1400a004a
jmp 0x1400a006b
mov r14, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x80]
mov eax, 1
mov r12, qword [rsp + 0x88]
mov r13, r14
jmp 0x14009fe5c
mov r15, qword [rsp + 0x80]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x14009fecb
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov rsi, rax
cmp qword [rdi], 0
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400a009e
mov qword [rsp + 0x100], r15
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x14009fd97
nop dword [rax]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r15, rax
mov qword [rsp + 0x80], 0
mov rcx, rsi
mov rdx, rbp
mov r8d, 3
lea r9, [rsp + 0x80]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x1400a053e
mov rcx, qword [rsp + 0x80]
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r12
mov rcx, rbp
call r12
mov rcx, qword [rdi + 8]
mov rdx, r15
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x14009fd30
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov ebp, 0x400
mov r15, qword [rsp + 0x100]
jmp 0x1400a00a9
mov eax, 1
jmp 0x14009fe5c
mov al, 2
test r14b, r14b
mov ecx, dword [rsp + 0x11c]
mov rdx, qword [rsp + 0x150]
mov r8, qword [rsp + 0x148]
jne 0x14009fe18
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x108]
call fcn.1400e3280
cmp dword [rsp + 0x80], 0
jne 0x1400a05d7
mov ecx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov al, 1
mov byte [rdi + 0x1d0], al
mov dword [rsp + 0x11c], ecx
mov dword [rdi + 0x1d4], ecx
mov qword [rsp + 0x150], rdx
mov qword [rdi + 0x1d8], rdx
mov qword [rsp + 0x148], r8
mov qword [rdi + 0x1e0], r8
jmp 0x14009f538
cmp rdx, r13
je 0x14009fe5a
mov qword [rdi + 0x170], r15
xor eax, eax
sub r14, r13
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x210], rax
test ebp, ebp
mov r15d, ebp
mov rdx, r12
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov r13, qword [rdi + 0x190]
sub rax, r13
cmp rax, r15
jb 0x1400a01f8
mov rcx, qword [rdi + 0x188]
add rcx, r13
mov r8, r15
call fcn.14011a750
add r13, r15
mov qword [rdi + 0x190], r13
mov rcx, r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
test rsi, rsi
jne 0x1400a004a
jmp 0x1400a006b
mov rsi, qword [rdi]
test rsi, rsi
mov r13, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
je 0x1400a00a9
mov rsi, qword [rdi + 8]
jmp 0x1400a00a9
cmp rdx, r15
jne 0x14009ff7e
xor eax, eax
cmp r13, r15
sete al
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x210], rax
test r14, r14
je 0x14009ffa4
mov r15d, dword [rsp + 0x120]
test r15, r15
mov rsi, qword [rsp + 0x110]
mov rdx, rsi
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov r12, qword [rdi + 0x190]
sub rax, r12
cmp rax, r15
jb 0x1400a0484
mov rcx, qword [rdi + 0x188]
add rcx, r12
mov r8, r15
call fcn.14011a750
add r12, r15
mov qword [rdi + 0x190], r12
mov rcx, rsi
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rsi, qword [rdi + 0x178]
test rsi, rsi
jne 0x14009ffad
jmp 0x1400a002d
xor eax, eax
cmp r13, r15
sete al
mov qword [rdi + 0x170], r12
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x210], rax
test r14, r14
jne 0x14009ff0f
test rsi, rsi
je 0x1400a002d
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.1400a0660
cmp byte [rsp + 0xf0], 0
je 0x1400a002d
mov r13, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14009fffd
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x14009ffee
mov r8, qword [r8 - 8]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
je 0x1400a001f
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r13, r13
je 0x14009f538
jmp 0x1400a0515
cmp byte [rdi + 0x1d0], 0
jne 0x1400a003d
mov byte [rdi + 0x1d2], 0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x1400a006b
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x1400a005c
mov r8, qword [r8 - 8]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
je 0x1400a008d
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
xor r13d, r13d
test r13, r13
je 0x14009f538
jmp 0x1400a0515
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x80], 0x20
mov dword [rsp + 0x88], 1
lea rax, str.1.3.6.1.5.5.7.3.1
mov qword [rsp + 0xb0], rax
lea rax, str.1.3.6.1.4.1.311.10.3.3
mov qword [rsp + 0xb8], rax
lea rax, str.2.16.840.1.113730.4.1
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x90], 3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
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, rsi
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x1400a058c
mov rdx, qword [rsp + 0xd8]
mov esi, 0xf00
cmp qword [rdi], 0
mov qword [rsp + 0x78], rdx
je 0x1400a0330
cmp dword [rdx + 0xc], 0
je 0x1400a0330
mov qword [rsp + 0x100], r15
mov byte [rsp + 0x6f], r14b
mov rax, qword [rdx + 0x10]
mov r12, qword [rax]
mov rcx, rdx
call r13
mov rcx, qword [rsp + 0x78]
mov r13, rax
cmp dword [rcx + 0xc], 2
jb 0x1400a021c
mov esi, 1
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
nop dword [rax]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax + rsi*8]
call r14
mov r15, rax
mov rcx, r13
call rbp
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + 0xc]
inc rsi
mov r13, r15
cmp rsi, rax
jb 0x1400a01d0
jmp 0x1400a022d
lea rcx, [rdi + 0x180]
mov r14, rdx
mov rdx, r13
mov r8, r15
call fcn.140123dc0
mov rdx, r14
mov r13, qword [rdi + 0x190]
jmp 0x14009fe98
mov r15, r13
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
call r14
mov qword [rsp + 0x140], rax
mov rcx, r15
call rbp
xor esi, esi
movzx r14d, byte [rsp + 0x6f]
jmp 0x1400a0262
mov rsi, qword [rsp + 0x158]
inc rsi
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [r12 + 0xc]
cmp rsi, rax
jae 0x1400a04b0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x158], rsi
mov rax, qword [rax + rsi*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r13, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x1400a0247
nop
mov r15, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rbp, rax
mov r8d, dword [r13 + 0x10]
cmp dword [r15 + 0x10], r8d
jne 0x1400a02ec
mov rdx, qword [r13 + 8]
mov rcx, qword [r15 + 8]
call fcn.14011b190
mov esi, eax
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1400a02f7
mov rcx, qword [rdi + 8]
mov rdx, rbp
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x1400a02a0
jmp 0x1400a0247
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x1400a02d5
mov rcx, rbp
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r13
call rsi
mov esi, 0xf10
mov rbp, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, qword [rsp + 0x140]
call rbp
mov ebp, 0x400
mov r15, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0xe0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xd8], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0x1a0], rax
je 0x1400a0378
cmp byte [rdi + 0x221], 0
jne 0x1400a0378
mov rax, qword [rdi + 0x1a8]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], 0x10
mov dword [rsp + 0xf4], esi
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xf8], rax
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xb0], 0x18
mov ecx, 4
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xb0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x1400a059f
mov r13d, dword [rsp + 0xb4]
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x1400a0444
mov r8, qword [rdi + 0x208]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], r13d
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x8c], rax
lea rdx, [rsp + 0x80]
call qword [r8 + 0x28]
test rax, rax
je 0x1400a0458
jmp 0x1400a05bd
test r13d, r13d
mov rcx, qword [rsp + 0x78]
jne 0x1400a05ad
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
movzx r13d, byte [rsp + 0x6e]
jne 0x14009f63a
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x14009f63a
lea rcx, [rdi + 0x180]
mov rsi, rdx
mov rdx, r12
mov r8, r15
call fcn.140123dc0
mov rdx, rsi
mov rsi, qword [rsp + 0x110]
mov r12, qword [rdi + 0x190]
jmp 0x14009ff48
mov esi, 0xf00
jmp 0x1400a0314
mov rsi, qword [rsp + 0x70]
mov qword [rsi + 8], rdx
mov eax, 2
mov dword [rsi], eax
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
jne 0x1400a050c
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 4], xmm0
mov eax, 1
jmp 0x1400a04c8
xor eax, eax
mov rsi, qword [rsp + 0x70]
jmp 0x1400a04c8
mov rsi, qword [rsp + 0x70]
jmp 0x1400a05ce
lea rdx, [0x140155b59]
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400c7610
mov rsi, qword [rsp + 0x70]
mov qword [rsi + 8], rax
jmp 0x1400a04c3
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, rbp
mov rdi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rdi
mov rcx, r15
call rdi
mov rcx, rsi
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x100]
jmp 0x1400a05c5
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x70]
jmp 0x1400a05ce
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1400a05c0
call qword [sym.imp.kernel32.dll_GetLastError]
mov r13d, eax
mov rcx, qword [rsp + 0x78]
shl r13, 0x20
or r13, 2
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
jmp 0x1400a05c0
mov r13, rax
mov rsi, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rsi + 8], r13
jmp 0x1400a04c3
mov rax, qword [rsp + 0x88]
jmp 0x1400a0533
lea r8, str.C:UsersCodeX.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.14011b560
lea r8, str.C:UsersCodeX.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
mov rdx, r12
call fcn.14011b560
lea r8, str.C:UsersCodeX.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
call fcn.14011b5e0
mov ecx, 8
mov edx, 0x20
call fcn.14011b280
lea rcx, [0x140155b78]
lea r8, str.C:UsersCodeX.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov edx, 0x1f
call fcn.14011b5f0
lea r8, str._rustc_ba1d7f4a083e6402679105115ded645512a7aea8library_alloc_src_vecmod.rs
mov rcx, r13
call fcn.14011b5e0
lea r8, str._rustc_ba1d7f4a083e6402679105115ded645512a7aea8library_alloc_src_vecmod.rs
mov rcx, r15
call fcn.14011b5e0
int3