Function at 0x1400381a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400eb0c8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xorps xmm0, xmm0
movsxd rax, r8d
xor r13d, r13d
mov rbx, rcx
cmp byte [rdx + 0x348], r13b
mov esi, 0x2a0
mov rdi, rdx
mov qword [rsp + 0x68], r13
lea rcx, [rax + rax*2]
mov r14, qword [rdx + rcx*8 + 0x278]
lea eax, [r13 + 8]
mov edx, dword [rdx + 0x13c]
lea r15d, [rsi + 0x18]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x70], r14
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x50], 4
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
je 0x1400382a1
cmp byte [r14 + 0x6b], r13b
mov ecx, 0x20
cmovne ecx, eax
cmp edx, 2
jne 0x140038253
cmp qword [rdi + 0x1f0], 0xffffffffffffffff
mov eax, esi
cmovne eax, r15d
cmp dword [rax + rdi], edx
je 0x140038253
movzx eax, byte [rbx + 0x70b]
jmp 0x14003825a
movzx eax, byte [rbx + 0x643]
test al, al
je 0x140038266
or ecx, 0x1800
jmp 0x1400382a6
cmp edx, 2
jne 0x140038288
cmp qword [rdi + 0x1f0], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x140038288
movzx eax, byte [rbx + 0x70d]
jmp 0x14003828f
movzx eax, byte [rbx + 0x645]
test al, al
je 0x14003829b
or ecx, 0x1a00
jmp 0x1400382a6
bts ecx, 9
jmp 0x1400382a6
mov ecx, 0x1808
mov dword [rbp - 8], ecx
cmp byte [rdi + 0x349], r13b
jne 0x1400382b8
or ecx, 4
mov dword [rbp - 8], ecx
cmp edx, 2
jne 0x1400382da
cmp qword [rdi + 0x1f0], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x1400382da
movzx eax, byte [rbx + 0x70f]
jmp 0x1400382e1
movzx eax, byte [rbx + 0x647]
test al, al
jne 0x1400382f7
and ecx, 0xffffffbf
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
or ecx, 0x10
mov dword [rbp - 8], ecx
jmp 0x1400382fe
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, rbx
mov qword [rsp + 0x348], r12
call fcn.140022ed0
movsxd rax, dword [rdi + 0x2d8]
cmp eax, 7
ja case.default.0x140038330
lea r12, sym.MZ__HOo_JPkhhJ_ap__6jT_P_6n_45G_W_bsrJ_N1_wi_
mov eax, dword [r12 + rax*4 + 0x389f0]
add rax, r12
jmp rax
mov r8, rdi
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.14003a620
test eax, eax
jne 0x1400389c5
mov ecx, dword [rdi + 0x13c]
cmp ecx, 2
jne 0x140038371
cmp qword [rdi + 0x1f0], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], ecx
je 0x140038371
mov rax, qword [rdi + 0x388]
jmp 0x140038378
mov rax, qword [rdi + 0x310]
test rax, rax
je 0x1400383cc
cmp ecx, 2
jne 0x14003839c
cmp qword [rdi + 0x1f0], 0xffffffffffffffff
cmovne rsi, r15
cmp dword [rsi + rdi], ecx
je 0x14003839c
mov rdx, qword [rdi + 0x388]
jmp 0x1400383a3
mov rdx, qword [rdi + 0x310]
lea r8, [rbp]
lea rcx, [rbp - 0x50]
call fcn.14003a530
mov edi, eax
test eax, eax
je 0x1400383cc
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, rbx
call fcn.140022df0
mov eax, edi
jmp 0x1400389c5
mov rcx, qword [rbx + 0x5a0]
test rcx, rcx
jne 0x1400383e5
cmp qword [rbx + 0x5d0], r13
je 0x1400388b0
xor edx, edx
mov dword [rsp + 0x50], r13d
mov r14d, r13d
mov qword [rsp + 0x70], r13
mov rsi, r13
mov qword [rsp + 0x78], r13
mov r12, r13
mov qword [rsp + 0x60], r13
mov r15, r13
mov qword [rsp + 0x58], r13
mov r13, qword [rbx + 0x5d0]
mov edi, edx
mov qword [rbp - 0x78], r13
test r13, r13
je 0x140038432
mov rax, qword [r13]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x58], rax
jmp 0x140038496
call fcn.140035a20
mov rdi, rax
test rax, rax
je case.0x140038995.2146893056
lea r9, [rsp + 0x78]
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140037e50
mov esi, eax
test eax, eax
je 0x140038775
mov rcx, qword [rbx + 0x5a0]
cmp byte [rcx], r12b
je 0x140038750
lea rdx, [0x1400c0eb8]
call fcn.140035be0
mov r15, rax
test rax, rax
je 0x140038750
mov r14d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x618]
test rcx, rcx
je 0x1400384dc
lea rdx, [0x1400c568c]
call fcn.140028b60
test eax, eax
jne 0x1400384dc
lea r14, str._memory_blob_
test r13, r13
jne 0x1400384c5
mov r14, qword [rbx + 0x5a0]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.140022df0
jmp 0x1400387ca
test r15, r15
jne 0x1400384ea
test r13, r13
je 0x14003877f
xor eax, eax
lea r14, str._memory_blob_
mov esi, eax
test r13, r13
jne 0x140038501
mov r14, qword [rbx + 0x5a0]
test rdi, rdi
je 0x140038510
mov rcx, rdi
call fcn.140093584
xor eax, eax
test r15, r15
je 0x1400385f2
xor edx, edx
mov rcx, r15
mov edi, eax
lea r8d, [rdx + 2]
call fcn.140093e70
test eax, eax
sete r13b
test eax, eax
jne 0x14003857f
mov rcx, r15
call fcn.14009aee4
mov edi, eax
test eax, eax
jns 0x14003857f
xor r13b, r13b
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
test rdi, rdi
je 0x1400385c1
mov r9, r15
mov r8d, 1
mov rdx, rax
mov rcx, rdi
call fcn.140093aa0
cmp eax, 1
jne 0x1400385c1
mov rcx, r15
call fcn.14008e2e0
test r13b, r13b
je 0x1400385c9
mov r13, qword [rbp - 0x78]
jmp 0x1400385f7
mov eax, edi
mov qword [rsp + 0x58], rax
test r13b, r13b
je 0x1400385ba
xor r8d, r8d
xor edx, edx
mov rcx, r15
call fcn.140093e70
test eax, eax
sete r13b
test eax, eax
jne 0x140038544
mov rcx, qword [rsp + 0x58]
inc rcx
call qword [section..data]
mov rdi, rax
mov qword [rsp + 0x60], rax
jmp 0x140038549
mov rdi, qword [rsp + 0x60]
jmp 0x14003854e
mov rcx, r15
call fcn.14008e2e0
mov r8, qword [rbx + 0x5a0]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.140022df0
mov rcx, rdi
call qword [fcn.140093584]
mov eax, 0x3a
jmp 0x1400389c5
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x638]
mov qword [rbp - 0x80], rdi
test rax, rax
je 0x140038620
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r12b
jne 0x140038617
lea rcx, [rsi*2 + 2]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14003868b
test rsi, rsi
je 0x1400386c7
mov r8, qword [rbx + 0x638]
lea ecx, [rsi + 1]
mov dword [rsp + 0x28], ecx
mov r9d, esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
push rsi
call fcn.140476ff1
test eax, eax
jns 0x1400386ca
xor edx, edx
mov word [rdi], dx
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov rdx, rdi
push rax
call fcn.140331309
mov rcx, rdi
mov r12, rax
call qword [fcn.140093584]
test r13, r13
jne 0x14003869b
mov rcx, qword [rsp + 0x60]
call qword [fcn.140093584]
test r12, r12
jne 0x1400386f1
call fcn.140349a1d
jge 0x1400386f4
mov eax, esi
mov rcx, rbx
cmp eax, 0x56
jne 0x1400386d8
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140022df0
lea eax, [r12 + 0x3a]
jmp 0x1400389c5
mov eax, r12d
cmp eax, esi
jg 0x140038669
mov eax, eax
xor edx, edx
mov word [rdi + rax*2], dx
jmp 0x14003866e
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.140022df0
mov eax, 0x3a
jmp 0x1400389c5
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor r8d, r8d
mov edx, 0x10001
mov qword [rsp + 0x20], r13
mov rcx, r12
push rcx
call fcn.1402b6f77
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14003888a
push rcx
call fcn.14033c30e
mov r8, r14
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov r9d, eax
mov rcx, rbx
call fcn.140022df0
xor edx, edx
mov rcx, r12
call fcn.140476191
jns 0x1400386ff
cmp al, byte [rax]
add byte [rax], al
jmp 0x1400389c5
mov r8, qword [rbx + 0x5a0]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.140022df0
mov rcx, rdi
call fcn.140093584
mov eax, esi
jmp 0x1400389c5
mov r14d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x20], rsi
mov r9d, r14d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 0xa]
call fcn.1400f9ace
loopne 0x1400387e7
mov esp, eax
test rax, rax
jne 0x1400387e1
call fcn.140003819
mov ecx, dword [rbx + rcx*4 - 0x32]
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, rbx
call fcn.140022df0
mov rcx, rsi
call qword [fcn.140093584]
test rdi, rdi
je 0x1400387d7
mov rcx, rdi
call fcn.140093584
mov eax, 0x3a
jmp 0x1400389c5
mov rcx, rsi
call qword [fcn.140093584]
mov rcx, qword [rsp + 0x78]
sub byte [rbx], cl
add byte [rax - 0x75], cl
and al, 0x78
lea rax, [rbp + 0xc0]
xor r13d, r13d
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea r9, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x28]
mov dword [rbp - 0x68], 0x14
lea r8d, [r13 + 4]
push rdi
call fcn.140247880
test eax, eax
jne 0x140038846
test rdi, rdi
je 0x14003873b
mov rcx, rdi
call fcn.140093584
jmp 0x14003873b
mov r9d, 0x10000
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x68]
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call fcn.1402db491
sbb dword [rax - 0x77], ecx
and al, 0x68
test rdi, rdi
je 0x140038881
mov rcx, rdi
call fcn.140093584
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14003873b
lea rax, [rsp + 0x68]
mov dword [rbp - 0x4c], 1
xor edx, edx
mov qword [rbp - 0x48], rax
mov rcx, r12
call fcn.14028f0aa
mov r14, qword cs:[rbp - 0x70]
lea r12, sym.MZ__HOo_JPkhhJ_ap__6jT_P_6n_45G_W_bsrJ_N1_wi_
mov edx, 0x28
lea ecx, [rdx - 0x27]
call qword [fcn.14008d9e8]
mov qword [r14], rax
test rax, rax
jne 0x1400388ef
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.140022df0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je case.0x140038995.2146893056
push rsi
call fcn.14035c156
mov eax, 0x1b
jmp 0x1400389c5
mov dword [rax + 0x20], 1
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov rcx, qword [r14]
xor r9d, r9d
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea r8d, [r9 + 2]
mov qword [rsp + 0x38], rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400ed1a8]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov edi, eax
test rcx, rcx
je 0x140038946
call fcn.1402b32df
test edi, edi
test edi, edi
je 0x140038997
mov r8d, 0x100
lea rdx, [rbp + 0xe0]
mov ecx, edi
call fcn.14000e360
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.140022df0
mov rcx, qword [r14]
call qword [fcn.140093584]
add edi, 0x7ff6fd00
mov qword [r14], r13
cmp edi, 0xe
ja case.0x140038995.2146893055
movsxd rax, edi
mov ecx, dword [r12 + rax*4 + 0x38a10]
add rcx, r12
jmp rcx
xor eax, eax
jmp 0x1400389c5
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.140022df0
mov eax, 4
jmp 0x1400389c5
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.140022df0
mov eax, 0x23
mov r12, qword [rsp + 0x348]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140086a70
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret