Function at 0x14011d270
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 [0x1402d9040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x70], rdx
mov rcx, qword [rcx + 0x10]
lea r8, str.SSL_PROXY
mov rax, qword [rbx + 0x18]
cmp qword [rbx], r8
jne 0x14011d302
lea r13, [rax + 0x2f0]
lea r11, [rax + 0x2f8]
mov qword [rsp + 0x68], r13
lea rdi, [rax + 0x338]
mov qword [rsp + 0x60], r13
lea r9, [rax + 0x33a]
mov r15, r13
add rax, 0x339
lea r10, [rdx + 0x6b7]
lea r8, [rdx + 0x6b5]
add rdx, 0x6b3
jmp 0x14011d346
lea r15, [rax + 0x280]
lea r11, [rax + 0x288]
mov qword [rsp + 0x60], r15
lea rdi, [rax + 0x2c8]
mov qword [rsp + 0x68], r15
lea r9, [rax + 0x2ca]
mov r13, r15
add rax, 0x2c9
lea r10, [rdx + 0x5ff]
lea r8, [rdx + 0x5fd]
add rdx, 0x5fb
mov r14, r11
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x58], r11
xor r11d, r11d
mov qword [rbp + 0x58], r11
mov r12d, r11d
mov esi, r11d
mov rcx, qword [rcx + 0x30]
mov qword [rbp - 0x68], rcx
cmp byte [rax], r11b
je 0x14011d3ae
movzx ecx, byte [rcx + 0x6c]
cmp byte [rdx], sil
je 0x14011d387
test cl, cl
mov eax, 0x1808
mov edx, 0x1820
cmove eax, edx
jmp 0x14011d3b3
cmp byte [r8], sil
je 0x14011d39d
test cl, cl
mov eax, 0x1a08
mov edx, 0x1a20
cmove eax, edx
jmp 0x14011d3b3
test cl, cl
mov eax, 0x208
mov edx, 0x220
cmove eax, edx
jmp 0x14011d3b3
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 + 0x70]
cmove edx, eax
lea rax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [rbp - 0x70], edx
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
cmovne rdx, rax
call fcn.140115960
movzx eax, byte [rdi]
cmp eax, 7
ja case.default.0x14011d408
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x11e478]
add rax, rcx
jmp rax
mov rdx, qword [rbx + 0x18]
lea r9, str.SSL_PROXY
cmp qword [rbx], r9
mov r8d, 0x2c4
mov eax, 0x334
cmovne eax, r8d
mov r8d, 0x2c8
mov edi, dword [rax + rdx]
mov eax, 0x338
cmovne eax, r8d
movzx ebx, byte [rax + rdx]
test edi, 0xfffeffff
jne 0x14011d46c
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
call fcn.14011cfa0
test al, al
mov edi, 0x60000
mov eax, 0x70000
cmovne edi, eax
sar edi, 0x10
cmp ebx, edi
jg 0x14011d4c5
mov ecx, ebx
sub ecx, 4
je 0x14011d4bb
sub ecx, 1
je 0x14011d4b5
sub ecx, 1
je 0x14011d4af
cmp ecx, 1
jne 0x14011d4bf
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
call fcn.14011cfa0
test al, al
je 0x14011d552
bts esi, 0xd
jmp 0x14011d4bf
bts esi, 0xb
jmp 0x14011d4bf
bts esi, 9
jmp 0x14011d4bf
bts esi, 7
inc ebx
cmp ebx, edi
jle 0x14011d473
mov r11, qword [rsp + 0x70]
mov rcx, qword [r11 + 0x560]
test rcx, rcx
jne 0x14011d4e3
cmp qword [r11 + 0x588], r12
je 0x14011da33
mov r9, qword [r11 + 0x588]
xor r10d, r10d
mov qword [rbp - 0x80], r10
mov r13d, r10d
mov qword [rbp - 0x50], r10
mov r14d, r10d
mov qword [rbp - 0x58], r10
mov r15d, r10d
mov qword [rbp - 0x78], r10
mov edi, r10d
mov qword [rbp - 0x60], r10
mov qword [rbp + 0x60], r9
test r9, r9
je 0x14011d55e
mov rbx, qword [rsp + 0x58]
mov rax, qword [r9]
mov qword [rsp + 0x58], rbx
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov rbx, qword [rsp + 0x78]
mov qword [rbp - 0x78], rax
mov rax, qword [r9 + 8]
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x60], rax
jmp 0x14011d7db
lea rdx, str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x14011e43c
call fcn.14011cc70
mov rdi, rax
test rax, rax
je case.0x14011e3ef.2146893056
mov r15d, 0x5c
mov rcx, rax
mov edx, r15d
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x14011d722
mov rbx, rax
lea rdx, str.CurrentUser
sub rbx, rdi
mov rcx, rdi
sar rbx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d5b8
mov r13d, 0x10000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.LocalMachine
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d5da
mov r13d, 0x20000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.CurrentService
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d5fc
mov r13d, 0x40000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.Services
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d61b
mov r13d, 0x50000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.Users
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d63a
mov r13d, 0x60000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.CurrentUserGroupPolicy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d659
mov r13d, 0x70000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.LocalMachineGroupPolicy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d678
mov r13d, 0x80000
jmp 0x14011d699
mov r8, rbx
lea rdx, str.LocalMachineEnterprise
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14011d722
mov r13d, 0x90000
mov edx, r15d
lea rcx, [r14 + 2]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x14011d722
lea r15, [rax + 2]
mov rax, 0xffffffffffffffff
mov qword [rbp - 0x50], r15
nop dword [rax]
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14011d6c0
cmp rax, 0x28
jne 0x14011d722
lea rcx, [r14 + 2]
mov word [rbx], r12w
call qword [0x1402d9110]
mov r14, rax
mov qword [rbp - 0x80], rax
test rax, rax
mov word [rbx], 0x5c
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 + 0x78]
mov qword [rsp + 0x78], rax
jne 0x14011d87a
mov ebx, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14011d74f
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 + 0x78]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x560]
cmp byte [rcx], 0
je 0x14011e3fa
call fcn.14011cc70
lea rcx, [0x14022050c]
mov r15, rax
call fcn.14011cc70
mov r14, rax
test r15, r15
je 0x14011d796
test rax, rax
je 0x14011d796
mov rdx, rax
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov r12, rax
jmp 0x14011d7a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x2726
test r15, r15
je 0x14011d7b0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x14011d7be
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x14011e3f5
mov r14, qword [rbp - 0x80]
xor r10d, r10d
mov r15, qword [rbp - 0x50]
mov r9, qword [rbp + 0x60]
mov r11, qword [rsp + 0x70]
mov rdx, qword [r11 + 0x5d0]
test rdx, rdx
je 0x14011d868
cmp byte [rdx], 0
lea r8, [0x1402aafb0]
je 0x14011d827
lea rbx, [0x140000000]
nop
movzx eax, byte [r8]
test al, al
je 0x14011d827
movzx ecx, byte [rdx]
movzx eax, byte [rax + rbx + 0x269d90]
cmp byte [rcx + rbx + 0x269d90], al
jne 0x14011d83e
inc rdx
inc r8
cmp byte [rdx], 0
jne 0x14011d800
cmp byte [rdx], 0
mov ecx, r10d
mov eax, r10d
sete cl
cmp byte [r8], 0
setne al
cmp ecx, eax
jne 0x14011d868
lea r14, str._memory_blob_
test r9, r9
jne 0x14011d851
mov r14, qword [r11 + 0x560]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r11
call fcn.140115830
jmp 0x14011d969
test r12, r12
jne 0x14011da8b
test r9, r9
jne 0x14011da8b
xor edx, edx
mov qword [rsp + 0x20], r14
mov r9d, r13d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 0xa]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov r12, rax
test rax, rax
jne 0x14011d985
xor r15d, r15d
mov ebx, r15d
test r14, r14
je 0x14011d923
mov qword [rsp + 0x38], r15
lea r9d, [rax - 1]
mov qword [rsp + 0x30], r15
mov r8, r14
mov dword [rsp + 0x28], r15d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
test eax, eax
jle 0x14011d923
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14011d923
mov qword [rsp + 0x38], r15
lea r9d, [r12 - 1]
mov qword [rsp + 0x30], r15
mov r8, r14
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14011d923
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14011d926
mov r15, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
lea r9, str._unknown_
test r15, r15
mov dword [rsp + 0x20], eax
mov r8d, r13d
lea rdx, str.schannel:_Failed_to_open_cert_store__lx__s__last_error_is_0x_lx
cmovne r9, r15
call fcn.140115830
mov rcx, r14
call qword [fcn.14016c458]
test r15, r15
je 0x14011d969
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rdi, rdi
je 0x14011dcb2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x3a
jmp 0x14011e44b
mov rcx, r14
call qword [fcn.14016c458]
xor ebx, ebx
mov dword [rbp + 0x20], reloc.WS2_32.dll_sendto
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rbx
lea edx, [rbx + 0x28]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 4]
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x14011d9e1
test rdi, rdi
je 0x14011dd02
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14011dd02
mov r9d, 0x10000
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x20]
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rbp + 0x58], rax
test rdi, rdi
je 0x14011da1b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x14011dd02
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [case.0x14010f187.1]
mov rbx, qword [rbp - 0x68]
mov qword [rbx], rax
test rax, rax
jne 0x14011dd17
mov rcx, qword [rsp + 0x70]
lea rdx, str.schannel:_unable_to_allocate_memory
call fcn.140115830
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14011da71
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test r12, r12
je case.0x14011e3ef.2146893056
xor edx, edx
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14011e44b
lea r14, str._memory_blob_
mov rbx, r10
mov r15d, r10d
test r9, r9
jne 0x14011daa4
mov r14, qword [r11 + 0x560]
test rdi, rdi
je 0x14011dab5
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r10d, r10d
test r12, r12
je 0x14011db90
xor edx, edx
mov edi, r10d
mov rcx, r12
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
mov r15d, eax
sete r13b
test eax, eax
jne 0x14011db29
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
test eax, eax
jns 0x14011db29
mov rdi, qword [rbp - 0x60]
xor r13b, r13b
mov r15, qword [rbp - 0x78]
test r15, r15
je 0x14011db59
mov r9, r12
mov r8d, 1
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
jne 0x14011db59
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r13b, r13b
je 0x14011db62
mov r15d, ebx
jmp 0x14011db94
test r15d, r15d
jne 0x14011daf3
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
sete r13b
test eax, eax
jne 0x14011daf3
lea rcx, [rdi + 1]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x78], rax
jmp 0x14011daf7
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [rsp + 0x70]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rax
mov r8, qword [rax + 0x560]
call fcn.140115830
mov rcx, r15
call qword [fcn.14016c458]
mov eax, 0x3a
jmp 0x14011e44b
mov rdi, qword [rbp - 0x60]
mov r13, qword [rsp + 0x70]
mov r12, qword [rbp - 0x78]
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x48], edi
mov rax, qword [r13 + 0x5f0]
test rax, rax
je 0x14011dbc0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14011dbb7
lea rcx, [rbx*2 + 2]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14011dc61
test rbx, rbx
je 0x14011dc0c
mov r8, qword [r13 + 0x5f0]
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 0x14011dc1c
cmp r15d, ebx
jg 0x14011dc1c
mov eax, r15d
xor ebx, ebx
mov word [rdi + rax*2], bx
jmp 0x14011dc21
xor ebx, ebx
mov word [rdi], bx
xor edx, edx
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.14011cfa0
lea rcx, [rbp - 0x48]
mov rdx, rdi
test al, al
je 0x14011dc49
mov r8d, 0x8000
jmp 0x14011dc4c
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rdi
mov qword [rbp - 0x58], rax
call qword [fcn.14016c458]
jmp 0x14011dc63
xor ebx, ebx
cmp qword [rbp + 0x60], 0
jne 0x14011dc73
mov rcx, r12
call qword [fcn.14016c458]
mov r12, qword [rbp - 0x58]
test r12, r12
jne 0x14011dcbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r13
cmp eax, 0x56
jne 0x14011dca3
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140115830
lea eax, [r12 + 0x3a]
jmp 0x14011e44b
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_lx
call fcn.140115830
mov eax, 0x3a
jmp 0x14011e44b
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov edx, 0x10001
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rbp + 0x58], rax
test rax, rax
jne 0x14011da24
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.140115830
xor edx, edx
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14011e44b
mov dword [rax + 0x28], 1
mov rax, qword [rbx]
mov qword [rax + 0x20], r12
cmp qword [r13], 0
jne 0x14011e162
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4563
lea ecx, [rdx + 0xa]
call fcn.14011cfa0
test al, al
je 0x14011e162
mov rdi, qword [rsp + 0x78]
xor eax, eax
xorps xmm1, xmm1
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
mov qword [rbp + 0x50], rax
xor r13d, r13d
mov qword [rbp + 0x98], rax
mov rdi, qword [rdi]
mov r12d, r13d
mov dword [rbp + 0x70], r13d
mov word [rbp - 0x48], r13w
mov qword [rbp - 0x46], rax
mov dword [rbp - 0x3e], eax
mov word [rbp - 0x3a], ax
mov word [rbp + 0x60], r13w
mov qword [rbp + 0x62], rax
mov dword [rbp + 0x6a], eax
mov word [rbp + 0x6e], ax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], 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 0x14011e106
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 0x14011dfa4
cmp edx, 5
jge 0x14011dfa4
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r14, rax
test rax, rax
je 0x14011de53
mov rbx, rax
sub rbx, rdi
jmp 0x14011de69
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x14011de60
test r15b, r15b
je 0x14011de98
cmp rbx, 0x16
jne 0x14011de98
mov r8, rbx
lea rcx, str.TLS_AES_256_GCM_SHA384
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011de98
movzx eax, byte [rsp + 0x52]
xor r15b, r15b
jmp 0x14011df59
cmp byte [rsp + 0x50], r12b
je 0x14011dece
cmp rbx, 0x16
jne 0x14011dece
mov r8, rbx
lea rcx, str.TLS_AES_128_GCM_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011dece
movzx eax, byte [rsp + 0x52]
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x14011df5f
test r13b, r13b
je 0x14011defa
cmp rbx, 0x1c
jne 0x14011defa
mov r8, rbx
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011defa
movzx eax, byte [rsp + 0x52]
xor r13b, r13b
jmp 0x14011df59
cmp byte [rsp + 0x51], r12b
je 0x14011df31
cmp rbx, 0x18
jne 0x14011df31
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_8_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011df31
movzx eax, byte [rsp + 0x52]
xor cl, cl
movzx r8d, byte [rsp + 0x50]
mov byte [rsp + 0x51], cl
jmp 0x14011df64
cmp byte [rsp + 0x52], r12b
je 0x14011df83
cmp rbx, 0x16
jne 0x14011df83
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011df83
mov byte [rsp + 0x52], al
movzx r8d, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
mov rdi, r14
test r14, r14
je 0x14011df70
lea rdi, [r14 + 1]
mov edx, dword [rbp - 0x80]
inc edx
mov dword [rbp - 0x80], edx
test rdi, rdi
jne 0x14011de23
jmp 0x14011dfaf
mov rcx, qword [rsp + 0x70]
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__.s
mov r9, rdi
mov r8d, ebx
call fcn.140115830
mov eax, 0x3b
jmp 0x14011e44b
movzx ecx, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
lea rdx, [0x1402ab320]
test r15b, r15b
je 0x14011dfe8
test r8b, r8b
je 0x14011dfe8
test r13b, r13b
je 0x14011dfe8
test cl, cl
je 0x14011dfec
test al, al
je 0x14011dff0
mov rcx, qword [rsp + 0x70]
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
call fcn.140115830
mov eax, 0x3b
jmp 0x14011e44b
test cl, cl
jne 0x14011dff0
test al, al
je 0x14011e050
mov dword [rbp - 0x48], 0x200020
lea r9, str.ChainingModeCCM
mov qword [rbp - 0x40], r9
lea r9, [rbp - 0x48]
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 0x14011e04a
test cl, cl
je 0x14011e040
mov dword [rbp + 0x98], Ordinal_133
jmp 0x14011e04a
mov dword [rbp + 0x9c], Ordinal_73
mov r12d, 1
movzx eax, r8b
test r15b, r15b
jne 0x14011e05d
test al, al
je 0x14011e0ce
lea rax, str.ChainingModeGCM
mov dword [rbp + 0x60], 0x200020
mov qword [rbp + 0x68], rax
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r15b, r8b
je 0x14011e093
test r15b, r15b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
xor ebx, ebx
mov eax, ebx
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
mov rbx, qword [rbp - 0x68]
test r13b, r13b
je 0x14011e103
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 + 0x44], r12d
mov qword [rbp + 0x48], rax
not esi
lea rax, [rbp + 0x30]
mov dword [rbp + 8], 1
mov qword [rbp + 0x10], rax
mov eax, dword [rbp - 0x70]
bts eax, 0x16
mov dword [rbp - 0x30], 5
cmp qword [rbp + 0x58], 0
mov dword [rbp + 4], eax
mov dword [rbp + 0x40], esi
je 0x14011e14d
lea rax, [rbp + 0x58]
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x20], rax
mov rcx, qword [rbx]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
jmp 0x14011e35e
mov rdi, qword [r15]
xorps xmm0, xmm0
mov eax, dword [rbp - 0x70]
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 0x14011e32e
mov r12, qword [rsp + 0x70]
bt esi, 0xd
jae 0x14011e1af
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, r12
call fcn.140115960
cmp qword [r14], 0
je 0x14011e1ce
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, r12
call fcn.140115830
mov eax, 0x3b
jmp 0x14011e44b
xor r13d, r13d
mov r15d, r13d
mov r14d, r13d
cmp byte [rdi], r13b
je 0x14011e303
cmp r14, 0x2f
jge 0x14011e303
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
test eax, eax
jne 0x14011e2d6
lea edx, [rax + 0x3a]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x14011e219
sub rbx, rdi
jmp 0x14011e229
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], r13b
jne 0x14011e220
mov rcx, qword [str.CALG_MD2]
mov rsi, r13
test rcx, rcx
je 0x14011e299
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r13b
jne 0x14011e247
cmp rbx, rax
jne 0x14011e265
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14011e284
inc rsi
lea rcx, [0x140000000]
mov rax, rsi
add rax, rax
mov rcx, qword [rcx + rax*8 + 0x269fc0]
test rcx, rcx
jne 0x14011e240
jmp 0x14011e299
add rsi, rsi
lea rax, [0x140000000]
mov eax, dword [rax + rsi*8 + 0x269fc8]
test eax, eax
jne 0x14011e2d6
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.USE_STRONG_CRYPTO
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14011e2cd
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SCH_USE_STRONG_CRYPTO
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14011e315
or dword [rbp + 0x18], 0x400000
jmp 0x14011e2e1
inc r15d
mov dword [rbp + r14*4 + 0x70], eax
inc r14
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
lea rdi, [rax + 1]
cmove rdi, rax
test rdi, rdi
jne 0x14011e1d7
mov rbx, qword [rbp - 0x68]
lea rax, [rbp + 0x70]
mov qword [rbp], rax
mov dword [rbp - 8], r15d
jmp 0x14011e338
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
mov rcx, r12
call fcn.140115830
mov eax, 0x3b
jmp 0x14011e44b
bts eax, 0x16
mov dword [rbp + 0x18], eax
xor r13d, r13d
cmp qword [rbp + 0x58], 0
je 0x14011e34e
lea rax, [rbp + 0x58]
mov dword [rbp - 0x2c], 1
mov qword [rbp - 0x28], rax
mov rcx, qword [rbx]
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 [0x1402db610]
lea r8d, [r9 + 2]
call qword [rax + Ordinal_26]
mov rcx, qword [rbp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x14011e39d
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x14011e3f1
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.1400f5d20
mov rcx, qword [rsp + 0x70]
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov r8, rax
call fcn.140115830
mov rdi, qword [rbp - 0x68]
mov rcx, qword [rdi]
call qword [fcn.14016c458]
add ebx, 0x7ff6fd00
mov qword [rdi], r13
cmp ebx, 0xe
ja case.0x14011e3ef.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x11e498]
add rcx, rdx
jmp rcx
xor eax, eax
jmp 0x14011e44b
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x560]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rax
call fcn.140115830
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
jmp 0x14011e44b
mov rcx, qword [rsp + 0x70]
lea rdx, str.SSL_versions_not_supported
call fcn.140115830
mov eax, 4
jmp 0x14011e44b
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x70]
call fcn.140115830
mov eax, 0x23
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14016b380
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret