Function at 0x14005c9e0
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 + 0x68], rcx
lea rax, [rdx + 0x1d4]
mov qword [rsp + 0x128], rax
lea r15, [rdx + 0x10]
lea r12, [rdx + 0x1f0]
xorps xmm6, xmm6
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r12
movzx eax, byte [rdi + 0x1d0]
test eax, eax
je 0x14005ca86
cmp eax, 1
jne 0x14005d905
mov rdx, qword [rsp + 0x128]
mov eax, dword [rdx + 0x10]
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x14], eax
movups xmm0, xmmword [rdx]
movups xmmword [rcx + 4], xmm0
mov eax, 1
jmp 0x14005d9cd
xor esi, esi
test rsi, rsi
jne 0x14005d911
movzx eax, byte [rdi + 0x1d0]
test eax, eax
jne 0x14005ca35
movzx ebp, byte [rdi + 0x1d1]
movzx r14d, byte [rdi + 0x1d2]
movzx ebx, byte [rdi + 0x1d3]
movzx esi, byte [rdi + 0x1d4]
mov rcx, rdi
call fcn.14005dbf0
test rax, rax
jne 0x14005d942
test rdx, rdx
je 0x14005cad0
cmp byte [rdi + 0x1d0], 0
jne 0x14005cad5
mov byte [rdi + 0x1d1], 1
jmp 0x14005cad5
test bpl, bpl
je 0x14005cb0e
mov rdx, qword [rdi + 0x138]
test rdx, rdx
je 0x14005da09
cmp dword [r15], 2
je 0x14005cb05
mov rcx, r15
call fcn.14005dcf0
test rax, rax
jne 0x14005d938
test rdx, rdx
jne 0x14005d942
cmp byte [rdi + 0x1d0], 0
je 0x14005cb20
or sil, bl
je 0x14005cb2c
jmp 0x14005cb39
mov byte [rdi + 0x1d1], 0
or sil, bl
jne 0x14005cb39
cmp byte [rdi + 0x222], 0
je 0x14005cf10
test r14b, r14b
je 0x14005d24a
cmp qword [rdi + 0x210], 0
je 0x14005cb66
mov rcx, rdi
call fcn.14005de50
test rax, rax
jne 0x14005d942
test rdx, rdx
je 0x14005d91f
mov rsi, qword [rdi + 0x178]
movzx eax, byte [0x1401a2308]
mov edx, 0x20
xor ecx, ecx
call fcn.1400ea350
test rax, rax
je 0x14005d9eb
mov rdx, qword [rdi + 0x170]
cmp rsi, rdx
ja 0x14005d9fa
mov r13, rax
mov rax, qword [rdi + 0x168]
mov dword [r13], esi
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
xor eax, eax
cmp rax, qword [rdi + 0x1b8]
jno 0x14005cc00
mov qword [rsp + 0xb0], 0
jmp 0x14005cc70
mov rdx, qword [rdi + 0x1c0]
mov r8, qword [rdi + 0x1c8]
lea rcx, [rsp + 0xb0]
call fcn.1400d8d80
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x14005cc70
mov rsi, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb8]
lea rcx, [rsp + 0xd8]
call fcn.14003c5e0
mov r13, qword [rsp + 0xe0]
mov dword [r13 + 0x20], ebp
mov dword [r13 + 0x24], 0x12
mov qword [r13 + 0x28], rsi
mov qword [rsp + 0xe8], 3
mov eax, 3
jmp 0x14005cc77
mov eax, 2
xor ebx, ebx
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x138], 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 + 0x222], 0
je 0x14005cda0
cmp byte [rdi + 0x223], 0
mov rdx, r12
mov eax, 0
cmovne rdx, rax
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], r12
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 esi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x14005ce4d
jmp 0x14005ce53
test byte [rdi + 0x220], 1
mov r8d, 0
je 0x14005cdb6
mov r8, qword [rdi + 0x1a8]
xor eax, eax
cmp rax, qword [rdi + 0x1a0]
cmovo 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, r12
mov r9d, 0x9819c
call qword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov esi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14005ce53
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14005ce66
call qword [sym.imp.secur32.dll_FreeContextBuffer]
cmp esi, 0x80090318
je 0x14005cff0
test esi, esi
je 0x14005cf50
cmp esi, 0x90312
jne 0x14005d020
mov byte [rdi + 0x223], 0
cmp dword [r13 + 0x14], 5
jne 0x14005d0c1
mov r14, qword [rdi + 0x178]
mov eax, dword [r13 + 0x10]
mov rsi, r14
sub rsi, rax
jb 0x14005da21
mov ebp, dword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
test eax, eax
je 0x14005d1a1
mov rdx, qword [rdi + 0x170]
mov r12, rdx
sub r12, rsi
jb 0x14005da39
mov qword [rdi + 0x170], 0
test rsi, rsi
je 0x14005d1ca
cmp rdx, rsi
je 0x14005d1d6
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + rsi]
mov r8, r12
call fcn.1401253f0
jmp 0x14005d1cf
mov qword [rsp + 0x80], 0
mov rcx, r12
mov edx, 0x53
lea r8, [rsp + 0x80]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x14005d0e4
test r14b, r14b
jne 0x14005cb42
jmp 0x14005d97c
cmp dword [r13 + 0x14], 5
jne 0x14005d066
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x14005cf80
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x110], r14
mov r15, qword [rdi + 0x178]
mov ebx, dword [r13 + 0x10]
mov rsi, r15
sub rsi, rbx
cmp r15, rsi
jb 0x14005da21
je 0x14005d2fb
mov rdx, qword [rdi + 0x170]
mov r12, rdx
sub r12, rsi
jb 0x14005da39
mov qword [rdi + 0x170], 0
test rsi, rsi
je 0x14005d2f6
cmp rdx, rsi
je 0x14005d2fb
mov rcx, qword [rdi + 0x168]
lea rdx, [rcx + rsi]
mov r8, r12
call fcn.1401253f0
jmp 0x14005d305
mov eax, 1
cmp dword [r13 + 0x14], 4
jne 0x14005d0ac
mov eax, dword [r13 + 0x10]
mov qword [rdi + 0x210], rax
test rbx, rbx
jne 0x14005d418
jmp 0x14005d439
shl rsi, 0x20
or rsi, 2
test rbx, rbx
je 0x14005d3d0
mov r8, qword [rsp + 0xc0]
cmp rbx, 0x11
jb 0x14005d043
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
jne 0x14005d3df
jmp 0x14005ca72
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14005d08b
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 0x14005d331
jmp 0x14005d3fb
mov qword [rdi + 0x210], rax
test rbx, rbx
jne 0x14005d418
jmp 0x14005d439
mov r14, qword [rdi + 0x178]
mov ebp, dword [rsp + 0x80]
mov eax, 1
mov r13, qword [rsp + 0x88]
mov rsi, r14
jmp 0x14005d1e2
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14005d1a8
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r13, rax
test byte [rdi], 1
je 0x14005d1ba
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x14005d187
nop dword [rax]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r12, rax
mov qword [rsp + 0x80], 0
mov rcx, r13
mov rdx, rsi
mov r8d, 3
lea r9, [rsp + 0x80]
call qword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
test eax, eax
je 0x14005d94d
mov rcx, qword [rsp + 0x80]
mov r15, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r15
mov rcx, rsi
call r15
mov rcx, qword [rdi + 8]
mov rdx, r12
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x14005d120
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
jmp 0x14005d467
mov eax, 1
jmp 0x14005d1e2
cmp byte [rdi], 0
je 0x14005d464
mov r13, qword [rdi + 8]
jmp 0x14005d467
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x14005d467
cmp rdx, rsi
je 0x14005d1d6
mov qword [rdi + 0x170], r12
xor eax, eax
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
sub r14, rsi
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x210], rax
test ebp, ebp
mov esi, ebp
mov rdx, r13
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov rcx, qword [rdi + 0x190]
sub rax, rcx
cmp rax, rsi
jb 0x14005d5c7
add rcx, qword [rdi + 0x188]
mov r8, rsi
call fcn.1401253f0
add qword [rdi + 0x190], rsi
mov rcx, r13
call qword [sym.imp.secur32.dll_FreeContextBuffer]
test rbx, rbx
jne 0x14005d418
jmp 0x14005d439
mov al, 2
test bl, bl
jne 0x14005d2b1
movaps xmmword [rsp + 0x80], xmm6
mov dword [rsp + 0x90], 0
mov rcx, r12
mov edx, 4
lea r8, [rsp + 0x80]
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x14005d97c
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x11c], eax
mov rax, qword [rsp + 0x84]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x8c]
mov qword [rsp + 0x140], rax
mov al, 1
mov byte [rdi + 0x1d0], al
mov eax, dword [rsp + 0x11c]
mov dword [rdi + 0x1d4], eax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x1d8], rax
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0x1e0], rax
movzx eax, byte [rdi + 0x1d0]
test eax, eax
je 0x14005ca86
jmp 0x14005ca35
cmp rdx, rsi
jne 0x14005d305
xor eax, eax
cmp r15, rsi
sete al
jmp 0x14005d314
xor eax, eax
cmp r15, rsi
sete al
mov qword [rdi + 0x170], r12
mov qword [rdi + 0x178], rbx
mov qword [rdi + 0x210], rax
test r14, r14
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
je 0x14005d38f
mov esi, dword [rsp + 0x120]
test rsi, rsi
mov rbx, qword [rsp + 0x110]
mov rdx, rbx
mov eax, 1
cmove rdx, rax
mov rax, qword [rdi + 0x180]
mov rcx, qword [rdi + 0x190]
sub rax, rcx
cmp rax, rsi
jb 0x14005d8ba
add rcx, qword [rdi + 0x188]
mov r8, rsi
call fcn.1401253f0
add qword [rdi + 0x190], rsi
mov rcx, rbx
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rbx, qword [rdi + 0x178]
test rbx, rbx
je 0x14005d3fb
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.14005e080
cmp byte [rsp + 0xf0], 0
je 0x14005d3fb
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
jne 0x14005d031
nop word [rax + rax]
cmp qword [rsp + 0xd8], 0
je 0x14005ca72
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14005ca72
cmp byte [rdi + 0x1d0], 0
jne 0x14005d40b
mov byte [rdi + 0x1d2], 0
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x14005d439
mov r8, qword [rsp + 0xc0]
cmp rbx, 0x11
jb 0x14005d42a
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0xd8], 0
je 0x14005ca70
mov r8, qword [rsp + 0xe0]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14005ca70
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, 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, rbp
xor r8d, r8d
mov r9, r13
call qword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x14005d986
mov r13, qword [rsp + 0xd8]
mov esi, 0xf00
cmp dword [rdi], 1
jne 0x14005d761
mov eax, dword [r13 + 0xc]
test eax, eax
je 0x14005d761
mov dword [rsp + 0x100], eax
mov byte [rsp + 0x66], bl
mov byte [rsp + 0x67], r14b
mov qword [rsp + 0x108], rbp
mov rax, qword [r13 + 0x10]
mov rbx, qword [rax]
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r12, rax
mov rax, r13
cmp dword [r13 + 0xc], 2
jb 0x14005d600
mov r15d, 1
mov rbp, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r13, rax
nop dword [rax + rax]
mov rax, qword [r13 + 0x10]
mov rbx, qword [rax + r15*8]
mov rcx, r13
call rbp
mov rsi, rax
mov rcx, r12
call r14
mov eax, dword [r13 + 0xc]
inc r15
mov r12, rsi
cmp r15, rax
jb 0x14005d5a0
jmp 0x14005d614
lea rax, [rdi + 0x180]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov r8, rcx
mov rcx, rax
mov r14, rdx
mov rdx, r8
mov r8, rsi
call fcn.14012d5c0
mov rdx, r14
mov rcx, qword [rdi + 0x190]
jmp 0x14005d21d
mov rsi, r12
mov rbp, qword [sym.imp.crypt32.dll_CertDuplicateCertificateChain]
mov r14, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov r13, rax
mov qword [rsp + 0x158], rbx
mov rcx, r13
call rbp
mov qword [rsp + 0x150], rax
mov rcx, rsi
call r14
cmp dword [rsp + 0x100], 0
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x108]
movzx r14d, byte [rsp + 0x67]
movzx ebx, byte [rsp + 0x66]
mov esi, 0xf00
je 0x14005d761
xor edx, edx
jmp 0x14005d68c
mov r15, qword [rsp + 0x100]
inc r15
mov rcx, rsi
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rdx, r15
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x158]
mov eax, dword [rcx + 0xc]
cmp rdx, rax
jae 0x14005d8fb
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x100], rdx
mov rax, qword [rax + rdx*8]
mov rcx, qword [rax + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rsi, rax
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
je 0x14005d663
nop
mov rbp, rax
mov rcx, rax
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r12, rax
mov r8d, dword [rsi + 0x10]
cmp dword [rbp + 0x10], r8d
jne 0x14005d71e
mov rdx, qword [rsi + 8]
mov rcx, qword [rbp + 8]
call fcn.140125e30
mov r15d, eax
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test r15d, r15d
je 0x14005d729
mov rcx, qword [rdi + 8]
mov rdx, r12
call qword [sym.imp.crypt32.dll_CertEnumCertificatesInStore]
test rax, rax
jne 0x14005d6d0
jmp 0x14005d663
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x14005d707
mov rcx, r12
mov r15, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call r15
mov rcx, rsi
call r15
mov esi, 0xf10
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
lea rax, [rsp + 0xe0]
movups xmmword [rax], xmm6
movabs rax, 0x200000018
mov qword [rsp + 0xd8], rax
xor eax, eax
cmp rax, qword [rdi + 0x1a0]
jo 0x14005d7a1
cmp byte [rdi + 0x221], 1
je 0x14005d7a1
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
mov rdx, r13
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0xb0]
call qword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
mov rdx, qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
je 0x14005d999
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x14005d887
mov r8, qword [rdi + 0x208]
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
jne 0x14005d994
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
jne 0x14005cb39
jmp 0x14005d8aa
test eax, eax
jne 0x14005d99f
mov rcx, r13
call rdx
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp byte [rdi + 0x1d0], 0
jne 0x14005cb39
mov rax, qword [rsp + 0x128]
mov byte [rax], 1
jmp 0x14005cb39
lea rax, [rdi + 0x180]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov r8, rcx
mov rcx, rax
mov rbx, rdx
mov rdx, r8
mov r8, rsi
call fcn.14012d5c0
mov rdx, rbx
mov rbx, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x190]
jmp 0x14005d369
mov esi, 0xf00
jmp 0x14005d753
xor eax, eax
mov rcx, qword [rsp + 0x68]
jmp 0x14005d9cd
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rsi
jmp 0x14005d9c8
lea rdx, str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
mov r8d, 0x1f
mov cl, 0x25
call fcn.1400999d0
jmp 0x14005d9bf
movabs rdx, 0xd00000003
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rdx
jmp 0x14005d9c8
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rdi, rax
mov rcx, rsi
mov rsi, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call rsi
mov rcx, r12
call rsi
mov rcx, r13
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
jmp 0x14005d9b3
shl rax, 0x20
or rax, 2
jmp 0x14005d9bf
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rdi, rax
jmp 0x14005d9b3
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rdi, rax
mov rcx, r13
call qword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov rcx, rbp
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rax, rdi
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rax
mov eax, 2
mov dword [rcx], 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
mov ecx, 8
mov edx, 0x20
call fcn.140125f20
lea r8, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640
mov rcx, rsi
call fcn.1401262d0
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_native_tls_0.3.1_srclib.rs
mov edx, 0x29
call fcn.140126340
lea rcx, [0x14015b767]
lea r8, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640
mov edx, 0x1f
call fcn.140126340
lea r8, str._rustc_0d634185dfddefe09047881175f35c65d68dcff1library_alloc_src_vecmod.rs
mov rcx, rsi
call fcn.1401262d0
int3