Function at 0x14006aea0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5a0
mov rax, qword [0x1400f4c78]
xor rax, rsp
mov qword [rsp + 0x590], rax
movsxd rax, dword [rsp + 0x5c0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
lea rax, [rcx + rax + 0x258]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x128], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
xor eax, eax
test eax, eax
jne 0x14006af31
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x329]
test eax, eax
je 0x14006b0ed
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x14006af68
mov dword [rsp + 0x5c], 8
jmp 0x14006af70
mov dword [rsp + 0x5c], 0x20
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14006afee
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5b8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14006afad
mov dword [rsp + 0x104], 0
jmp 0x14006afb8
mov dword [rsp + 0x104], 1
movsxd rax, dword [rsp + 0x104]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
cmp dword [rcx + rax + 0x288], 2
je 0x14006afee
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x6cb]
mov dword [rsp + 0x108], eax
jmp 0x14006b004
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x613]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
je 0x14006b026
mov eax, dword [rsp + 0x5c]
or eax, 0x1800
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14006b01b
jmp 0x14006b0eb
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14006b0a4
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5b8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14006b063
mov dword [rsp + 0x10c], 0
jmp 0x14006b06e
mov dword [rsp + 0x10c], 1
movsxd rax, dword [rsp + 0x10c]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
cmp dword [rcx + rax + 0x288], 2
je 0x14006b0a4
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x6cd]
mov dword [rsp + 0xd0], eax
jmp 0x14006b0ba
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x615]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
je 0x14006b0d9
mov eax, dword [rsp + 0x5c]
or eax, 0x1a00
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14006b0d1
jmp 0x14006b0eb
mov eax, dword [rsp + 0x5c]
bts eax, 9
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14006b0e5
jmp 0x14006b0fb
mov dword [rsp + 0x5c], 0x1808
xor eax, eax
test eax, eax
jne 0x14006b0f5
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x32a]
test eax, eax
jne 0x14006b11f
mov eax, dword [rsp + 0x5c]
or eax, 4
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14006b119
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14006b19d
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5b8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14006b15c
mov dword [rsp + 0xd4], 0
jmp 0x14006b167
mov dword [rsp + 0xd4], 1
movsxd rax, dword [rsp + 0xd4]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
cmp dword [rcx + rax + 0x288], 2
je 0x14006b19d
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x6cf]
mov dword [rsp + 0xd8], eax
jmp 0x14006b1b3
mov rax, qword [rsp + 0x5b0]
movzx eax, byte [rax + 0x617]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
jne 0x14006b1db
mov eax, dword [rsp + 0x5c]
and eax, 0xffffffbf
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
or eax, 0x10
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14006b1d3
jmp 0x14006b1e1
xor eax, eax
test eax, eax
jne 0x14006b1db
mov rax, qword [rsp + 0x5b8]
mov eax, dword [rax + 0x2c0]
mov dword [rsp + 0xdc], eax
cmp dword [rsp + 0xdc], 7
ja case.default.0x14006b219
movsxd rax, dword [rsp + 0xdc]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x6c8f4]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x5b8]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0xb4]
call fcn.140069dc0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14006b24c
mov eax, dword [rsp + 0x68]
jmp 0x14006c8db
jmp 0x14006b28a
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 4
jmp 0x14006c8db
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 0x23
jmp 0x14006c8db
mov rax, qword [rsp + 0x5b0]
cmp qword [rax + 0x580], 0
jne 0x14006b2b2
mov rax, qword [rsp + 0x5b0]
cmp qword [rax + 0x5a8], 0
je 0x14006bc84
mov dword [rsp + 0xac], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x110], 0
mov rax, qword [rsp + 0x5b0]
cmp qword [rax + 0x5a8], 0
je 0x14006b324
mov dword [rsp + 0xe0], 1
jmp 0x14006b32f
mov dword [rsp + 0xe0], 0
cmp dword [rsp + 0xe0], 0
jne 0x14006b346
mov dword [rsp + 0xe4], 0
jmp 0x14006b351
mov dword [rsp + 0xe4], 1
movzx eax, byte [rsp + 0xe4]
mov byte [rsp + 0x58], al
mov qword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14006b3a9
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax + 0x5a8]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax + 0x5a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x110], rax
jmp 0x14006b4a3
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 0x580]
call fcn.1400a83d8
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14006b3d4
mov eax, 0x1b
jmp 0x14006c8db
lea r9, [rsp + 0x170]
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0xac]
mov rcx, qword [rsp + 0x60]
call fcn.14006ac30
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14006b444
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x5b0]
mov rcx, qword [rcx + 0x580]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14006b444
lea rdx, [0x1400f1c9c]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 0x580]
call fcn.140068300
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x68], 0
je 0x14006b4a3
cmp qword [rsp + 0x90], 0
jne 0x14006b4a3
mov rax, qword [rsp + 0x5b0]
mov r8, qword [rax + 0x580]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
cmp qword [rsp + 0x60], 0
je 0x14006b494
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006b479
mov eax, dword [rsp + 0x68]
jmp 0x14006c8db
cmp qword [rsp + 0x90], 0
jne 0x14006b4bb
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14006b568
mov rax, qword [rsp + 0x5b0]
cmp qword [rax + 0x5e8], 0
je 0x14006b568
lea rdx, [0x1400f1cac]
mov rax, qword [rsp + 0x5b0]
mov rcx, qword [rax + 0x5e8]
call fcn.14004e640
test eax, eax
jne 0x14006b568
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14006b50a
lea rax, [0x1400f2130]
mov qword [rsp + 0x160], rax
jmp 0x14006b521
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax + 0x580]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x160]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
cmp qword [rsp + 0x60], 0
je 0x14006b558
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006b53d
mov eax, 0x3a
jmp 0x14006c8db
cmp qword [rsp + 0x90], 0
jne 0x14006b580
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14006ba9b
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xa0], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14006b5b1
lea rax, [0x1400f2180]
mov qword [rsp + 0x168], rax
jmp 0x14006b5c8
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax + 0x580]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x60], 0
je 0x14006b5f3
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006b5d8
cmp qword [rsp + 0x90], 0
je 0x14006b7c3
mov dword [rsp + 0xa8], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.140097e6c
test eax, eax
jne 0x14006b639
mov dword [rsp + 0xe8], 1
jmp 0x14006b644
mov dword [rsp + 0xe8], 0
cmp dword [rsp + 0xe8], 0
jne 0x14006b65b
mov dword [rsp + 0xec], 0
jmp 0x14006b666
mov dword [rsp + 0xec], 1
movzx eax, byte [rsp + 0xec]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14006b68f
mov rcx, qword [rsp + 0x90]
call fcn.140098578
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x14006b6a0
mov byte [rsp + 0x50], 0
jmp 0x14006b6b0
movsxd rax, dword [rsp + 0xa8]
mov qword [rsp + 0x110], rax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14006b715
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.140097e6c
test eax, eax
jne 0x14006b6dc
mov dword [rsp + 0xf0], 1
jmp 0x14006b6e7
mov dword [rsp + 0xf0], 0
cmp dword [rsp + 0xf0], 0
jne 0x14006b6fe
mov dword [rsp + 0x100], 0
jmp 0x14006b709
mov dword [rsp + 0x100], 1
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14006b73a
mov rax, qword [rsp + 0x110]
inc rax
mov rcx, rax
call qword [fcn.140095e10]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14006b76d
mov r9, qword [rsp + 0x90]
mov r8d, 1
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc0]
call fcn.1400977b4
cmp eax, 1
je 0x14006b772
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x90]
call fcn.140097bd4
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x14006b7c3
mov rax, qword [rsp + 0x5b0]
mov r8, qword [rax + 0x580]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov rcx, qword [rsp + 0xc0]
call qword [fcn.140095dfc]
mov eax, 0x3a
jmp 0x14006c8db
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1e8], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x1e0], eax
mov rax, qword [rsp + 0x5b0]
cmp qword [rax + 0x608], 0
je 0x14006b844
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax + 0x608]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x120], 0xffffffffffffffff
inc qword [rsp + 0x120]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x120]
cmp byte [rax + rcx], 0
jne 0x14006b816
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [fcn.140095e10]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14006b988
cmp qword [rsp + 0xc8], 0
jbe 0x14006b8c6
mov rax, qword [rsp + 0xc8]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xc8]
mov rax, qword [rsp + 0x5b0]
mov r8, qword [rax + 0x608]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jl 0x14006b8f8
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0xa0], eax
jg 0x14006b8f8
movsxd rax, dword [rsp + 0xa0]
xor ecx, ecx
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rax*2], cx
jmp 0x14006b90f
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0xb8]
mov word [rdx + rax], cx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140079040
movzx eax, al
test eax, eax
je 0x14006b959
mov r8d, 0x8000
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x80], rax
jmp 0x14006b97a
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xb8]
call qword [fcn.140095dfc]
movzx eax, byte [rsp + 0x58]
test eax, eax
jne 0x14006b99f
mov rcx, qword [rsp + 0xc0]
call qword [fcn.140095dfc]
cmp qword [rsp + 0x80], 0
jne 0x14006ba0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0x56
jne 0x14006b9df
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
jmp 0x14006ba03
mov r9d, dword [rsp + 0xf4]
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 0x3a
jmp 0x14006c8db
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x70], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
jne 0x14006ba96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14006c8db
jmp 0x14006bc74
mov eax, dword [rsp + 0xac]
bts eax, 0xe
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
xor edx, edx
mov ecx, 9
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14006bb40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0xac]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov rcx, qword [rsp + 0x118]
call qword [fcn.140095dfc]
cmp qword [rsp + 0x60], 0
je 0x14006bb30
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006bb15
mov eax, 0x3a
jmp 0x14006c8db
mov rcx, qword [rsp + 0x118]
call qword [fcn.140095dfc]
lea rax, [rsp + 0x470]
mov qword [rsp + 0x1f8], rax
mov dword [rsp + 0x1f0], socket
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x470]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14006bbe8
cmp qword [rsp + 0x60], 0
je 0x14006bbc8
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006bbad
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14006c8db
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x70], rax
cmp qword [rsp + 0x60], 0
je 0x14006bc43
mov rcx, qword [rsp + 0x60]
call fcn.140095dfc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14006bc28
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
jne 0x14006bc74
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14006c8db
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x128], rax
mov edx, 0x30
mov ecx, 1
call qword [str.Ho_t_]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax], 0
jne 0x14006bd0b
lea rdx, [0x1400f2278]
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
je 0x14006bce6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x70]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp qword [rsp + 0x128], 0
je 0x14006bd01
xor edx, edx
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x14006c8db
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
mov qword [rax + 0x20], rcx
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, 0x4563
xor edx, edx
mov ecx, 0xa
call fcn.140079040
movzx eax, al
test eax, eax
je 0x14006c639
mov qword [rsp + 0x148], 0
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x5a], 0
mov byte [rsp + 0x5b], 0
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x59], 0
lea rax, [rsp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
lea rax, [rsp + 0x1a8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14006be6f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5b8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14006be2d
mov dword [rsp + 0xf8], 0
jmp 0x14006be38
mov dword [rsp + 0xf8], 1
movsxd rax, dword [rsp + 0xf8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
cmp dword [rcx + rax + 0x288], 2
je 0x14006be6f
mov rax, qword [rsp + 0x5b8]
mov rax, qword [rax + 0x360]
mov qword [rsp + 0x178], rax
jmp 0x14006be86
mov rax, qword [rsp + 0x5b8]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
je 0x14006c1e5
mov dword [rsp + 0x138], 5
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 0
lea rax, [rsp + 0x450]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x5a], 1
mov byte [rsp + 0x5b], 1
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x59], 1
cmp qword [rsp + 0x98], 0
je 0x14006c1e5
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
test eax, eax
je 0x14006c1e5
mov eax, dword [rsp + 0x138]
cmp dword [rsp + 0xb0], eax
jge 0x14006c1e5
mov edx, 0x3a
mov rcx, qword [rsp + 0x98]
call fcn.14008e480
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
je 0x14006bf73
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x158]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x180], rax
jmp 0x14006bfbd
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x130], 0xffffffffffffffff
inc qword [rsp + 0x130]
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x130]
cmp byte [rax + rcx], 0
jne 0x14006bf8f
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0x1f
jbe 0x14006bff6
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 0x3b
jmp 0x14006c8db
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x450]
call fcn.140097f20
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0x20
jae 0x14006c030
jmp 0x14006c035
call fcn.14008c728
mov rax, qword [rsp + 0x188]
mov byte [rsp + rax + 0x450], 0
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14006c086
lea rax, str.TLS_AES_256_GCM_SHA384
lea rcx, [rsp + 0x450]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14006c073
inc rax
test dl, dl
jne 0x14006c060
xor eax, eax
jmp 0x14006c078
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14006c086
mov byte [rsp + 0x52], 0
jmp 0x14006c1a2
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14006c0c7
lea rax, str.TLS_AES_128_GCM_SHA256
lea rcx, [rsp + 0x450]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14006c0b4
inc rax
test dl, dl
jne 0x14006c0a1
xor eax, eax
jmp 0x14006c0b9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14006c0c7
mov byte [rsp + 0x5a], 0
jmp 0x14006c1a2
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14006c108
lea rax, str.TLS_CHACHA20_POLY1305_SHA256
lea rcx, [rsp + 0x450]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14006c0f5
inc rax
test dl, dl
jne 0x14006c0e2
xor eax, eax
jmp 0x14006c0fa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14006c108
mov byte [rsp + 0x5b], 0
jmp 0x14006c1a2
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14006c146
lea rax, str.TLS_AES_128_CCM_8_SHA256
lea rcx, [rsp + 0x450]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14006c136
inc rax
test dl, dl
jne 0x14006c123
xor eax, eax
jmp 0x14006c13b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14006c146
mov byte [rsp + 0x51], 0
jmp 0x14006c1a2
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14006c184
lea rax, str.TLS_AES_128_CCM_SHA256
lea rcx, [rsp + 0x450]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14006c174
inc rax
test dl, dl
jne 0x14006c161
xor eax, eax
jmp 0x14006c179
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14006c184
mov byte [rsp + 0x59], 0
jmp 0x14006c1a2
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 0x3b
jmp 0x14006c8db
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14006c1d0
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
jmp 0x14006bef8
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14006c230
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14006c230
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14006c230
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14006c230
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14006c230
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, 0x3b
jmp 0x14006c8db
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14006c246
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14006c35a
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1a8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1aa], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeCCM
mov qword [rsp + rax + 0x1b0], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [rsp + 0x1a8]
mov qword [rsp + rax + 0x2f0], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e8], 1
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2d8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2da], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [0x1400f2410]
mov qword [rsp + rax + 0x2e0], rcx
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x59]
cmp eax, ecx
je 0x14006c350
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14006c33c
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2f8], 0x80
jmp 0x14006c350
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2fc], 0x40
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp + 0x52]
test eax, eax
jne 0x14006c370
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14006c4d9
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1b8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1ba], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeGCM
mov qword [rsp + rax + 0x1c0], rcx
movzx eax, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x5a]
cmp eax, ecx
je 0x14006c44a
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d0], 3
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2d8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2da], cx
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14006c420
lea rax, str.SHA384
mov qword [rsp + 0x190], rax
jmp 0x14006c42f
lea rax, str.SHA256
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov qword [rsp + rax + 0x2e0], rcx
jmp 0x14006c4a2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2d8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2da], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [0x1400f2458]
mov qword [rsp + rax + 0x2e0], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [rsp + 0x1b8]
mov qword [rsp + rax + 0x2f0], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e8], 1
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14006c544
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2d8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2da], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, str.CHACHA20_POLY1305
mov qword [rsp + rax + 0x2e0], rcx
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x2b8], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x2b4], eax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x238], 1
mov dword [rsp + 0x200], 5
mov eax, dword [rsp + 0x5c]
bts eax, 0x16
mov dword [rsp + 0x234], eax
mov eax, dword [rsp + 0xb4]
not eax
mov rcx, qword [rsp + 0x240]
mov dword [rcx + 0x10], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
je 0x14006c5d1
mov dword [rsp + 0x208], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x88]
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 + 0x200]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, [0x1400f2488]
xor ecx, ecx
mov rax, qword [0x1400f5f68]
call qword [rax + 0x18]
mov dword [rsp + 0x78], eax
jmp 0x14006c804
mov rax, qword [rsp + 0x5b8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14006c6b8
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5b8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14006c676
mov dword [rsp + 0xfc], 0
jmp 0x14006c681
mov dword [rsp + 0xfc], 1
movsxd rax, dword [rsp + 0xfc]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5b8]
cmp dword [rcx + rax + 0x288], 2
je 0x14006c6b8
mov rax, qword [rsp + 0x5b8]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x198], rax
jmp 0x14006c6cf
mov rax, qword [rsp + 0x5b8]
mov rax, qword [rax + 0x2e8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x250]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x250], 4
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x298], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x288], eax
cmp qword [rsp + 0x1a0], 0
je 0x14006c769
lea r8, [rsp + 0x390]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x250]
call fcn.14006aaf0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14006c767
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov eax, dword [rsp + 0x68]
jmp 0x14006c8db
jmp 0x14006c778
mov eax, dword [rsp + 0x5c]
bts eax, 0x16
mov dword [rsp + 0x298], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
je 0x14006c7a1
mov dword [rsp + 0x254], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x88]
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 + 0x250]
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 [0x1400f5f68]
call qword [rax + 0x18]
mov dword [rsp + 0x78], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x70], 0
je 0x14006c829
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x70]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x78], 0
je 0x14006c8d9
mov r8d, 0x100
lea rdx, [rsp + 0x490]
mov ecx, dword [rsp + 0x78]
call fcn.140075e30
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x5b0]
call fcn.140046e70
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [fcn.140095dfc]
mov rax, qword [rsp + 0x88]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x14006c862
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
add eax, 0x7ff6fd00
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0xe
ja case.0x14006c8c9.2146893055
movsxd rax, dword [rsp + 0xa4]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x6c914]
add rax, rcx
jmp rax
mov eax, 0x1b
jmp 0x14006c8db
mov eax, 0x23
jmp 0x14006c8db
xor eax, eax
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.14008c600
add rsp, 0x5a0
pop rdi
ret