Function at 0x1401857f0
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 [0x140256ad8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, qword [rcx + 0x10]
mov r15, rdx
mov rdi, rcx
call fcn.140167900
mov rdx, r15
mov qword [rbp - 0x78], rax
mov rcx, rdi
mov r14, rax
call fcn.1401678e0
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov esi, ecx
mov r13, qword [rbx + 0x30]
mov qword [rbp - 0x60], r13
lea edx, [rcx + 0x20]
mov dword [rsp + 0x6c], ecx
cmp byte [r14 + 0x69], cl
je 0x140185893
cmp byte [r13 + 0x6c], sil
mov ecx, 8
cmove ecx, edx
cmp byte [rax + 0xb3], sil
je 0x14018587c
or ecx, 0x1800
jmp 0x140185898
cmp byte [rax + 0xb5], sil
je 0x14018588d
or ecx, 0x1a00
jmp 0x140185898
bts ecx, 9
jmp 0x140185898
mov ecx, 0x1808
mov r12d, ecx
or r12d, 4
cmp byte [r14 + 0x6a], sil
cmovne r12d, ecx
mov rcx, r15
cmp byte [rax + 0xb7], sil
jne 0x1401858ca
or r12d, 0x10
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
mov dword [rsp + 0x68], r12d
call fcn.14016f070
jmp 0x1401858db
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
call fcn.14016f070
mov dword [rsp + 0x68], r12d
movzx eax, byte [r14 + 0x68]
cmp eax, 7
ja case.default.0x1401858fa
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x186490]
add rcx, rdx
jmp rcx
mov r8, r15
lea rcx, [rsp + 0x6c]
mov rdx, rdi
call fcn.140187760
test eax, eax
jne 0x14018645d
mov rcx, qword [r15 + 0x538]
test rcx, rcx
jne 0x14018592d
cmp qword [r15 + 0x560], rsi
je 0x140185e01
mov r12, qword [r15 + 0x560]
xor eax, eax
mov dword [rsp + 0x54], eax
mov r14d, eax
mov qword [rbp - 0x68], rax
mov edi, eax
mov qword [rbp - 0x58], rax
mov r13d, eax
mov qword [rsp + 0x60], rax
mov ebx, eax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x70], r12
test r12, r12
je 0x140185976
mov rax, qword [r12]
mov qword [rsp + 0x60], rax
mov rax, qword [r12 + 8]
mov qword [rbp - 0x80], rax
jmp 0x1401859fb
call case.0x14016accf.1
mov rbx, rax
test rax, rax
je 0x140185e47
lea r9, [rbp - 0x58]
mov rcx, rax
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x54]
call fcn.140185640
mov edi, eax
test eax, eax
je 0x1401859f2
mov rcx, qword [r15 + 0x538]
cmp byte [rcx], sil
je 0x1401859cd
lea rdx, [0x14022aebc]
call fcn.140181840
mov r13, rax
test rax, rax
je 0x1401859cd
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x68]
jmp 0x140185a00
mov r8, qword [r15 + 0x538]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r15
call fcn.14016eee0
mov rcx, rbx
call fcn.1401b66f5
mov eax, edi
jmp 0x14018645d
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x68]
test r12, r12
je 0x140185a6a
mov rcx, qword [r15 + 0x5a8]
test rcx, rcx
je 0x140185a58
lea rdx, [0x1402318b4]
call fcn.140173f70
test eax, eax
jne 0x140185a58
lea r14, str._memory_blob_
test r12, r12
jne 0x140185a2f
mov r14, qword [r15 + 0x538]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r15
call fcn.14016eee0
test rbx, rbx
je 0x140185a4e
mov rcx, rbx
call fcn.1401b66f5
mov eax, Ordinal_60
jmp 0x14018645d
test r13, r13
jne 0x140185b78
test r12, r12
jne 0x140185b78
xor edx, edx
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov rsi, rax
test rax, rax
jne 0x140185ab7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rdi
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, r15
call fcn.14016eee0
mov rcx, rdi
call qword [fcn.1401b66f5]
jmp 0x140185a41
mov rcx, rdi
call qword [fcn.1401b66f5]
mov rcx, qword [rbp - 0x58]
lea rax, [rbp + 0x48]
xor edi, edi
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x28]
mov dword [rbp + 0x10], reloc.WS2_32.dll_sendto
lea r8d, [rdi + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140185b1f
test rbx, rbx
je 0x140185b0a
mov rcx, rbx
call fcn.1401b66f5
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14018645d
mov r9d, 0x10000
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x10]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x140185b5a
mov rcx, rbx
call fcn.1401b66f5
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140185df4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14018645d
xor eax, eax
lea r14, str._memory_blob_
mov edi, eax
mov r12d, eax
cmp qword [rsp + 0x70], rax
jne 0x140185b94
mov r14, qword [r15 + 0x538]
test rbx, rbx
je 0x140185ba3
mov rcx, rbx
call fcn.1401b66f5
xor eax, eax
test r13, r13
je 0x140185c77
xor edx, edx
mov rcx, r13
mov r12d, eax
lea r8d, [rdx + 2]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
sete bl
test bl, bl
je 0x140185c05
mov rcx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov r12d, eax
test eax, eax
jns 0x140185c05
mov r12, qword [rbp - 0x80]
xor bl, bl
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140185c38
mov rdx, r12
mov r9, r13
mov r12, qword [rsp + 0x60]
mov r8d, 1
mov rcx, r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp eax, 1
je 0x140185c3f
jmp 0x140185c3d
movsxd r12, r12d
mov qword [rbp - 0x80], r12
test bl, bl
je 0x140185bdb
xor r8d, r8d
xor edx, edx
mov rcx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
sete bl
test bl, bl
je 0x140185bdb
lea rcx, [r12 + 1]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
jmp 0x140185be0
mov r12, qword [rsp + 0x60]
xor bl, bl
mov rcx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test bl, bl
jne 0x140185c74
mov r8, qword [r15 + 0x538]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, r15
call fcn.14016eee0
mov rcx, r12
call qword [fcn.1401b66f5]
mov eax, Ordinal_60
jmp 0x14018645d
mov r12d, esi
mov rax, qword [rbp - 0x80]
mov r13, qword [rsp + 0x60]
mov dword [rbp - 0x58], eax
mov rax, qword [r15 + 0x5c8]
mov qword [rbp - 0x50], r13
test rax, rax
je 0x140185ca0
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x140185c97
lea rcx, [rdi*2 + 2]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140185d46
test rdi, rdi
je 0x140185cec
mov r8, qword [r15 + 0x5c8]
lea ecx, [rdi + 1]
mov dword [rsp + 0x28], ecx
mov r9d, edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r12d, eax
test eax, eax
js 0x140185cfc
cmp r12d, edi
jg 0x140185cfc
movsxd rax, r12d
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x140185d01
xor edi, edi
mov word [rbx], di
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1401a7010
lea rcx, [rbp - 0x58]
mov rdx, rbx
test al, al
je 0x140185d2f
mov r8d, 0x8000
jmp 0x140185d32
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov rsi, rax
call qword [fcn.1401b66f5]
jmp 0x140185d48
xor edi, edi
cmp qword [rsp + 0x70], 0
jne 0x140185d59
mov rcx, r13
call qword [fcn.1401b66f5]
test rsi, rsi
jne 0x140185d9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r15
cmp eax, 0x56
jne 0x140185d83
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14016eee0
lea eax, [rsi + 0x3a]
jmp 0x14018645d
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.14016eee0
mov eax, Ordinal_60
jmp 0x14018645d
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov edx, 0x10001
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140185df4
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_x
mov r9d, eax
mov rcx, r15
call fcn.14016eee0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14018645d
mov r14, qword [rbp - 0x78]
mov r12d, dword [rsp + 0x68]
mov r13, qword [rbp - 0x60]
mov edx, gethostbyname
lea ecx, [rdx - 0x2f]
call qword [str.Uge_]
mov qword [r13], rax
test rax, rax
jne 0x140185e51
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r15
call fcn.14016eee0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140185e37
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je 0x140185e47
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14018645d
mov dword [rax + 0x28], 1
mov rax, qword [r13]
mov qword [rax + 0x20], rsi
cmp qword [r14 + 0x20], 0
jne 0x1401862cc
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4563
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
call fcn.1401a7010
test al, al
je 0x1401862cc
xor eax, eax
lea rcx, [rbp + 0xa0]
xor esi, esi
mov qword [rbp - 0x40], rax
xor edx, edx
mov qword [rbp - 0x38], rax
mov r8d, 0x90
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x70], esi
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [r14 + 0x28]
xor eax, eax
mov word [rbp - 0x78], si
mov r12d, esi
mov qword [rbp - 0x76], rax
mov dword [rbp - 0x6e], eax
mov word [rbp - 0x6a], ax
mov word [rsp + 0x70], si
mov qword [rsp + 0x72], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
test rdi, rdi
je 0x140186268
xor ecx, ecx
mov dword [rsp + 0x54], eax
mov r14b, 1
mov qword [rbp + 0x49], rcx
mov qword [rbp + 0x51], rcx
movzx r13d, r14b
mov qword [rbp + 0x59], rcx
mov dword [rbp + 0x61], ecx
mov word [rbp + 0x65], cx
mov byte [rbp + 0x67], cl
mov byte [rbp + 0x48], al
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x52], 1
nop word [rax + rax]
cmp byte [rdi], r12b
je 0x1401860f2
cmp eax, 5
jge 0x1401860f2
mov edx, Ordinal_60
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x140185f9f
mov rbx, rax
sub rbx, rdi
jmp 0x140185fac
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x140185fa3
cmp rbx, 0x1f
ja 0x1401860d9
mov r8, rbx
lea rcx, [rbp + 0x48]
mov rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
cmp rbx, 0x20
jae 0x140186487
mov byte [rbp + rbx + 0x48], r12b
cmp byte [rsp + 0x50], r12b
je 0x140185ffa
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_256_GCM_SHA384
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140185ffa
xor dl, dl
mov byte [rsp + 0x50], dl
jmp 0x140186090
cmp byte [rsp + 0x51], r12b
je 0x140186022
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_GCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140186022
movzx edx, byte [rsp + 0x50]
xor cl, cl
mov byte [rsp + 0x51], cl
jmp 0x140186095
cmp byte [rsp + 0x52], r12b
je 0x140186051
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140186051
movzx edx, byte [rsp + 0x50]
xor r8b, r8b
movzx ecx, byte [rsp + 0x51]
mov byte [rsp + 0x52], r8b
jmp 0x14018609b
test r14b, r14b
je 0x14018606f
lea rdx, [rbp + 0x48]
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 0x14018606f
xor r14b, r14b
jmp 0x14018608b
test r13b, r13b
je 0x1401860bc
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_CCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1401860bc
xor r13b, r13b
movzx edx, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x52]
mov rdi, rsi
test rsi, rsi
je 0x1401860a7
lea rdi, [rsi + 1]
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
test rdi, rdi
jne 0x140185f70
jmp 0x140186102
lea r8, [rbp + 0x48]
mov rcx, r15
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__s
call fcn.14016eee0
mov eax, Ordinal_60
jmp 0x14018645d
lea rdx, str.schannel:_Cipher_name_too_long__not_checked
mov rcx, r15
call fcn.14016eee0
mov eax, Ordinal_60
jmp 0x14018645d
movzx r8d, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x51]
movzx edx, byte [rsp + 0x50]
lea r9, [0x140231b98]
test dl, dl
je 0x140186139
test cl, cl
je 0x140186139
test r8b, r8b
je 0x140186139
test r14b, r14b
je 0x14018613e
test r13b, r13b
je 0x140186139
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
mov rcx, r15
call fcn.14016eee0
mov eax, Ordinal_60
jmp 0x14018645d
test r14b, r14b
jne 0x140186143
test r13b, r13b
je 0x1401861a5
mov dword [rbp - 0x78], 0x200020
lea rax, str.ChainingModeCCM
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x70], 2
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x78], 0x80008
mov qword [rbp + 0x80], r9
cmp r14b, r13b
je 0x14018619f
test r14b, r14b
je 0x140186195
mov dword [rbp + 0x98], 0x80
jmp 0x14018619f
mov dword [rbp + 0x9c], 0x40
mov r12d, 1
test dl, dl
jne 0x1401861b1
test cl, cl
je 0x140186231
lea rax, str.ChainingModeGCM
mov dword [rsp + 0x70], 0x200020
mov qword [rsp + 0x78], rax
cmp dl, cl
mov eax, r12d
lea rcx, [rax + rax*2]
je 0x1401861fa
shl rcx, 4
lea r9, str.SHA384
test dl, dl
lea rax, str.SHA256
cmovne rax, r9
mov qword [rbp + rcx + 0x80], rax
mov dword [rbp + rcx + 0x70], 3
jmp 0x14018620e
shl rcx, 4
mov dword [rbp + rcx + 0x70], 2
mov qword [rbp + rcx + 0x80], r9
lea rax, [rsp + 0x70]
mov dword [rbp + rcx + 0x78], 0x80008
mov qword [rbp + rcx + 0x90], rax
inc r12d
mov dword [rbp + rcx + 0x88], 1
mov r13, qword [rbp - 0x60]
test r8b, r8b
je 0x140186266
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 esi, esi
lea rax, [rbp + 0x70]
mov dword [rbp + 0x34], r12d
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rbp], rax
mov eax, dword [rsp + 0x68]
bts eax, 0x16
mov dword [rbp - 8], 1
cmp qword [rsp + 0x58], 0
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x6c]
not eax
mov dword [rbp - 0x40], 5
mov dword [rbp + 0x30], eax
je 0x1401862b6
lea rax, [rsp + 0x58]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rax
mov rcx, qword [r13]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
jmp 0x1401863a5
mov rbx, qword [r14 + 0x20]
xor eax, eax
mov qword [rbp - 0xc], rax
mov qword [rbp + 4], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 4], rax
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbp - 8], eax
mov dword [rbp - 0x40], 4
mov dword [rbp + 8], r12d
test rbx, rbx
je 0x140186371
bt eax, 0xd
jae 0x140186325
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, r15
call fcn.14016f070
cmp qword [r14 + 0x28], 0
je 0x140186345
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, r15
call fcn.14016eee0
mov eax, Ordinal_60
jmp 0x14018645d
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140187850
mov ebx, eax
test eax, eax
je 0x14018637a
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
mov rcx, r15
call fcn.14016eee0
mov eax, ebx
jmp 0x14018645d
bts r12d, 0x16
mov dword [rbp + 8], r12d
cmp qword [rsp + 0x58], 0
je 0x140186392
lea rax, [rsp + 0x58]
mov dword [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
mov rcx, qword [r13]
xor esi, esi
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x1404bd5a0]
lea r8d, [r9 + 2]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x1401863e5
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x14018642f
mov r8d, 0x100
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.140181890
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, r15
call fcn.14016eee0
mov rcx, qword [r13]
call qword [fcn.1401b66f5]
cmp ebx, 0x80090300
mov qword [r13], rsi
mov eax, reloc.WLDAP32.dll_Ordinal_27
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne eax, ecx
jmp 0x14018645d
xor eax, eax
jmp 0x14018645d
lea rdx, str.SSL_versions_not_supported
mov rcx, r15
call fcn.14016eee0
mov eax, 4
jmp 0x14018645d
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, r15
call fcn.14016eee0
mov eax, reloc.WLDAP32.dll_Ordinal_35
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401b4da0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b4ec8
int3