Function at 0x140164f80
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 [0x140229948]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, qword [rcx + 0x10]
mov r15, rdx
mov rdi, rcx
call fcn.140147090
mov rdx, r15
mov qword [rbp - 0x78], rax
mov rcx, rdi
mov r14, rax
call fcn.140147070
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 0x140165023
cmp byte [r13 + 0x6c], sil
mov ecx, 8
cmove ecx, edx
cmp byte [rax + 0xb3], sil
je 0x14016500c
or ecx, 0x1800
jmp 0x140165028
cmp byte [rax + 0xb5], sil
je 0x14016501d
or ecx, 0x1a00
jmp 0x140165028
bts ecx, 9
jmp 0x140165028
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 0x14016505a
or r12d, 0x10
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
mov dword [rsp + 0x68], r12d
call fcn.14014e800
jmp 0x14016506b
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
call fcn.14014e800
mov dword [rsp + 0x68], r12d
movzx eax, byte [r14 + 0x68]
cmp eax, 7
ja case.default.0x14016508a
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x165c20]
add rcx, rdx
jmp rcx
mov r8, r15
lea rcx, [rsp + 0x6c]
mov rdx, rdi
call fcn.140166ef0
test eax, eax
jne 0x140165bed
mov rcx, qword [r15 + 0x538]
test rcx, rcx
jne 0x1401650bd
cmp qword [r15 + 0x560], rsi
je 0x140165591
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 0x140165106
mov rax, qword [r12]
mov qword [rsp + 0x60], rax
mov rax, qword [r12 + 8]
mov qword [rbp - 0x80], rax
jmp 0x14016518b
call case.0x14014a45f.1
mov rbx, rax
test rax, rax
je 0x1401655d7
lea r9, [rbp - 0x58]
mov rcx, rax
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x54]
call fcn.140164dd0
mov edi, eax
test eax, eax
je 0x140165182
mov rcx, qword [r15 + 0x538]
cmp byte [rcx], sil
je 0x14016515d
lea rdx, [0x1401ffd4c]
call fcn.140160fd0
mov r13, rax
test rax, rax
je 0x14016515d
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x68]
jmp 0x140165190
mov r8, qword [r15 + 0x538]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r15
call fcn.14014e670
mov rcx, rbx
call fcn.140195925
mov eax, edi
jmp 0x140165bed
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x68]
test r12, r12
je 0x1401651fa
mov rcx, qword [r15 + 0x5a8]
test rcx, rcx
je 0x1401651e8
lea rdx, [0x140206744]
call fcn.140153700
test eax, eax
jne 0x1401651e8
lea r14, str._memory_blob_
test r12, r12
jne 0x1401651bf
mov r14, qword [r15 + 0x538]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r15
call fcn.14014e670
test rbx, rbx
je 0x1401651de
mov rcx, rbx
call fcn.140195925
mov eax, Ordinal_60
jmp 0x140165bed
test r13, r13
jne 0x140165308
test r12, r12
jne 0x140165308
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 0x140165247
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.14014e670
mov rcx, rdi
call qword [fcn.140195925]
jmp 0x1401651d1
mov rcx, rdi
call qword [fcn.140195925]
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 0x1401652af
test rbx, rbx
je 0x14016529a
mov rcx, rbx
call fcn.140195925
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x140165bed
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 0x1401652ea
mov rcx, rbx
call fcn.140195925
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140165584
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x140165bed
xor eax, eax
lea r14, str._memory_blob_
mov edi, eax
mov r12d, eax
cmp qword [rsp + 0x70], rax
jne 0x140165324
mov r14, qword [r15 + 0x538]
test rbx, rbx
je 0x140165333
mov rcx, rbx
call fcn.140195925
xor eax, eax
test r13, r13
je 0x140165407
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 0x140165395
mov rcx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov r12d, eax
test eax, eax
jns 0x140165395
mov r12, qword [rbp - 0x80]
xor bl, bl
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1401653c8
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 0x1401653cf
jmp 0x1401653cd
movsxd r12, r12d
mov qword [rbp - 0x80], r12
test bl, bl
je 0x14016536b
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 0x14016536b
lea rcx, [r12 + 1]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
jmp 0x140165370
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 0x140165404
mov r8, qword [r15 + 0x538]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, r15
call fcn.14014e670
mov rcx, r12
call qword [fcn.140195925]
mov eax, Ordinal_60
jmp 0x140165bed
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 0x140165430
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x140165427
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 0x1401654d6
test rdi, rdi
je 0x14016547c
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 0x14016548c
cmp r12d, edi
jg 0x14016548c
movsxd rax, r12d
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x140165491
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.1401867a0
lea rcx, [rbp - 0x58]
mov rdx, rbx
test al, al
je 0x1401654bf
mov r8d, 0x8000
jmp 0x1401654c2
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov rsi, rax
call qword [fcn.140195925]
jmp 0x1401654d8
xor edi, edi
cmp qword [rsp + 0x70], 0
jne 0x1401654e9
mov rcx, r13
call qword [fcn.140195925]
test rsi, rsi
jne 0x14016552c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r15
cmp eax, 0x56
jne 0x140165513
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14014e670
lea eax, [rsi + 0x3a]
jmp 0x140165bed
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.14014e670
mov eax, Ordinal_60
jmp 0x140165bed
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 0x140165584
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.14014e670
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x140165bed
mov r14, qword [rbp - 0x78]
mov r12d, dword [rsp + 0x68]
mov r13, qword [rbp - 0x60]
mov edx, gethostbyname
lea ecx, [rdx - 0x2f]
call qword [0x140229270]
mov qword [r13], rax
test rax, rax
jne 0x1401655e1
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r15
call fcn.14014e670
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401655c7
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je 0x1401655d7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140165bed
mov dword [rax + 0x28], 1
mov rax, qword [r13]
mov qword [rax + 0x20], rsi
cmp qword [r14 + 0x20], 0
jne 0x140165a5c
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4563
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
call fcn.1401867a0
test al, al
je 0x140165a5c
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 0x1401659f8
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 0x140165882
cmp eax, 5
jge 0x140165882
mov edx, Ordinal_60
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x14016572f
mov rbx, rax
sub rbx, rdi
jmp 0x14016573c
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x140165733
cmp rbx, 0x1f
ja 0x140165869
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 0x140165c17
mov byte [rbp + rbx + 0x48], r12b
cmp byte [rsp + 0x50], r12b
je 0x14016578a
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 0x14016578a
xor dl, dl
mov byte [rsp + 0x50], dl
jmp 0x140165820
cmp byte [rsp + 0x51], r12b
je 0x1401657b2
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 0x1401657b2
movzx edx, byte [rsp + 0x50]
xor cl, cl
mov byte [rsp + 0x51], cl
jmp 0x140165825
cmp byte [rsp + 0x52], r12b
je 0x1401657e1
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 0x1401657e1
movzx edx, byte [rsp + 0x50]
xor r8b, r8b
movzx ecx, byte [rsp + 0x51]
mov byte [rsp + 0x52], r8b
jmp 0x14016582b
test r14b, r14b
je 0x1401657ff
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 0x1401657ff
xor r14b, r14b
jmp 0x14016581b
test r13b, r13b
je 0x14016584c
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 0x14016584c
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 0x140165837
lea rdi, [rsi + 1]
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
test rdi, rdi
jne 0x140165700
jmp 0x140165892
lea r8, [rbp + 0x48]
mov rcx, r15
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__s
call fcn.14014e670
mov eax, Ordinal_60
jmp 0x140165bed
lea rdx, str.schannel:_Cipher_name_too_long__not_checked
mov rcx, r15
call fcn.14014e670
mov eax, Ordinal_60
jmp 0x140165bed
movzx r8d, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x51]
movzx edx, byte [rsp + 0x50]
lea r9, [0x140206a28]
test dl, dl
je 0x1401658c9
test cl, cl
je 0x1401658c9
test r8b, r8b
je 0x1401658c9
test r14b, r14b
je 0x1401658ce
test r13b, r13b
je 0x1401658c9
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
mov rcx, r15
call fcn.14014e670
mov eax, Ordinal_60
jmp 0x140165bed
test r14b, r14b
jne 0x1401658d3
test r13b, r13b
je 0x140165935
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 0x14016592f
test r14b, r14b
je 0x140165925
mov dword [rbp + 0x98], 0x80
jmp 0x14016592f
mov dword [rbp + 0x9c], 0x40
mov r12d, 1
test dl, dl
jne 0x140165941
test cl, cl
je 0x1401659c1
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 0x14016598a
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 0x14016599e
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 0x1401659f6
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 0x140165a46
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 0x140165b35
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 0x140165b01
bt eax, 0xd
jae 0x140165ab5
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.14014e800
cmp qword [r14 + 0x28], 0
je 0x140165ad5
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.14014e670
mov eax, Ordinal_60
jmp 0x140165bed
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140166fe0
mov ebx, eax
test eax, eax
je 0x140165b0a
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
mov rcx, r15
call fcn.14014e670
mov eax, ebx
jmp 0x140165bed
bts r12d, 0x16
mov dword [rbp + 8], r12d
cmp qword [rsp + 0x58], 0
je 0x140165b22
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 [0x140d15250]
lea r8d, [r9 + 2]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x140165b75
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x140165bbf
mov r8d, 0x100
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.140161020
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, r15
call fcn.14014e670
mov rcx, qword [r13]
call qword [fcn.140195925]
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 0x140165bed
xor eax, eax
jmp 0x140165bed
lea rdx, str.SSL_versions_not_supported
mov rcx, r15
call fcn.14014e670
mov eax, 4
jmp 0x140165bed
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, r15
call fcn.14014e670
mov eax, reloc.WLDAP32.dll_Ordinal_35
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140194380
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.1401944a8
int3