Function at 0x14019e330
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14032f0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x78], rdx
mov rcx, qword [rcx + 0x10]
lea r8, str.SSL_PROXY
mov rax, qword [rbx + 0x18]
cmp qword [rbx], r8
jne 0x14019e3c2
lea r13, [rax + 0x258]
lea r11, [rax + 0x260]
mov qword [rsp + 0x68], r13
lea rdi, [rax + 0x2a0]
mov qword [rsp + 0x60], r13
lea r9, [rax + 0x2a2]
mov r12, r13
add rax, 0x2a1
lea r10, [rdx + 0x687]
lea r8, [rdx + 0x685]
add rdx, 0x683
jmp 0x14019e406
lea r12, [rax + 0x1e8]
lea r11, [rax + 0x1f0]
mov qword [rsp + 0x60], r12
lea rdi, [rax + 0x230]
mov qword [rsp + 0x68], r12
lea r9, [rax + 0x232]
mov r13, r12
add rax, 0x231
lea r10, [rdx + 0x5cf]
lea r8, [rdx + 0x5cd]
add rdx, 0x5cb
mov r15, r11
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x58], r11
xor r11d, r11d
mov qword [rbp - 0x78], r11
mov r14d, r11d
mov esi, r11d
mov rcx, qword [rcx + 0x30]
mov qword [rbp - 0x38], rcx
cmp byte [rax], r11b
je 0x14019e46e
movzx ecx, byte [rcx + 0x6c]
cmp byte [rdx], sil
je 0x14019e447
test cl, cl
mov eax, 0x1808
mov edx, 0x1820
cmove eax, edx
jmp 0x14019e473
cmp byte [r8], sil
je 0x14019e45d
test cl, cl
mov eax, 0x1a08
mov edx, 0x1a20
cmove eax, edx
jmp 0x14019e473
test cl, cl
mov eax, 0x208
mov edx, 0x220
cmove eax, edx
jmp 0x14019e473
mov eax, 0x1808
movzx ecx, byte [r10]
mov edx, eax
or edx, 4
cmp byte [r9], sil
cmovne edx, eax
mov eax, edx
or eax, 0x10
test cl, cl
mov rcx, qword [rsp + 0x78]
cmove edx, eax
lea rax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [rbp - 0x68], edx
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
cmovne rdx, rax
call fcn.14019b1d0
movzx eax, byte [rdi]
cmp eax, 7
ja case.default.0x14019e4c8
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x19f42c]
add rax, rcx
jmp rax
mov rdx, qword [rbx + 0x18]
lea r9, str.SSL_PROXY
cmp qword [rbx], r9
mov r8d, 0x22c
mov eax, 0x29c
cmovne eax, r8d
mov r8d, 0x230
mov edi, dword [rax + rdx]
mov eax, 0x2a0
cmovne eax, r8d
movzx ebx, byte [rax + rdx]
test edi, 0xfffeffff
jne 0x14019e52c
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
call fcn.1401a2140
test al, al
mov edi, 0x60000
mov eax, 0x70000
cmovne edi, eax
sar edi, 0x10
cmp ebx, edi
jg 0x14019e585
mov ecx, ebx
sub ecx, 4
je 0x14019e57b
sub ecx, 1
je 0x14019e575
sub ecx, 1
je 0x14019e56f
cmp ecx, 1
jne 0x14019e57f
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
call fcn.1401a2140
test al, al
je 0x14019e60e
bts esi, 0xd
jmp 0x14019e57f
bts esi, 0xb
jmp 0x14019e57f
bts esi, 9
jmp 0x14019e57f
bts esi, 7
inc ebx
cmp ebx, edi
jle 0x14019e533
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbx + 0x530]
test rcx, rcx
jne 0x14019e5a3
cmp qword [rbx + 0x558], r14
je 0x14019eca3
mov r9, qword [rbx + 0x558]
xor r10d, r10d
mov qword [rbp - 0x80], r10
mov r15d, r10d
mov qword [rbp - 0x40], r10
mov r13d, r10d
mov qword [rbp - 0x70], r10
mov r12d, r10d
mov qword [rbp - 0x60], r10
mov edi, r10d
mov qword [rbp - 0x50], r9
test r9, r9
je 0x14019e61a
mov r14, qword [rsp + 0x58]
mov rax, qword [r9]
mov qword [rsp + 0x58], r14
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x60], r14
mov r14, qword [rsp + 0x68]
mov qword [rsp + 0x68], r14
mov r14, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov rax, qword [r9 + 8]
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x60], rax
jmp 0x14019e82e
lea rdx, str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x14019f3f3
call case.0x140194a27.0
mov rdi, rax
test rax, rax
je case.0x14019f3ac.2146893056
mov edx, 0x5c
mov rcx, rax
call fcn.140238e10
mov r14, rax
test rax, rax
je 0x14019e7ca
mov rbx, rax
lea rdx, str.CurrentUser
sub rbx, rdi
mov rcx, rdi
mov r8, rbx
call fcn.140238930
test eax, eax
jne 0x14019e66b
mov r15d, 0x10000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.LocalMachine
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e68c
mov r15d, 0x20000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.CurrentService
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e6ad
mov r15d, 0x40000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.Services
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e6cb
mov r15d, 0x50000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.Users
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e6e9
mov r15d, 0x60000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.CurrentUserGroupPolicy
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e707
mov r15d, 0x70000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.LocalMachineGroupPolicy
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e725
mov r15d, 0x80000
jmp 0x14019e745
mov r8, rbx
lea rdx, str.LocalMachineEnterprise
mov rcx, rdi
call fcn.140238930
test eax, eax
jne 0x14019e7ca
mov r15d, 0x90000
mov edx, 0x5c
lea rcx, [r14 + 1]
call fcn.140238e10
mov rbx, rax
test rax, rax
je 0x14019e7ca
lea r12, [rax + 1]
mov rax, 0xffffffffffffffff
mov qword [rbp - 0x80], r12
nop word [rax + rax]
inc rax
cmp byte [r12 + rax], r13b
jne 0x14019e770
cmp rax, 0x28
jne 0x14019e7ca
lea rcx, [r14 + 1]
mov byte [rbx], r13b
call qword [case.0x140194a27.0]
mov r13, rax
mov byte [rbx], 0x5c
test rax, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
jne 0x14019e8d1
mov ebx, 0x1b
jmp 0x14019e7f7
mov rax, qword [rsp + 0x58]
mov ebx, 0x3a
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x78]
mov rcx, qword [r14 + 0x530]
cmp byte [rcx], 0
je 0x14019f3b2
lea rdx, [0x1402e5204]
call fcn.140227fa0
mov r12, rax
test rax, rax
je 0x14019f3b2
mov r9, qword [rbp - 0x50]
mov rbx, r14
xor r10d, r10d
mov rdx, qword [rbx + 0x5a0]
test rdx, rdx
je 0x14019e8bb
cmp byte [rdx], 0
lea r8, [0x1402f554c]
je 0x14019e87a
lea r11, [0x140000000]
movzx eax, byte [r8]
test al, al
je 0x14019e87a
movzx ecx, byte [rdx]
movzx eax, byte [rax + r11 + 0x2e0f40]
cmp byte [rcx + r11 + 0x2e0f40], al
jne 0x14019e891
inc rdx
inc r8
cmp byte [rdx], 0
jne 0x14019e851
cmp byte [rdx], 0
mov ecx, r10d
mov eax, r10d
sete cl
cmp byte [r8], 0
setne al
cmp ecx, eax
jne 0x14019e8bb
lea r14, str._memory_blob_
test r9, r9
jne 0x14019e8a4
mov r14, qword [rbx + 0x530]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.14019b0a0
jmp 0x14019e941
test r12, r12
jne 0x14019ea04
test r9, r9
jne 0x14019ea04
mov r12, qword [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x20], r13
mov r9d, r15d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov r14, rax
mov rcx, r13
test rax, rax
jne 0x14019e95c
call case.0x140194a27.0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x78]
lea r9, str._unknown_
test rbx, rbx
mov dword [rsp + 0x20], eax
mov r8d, r15d
lea rdx, str.schannel:_Failed_to_open_cert_store__lx__s__last_error_is_0x_lx
cmovne r9, rbx
call fcn.14019b0a0
mov rcx, r13
call qword [fcn.140229280]
test rbx, rbx
je 0x14019e941
mov rcx, rbx
call fcn.140229280
test rdi, rdi
je 0x14019ec29
mov rcx, rdi
call fcn.140229280
mov eax, 0x3a
jmp 0x14019f402
call qword [fcn.140229280]
xor ebx, ebx
mov dword [rbp + 0x20], reloc.WS2_32.dll_sendto
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x40]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 0x28]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 4]
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14019e9ad
test rdi, rdi
je 0x14019e9ef
mov rcx, rdi
call fcn.140229280
jmp 0x14019e9ef
mov r9d, 0x10000
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x20]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rbp - 0x78], rax
test rdi, rdi
je 0x14019e9e6
mov rcx, rdi
call fcn.140229280
mov rax, qword [rbp - 0x78]
test rax, rax
jne 0x14019ec8f
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14019f402
mov rbx, r10
mov r15d, r10d
test r9, r9
je 0x14019ea18
lea r14, str._memory_blob_
jmp 0x14019ea24
mov rax, qword [rsp + 0x78]
mov r14, qword [rax + 0x530]
test rdi, rdi
je 0x14019ea34
mov rcx, rdi
call fcn.140229280
xor r10d, r10d
test r12, r12
je 0x14019eb09
xor edx, edx
mov edi, r10d
mov rcx, r12
lea r8d, [rdx + 2]
call fcn.140210d50
test eax, eax
mov r15d, eax
sete r13b
test eax, eax
jne 0x14019eaa4
mov rcx, r12
call fcn.1402023c0
mov edi, eax
test eax, eax
jns 0x14019eaa4
mov rdi, qword [rbp - 0x60]
xor r13b, r13b
mov r15, qword [rbp - 0x70]
test r15, r15
je 0x14019ead3
mov r9, r12
mov r8d, 1
mov rdx, rdi
mov rcx, r15
call fcn.14022a270
cmp eax, 1
jne 0x14019ead3
mov rcx, r12
call fcn.14020b2c0
test r13b, r13b
je 0x14019eadb
mov r15d, ebx
jmp 0x14019eb0d
test r15d, r15d
jne 0x14019ea70
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.140210d50
test eax, eax
sete r13b
test eax, eax
jne 0x14019ea70
lea rcx, [rdi + 1]
call qword [fcn.14022b0a0]
mov r15, rax
mov qword [rbp - 0x70], rax
jmp 0x14019ea74
mov rcx, r12
call fcn.14020b2c0
mov rax, qword [rsp + 0x78]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rax
mov r8, qword [rax + 0x530]
call fcn.14019b0a0
mov rcx, r15
call qword [fcn.140229280]
mov eax, 0x3a
jmp 0x14019f402
mov rdi, qword [rbp - 0x60]
mov r13, qword [rsp + 0x78]
mov r12, qword [rbp - 0x70]
mov qword [rbp + 0x38], r12
mov dword [rbp + 0x30], edi
mov rax, qword [r13 + 0x5c0]
test rax, rax
je 0x14019eb39
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14019eb30
lea rcx, [rbx*2 + 2]
call qword [fcn.14022b0a0]
mov rdi, rax
test rax, rax
je 0x14019ebdc
test rbx, rbx
je 0x14019eb85
mov r8, qword [r13 + 0x5c0]
lea ecx, [rbx + 1]
mov dword [rsp + 0x28], ecx
mov r9d, ebx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, eax
test eax, eax
js 0x14019eb97
cmp r15d, ebx
jg 0x14019eb97
mov eax, r15d
xor r10d, r10d
mov word [rdi + rax*2], r10w
jmp 0x14019eb9e
xor r10d, r10d
mov word [rdi], r10w
xor edx, edx
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1401a2140
lea rcx, [rbp + 0x30]
mov rdx, rdi
test al, al
je 0x14019ebc6
mov r8d, 0x8000
jmp 0x14019ebc9
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rdi
mov qword [rbp - 0x40], rax
call qword [fcn.140229280]
cmp qword [rbp - 0x50], 0
jne 0x14019ebec
mov rcx, r12
call qword [fcn.140229280]
mov rbx, qword [rbp - 0x40]
test rbx, rbx
jne 0x14019ec33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r13
cmp eax, 0x56
jne 0x14019ec1a
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14019b0a0
lea eax, [rbx + 0x3a]
jmp 0x14019f402
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_lx
call fcn.14019b0a0
mov eax, 0x3a
jmp 0x14019f402
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x10001
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x14019ec8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_lx
mov r9d, eax
mov rcx, r13
call fcn.14019b0a0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14019f402
mov r14, rbx
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [str._1_]
mov rcx, qword [rbp - 0x38]
mov qword [rcx], rax
test rax, rax
jne 0x14019ecf5
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.14019b0a0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14019ecdb
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test r14, r14
je case.0x14019f3ac.2146893056
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x14019f402
mov dword [rax + 0x28], 1
mov rax, qword [rcx]
mov qword [rax + 0x20], r14
cmp qword [r13], 0
jne 0x14019f136
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4563
lea ecx, [rdx + 0xa]
call fcn.1401a2140
test al, al
je 0x14019f136
mov rdi, qword [rsp + 0x70]
xor eax, eax
xorps xmm1, xmm1
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
mov qword [rbp + 0x60], rax
xor r13d, r13d
mov qword [rbp + 0x98], rax
mov rdi, qword [rdi]
mov r12d, r13d
mov dword [rbp + 0x70], r13d
mov word [rbp - 0x50], r13w
mov qword [rbp - 0x4e], rax
mov dword [rbp - 0x46], eax
mov word [rbp - 0x42], ax
mov word [rbp - 0x60], r13w
mov qword [rbp - 0x5e], rax
mov dword [rbp - 0x56], eax
mov word [rbp - 0x52], ax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0xb0], xmm1
movups xmmword [rbp + 0xc0], xmm1
movups xmmword [rbp + 0xd0], xmm1
movups xmmword [rbp + 0xe0], xmm1
movups xmmword [rbp + 0xf0], xmm1
movups xmmword [rbp + 0x100], xmm1
movups xmmword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x120], xmm1
test rdi, rdi
je 0x14019f0d6
mov r15b, 1
mov edx, r13d
movzx eax, r15b
mov dword [rbp - 0x80], edx
mov byte [rsp + 0x52], al
movzx r13d, r15b
mov byte [rsp + 0x50], r15b
mov byte [rsp + 0x51], r15b
cmp byte [rdi], r12b
je 0x14019ef76
cmp edx, 5
jge 0x14019ef76
mov edx, 0x3a
mov rcx, rdi
call fcn.1401f9440
mov r14, rax
test rax, rax
je 0x14019ee30
mov rbx, rax
sub rbx, rdi
jmp 0x14019ee40
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x14019ee37
test r15b, r15b
je 0x14019ee6e
cmp rbx, 0x16
jne 0x14019ee6e
mov r8, rbx
lea rcx, str.TLS_AES_256_GCM_SHA384
mov rdx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019ee6e
movzx eax, byte [rsp + 0x52]
xor r15b, r15b
jmp 0x14019ef2b
cmp byte [rsp + 0x50], r12b
je 0x14019eea3
cmp rbx, 0x16
jne 0x14019eea3
mov r8, rbx
lea rcx, str.TLS_AES_128_GCM_SHA256
mov rdx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019eea3
movzx eax, byte [rsp + 0x52]
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x14019ef31
test r13b, r13b
je 0x14019eece
cmp rbx, 0x1c
jne 0x14019eece
mov r8, rbx
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
mov rdx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019eece
movzx eax, byte [rsp + 0x52]
xor r13b, r13b
jmp 0x14019ef2b
cmp byte [rsp + 0x51], r12b
je 0x14019ef04
cmp rbx, 0x18
jne 0x14019ef04
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_8_SHA256
mov rdx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019ef04
movzx eax, byte [rsp + 0x52]
xor cl, cl
movzx r8d, byte [rsp + 0x50]
mov byte [rsp + 0x51], cl
jmp 0x14019ef36
cmp byte [rsp + 0x52], r12b
je 0x14019ef55
cmp rbx, 0x16
jne 0x14019ef55
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_SHA256
mov rdx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019ef55
mov byte [rsp + 0x52], al
movzx r8d, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
mov rdi, r14
test r14, r14
je 0x14019ef42
lea rdi, [r14 + 1]
mov edx, dword [rbp - 0x80]
inc edx
mov dword [rbp - 0x80], edx
test rdi, rdi
jne 0x14019ee01
jmp 0x14019ef81
mov rcx, qword [rsp + 0x78]
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__.s
mov r9, rdi
mov r8d, ebx
call fcn.14019b0a0
mov eax, 0x3b
jmp 0x14019f402
movzx ecx, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
lea rdx, [0x1402f5840]
test r15b, r15b
je 0x14019efba
test r8b, r8b
je 0x14019efba
test r13b, r13b
je 0x14019efba
test cl, cl
je 0x14019efbe
test al, al
je 0x14019efc2
mov rcx, qword [rsp + 0x78]
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
call fcn.14019b0a0
mov eax, 0x3b
jmp 0x14019f402
test cl, cl
jne 0x14019efc2
test al, al
je 0x14019f022
mov dword [rbp - 0x50], 0x200020
lea r9, str.ChainingModeCCM
mov qword [rbp - 0x48], r9
lea r9, [rbp - 0x50]
mov qword [rbp + 0x90], r9
mov dword [rbp + 0x70], 2
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x78], 0x80008
mov qword [rbp + 0x80], rdx
cmp cl, al
je 0x14019f01c
test cl, cl
je 0x14019f012
mov dword [rbp + 0x98], 0x80
jmp 0x14019f01c
mov dword [rbp + 0x9c], 0x40
mov r12d, 1
movzx eax, r8b
test r15b, r15b
jne 0x14019f02f
test al, al
je 0x14019f0a2
lea rax, str.ChainingModeGCM
mov dword [rbp - 0x60], 0x200020
mov qword [rbp - 0x58], rax
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r15b, r8b
je 0x14019f065
test r15b, r15b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
xor r10d, r10d
mov eax, r10d
cmp r15b, r8b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x70], eax
inc r12d
mov dword [rbp + rcx*8 + 0x78], 0x80008
lea rax, [rbp - 0x60]
mov qword [rbp + rcx*8 + 0x80], rdx
mov qword [rbp + rcx*8 + 0x90], rax
mov dword [rbp + rcx*8 + 0x88], 1
test r13b, r13b
je 0x14019f0d3
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r12d
mov dword [rbp + rcx*8 + 0x70], 2
mov dword [rbp + rcx*8 + 0x78], 0x240024
mov qword [rbp + rcx*8 + 0x80], rax
xor r13d, r13d
lea rax, [rbp + 0x70]
mov dword [rbp + 0x54], r12d
mov qword [rbp + 0x58], rax
not esi
lea rax, [rbp + 0x40]
mov dword [rbp + 8], 1
mov qword [rbp + 0x10], rax
mov eax, dword [rbp - 0x68]
bts eax, 0x16
mov dword [rbp - 0x30], 5
cmp qword [rbp - 0x78], 0
mov dword [rbp + 4], eax
mov dword [rbp + 0x50], esi
je 0x14019f11d
lea rax, [rbp - 0x78]
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x20], rax
mov rdi, qword [rbp - 0x38]
mov rcx, qword [rdi]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
jmp 0x14019f31f
mov rdi, qword [r12]
xorps xmm0, xmm0
mov eax, dword [rbp - 0x68]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x30], 4
movups xmmword [rbp], xmm0
mov dword [rbp + 8], esi
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x18], eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
test rdi, rdi
je 0x14019f2eb
bt esi, 0xd
jae 0x14019f17f
lea rdx, str.schannel:_WARNING:_This_version_of_Schannel_may_negotiate_a_less_secure_TLS_version_than_TLS_1.3_because_the_user_set_an_algorithm_cipher_list.
mov rcx, rbx
call fcn.14019b1d0
cmp qword [r15], 0
je 0x14019f19e
lea rdx, str.schannel:_This_version_of_Schannel_does_not_support_setting_an_algorithm_cipher_list_and_TLS_1.3_cipher_list_at_the_same_time
mov rcx, rbx
call fcn.14019b0a0
mov eax, 0x3b
jmp 0x14019f402
xor r13d, r13d
mov r15d, r13d
mov r14d, r13d
cmp byte [rdi], r13b
je 0x14019f2c2
cmp r14, 0x2f
jge 0x14019f2c2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1402130b0
test eax, eax
jne 0x14019f296
lea edx, [rax + 0x3a]
mov rcx, rdi
call fcn.1401f9440
mov rbx, rax
test rax, rax
je 0x14019f1e7
sub rbx, rdi
jmp 0x14019f1f9
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], r13b
jne 0x14019f1f0
mov rcx, qword [str.HP__]
mov rsi, r13
test rcx, rcx
je 0x14019f25b
lea r12, [0x140000000]
nop
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r13b
jne 0x14019f217
cmp rbx, rax
jne 0x14019f234
mov r8, rbx
mov rdx, rdi
call fcn.140226ab0
test eax, eax
je 0x14019f24c
inc rsi
mov rax, rsi
add rax, rax
mov rcx, qword [r12 + rax*8 + 0x2e16e0]
test rcx, rcx
jne 0x14019f210
jmp 0x14019f25b
add rsi, rsi
mov eax, dword [r12 + rsi*8 + 0x2e16e8]
test eax, eax
jne 0x14019f296
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.USE_STRONG_CRYPTO
mov rcx, rdi
call fcn.140226ab0
test eax, eax
je 0x14019f28d
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SCH_USE_STRONG_CRYPTO
mov rcx, rdi
call fcn.140226ab0
test eax, eax
jne 0x14019f2d0
or dword [rbp + 0x18], 0x400000
jmp 0x14019f2a1
inc r15d
mov dword [rbp + r14*4 + 0x70], eax
inc r14
mov edx, 0x3a
mov rcx, rdi
call fcn.1401f9440
test rax, rax
lea rdi, [rax + 1]
cmove rdi, rax
test rdi, rdi
jne 0x14019f1a7
lea rax, [rbp + 0x70]
mov dword [rbp - 8], r15d
mov qword [rbp], rax
jmp 0x14019f2f5
mov rcx, qword [rsp + 0x78]
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
call fcn.14019b0a0
mov eax, 0x3b
jmp 0x14019f402
bts eax, 0x16
mov dword [rbp + 0x18], eax
xor r13d, r13d
cmp qword [rbp - 0x78], 0
je 0x14019f30b
lea rax, [rbp - 0x78]
mov dword [rbp - 0x2c], 1
mov qword [rbp - 0x28], rax
mov rdi, qword [rbp - 0x38]
mov rcx, qword [rdi]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rcx
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x140336160]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rbp - 0x78]
mov ebx, eax
test rcx, rcx
je 0x14019f35e
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x14019f3ae
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.1401b91d0
mov rcx, qword [rsp + 0x78]
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov r8, rax
call fcn.14019b0a0
mov rcx, qword [rdi]
call qword [fcn.140229280]
add ebx, 0x7ff6fd00
mov qword [rdi], r13
cmp ebx, 0xe
ja case.0x14019f3ac.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x19f44c]
add rcx, rdx
jmp rcx
xor eax, eax
jmp 0x14019f402
mov r8, qword [r14 + 0x530]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r14
call fcn.14019b0a0
mov rcx, rdi
call fcn.140229280
mov eax, ebx
jmp 0x14019f402
mov rcx, qword [rsp + 0x78]
lea rdx, str.SSL_versions_not_supported
call fcn.14019b0a0
mov eax, 4
jmp 0x14019f402
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x78]
call fcn.14019b0a0
mov eax, 0x23
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401f4d70
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret