Function at 0x140125ebc
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 - 0x170]
sub rsp, 0x270
mov rax, qword [0x14018b010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rdx
mov r9, rcx
call fcn.14011744c
mov rdi, rax
mov qword [rbp - 0x60], rax
call fcn.140117444
mov rcx, qword [rcx + 0x10]
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov rdx, rax
mov esi, r13d
mov dword [rsp + 0x60], r13d
mov r14, qword [rcx + 0x28]
mov qword [rbp - 0x68], r14
cmp byte [rdi + 0x69], r13b
je 0x140125f68
mov cl, byte [r14 + 0x6c]
cmp byte [rax + 0xb3], r13b
je 0x140125f43
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1820
jmp 0x140125f6d
cmp byte [rax + 0xb5], r13b
je 0x140125f5a
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1a20
jmp 0x140125f6d
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x220
jmp 0x140125f6d
mov eax, 0x1808
mov r12d, eax
or r12d, 4
cmp byte [rdi + 0x6a], r13b
cmovne r12d, eax
cmp byte [rdx + 0xb7], r13b
jne 0x140125f89
or r12d, 0x10
movzx edx, byte [rdi + 0x68]
test edx, edx
je 0x140125fe6
sub edx, 1
je 0x140125fe6
sub edx, 1
je 0x140125fcd
sub edx, 1
je 0x140125fcd
sub edx, 1
je 0x140125fe6
sub edx, 1
je 0x140125fe6
sub edx, 1
je 0x140125fe6
cmp edx, 1
je 0x140125fe6
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.140120854
mov eax, 0x23
jmp 0x1401264d7
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.140120854
mov eax, 4
jmp 0x1401264d7
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r9
call fcn.140125554
test eax, eax
jne 0x1401264d7
mov rcx, qword [rbx + 0x528]
test rcx, rcx
jne 0x140126017
cmp qword [rbx + 0x550], r13
je 0x140126491
mov rax, qword [rbx + 0x550]
xor edx, edx
mov dword [rsp + 0x54], r13d
mov r15d, r13d
mov qword [rsp + 0x78], r13
mov r14, r13
mov qword [rbp - 0x80], r13
mov edi, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14012605c
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rcx
jmp 0x1401260c2
call case.0x14011d62c.0
mov rdi, rax
test rax, rax
je 0x1401264d2
lea r9, [rbp - 0x80]
mov rcx, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x54]
call fcn.140125d18
mov r14d, eax
test eax, eax
je 0x1401263a4
mov rcx, qword [rbx + 0x528]
cmp byte [rcx], r13b
je 0x14012637e
lea rdx, [0x14017cf34]
call fcn.140129208
xor edx, edx
mov r13, rax
test rax, rax
je 0x14012637e
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x78]
mov rcx, qword [rbx + 0x598]
test rcx, rcx
je 0x14012610b
lea rdx, [0x14017dc14]
call fcn.140122d70
xor edx, edx
test eax, eax
jne 0x14012610b
lea r14, str._memory_blob_
cmp qword [rbp - 0x70], rdx
jne 0x1401260f4
mov r14, qword [rbx + 0x528]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.140120854
jmp 0x1401263f4
mov rax, qword [rbp - 0x70]
test r13, r13
jne 0x14012611d
test rax, rax
je 0x1401263b0
mov dword [rsp + 0x78], edx
mov r15, rdx
lea r14, str._memory_blob_
test rax, rax
jne 0x140126137
mov r14, qword [rbx + 0x528]
test rdi, rdi
je 0x140126146
mov rcx, rdi
call fcn.1401472ec
xor edx, edx
test r13, r13
je 0x14012622e
mov dword [rsp + 0x54], edx
mov rcx, r13
xor edx, edx
lea r8d, [rdx + 2]
call fcn.14014eda0
test eax, eax
sete dil
test eax, eax
jne 0x1401261e1
mov rcx, r13
call fcn.14014e900
xor ecx, ecx
test eax, eax
jns 0x1401261e5
mov dil, cl
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
test rax, rax
je 0x1401261a4
mov rdx, rcx
mov r9, r13
mov rcx, rax
mov r8d, 1
call fcn.14014deb4
cmp eax, 1
je 0x1401261a7
xor dil, dil
mov rcx, r13
call fcn.14014eab8
xor edx, edx
test dil, dil
jne 0x14012622e
mov r8, qword [rbx + 0x528]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.140120854
mov rcx, qword [rsp + 0x68]
call qword [fcn.1401472ec]
mov eax, 0x3a
jmp 0x1401264d7
mov eax, dword [rsp + 0x54]
mov ecx, eax
mov qword [rsp + 0x70], rcx
test dil, dil
je 0x140126224
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14014eda0
test eax, eax
sete dil
test eax, eax
jne 0x14012617c
mov rcx, qword [rsp + 0x70]
inc rcx
call qword [fcn.1401472e4]
mov qword [rsp + 0x68], rax
jmp 0x140126181
mov rax, qword [rsp + 0x68]
jmp 0x140126186
mov rax, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov dword [rbp - 0x80], eax
mov rax, qword [rbx + 0x5b8]
mov qword [rbp - 0x78], r13
test rax, rax
je 0x140126258
or r15, 0xffffffffffffffff
inc r15
cmp byte [rax + r15], dl
jne 0x14012624f
lea rcx, [r15*2 + 2]
call qword [fcn.1401472e4]
xor ecx, ecx
mov rdi, rax
test rax, rax
je 0x1401262d9
test r15, r15
je 0x140126311
mov r8, qword [rbx + 0x5b8]
lea ecx, [r15 + 1]
mov dword [rsp + 0x28], ecx
mov r9d, r15d
mov qword [rsp + 0x20], rax
call fcn.14012499c
xor ecx, ecx
test eax, eax
jns 0x140126315
mov word [rdi], cx
xor edx, edx
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1401245f4
neg al
lea rcx, [rbp - 0x80]
mov rdx, rdi
sbb r8d, r8d
and r8d, 0x8000
call fcn.1401253b0
mov rcx, rdi
mov rsi, rax
call qword [fcn.1401472ec]
xor ecx, ecx
cmp qword [rbp - 0x70], rcx
jne 0x1401262e8
mov rcx, r13
call qword [fcn.1401472ec]
xor r13d, r13d
test rsi, rsi
jne 0x140126339
call fcn.140124928
mov r8, r14
mov rcx, rbx
cmp eax, 0x56
jne 0x140126325
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140120854
jmp 0x1401261d7
mov eax, dword [rsp + 0x78]
cmp eax, r15d
jg 0x14012629b
mov eax, eax
mov word [rdi + rax*2], cx
jmp 0x14012629e
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.140120854
jmp 0x1401261d7
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov rcx, rsi
call fcn.140125230
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140126489
call fcn.140124928
mov r9d, eax
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov r8, r14
mov rcx, rbx
call fcn.140120854
mov rcx, rsi
call fcn.14012530c
jmp 0x1401261d7
mov r8, qword [rbx + 0x528]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.140120854
mov rcx, rdi
call fcn.1401472ec
mov eax, r14d
jmp 0x1401264d7
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x78]
jmp 0x1401263b3
xor r13d, r13d
mov r9d, r15d
mov qword [rsp + 0x20], r14
bts r9d, 0xe
call fcn.1401250b8
mov rsi, rax
test rax, rax
jne 0x14012640a
call fcn.140124928
mov r9, r14
mov dword [rsp + 0x20], eax
mov r8d, r15d
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, rbx
call fcn.140120854
mov rcx, r14
call qword [fcn.1401472ec]
test rdi, rdi
je 0x1401261d7
mov rcx, rdi
call fcn.1401472ec
jmp 0x1401261d7
mov rcx, r14
call qword [fcn.1401472ec]
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x38]
mov qword [rbp - 0x48], rax
lea r9, [rbp + 0x38]
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x14
mov qword [rsp + 0x20], rax
call fcn.140124fe0
test eax, eax
jne 0x140126452
test rdi, rdi
je 0x140126371
mov rcx, rdi
call fcn.1401472ec
jmp 0x140126371
lea rax, [rbp - 0x50]
mov r9d, 0x10000
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140125230
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x140126480
mov rcx, rdi
call fcn.1401472ec
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140126371
mov rdi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x68]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [case.0x14011d62c.1]
mov qword [r14], rax
test rax, rax
jne 0x140126501
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.140120854
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401264c5
call fcn.140125168
test rsi, rsi
je 0x1401264d2
mov rcx, rsi
call fcn.14012530c
mov eax, 0x1b
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140140320
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rax + 0x28], 1
xor edx, edx
mov rax, qword [r14]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
mov qword [rax + 0x20], rsi
call fcn.1401245f4
xor edx, edx
test al, al
je 0x1401268d1
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x40]
call fcn.1401426c0
xorps xmm0, xmm0
lea rcx, [rbp + 0x60]
xor eax, eax
xor edx, edx
mov r8d, 0xc0
mov qword [rbp + 0x30], rax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call fcn.1401426c0
mov rdi, qword [rdi + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r15d, r13d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x80], xmm1
test rdi, rdi
je 0x140126871
mov ecx, r13d
mov byte [rsp + 0x50], 1
mov r13b, 1
mov dword [rsp + 0x54], ecx
mov al, r13b
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x53], al
xor esi, esi
movups xmmword [rbp + 0x38], xmm0
mov byte [rsp + 0x52], 1
movups xmmword [rbp + 0x48], xmm0
cmp byte [rdi], sil
je 0x14012672c
cmp ecx, 5
jge 0x14012672c
mov edx, 0x3a
mov rcx, rdi
call fcn.140142bd0
mov r14, rax
test rax, rax
je 0x1401265d7
mov rsi, rax
sub rsi, rdi
jmp 0x1401265e5
or rsi, 0xffffffffffffffff
xor eax, eax
inc rsi
cmp byte [rdi + rsi], al
jne 0x1401265dd
cmp rsi, 0x1f
ja 0x140126713
mov r8, rsi
lea rcx, [rbp + 0x38]
mov rdx, rdi
call fcn.14014ee50
xor eax, eax
mov byte [rbp + rsi + 0x38], al
xor esi, esi
cmp byte [rsp + 0x50], sil
je 0x140126632
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.14014c6e0
test eax, eax
jne 0x140126632
mov al, byte [rsp + 0x53]
mov r8b, sil
mov byte [rsp + 0x50], sil
jmp 0x1401266df
cmp byte [rsp + 0x51], sil
je 0x140126663
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.14014c6e0
test eax, eax
jne 0x140126663
mov al, byte [rsp + 0x53]
mov r9b, sil
mov r8b, byte [rsp + 0x50]
mov byte [rsp + 0x51], sil
jmp 0x1401266e4
cmp byte [rsp + 0x52], sil
je 0x140126696
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.14014c6e0
test eax, eax
jne 0x140126696
mov al, byte [rsp + 0x53]
mov r10b, sil
mov r8b, byte [rsp + 0x50]
mov r9b, byte [rsp + 0x51]
mov byte [rsp + 0x52], sil
jmp 0x1401266e9
test r13b, r13b
je 0x1401266b8
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.14014c6e0
test eax, eax
jne 0x1401266b8
mov al, byte [rsp + 0x53]
mov r13b, sil
jmp 0x1401266da
cmp byte [rsp + 0x53], sil
je 0x14012670a
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.14014c6e0
test eax, eax
jne 0x14012670a
mov al, sil
mov byte [rsp + 0x53], al
mov r8b, byte [rsp + 0x50]
mov r9b, byte [rsp + 0x51]
mov r10b, byte [rsp + 0x52]
mov rdi, r14
test r14, r14
je 0x1401266f5
lea rdi, [r14 + 1]
mov ecx, dword [rsp + 0x54]
inc ecx
mov dword [rsp + 0x54], ecx
test rdi, rdi
jne 0x1401265a8
jmp 0x14012673b
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
jmp 0x14012671a
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, rbx
call fcn.140120854
mov eax, 0x3b
jmp 0x1401264d7
mov r10b, byte [rsp + 0x52]
mov r9b, byte [rsp + 0x51]
mov r8b, byte [rsp + 0x50]
lea rdx, [0x14017dee8]
test r8b, r8b
je 0x140126763
test r9b, r9b
je 0x140126763
test r10b, r10b
je 0x140126763
test r13b, r13b
je 0x140126768
test al, al
je 0x14012676c
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x14012671a
test r13b, r13b
jne 0x14012676c
test al, al
je 0x1401267c8
mov dword [rbp - 0x60], 0x200020
lea rcx, str.ChainingModeCCM
mov qword [rbp - 0x58], rcx
lea rcx, [rbp - 0x60]
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x60], 2
mov dword [rbp + 0x78], 1
mov dword [rbp + 0x68], 0x80008
mov qword [rbp + 0x70], rdx
cmp r13b, al
je 0x1401267c2
test r13b, r13b
je 0x1401267b8
mov dword [rbp + 0x88], 0x80
jmp 0x1401267c2
mov dword [rbp + 0x8c], 0x40
mov r15d, 1
xor r13d, r13d
test r8b, r8b
jne 0x1401267d5
test r9b, r9b
je 0x14012683f
lea rax, str.ChainingModeGCM
mov dword [rbp - 0x80], 0x200020
mov qword [rbp - 0x78], rax
mov eax, r15d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8b, r9b
je 0x14012680b
test r8b, r8b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
mov eax, r13d
cmp r8b, r9b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x60], eax
inc r15d
mov dword [rbp + rcx*8 + 0x68], 0x80008
lea rax, [rbp - 0x80]
mov qword [rbp + rcx*8 + 0x70], rdx
mov qword [rbp + rcx*8 + 0x80], rax
mov dword [rbp + rcx*8 + 0x78], 1
mov r14, qword [rbp - 0x68]
test r10b, r10b
je 0x140126871
mov eax, r15d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r15d
mov dword [rbp + rcx*8 + 0x60], 2
mov dword [rbp + rcx*8 + 0x68], 0x240024
mov qword [rbp + rcx*8 + 0x70], rax
lea rax, [rbp + 0x60]
mov dword [rbp + 0x24], r15d
mov qword [rbp + 0x28], rax
bts r12d, 0x16
lea rax, [rbp + 0x10]
mov dword [rbp - 8], 1
mov qword [rbp], rax
mov eax, dword [rsp + 0x60]
not eax
mov dword [rbp - 0x40], 5
mov dword [rbp + 0x20], eax
mov dword [rbp - 0xc], r12d
cmp qword [rsp + 0x58], r13
je 0x1401268bc
lea rax, [rsp + 0x58]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rax
mov rcx, qword [r14]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
jmp 0x140126955
mov r8d, 0x50
lea rcx, [rbp - 0x40]
call fcn.1401426c0
mov eax, dword [rsp + 0x60]
mov dword [rbp - 8], eax
mov dword [rbp - 0x40], 4
mov dword [rbp + 8], r12d
cmp qword [rdi + 0x20], r13
je 0x140126925
mov rdx, qword [rdi + 0x20]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140125c30
mov edi, eax
test eax, eax
je 0x14012692e
lea rdx, str.Unable_to_set_ciphers_to_from_connection_ssl_config
mov rcx, rbx
call fcn.140120854
mov eax, edi
jmp 0x1401264d7
bts r12d, 0x16
mov dword [rbp + 8], r12d
cmp qword [rsp + 0x58], r13
je 0x140126945
lea rax, [rsp + 0x58]
mov dword [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
mov rcx, qword [r14]
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], r13
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x14018d610]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov edi, eax
test rcx, rcx
je 0x140126994
call fcn.140125168
test edi, edi
je 0x1401269d2
lea rdx, [rbp + 0x60]
mov ecx, edi
call fcn.140133804
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.140120854
mov rcx, qword [r14]
call qword [fcn.1401472ec]
mov qword [r14], r13
cmp edi, 0x80090300
je 0x1401264d2
jmp 0x140125fc3
xor eax, eax
jmp 0x1401264d7