Function at 0x14015c5b0
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 + 0xd4]
mov qword [rsp + 0x128], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x130], rax
lea rax, [rdx + 0xf0]
mov qword [rsp + 0x108], rax
xorps xmm6, xmm6
movabs r13, 0xd00000003
movzx eax, byte [rdi + 0xd0]
test eax, eax
jne 0x14015d58d
movzx ebp, byte [rdi + 0xd1]
movzx r14d, byte [rdi + 0xd2]
movzx ebx, byte [rdi + 0xd3]
movzx esi, byte [rdi + 0xd4]
mov rdx, qword [rdi + 0x90]
mov r15, qword [rdi + 0x98]
cmp r15, rdx
jne 0x14015c660
test bpl, bpl
mov r15d, 0x400
jne 0x14015c6f0
jmp 0x14015c704
mov r12d, r14d
xor r14d, r14d
nop word cs:[rax + rax]
mov r9, rdx
sub r9, r15
jb 0x14015d682
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14015d66a
mov r8, qword [rdi + 0x88]
add r8, r15
mov rcx, qword [rsp + 0x130]
call fcn.1401e02b0
cmp rax, 2
cmove rdx, r13
test rax, rax
jne 0x14015d561
add r14, rdx
add r15, rdx
mov qword [rdi + 0x98], r15
mov rdx, qword [rdi + 0x90]
cmp r15, rdx
jne 0x14015c670
test r14, r14
mov r14d, r12d
je 0x14015c649
cmp byte [rdi + 0xd0], 0
mov r15d, 0x400
jne 0x14015c6f0
mov byte [rdi + 0xd1], 1
nop dword [rax]
cmp qword [rdi + 0x38], 0
je 0x14015d66a
cmp byte [rdi + 0xd0], 0
je 0x14015c752
or sil, bl
jne 0x14015cbf0
cmp byte [rdi + 0x122], 0
jne 0x14015cbf0
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x108]
mov edx, 0x53
lea r8, [rsp + 0x80]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14015c763
test r14b, r14b
jne 0x14015cbf9
jmp 0x14015d618
mov byte [rdi + 0xd1], 0
or sil, bl
je 0x14015c70d
jmp 0x14015cbf0
mov ebp, ebx
mov r12, qword [rsp + 0x80]
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x14015c824
call sub.crypt32.dll_CertDuplicateStore
mov r13, rax
test byte [rdi], 1
je 0x14015c82f
mov qword [rsp + 0x78], r12
mov esi, ebp
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x14015c811
nop word cs:[rax + rax]
mov r12, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov qword [rsp + 0x80], 0
mov rcx, r13
mov rdx, r12
mov r8d, 3
lea r9, [rsp + 0x80]
call sub.crypt32.dll_CertAddCertificateContextToStore
test eax, eax
je 0x14015d5e2
mov rcx, qword [rsp + 0x80]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x14015c7b0
mov rcx, r13
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov ebp, esi
mov r12, qword [rsp + 0x78]
jmp 0x14015c83e
cmp byte [rdi], 0
je 0x14015c83b
mov r13, qword [rdi + 8]
jmp 0x14015c83e
mov rcx, r13
xor edx, edx
call sub.crypt32.dll_CertCloseStore
jmp 0x14015c83e
xor r13d, r13d
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x80], 0x20
mov dword [rsp + 0x88], 1
lea rax, [0x1402d521e]
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, r12
xor r8d, r8d
mov r9, r13
call sub.crypt32.dll_CertGetCertificateChain
test eax, eax
je 0x14015d627
mov r13, qword [rsp + 0xd8]
mov esi, 0xf00
cmp dword [rdi], 1
mov byte [rsp + 0x6f], r14b
jne 0x14015ca97
mov ebx, dword [r13 + 0xc]
test ebx, ebx
je 0x14015ca97
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x6e], bpl
mov rax, qword [r13 + 0x10]
mov r14, qword [rax]
mov rcx, r13
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r12, rax
cmp dword [r13 + 0xc], 2
jb 0x14015c97c
mov ebp, 1
nop
mov rax, qword [r13 + 0x10]
mov r14, qword [rax + rbp*8]
mov rcx, r13
call sub.crypt32.dll_CertDuplicateCertificateChain
mov r15, rax
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateChain
mov eax, dword [r13 + 0xc]
inc rbp
mov r12, r15
cmp rbp, rax
jb 0x14015c950
jmp 0x14015c97f
mov r15, r12
mov rcx, r13
call sub.crypt32.dll_CertDuplicateCertificateChain
mov qword [rsp + 0x158], rax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateChain
test ebx, ebx
mov r15d, 0x400
movzx ebp, byte [rsp + 0x6e]
mov r12, qword [rsp + 0x78]
je 0x14015ca97
xor ecx, ecx
jmp 0x14015c9d1
inc rbx
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbx
mov r15d, 0x400
movzx ebp, byte [rsp + 0x6e]
mov r12, qword [rsp + 0x78]
mov eax, dword [r14 + 0xc]
cmp rcx, rax
jae 0x14015d557
mov rax, qword [r14 + 0x10]
mov rbx, rcx
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r12, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
je 0x14015c9b3
nop word cs:[rax + rax]
mov r15, rax
mov rcx, rax
call sub.crypt32.dll_CertDuplicateCertificateContext
mov rbp, rax
mov r8d, dword [r12 + 0x10]
cmp dword [r15 + 0x10], r8d
jne 0x14015ca5b
mov rdx, qword [r12 + 8]
mov rcx, qword [r15 + 8]
call sub.msvcrt.dll_memcmp
mov esi, eax
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
test esi, esi
je 0x14015ca65
mov rcx, qword [rdi + 8]
mov rdx, rbp
call sub.crypt32.dll_CertEnumCertificatesInStore
test rax, rax
jne 0x14015ca10
jmp 0x14015c9b3
mov rcx, r15
call sub.crypt32.dll_CertFreeCertificateContext
jmp 0x14015ca45
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov esi, 0xf10
mov r15d, 0x400
movzx ebp, byte [rsp + 0x6e]
mov r12, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x158]
call sub.crypt32.dll_CertFreeCertificateChain
lea rax, [rsp + 0xe0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xd8], rax
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
je 0x14015cadf
cmp byte [rdi + 0x121], 1
je 0x14015cadf
mov rax, qword [rdi + 0xa8]
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
mov rdx, r13
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xb0]
call sub.crypt32.dll_CertVerifyCertificateChainPolicy
test eax, eax
movzx r14d, byte [rsp + 0x6f]
je 0x14015d639
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rdi + 0x100]
test rcx, rcx
je 0x14015cbac
mov r8, qword [rdi + 0x108]
mov rdx, qword [r8 + 0x10]
dec rdx
and rdx, 0xfffffffffffffff0
add rcx, rdx
add rcx, 0x10
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x8c], rax
lea rdx, [rsp + 0x80]
call qword [r8 + 0x28]
test rax, rax
je 0x14015cbbc
jmp 0x14015d634
test eax, eax
jne 0x14015d63e
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
cmp byte [rdi + 0xd0], 0
movabs r13, 0xd00000003
mov ebx, ebp
jne 0x14015cbf0
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
nop word cs:[rax + rax]
test r14b, r14b
je 0x14015d240
mov rbp, qword [rdi + 0x78]
mov r12, qword [rdi + 0x110]
test r12, r12
je 0x14015cd19
xor esi, esi
nop
lea rax, [rbp*2]
cmp rax, r12
cmova r12, rax
cmp r12, 0x401
cmovb r12, r15
mov r13, qword [rdi + 0x70]
sub r12, r13
jbe 0x14015cc73
mov rax, qword [rdi + 0x60]
sub rax, r13
cmp rax, r12
jb 0x14015ccd4
mov r14, qword [rdi + 0x68]
lea rcx, [r14 + r13]
cmp r12, 2
jb 0x14015cc69
lea r8, [r12 - 1]
xor edx, edx
call sub.msvcrt.dll_memset
add r13, r12
dec r13
add r14, r13
mov rcx, r14
mov byte [rcx], 0
inc r13
mov qword [rdi + 0x70], r13
mov r8, r13
sub r8, rbp
jb 0x14015d691
mov rdx, qword [rdi + 0x68]
add rdx, rbp
mov rcx, qword [rsp + 0x130]
call fcn.14019dc90
test rax, rax
jne 0x14015d561
add rbp, rdx
mov qword [rdi + 0x78], rbp
mov rax, qword [rdi + 0x110]
mov rcx, rax
sub rcx, rdx
mov r12d, 0
cmovae r12, rcx
mov qword [rdi + 0x110], r12
test rdx, rdx
je 0x14015cd10
add rsi, rdx
cmp rax, rdx
ja 0x14015cc10
jmp 0x14015cd10
lea rcx, [rdi + 0x60]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, r13
mov r8, r12
call fcn.1401fa9a0
mov r13, qword [rdi + 0x70]
mov r14, qword [rdi + 0x68]
lea rcx, [r14 + r13]
cmp r12, 2
jae 0x14015cc51
jmp 0x14015cc69
test rsi, rsi
je 0x14015d5c7
movzx eax, byte [0x14031a2c8]
mov edx, 0x20
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14015d6a3
mov rdx, qword [rdi + 0x70]
cmp rbp, rdx
ja 0x14015d6b2
mov r13, rax
mov rax, qword [rdi + 0x68]
mov dword [r13], ebp
mov dword [r13 + 4], 2
mov qword [r13 + 8], rax
movups xmmword [r13 + 0x10], xmm6
mov qword [rsp + 0xd8], 2
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xe8], 2
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xb8], rax
jne 0x14015cda0
mov qword [rsp + 0xb0], 0
jmp 0x14015ce10
mov rdx, qword [rdi + 0xc0]
mov r8, qword [rdi + 0xc8]
lea rcx, [rsp + 0xb0]
call fcn.1401b15b0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14015ce10
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xd8]
call fcn.1401b1180
mov r13, qword [rsp + 0xe0]
mov dword [r13 + 0x20], ebp
mov dword [r13 + 0x24], 0x12
mov qword [r13 + 0x28], r14
mov qword [rsp + 0xe8], 3
mov eax, 3
jmp 0x14015ce17
mov eax, 2
xor esi, esi
mov dword [rsp + 0x138], 0
mov dword [rsp + 0x13c], eax
mov qword [rsp + 0x140], r13
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 + 0x122], 0
je 0x14015cf40
cmp byte [rdi + 0x123], 0
mov rcx, qword [rsp + 0x108]
mov rdx, rcx
mov eax, 0
cmovne rdx, rax
mov rax, qword [rdi + 0xe8]
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 + 0x138]
mov r9d, 0x1011c
call sub.secur32.dll_AcceptSecurityContext
mov r12d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x14015cfff
jmp 0x14015d004
test byte [rdi + 0x120], 1
mov r8d, 0
je 0x14015cf56
mov r8, qword [rdi + 0xa8]
movabs rax, 0x8000000000000000
cmp qword [rdi + 0xa0], rax
mov eax, 0
cmove r8, rax
mov rax, qword [rdi + 0xe8]
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 + 0x138]
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 sub.secur32.dll_InitializeSecurityContextW
mov r12d, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14015d004
call sub.secur32.dll_FreeContextBuffer
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14015d016
call sub.secur32.dll_FreeContextBuffer
cmp r12d, 0x80090318
je 0x14015d14b
test r12d, r12d
je 0x14015d0b5
cmp r12d, 0x90312
jne 0x14015d17a
mov byte [rdi + 0x123], 0
cmp dword [r13 + 0x14], 5
jne 0x14015d216
mov r14, qword [rdi + 0x78]
mov eax, dword [r13 + 0x10]
mov r12, r14
sub r12, rax
jb 0x14015d6c1
mov ebp, dword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
test eax, eax
je 0x14015d236
mov rdx, qword [rdi + 0x70]
mov r15, rdx
sub r15, r12
jb 0x14015d6d9
mov qword [rdi + 0x70], 0
test r12, r12
je 0x14015d2e1
cmp rdx, r12
je 0x14015d2ea
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + r12]
mov r8, r15
call sub.msvcrt.dll_memmove
jmp 0x14015d2e6
cmp dword [r13 + 0x14], 5
jne 0x14015d1c9
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x14015d0e5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x110], r14
mov rsi, qword [rdi + 0x78]
mov eax, dword [r13 + 0x10]
mov r15, rsi
sub r15, rax
cmp rsi, r15
jb 0x14015d6c1
movabs r13, 0xd00000003
je 0x14015d364
mov rdx, qword [rdi + 0x70]
mov r12, rdx
sub r12, r15
jb 0x14015d6e8
mov qword [rdi + 0x70], 0
test r15, r15
je 0x14015d35b
cmp rdx, r15
je 0x14015d364
mov rcx, qword [rdi + 0x68]
lea rdx, [rcx + r15]
mov r8, r12
call sub.msvcrt.dll_memmove
jmp 0x14015d3e5
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x14015d15b
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0x110], rax
movabs r13, 0xd00000003
test rsi, rsi
jne 0x14015d48b
jmp 0x14015d4ab
shl r12, 0x20
or r12, 2
movabs r13, 0xd00000003
test rsi, rsi
je 0x14015d43d
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x14015d1a7
mov r8, qword [r8 - 8]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
cmp qword [rsp + 0xd8], 0
jne 0x14015d448
jmp 0x14015d460
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14015d1ee
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x110], rax
mov qword [rdi + 0x78], 0
mov qword [rdi + 0x110], 1
movabs r13, 0xd00000003
jne 0x14015d380
jmp 0x14015d46e
mov r14, qword [rdi + 0x78]
mov ebp, dword [rsp + 0x80]
mov eax, 1
mov r13, qword [rsp + 0x88]
mov r12, r14
jmp 0x14015d2ec
mov eax, 1
jmp 0x14015d2ec
mov al, 2
test bl, bl
jne 0x14015d2ab
movaps xmmword [rsp + 0x80], xmm6
mov dword [rsp + 0x90], 0
mov rcx, qword [rsp + 0x108]
mov edx, 4
lea r8, [rsp + 0x80]
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
jne 0x14015d618
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x11c], eax
mov rax, qword [rsp + 0x84]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x8c]
mov qword [rsp + 0x148], rax
mov al, 1
mov byte [rdi + 0xd0], al
mov eax, dword [rsp + 0x11c]
mov dword [rdi + 0xd4], eax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0xd8], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0xe0], rax
jmp 0x14015c60a
cmp rdx, r12
je 0x14015d2ea
mov qword [rdi + 0x70], r15
xor eax, eax
sub r14, r12
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], rax
test ebp, ebp
mov r15d, ebp
mov rdx, r13
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x80]
mov rcx, qword [rdi + 0x90]
sub rax, rcx
cmp rax, r15
jb 0x14015d4dd
add rcx, qword [rdi + 0x88]
mov r8, r15
call sub.msvcrt.dll_memcpy
add qword [rdi + 0x90], r15
mov rcx, r13
call sub.secur32.dll_FreeContextBuffer
movabs r13, 0xd00000003
test rsi, rsi
jne 0x14015d48b
jmp 0x14015d4ab
cmp rdx, r15
jne 0x14015d3e5
xor eax, eax
sub rsi, r15
sete al
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x110], rax
test r14, r14
je 0x14015d405
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 + 0x80]
mov rcx, qword [rdi + 0x90]
sub rax, rcx
cmp rax, r15
jb 0x14015d516
add rcx, qword [rdi + 0x88]
mov r8, r15
call sub.msvcrt.dll_memcpy
add qword [rdi + 0x90], r15
mov rcx, rsi
call sub.secur32.dll_FreeContextBuffer
mov rsi, qword [rdi + 0x78]
test rsi, rsi
jne 0x14015d40a
jmp 0x14015d46e
xor eax, eax
sub rsi, r15
sete al
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x110], rax
test r14, r14
jne 0x14015d380
test rsi, rsi
je 0x14015d46e
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.14015d700
cmp byte [rsp + 0xf0], 0
je 0x14015d46e
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
jne 0x14015d195
cmp qword [rsp + 0xd8], 0
je 0x14015d460
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
nop
test r12, r12
je 0x14015c60a
jmp 0x14015d5bc
cmp byte [rdi + 0xd0], 0
jne 0x14015d47e
mov byte [rdi + 0xd2], 0
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14015d4ab
mov r8, qword [rsp + 0xc0]
cmp rsi, 0x11
jb 0x14015d49d
mov r8, qword [r8 - 8]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
cmp qword [rsp + 0xd8], 0
je 0x14015d4cc
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
xor r12d, r12d
test r12, r12
je 0x14015c60a
jmp 0x14015d5bc
lea rax, [rdi + 0x80]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov r8, rcx
mov rcx, rax
mov r14, rdx
mov rdx, r8
mov r8, r15
call fcn.1401fa9a0
mov rdx, r14
mov rcx, qword [rdi + 0x90]
jmp 0x14015d325
lea rax, [rdi + 0x80]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov r8, rcx
mov rcx, rax
mov rsi, rdx
mov rdx, r8
mov r8, r15
call fcn.1401fa9a0
mov rdx, rsi
mov rsi, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x90]
jmp 0x14015d3b9
mov esi, 0xf00
jmp 0x14015ca8a
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 8], rdx
mov eax, 2
mov dword [rdi], 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 0x14015d5b3
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + 0x10]
mov rdi, qword [rsp + 0x70]
mov dword [rdi + 0x14], eax
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 4], xmm0
mov eax, 1
jmp 0x14015d56f
xor eax, eax
mov rdi, qword [rsp + 0x70]
jmp 0x14015d56f
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 8], r12
jmp 0x14015d56a
lea rdx, [0x1402d51e0]
mov r8d, 0x1f
mov cl, 0x25
call fcn.140178900
mov rdi, qword [rsp + 0x70]
jmp 0x14015d661
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, rax
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, rbp
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, r13
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
jmp 0x14015d656
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x70]
jmp 0x14015d661
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, rax
jmp 0x14015d651
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, rax
mov rcx, r13
call sub.crypt32.dll_CertFreeCertificateChain
mov rdi, qword [rsp + 0x70]
mov rcx, r12
call sub.crypt32.dll_CertFreeCertificateContext
mov rax, rsi
mov qword [rdi + 8], rax
jmp 0x14015d56a
lea rcx, str.assertion_failed:__self.context.is_null__InvalidUriassertion_failed:_buf.len_____u32::MAX_as_usize
lea r8, str._redacted_
mov edx, 0x29
call fcn.1400576c0
lea r8, str._redacted_
mov rcx, r15
call fcn.1400567f0
lea r8, str._redacted_
mov rcx, rbp
mov rdx, r13
call fcn.1400567f0
mov ecx, 8
mov edx, 0x20
call fcn.140033f80
lea r8, str._redacted_
mov rcx, rbp
call fcn.140057200
lea rcx, [0x1402d51ff]
lea r8, str._redacted_
mov edx, 0x1f
call fcn.1400576c0
lea r8, str._redacted_
mov rcx, r12
call fcn.140057200
lea r8, str._redacted_
mov rcx, r15
call fcn.140057200
int3