Function at 0x1404eff10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x710
lea rdi, [rsp + 0x50]
mov ecx, 0x1b0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x720]
mov rax, qword [0x140814ac0]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rax, qword [rsp + 0x720]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x720]
call fcn.1401ddb1a
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x728]
mov rcx, qword [rsp + 0x720]
call fcn.1401df19a
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x1404efff7
mov r8d, 0x1d6
lea rdx, [0x1407f9f40]
lea rcx, [0x1407f9fe0]
call fcn.1401d5938
xor eax, eax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x69]
test eax, eax
je 0x1404f00cd
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x1404f0025
mov dword [rsp + 0x98], 8
jmp 0x1404f0030
mov dword [rsp + 0x98], 0x20
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb3]
test eax, eax
je 0x1404f006a
mov eax, dword [rsp + 0x98]
or eax, 0x1800
mov dword [rsp + 0x98], eax
lea rdx, str.schannel:_disabled_server_certificate_revocation_checks
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
jmp 0x1404f00cb
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb5]
test eax, eax
je 0x1404f00a4
mov eax, dword [rsp + 0x98]
or eax, 0x1a00
mov dword [rsp + 0x98], eax
lea rdx, str.schannel:_ignore_revocation_offline_errors
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
jmp 0x1404f00cb
mov eax, dword [rsp + 0x98]
bts eax, 9
mov dword [rsp + 0x98], eax
lea rdx, str.schannel:_checking_server_certificate_revocation
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
jmp 0x1404f00ed
mov dword [rsp + 0x98], 0x1808
lea rdx, str.schannel:_disabled_server_cert_revocation_checks
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x6a]
test eax, eax
jne 0x1404f0120
mov eax, dword [rsp + 0x98]
or eax, 4
mov dword [rsp + 0x98], eax
lea rdx, str.schannel:_verifyhost_setting_prevents_Schannel_from_comparing_the_supplied_target_name_with_the_subject_names_in_server_certificates.
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb7]
test eax, eax
jne 0x1404f0169
mov eax, dword [rsp + 0x98]
and eax, 0xffffffbf
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
or eax, 0x10
mov dword [rsp + 0x98], eax
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
jmp 0x1404f017e
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x728]
call fcn.1401dd854
nop
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x68]
mov dword [rsp + 0x6b0], eax
cmp dword [rsp + 0x6b0], 7
ja case.default.0x1404f01b1
movsxd rax, dword [rsp + 0x6b0]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x4f1968]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x728]
mov rdx, qword [rsp + 0x720]
lea rcx, [rsp + 0xa4]
call fcn.1404ef860
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1404f01ed
mov eax, dword [rsp + 0x94]
jmp 0x1404f1938
jmp 0x1404f022b
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 4
jmp 0x1404f1938
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 0x23
jmp 0x1404f1938
mov rax, qword [rsp + 0x728]
cmp qword [rax + 0x548], 0
jne 0x1404f0253
mov rax, qword [rsp + 0x728]
cmp qword [rax + 0x570], 0
je 0x1404f0d4b
mov dword [rsp + 0xc4], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x190], 0
mov rax, qword [rsp + 0x728]
cmp qword [rax + 0x570], 0
je 0x1404f02c5
mov dword [rsp + 0x6b4], 1
jmp 0x1404f02d0
mov dword [rsp + 0x6b4], 0
cmp dword [rsp + 0x6b4], 0
jne 0x1404f02e7
mov dword [rsp + 0x6b8], 0
jmp 0x1404f02f2
mov dword [rsp + 0x6b8], 1
movzx eax, byte [rsp + 0x6b8]
mov byte [rsp + 0x198], al
mov qword [rsp + 0x1a0], 0
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x1404f0353
mov rax, qword [rsp + 0x728]
mov rax, qword [rax + 0x570]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x728]
mov rax, qword [rax + 0x570]
mov rax, qword [rax + 8]
mov qword [rsp + 0x190], rax
jmp 0x1404f0479
mov rax, qword [rsp + 0x728]
mov rcx, qword [rax + 0x548]
call fcn.1401d57da
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
jne 0x1404f0384
mov eax, 0x1b
jmp 0x1404f1938
lea r9, [rsp + 0x108]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xc4]
mov rcx, qword [rsp + 0x1a0]
call fcn.1404efc30
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1404f040a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x728]
mov rcx, qword [rcx + 0x548]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1404f040a
lea r9, [0x1407fa220]
mov r8d, 0x23d
lea rdx, [0x1407fa270]
mov rax, qword [rsp + 0x728]
mov rcx, qword [rax + 0x548]
call fcn.1401d9a6a
mov qword [rsp + 0x180], rax
cmp dword [rsp + 0x94], 0
je 0x1404f0479
cmp qword [rsp + 0x180], 0
jne 0x1404f0479
mov rax, qword [rsp + 0x728]
mov r8, qword [rax + 0x548]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
nop
cmp qword [rsp + 0x1a0], 0
je 0x1404f0467
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f0443
mov eax, dword [rsp + 0x94]
jmp 0x1404f1938
cmp qword [rsp + 0x180], 0
jne 0x1404f0494
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x1404f0552
mov rax, qword [rsp + 0x728]
cmp qword [rax + 0x5b8], 0
je 0x1404f0552
lea rdx, [0x1407fa2b4]
mov rax, qword [rsp + 0x728]
mov rcx, qword [rax + 0x5b8]
call fcn.1401de45c
test eax, eax
jne 0x1404f0552
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x1404f04ea
lea rax, [0x1407fa2b8]
mov qword [rsp + 0x6c0], rax
jmp 0x1404f0501
mov rax, qword [rsp + 0x728]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x6c0], rax
mov r8, qword [rsp + 0x6c0]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
nop
cmp qword [rsp + 0x1a0], 0
je 0x1404f0542
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f051e
mov eax, 0x3a
jmp 0x1404f1938
cmp qword [rsp + 0x180], 0
jne 0x1404f056d
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x1404f0ac1
mov qword [rsp + 0x1e0], 0
mov dword [rsp + 0x1e8], 0
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x1404f05a1
lea rax, [0x1407fa308]
mov qword [rsp + 0x6c8], rax
jmp 0x1404f05b8
mov rax, qword [rsp + 0x728]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x6c8], rax
mov rax, qword [rsp + 0x6c8]
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x1a0], 0
je 0x1404f05ec
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f05c8
cmp qword [rsp + 0x180], 0
je 0x1404f07f6
mov dword [rsp + 0x1f8], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x180]
call fcn.1401d9f3d
test eax, eax
jne 0x1404f0632
mov dword [rsp + 0x6d0], 1
jmp 0x1404f063d
mov dword [rsp + 0x6d0], 0
cmp dword [rsp + 0x6d0], 0
jne 0x1404f0654
mov dword [rsp + 0x6d4], 0
jmp 0x1404f065f
mov dword [rsp + 0x6d4], 1
movzx eax, byte [rsp + 0x6d4]
mov byte [rsp + 0x1fc], al
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x1404f068e
mov rcx, qword [rsp + 0x180]
call fcn.1401d7116
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
jge 0x1404f06a2
mov byte [rsp + 0x1fc], 0
jmp 0x1404f06b2
movsxd rax, dword [rsp + 0x1f8]
mov qword [rsp + 0x190], rax
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x1404f071d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x180]
call fcn.1401d9f3d
test eax, eax
jne 0x1404f06e1
mov dword [rsp + 0x6d8], 1
jmp 0x1404f06ec
mov dword [rsp + 0x6d8], 0
cmp dword [rsp + 0x6d8], 0
jne 0x1404f0703
mov dword [rsp + 0x6dc], 0
jmp 0x1404f070e
mov dword [rsp + 0x6dc], 1
movzx eax, byte [rsp + 0x6dc]
mov byte [rsp + 0x1fc], al
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x1404f0750
mov rax, qword [rsp + 0x190]
inc rax
lea r8, [0x1407fa320]
mov edx, 0x269
mov rcx, rax
call fcn.1401dd4da
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
je 0x1404f0783
mov r9, qword [rsp + 0x180]
mov r8d, 1
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x188]
call fcn.1401d79e5
cmp eax, 1
je 0x1404f078b
mov byte [rsp + 0x1fc], 0
lea r8, [0x1407fa370]
mov edx, 0x26d
mov rcx, qword [rsp + 0x180]
call fcn.1401d8372
movzx eax, byte [rsp + 0x1fc]
test eax, eax
jne 0x1404f07f6
mov rax, qword [rsp + 0x728]
mov r8, qword [rax + 0x548]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
lea r8, [0x1407fa3f0]
mov edx, 0x271
mov rcx, qword [rsp + 0x188]
call fcn.1401d55f5
mov eax, 0x3a
jmp 0x1404f1938
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0x1b8], eax
mov rax, qword [rsp + 0x728]
cmp qword [rax + 0x5d8], 0
je 0x1404f0842
mov rax, qword [rsp + 0x728]
mov rcx, qword [rax + 0x5d8]
call fcn.1401d91f0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
lea rax, [rax + rax + 2]
lea r8, [0x1407fa440]
mov edx, 0x27c
mov rcx, rax
call fcn.1401dd4da
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x1404f099d
cmp qword [rsp + 0x1e0], 0
jbe 0x1404f08cf
mov rax, qword [rsp + 0x1e0]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1e0]
mov rax, qword [rsp + 0x728]
mov r8, qword [rax + 0x5d8]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x1e8], eax
cmp dword [rsp + 0x1e8], 0
jl 0x1404f0901
mov eax, dword [rsp + 0x1e0]
cmp dword [rsp + 0x1e8], eax
jg 0x1404f0901
movsxd rax, dword [rsp + 0x1e8]
xor ecx, ecx
mov rdx, qword [rsp + 0x1d8]
mov word [rdx + rax*2], cx
jmp 0x1404f0918
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x1d8]
mov word [rdx + rax], cx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1401dcc4c
movzx eax, al
test eax, eax
je 0x1404f0962
mov r8d, 0x8000
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x178], rax
jmp 0x1404f0983
xor r8d, r8d
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x178], rax
lea r8, [0x1407fa490]
mov edx, 0x291
mov rcx, qword [rsp + 0x1d8]
call fcn.1401d55f5
nop
movzx eax, byte [rsp + 0x198]
test eax, eax
jne 0x1404f09c3
lea r8, [0x1407fa4e0]
mov edx, 0x294
mov rcx, qword [rsp + 0x188]
call fcn.1401d55f5
nop
cmp qword [rsp + 0x178], 0
jne 0x1404f0a33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x200], eax
cmp dword [rsp + 0x200], 0x56
jne 0x1404f0a04
mov r8, qword [rsp + 0x1f0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
nop
jmp 0x1404f0a29
mov r9d, dword [rsp + 0x200]
mov r8, qword [rsp + 0x1f0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_lx
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
nop
mov eax, 0x3a
jmp 0x1404f1938
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x78], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
jne 0x1404f0abc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x1f0]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_lx
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1404f1938
jmp 0x1404f0d3b
mov eax, dword [rsp + 0xc4]
bts eax, 0xe
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
xor edx, edx
mov ecx, 0xa
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 0
jne 0x1404f0bea
mov rcx, qword [rsp + 0xe8]
call fcn.1401d5ae1
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
je 0x1404f0b35
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x6e0], rax
jmp 0x1404f0b44
lea rax, [0x1407fa5f8]
mov qword [rsp + 0x6e0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x6e0]
mov r8d, dword [rsp + 0xc4]
lea rdx, str.schannel:_Failed_to_open_cert_store__lx__s__last_error_is_0x_lx
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
lea r8, [0x1407fa650]
mov edx, 0x2bc
mov rcx, qword [rsp + 0xe8]
call fcn.1401d55f5
nop
cmp qword [rsp + 0x208], 0
je 0x1404f0bb0
mov rcx, qword [rsp + 0x208]
call fcn.1401d83e5
mov qword [rsp + 0x208], 0
xor eax, eax
test eax, eax
jne 0x1404f0b8c
cmp qword [rsp + 0x1a0], 0
je 0x1404f0bda
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f0bb6
mov eax, 0x3a
jmp 0x1404f1938
lea r8, [0x1407fa6a0]
mov edx, 0x2c1
mov rcx, qword [rsp + 0xe8]
call fcn.1401d55f5
lea rax, [rsp + 0x158]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x128], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x158]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x1404f0ca6
cmp qword [rsp + 0x1a0], 0
je 0x1404f0c86
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f0c62
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1404f1938
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x78], rax
cmp qword [rsp + 0x1a0], 0
je 0x1404f0d0a
mov rcx, qword [rsp + 0x1a0]
call fcn.1401d83e5
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x1404f0ce6
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
jne 0x1404f0d3b
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1404f1938
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x88], rax
lea r9, [0x1407fa6f0]
mov r8d, 0x2e8
mov edx, 0x30
mov ecx, 1
call fcn.1401d76a7
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rax], 0
jne 0x1404f0de0
lea rdx, [0x1407fa740]
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x1404f0dba
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop
cmp qword [rsp + 0x88], 0
je 0x1404f0dd6
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop
mov eax, 0x1b
jmp 0x1404f1938
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x20], 0
jne 0x1404f16b0
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, 0x4563
xor edx, edx
mov ecx, 0xa
call fcn.1401dcc4c
movzx eax, al
test eax, eax
je 0x1404f16b0
mov qword [rsp + 0x210], 0
mov byte [rsp + 0x218], 0
mov byte [rsp + 0x219], 0
mov byte [rsp + 0x21a], 0
mov byte [rsp + 0x21b], 0
mov byte [rsp + 0x21c], 0
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [rsp + 0x298]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0x2e0], 0
lea rax, [rsp + 0x2e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x310]
mov rdi, rax
xor eax, eax
mov ecx, 0x90
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x3b8], ax
lea rax, [rsp + 0x3ba]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_ntohl
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x3e8], ax
lea rax, [rsp + 0x3ea]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_ntohl
rep stosb byte [rdi], al
mov dword [rsp + 0x404], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x210], rax
cmp qword [rsp + 0x210], 0
je 0x1404f11cf
mov dword [rsp + 0x408], 5
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x410], rax
mov dword [rsp + 0x418], 0
mov byte [rsp + 0x218], 1
mov byte [rsp + 0x219], 1
mov byte [rsp + 0x21a], 1
mov byte [rsp + 0x21b], 1
mov byte [rsp + 0x21c], 1
cmp qword [rsp + 0x410], 0
je 0x1404f11cf
mov rax, qword [rsp + 0x410]
movsx eax, byte [rax]
test eax, eax
je 0x1404f11cf
mov eax, dword [rsp + 0x408]
cmp dword [rsp + 0x418], eax
jge 0x1404f11cf
mov edx, 0x3a
mov rcx, qword [rsp + 0x410]
call fcn.1401d57d5
mov qword [rsp + 0x420], rax
cmp qword [rsp + 0x420], 0
je 0x1404f1003
mov rax, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x420]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x6e8], rax
jmp 0x1404f1018
mov rcx, qword [rsp + 0x410]
call fcn.1401d91f0
mov qword [rsp + 0x6e8], rax
mov rax, qword [rsp + 0x6e8]
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x410]
mov qword [rsp + 0x430], rax
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x1404f1074
mov r8, qword [rsp + 0x428]
mov rdx, qword [rsp + 0x430]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.1404efe90
movzx eax, al
test eax, eax
je 0x1404f1074
mov byte [rsp + 0x218], 0
jmp 0x1404f118c
movzx eax, byte [rsp + 0x219]
test eax, eax
je 0x1404f10b0
mov r8, qword [rsp + 0x428]
mov rdx, qword [rsp + 0x430]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.1404efe90
movzx eax, al
test eax, eax
je 0x1404f10b0
mov byte [rsp + 0x219], 0
jmp 0x1404f118c
movzx eax, byte [rsp + 0x21a]
test eax, eax
je 0x1404f10ec
mov r8, qword [rsp + 0x428]
mov rdx, qword [rsp + 0x430]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.1404efe90
movzx eax, al
test eax, eax
je 0x1404f10ec
mov byte [rsp + 0x21a], 0
jmp 0x1404f118c
movzx eax, byte [rsp + 0x21b]
test eax, eax
je 0x1404f1125
mov r8, qword [rsp + 0x428]
mov rdx, qword [rsp + 0x430]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.1404efe90
movzx eax, al
test eax, eax
je 0x1404f1125
mov byte [rsp + 0x21b], 0
jmp 0x1404f118c
movzx eax, byte [rsp + 0x21c]
test eax, eax
je 0x1404f115e
mov r8, qword [rsp + 0x428]
mov rdx, qword [rsp + 0x430]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.1404efe90
movzx eax, al
test eax, eax
je 0x1404f115e
mov byte [rsp + 0x21c], 0
jmp 0x1404f118c
mov r9, qword [rsp + 0x430]
mov r8d, dword [rsp + 0x428]
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__.s
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 0x3b
jmp 0x1404f1938
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x410], rax
cmp qword [rsp + 0x410], 0
je 0x1404f11ba
mov rax, qword [rsp + 0x410]
inc rax
mov qword [rsp + 0x410], rax
mov eax, dword [rsp + 0x418]
inc eax
mov dword [rsp + 0x418], eax
jmp 0x1404f0f88
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x1404f1229
movzx eax, byte [rsp + 0x219]
test eax, eax
je 0x1404f1229
movzx eax, byte [rsp + 0x21a]
test eax, eax
je 0x1404f1229
movzx eax, byte [rsp + 0x21b]
test eax, eax
je 0x1404f1229
movzx eax, byte [rsp + 0x21c]
test eax, eax
je 0x1404f1229
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 0x3b
jmp 0x1404f1938
movzx eax, byte [rsp + 0x21b]
test eax, eax
jne 0x1404f1245
movzx eax, byte [rsp + 0x21c]
test eax, eax
je 0x1404f1380
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x3b8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x3ba], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeCCM
mov qword [rsp + rax + 0x3c0], rcx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
lea rcx, [rsp + 0x3b8]
mov qword [rsp + rax + 0x300], rcx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2f8], 1
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
lea rcx, [0x1407fa870]
mov qword [rsp + rax + 0x2f0], rcx
movzx eax, byte [rsp + 0x21b]
movzx ecx, byte [rsp + 0x21c]
cmp eax, ecx
je 0x1404f1370
movzx eax, byte [rsp + 0x21b]
test eax, eax
je 0x1404f1359
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x308], 0x80
jmp 0x1404f1370
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x30c], 0x40
mov eax, dword [rsp + 0x404]
inc eax
mov dword [rsp + 0x404], eax
movzx eax, byte [rsp + 0x218]
test eax, eax
jne 0x1404f139c
movzx eax, byte [rsp + 0x219]
test eax, eax
je 0x1404f1532
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x3e8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x3ea], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeGCM
mov qword [rsp + rax + 0x3f0], rcx
movzx eax, byte [rsp + 0x218]
movzx ecx, byte [rsp + 0x219]
cmp eax, ecx
je 0x1404f148b
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 3
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movzx eax, byte [rsp + 0x218]
test eax, eax
je 0x1404f145e
lea rax, str.SHA384
mov qword [rsp + 0x6f0], rax
jmp 0x1404f146d
lea rax, str.SHA256
mov qword [rsp + 0x6f0], rax
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x6f0]
mov qword [rsp + rax + 0x2f0], rcx
jmp 0x1404f14ef
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
lea rcx, [0x1407fa8b8]
mov qword [rsp + rax + 0x2f0], rcx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
lea rcx, [rsp + 0x3e8]
mov qword [rsp + rax + 0x300], rcx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2f8], 1
mov eax, dword [rsp + 0x404]
inc eax
mov dword [rsp + 0x404], eax
movzx eax, byte [rsp + 0x21a]
test eax, eax
je 0x1404f15b2
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
lea rcx, str.CHACHA20_POLY1305
mov qword [rsp + rax + 0x2f0], rcx
mov eax, dword [rsp + 0x404]
inc eax
mov dword [rsp + 0x404], eax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2b0], rax
mov eax, dword [rsp + 0x404]
mov dword [rsp + 0x2ac], eax
lea rax, [rsp + 0x298]
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x268], 1
mov dword [rsp + 0x230], 5
mov eax, dword [rsp + 0x98]
bts eax, 0x16
mov dword [rsp + 0x264], eax
mov eax, dword [rsp + 0xa4]
not eax
mov rcx, qword [rsp + 0x270]
mov dword [rcx + 0x10], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x1404f1645
mov dword [rsp + 0x238], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, [0x1407fa8f0]
xor ecx, ecx
mov rax, qword [0x14081fbf8]
call qword [rax + 0x18]
mov dword [rsp + 0x90], eax
jmp 0x1404f184b
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x518], rax
lea rax, [rsp + 0x530]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x530], 4
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x578], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x568], eax
cmp qword [rsp + 0x518], 0
je 0x1404f17aa
mov eax, dword [rsp + 0xa4]
and eax, 0x2000
test eax, eax
je 0x1404f1730
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, qword [rsp + 0x728]
call fcn.1401dd854
nop
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x28], 0
je 0x1404f175a
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, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, 0x3b
jmp 0x1404f1938
lea r8, [rsp + 0x450]
mov rdx, qword [rsp + 0x518]
lea rcx, [rsp + 0x530]
call fcn.1404efae0
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1404f17a8
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
mov eax, dword [rsp + 0x94]
jmp 0x1404f1938
jmp 0x1404f17bc
mov eax, dword [rsp + 0x98]
bts eax, 0x16
mov dword [rsp + 0x578], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x1404f17e5
mov dword [rsp + 0x534], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x538], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x530]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov rax, qword [0x14081fbf8]
call qword [rax + 0x18]
mov dword [rsp + 0x90], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x1404f1871
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop
cmp dword [rsp + 0x90], 0
je 0x1404f1936
mov r8d, 0x100
lea rdx, [rsp + 0x5a0]
mov ecx, dword [rsp + 0x90]
call fcn.1401da59b
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x728]
call fcn.1401df2ad
nop
lea r8, [0x1407fab20]
mov edx, 0x40a
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call fcn.1401d55f5
mov rax, qword [rsp + 0xb8]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x1404f18b1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x6f8], eax
mov eax, dword [rsp + 0x6f8]
add eax, 0x7ff6fd00
mov dword [rsp + 0x6f8], eax
cmp dword [rsp + 0x6f8], 0xe
ja case.0x1404f1926.2146893055
movsxd rax, dword [rsp + 0x6f8]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x4f1988]
add rax, rcx
jmp rax
mov eax, 0x1b
jmp 0x1404f1938
mov eax, 0x23
jmp 0x1404f1938
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_recv
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0x710
pop rdi
ret