Function at 0x14005a310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x740
lea rdi, [rsp + 0x50]
mov ecx, 0x1bc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x750]
mov rax, qword [0x1400dd4e0]
xor rax, rsp
mov qword [rsp + 0x730], rax
mov rax, qword [rsp + 0x750]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x750]
call fcn.140026870
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x750]
call fcn.140026810
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 + 0x28]
mov qword [rsp + 0xb8], rax
xor eax, eax
test eax, eax
jne 0x14005a3d1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x69]
test eax, eax
je 0x14005a480
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x14005a405
mov dword [rsp + 0x98], 8
jmp 0x14005a410
mov dword [rsp + 0x98], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb3]
test eax, eax
je 0x14005a43b
mov eax, dword [rsp + 0x98]
or eax, 0x1800
mov dword [rsp + 0x98], eax
xor eax, eax
test eax, eax
jne 0x14005a433
jmp 0x14005a47e
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb5]
test eax, eax
je 0x14005a466
mov eax, dword [rsp + 0x98]
or eax, 0x1a00
mov dword [rsp + 0x98], eax
xor eax, eax
test eax, eax
jne 0x14005a45e
jmp 0x14005a47e
mov eax, dword [rsp + 0x98]
bts eax, 9
mov dword [rsp + 0x98], eax
xor eax, eax
test eax, eax
jne 0x14005a478
jmp 0x14005a491
mov dword [rsp + 0x98], 0x1808
xor eax, eax
test eax, eax
jne 0x14005a48b
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x6a]
test eax, eax
jne 0x14005a4b5
mov eax, dword [rsp + 0x98]
or eax, 4
mov dword [rsp + 0x98], eax
xor eax, eax
test eax, eax
jne 0x14005a4af
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0xb7]
test eax, eax
jne 0x14005a4fd
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 + 0x758]
call fcn.140034730
jmp 0x14005a511
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x758]
call fcn.140034730
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x68]
mov dword [rsp + 0x6e8], eax
cmp dword [rsp + 0x6e8], 7
ja case.default.0x14005a544
movsxd rax, dword [rsp + 0x6e8]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x5bba0]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x758]
mov rdx, qword [rsp + 0x750]
lea rcx, [rsp + 0xa4]
call fcn.140059d00
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x14005a580
mov eax, dword [rsp + 0x94]
jmp 0x14005bb70
jmp 0x14005a5be
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, 4
jmp 0x14005bb70
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x14005bb70
mov rax, qword [rsp + 0x758]
cmp qword [rax + 0x548], 0
jne 0x14005a5e6
mov rax, qword [rsp + 0x758]
cmp qword [rax + 0x570], 0
je 0x14005b002
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 + 0x758]
cmp qword [rax + 0x570], 0
je 0x14005a658
mov dword [rsp + 0x6ec], 1
jmp 0x14005a663
mov dword [rsp + 0x6ec], 0
cmp dword [rsp + 0x6ec], 0
jne 0x14005a67a
mov dword [rsp + 0x6f0], 0
jmp 0x14005a685
mov dword [rsp + 0x6f0], 1
movzx eax, byte [rsp + 0x6f0]
mov byte [rsp + 0x198], al
mov qword [rsp + 0x1a0], 0
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14005a6e6
mov rax, qword [rsp + 0x758]
mov rax, qword [rax + 0x570]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x758]
mov rax, qword [rax + 0x570]
mov rax, qword [rax + 8]
mov qword [rsp + 0x190], rax
jmp 0x14005a7fe
mov rax, qword [rsp + 0x758]
mov rcx, qword [rax + 0x548]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
jne 0x14005a717
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14005bb70
lea r9, [rsp + 0x108]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xc4]
mov rcx, qword [rsp + 0x1a0]
call fcn.14005a0d0
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x14005a790
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x758]
mov rcx, qword [rcx + 0x548]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14005a790
lea rdx, [0x1400d5274]
mov rax, qword [rsp + 0x758]
mov rcx, qword [rax + 0x548]
call fcn.1400569d0
mov qword [rsp + 0x180], rax
cmp dword [rsp + 0x94], 0
je 0x14005a7fe
cmp qword [rsp + 0x180], 0
jne 0x14005a7fe
mov rax, qword [rsp + 0x758]
mov r8, qword [rax + 0x548]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x758]
call fcn.140034870
cmp qword [rsp + 0x1a0], 0
je 0x14005a7ec
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005a7c8
mov eax, dword [rsp + 0x94]
jmp 0x14005bb70
cmp qword [rsp + 0x180], 0
jne 0x14005a819
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14005a8d6
mov rax, qword [rsp + 0x758]
cmp qword [rax + 0x5b8], 0
je 0x14005a8d6
lea rdx, [0x1400d529c]
mov rax, qword [rsp + 0x758]
mov rcx, qword [rax + 0x5b8]
call fcn.14003f0c0
test eax, eax
jne 0x14005a8d6
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14005a86f
lea rax, [0x1400d5428]
mov qword [rsp + 0x6f8], rax
jmp 0x14005a886
mov rax, qword [rsp + 0x758]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x6f8], rax
mov r8, qword [rsp + 0x6f8]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x758]
call fcn.140034870
cmp qword [rsp + 0x1a0], 0
je 0x14005a8c6
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005a8a2
mov eax, Ordinal_60
jmp 0x14005bb70
cmp qword [rsp + 0x180], 0
jne 0x14005a8f1
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14005adfe
mov qword [rsp + 0x1e0], 0
mov dword [rsp + 0x1e8], 0
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14005a925
lea rax, [0x1400d5480]
mov qword [rsp + 0x700], rax
jmp 0x14005a93c
mov rax, qword [rsp + 0x758]
mov rax, qword [rax + 0x548]
mov qword [rsp + 0x700], rax
mov rax, qword [rsp + 0x700]
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x1a0], 0
je 0x14005a970
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005a94c
cmp qword [rsp + 0x180], 0
je 0x14005ab58
mov dword [rsp + 0x1f8], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x180]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x14005a9b6
mov dword [rsp + 0x708], 1
jmp 0x14005a9c1
mov dword [rsp + 0x708], 0
cmp dword [rsp + 0x708], 0
jne 0x14005a9d8
mov dword [rsp + 0x70c], 0
jmp 0x14005a9e3
mov dword [rsp + 0x70c], 1
movzx eax, byte [rsp + 0x70c]
mov byte [rsp + 0x1fc], al
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x14005aa12
mov rcx, qword [rsp + 0x180]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
jge 0x14005aa26
mov byte [rsp + 0x1fc], 0
jmp 0x14005aa36
movsxd rax, dword [rsp + 0x1f8]
mov qword [rsp + 0x190], rax
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x14005aaa1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x180]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x14005aa65
mov dword [rsp + 0x710], 1
jmp 0x14005aa70
mov dword [rsp + 0x710], 0
cmp dword [rsp + 0x710], 0
jne 0x14005aa87
mov dword [rsp + 0x714], 0
jmp 0x14005aa92
mov dword [rsp + 0x714], 1
movzx eax, byte [rsp + 0x714]
mov byte [rsp + 0x1fc], al
movzx eax, byte [rsp + 0x1fc]
test eax, eax
je 0x14005aac9
mov rax, qword [rsp + 0x190]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
je 0x14005aafc
mov r9, qword [rsp + 0x180]
mov r8d, 1
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x188]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp eax, 1
je 0x14005ab04
mov byte [rsp + 0x1fc], 0
mov rcx, qword [rsp + 0x180]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
movzx eax, byte [rsp + 0x1fc]
test eax, eax
jne 0x14005ab58
mov rax, qword [rsp + 0x758]
mov r8, qword [rax + 0x548]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov rcx, qword [rsp + 0x188]
call qword [fcn.1400b0292]
mov eax, Ordinal_60
jmp 0x14005bb70
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0x1b8], eax
mov rax, qword [rsp + 0x758]
cmp qword [rax + 0x5d8], 0
je 0x14005aba4
mov rax, qword [rsp + 0x758]
mov rcx, qword [rax + 0x5d8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x14005ace8
cmp qword [rsp + 0x1e0], 0
jbe 0x14005ac26
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 + 0x758]
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 0x14005ac58
mov eax, dword [rsp + 0x1e0]
cmp dword [rsp + 0x1e8], eax
jg 0x14005ac58
movsxd rax, dword [rsp + 0x1e8]
xor ecx, ecx
mov rdx, qword [rsp + 0x1d8]
mov word [rdx + rax*2], cx
jmp 0x14005ac6f
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.140099370
movzx eax, al
test eax, eax
je 0x14005acb9
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 0x14005acda
xor r8d, r8d
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x1d8]
call qword [fcn.1400b0292]
movzx eax, byte [rsp + 0x198]
test eax, eax
jne 0x14005ad02
mov rcx, qword [rsp + 0x188]
call qword [fcn.1400b0292]
cmp qword [rsp + 0x178], 0
jne 0x14005ad70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x200], eax
cmp dword [rsp + 0x200], 0x56
jne 0x14005ad42
mov r8, qword [rsp + 0x1f0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x758]
call fcn.140034870
jmp 0x14005ad66
mov r9d, dword [rsp + 0x200]
mov r8, qword [rsp + 0x1f0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, Ordinal_60
jmp 0x14005bb70
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 0x14005adf9
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_x
mov rcx, qword [rsp + 0x758]
call fcn.140034870
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14005bb70
jmp 0x14005aff2
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, 9
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 0
jne 0x14005aeac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe8]
mov r8d, dword [rsp + 0xc4]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov rcx, qword [rsp + 0xe8]
call qword [fcn.1400b0292]
cmp qword [rsp + 0x1a0], 0
je 0x14005ae9c
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005ae78
mov eax, Ordinal_60
jmp 0x14005bb70
mov rcx, qword [rsp + 0xe8]
call qword [fcn.1400b0292]
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, Ordinal_41
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14005af5d
cmp qword [rsp + 0x1a0], 0
je 0x14005af3d
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005af19
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14005bb70
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 0x14005afc1
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b0292
mov qword [rsp + 0x1a0], 0
xor eax, eax
test eax, eax
jne 0x14005af9d
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
jne 0x14005aff2
xor edx, edx
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14005bb70
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x88], rax
mov edx, Ordinal_50
mov ecx, 1
call qword [0x1400cf020]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rax], 0
jne 0x14005b089
lea rdx, [0x1400d5578]
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005b064
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp qword [rsp + 0x88], 0
je 0x14005b07f
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14005bb70
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 dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, 0x4563
xor edx, edx
mov ecx, 0xa
call fcn.140099370
movzx eax, al
test eax, eax
je 0x14005b948
mov qword [rsp + 0x208], 0
mov byte [rsp + 0x210], 0
mov byte [rsp + 0x211], 0
mov byte [rsp + 0x212], 0
mov byte [rsp + 0x213], 0
mov byte [rsp + 0x214], 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, Ordinal_41
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x3e8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x404], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
je 0x14005b467
mov dword [rsp + 0x408], 5
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x410], rax
mov dword [rsp + 0x418], 0
lea rax, [rsp + 0x428]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
mov byte [rsp + 0x210], 1
mov byte [rsp + 0x211], 1
mov byte [rsp + 0x212], 1
mov byte [rsp + 0x213], 1
mov byte [rsp + 0x214], 1
cmp qword [rsp + 0x410], 0
je 0x14005b467
mov rax, qword [rsp + 0x410]
movsx eax, byte [rax]
test eax, eax
je 0x14005b467
mov eax, dword [rsp + 0x408]
cmp dword [rsp + 0x418], eax
jge 0x14005b467
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x410]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x458], rax
cmp qword [rsp + 0x458], 0
je 0x14005b27d
mov rax, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x458]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x718], rax
jmp 0x14005b292
mov rcx, qword [rsp + 0x410]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x718], rax
mov rax, qword [rsp + 0x718]
mov qword [rsp + 0x460], rax
cmp qword [rsp + 0x460], 0x1f
jbe 0x14005b2cb
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, Ordinal_60
jmp 0x14005bb70
mov r8, qword [rsp + 0x460]
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x428]
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x6e0], rax
cmp qword [rsp + 0x6e0], 0x20
jae 0x14005b305
jmp 0x14005b30a
call fcn.1400af108
mov rax, qword [rsp + 0x6e0]
mov byte [rsp + rax + 0x428], 0
movzx eax, byte [rsp + 0x210]
test eax, eax
je 0x14005b34b
lea rdx, [rsp + 0x428]
lea rcx, str.TLS_AES_256_GCM_SHA384
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005b34b
mov byte [rsp + 0x210], 0
jmp 0x14005b424
movzx eax, byte [rsp + 0x211]
test eax, eax
je 0x14005b37c
lea rdx, [rsp + 0x428]
lea rcx, str.TLS_AES_128_GCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005b37c
mov byte [rsp + 0x211], 0
jmp 0x14005b424
movzx eax, byte [rsp + 0x212]
test eax, eax
je 0x14005b3aa
lea rdx, [rsp + 0x428]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005b3aa
mov byte [rsp + 0x212], 0
jmp 0x14005b424
movzx eax, byte [rsp + 0x213]
test eax, eax
je 0x14005b3d8
lea rdx, [rsp + 0x428]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005b3d8
mov byte [rsp + 0x213], 0
jmp 0x14005b424
movzx eax, byte [rsp + 0x214]
test eax, eax
je 0x14005b406
lea rdx, [rsp + 0x428]
lea rcx, str.TLS_AES_128_CCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005b406
mov byte [rsp + 0x214], 0
jmp 0x14005b424
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, Ordinal_60
jmp 0x14005bb70
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x410], rax
cmp qword [rsp + 0x410], 0
je 0x14005b452
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 0x14005b202
movzx eax, byte [rsp + 0x210]
test eax, eax
je 0x14005b4c1
movzx eax, byte [rsp + 0x211]
test eax, eax
je 0x14005b4c1
movzx eax, byte [rsp + 0x212]
test eax, eax
je 0x14005b4c1
movzx eax, byte [rsp + 0x213]
test eax, eax
je 0x14005b4c1
movzx eax, byte [rsp + 0x214]
test eax, eax
je 0x14005b4c1
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, Ordinal_60
jmp 0x14005bb70
movzx eax, byte [rsp + 0x213]
test eax, eax
jne 0x14005b4dd
movzx eax, byte [rsp + 0x214]
test eax, eax
je 0x14005b618
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x3b8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
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, [0x1400d5710]
mov qword [rsp + rax + 0x2f0], rcx
movzx eax, byte [rsp + 0x213]
movzx ecx, byte [rsp + 0x214]
cmp eax, ecx
je 0x14005b608
movzx eax, byte [rsp + 0x213]
test eax, eax
je 0x14005b5f1
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x308], 0x80
jmp 0x14005b608
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 + 0x210]
test eax, eax
jne 0x14005b634
movzx eax, byte [rsp + 0x211]
test eax, eax
je 0x14005b7ca
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x3e8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
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 + 0x210]
movzx ecx, byte [rsp + 0x211]
cmp eax, ecx
je 0x14005b723
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 + 0x210]
test eax, eax
je 0x14005b6f6
lea rax, str.SHA384
mov qword [rsp + 0x720], rax
jmp 0x14005b705
lea rax, str.SHA256
mov qword [rsp + 0x720], rax
movsxd rax, dword [rsp + 0x404]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x720]
mov qword [rsp + rax + 0x2f0], rcx
jmp 0x14005b787
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, [0x1400d5758]
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 + 0x212]
test eax, eax
je 0x14005b84a
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 0x14005b8dd
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, [0x1400d5788]
xor ecx, ecx
mov rax, qword [0x1400ddaa8]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x90], eax
jmp 0x14005ba90
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x548], rax
lea rax, [rsp + 0x560]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x560], 4
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x5a8], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x598], eax
cmp qword [rsp + 0x548], 0
je 0x14005b9ef
lea r8, [rsp + 0x480]
mov rdx, qword [rsp + 0x548]
lea rcx, [rsp + 0x560]
call fcn.140059f80
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x14005b9ed
lea rdx, str.Unable_to_set_ciphers_to_from_connection_ssl_config
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov eax, dword [rsp + 0x94]
jmp 0x14005bb70
jmp 0x14005ba01
mov eax, dword [rsp + 0x98]
bts eax, 0x16
mov dword [rsp + 0x5a8], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005ba2a
mov dword [rsp + 0x564], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x568], 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 + 0x560]
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 [0x1400ddaa8]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x90], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005bab5
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x90], 0
je 0x14005bb6e
mov r8d, 0x100
lea rdx, [rsp + 0x5d0]
mov ecx, dword [rsp + 0x90]
call fcn.140009580
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x758]
call fcn.140034870
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call qword [fcn.1400b0292]
mov rax, qword [rsp + 0xb8]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x14005baf4
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x728], eax
mov eax, dword [rsp + 0x728]
add eax, 0x7ff6fd00
mov dword [rsp + 0x728], eax
cmp dword [rsp + 0x728], 0xe
ja case.0x14005bb5e.2146893055
movsxd rax, dword [rsp + 0x728]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x5bbc0]
add rax, rcx
jmp rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14005bb70
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x14005bb70
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_recvfrom
call fcn.1400aeeb0
mov rax, rdi
mov rcx, qword [rsp + 0x730]
xor rcx, rsp
call fcn.1400ae6f0
add rsp, 0x740
pop rdi
ret