Function at 0x140042c4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], 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 [0x1400a4118]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r13d, r13d
movsxd rax, r8d
mov rbx, rcx
mov rdi, rdx
mov esi, r13d
mov qword [rbp - 0x60], rdx
mov qword [rsp + 0x58], r13
lea rcx, [rax + rax*2]
mov dword [rsp + 0x60], r13d
mov r15, qword [rdx + rcx*8 + 0x1f0]
mov qword [rbp - 0x68], r15
cmp byte [rdx + 0x289], r13b
je 0x140042cf2
mov al, byte [r15 + 0x6c]
cmp byte [rbx + 0x5e3], r13b
je 0x140042ccd
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1820
jmp 0x140042cf7
cmp byte [rbx + 0x5e5], r13b
je 0x140042ce4
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1a20
jmp 0x140042cf7
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x220
jmp 0x140042cf7
mov eax, 0x1808
mov r12d, eax
or r12d, 4
cmp byte [rdx + 0x28a], r13b
cmovne r12d, eax
cmp byte [rbx + 0x5e7], r13b
jne 0x140042d16
or r12d, 0x10
mov edx, dword [rdx + 0x220]
test edx, edx
je 0x140042d75
sub edx, 1
je 0x140042d75
sub edx, 1
je 0x140042d5c
sub edx, 1
je 0x140042d5c
sub edx, 1
je 0x140042d75
sub edx, 1
je 0x140042d75
sub edx, 1
je 0x140042d75
cmp edx, 1
je 0x140042d75
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.140035bf4
mov eax, 0x23
jmp 0x1400432a2
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.140035bf4
mov eax, 4
jmp 0x1400432a2
mov r8, rdi
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140044f3c
test eax, eax
jne 0x1400432a2
mov rcx, qword [rbx + 0x550]
test rcx, rcx
jne 0x140042da6
cmp qword [rbx + 0x578], r13
je 0x140043258
mov rax, qword [rbx + 0x578]
xor edx, edx
mov dword [rsp + 0x54], r13d
mov r15d, r13d
mov qword [rsp + 0x70], r13
mov r14, r13
mov qword [rbp - 0x80], r13
mov edi, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140042deb
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rcx
jmp 0x140042e51
call fcn.140067e08
mov rdi, rax
test rax, rax
je 0x14004329d
lea r9, [rbp - 0x80]
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x54]
call fcn.140042948
mov r14d, eax
test eax, eax
je 0x140043140
mov rcx, qword [rbx + 0x550]
cmp byte [rcx], r13b
je 0x14004311a
lea rdx, [0x1400857f4]
call fcn.1400451c8
xor edx, edx
mov r13, rax
test rax, rax
je 0x14004311a
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x5b8]
test rcx, rcx
je 0x140042e9a
lea rdx, [0x140087474]
call fcn.140038198
xor edx, edx
test eax, eax
jne 0x140042e9a
lea r14, str._memory_blob_
cmp qword [rbp - 0x70], rdx
jne 0x140042e83
mov r14, qword [rbx + 0x550]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.140035bf4
jmp 0x14004319a
mov rax, qword [rbp - 0x70]
test r13, r13
jne 0x140042eac
test rax, rax
je 0x14004314c
mov dword [rsp + 0x70], edx
mov r15, rdx
lea r14, str._memory_blob_
test rax, rax
jne 0x140042ec6
mov r14, qword [rbx + 0x550]
test rdi, rdi
je 0x140042ed5
mov rcx, rdi
call fcn.140057674
xor edx, edx
test r13, r13
je 0x140042fa9
mov dword [rsp + 0x54], edx
mov rcx, r13
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1400595c8
test eax, eax
sete dil
test eax, eax
jne 0x140042f0d
mov rcx, r13
call fcn.140059aac
xor ecx, ecx
test eax, eax
jns 0x140042f11
mov dil, cl
jmp 0x140042f47
mov eax, dword [rsp + 0x54]
mov eax, eax
mov qword [rsp + 0x68], rax
test dil, dil
je 0x140042f4c
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.1400595c8
test eax, eax
sete dil
test eax, eax
jne 0x140042f47
mov rcx, qword [rsp + 0x68]
inc rcx
call qword [fcn.14005767c]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140042f6c
mov r9, r13
mov r8d, 1
mov rdx, rax
call fcn.140058cd0
cmp eax, 1
je 0x140042f6f
xor dil, dil
mov rcx, r13
call fcn.1400592e8
xor edx, edx
test dil, dil
jne 0x140042fa9
mov r8, qword [rbx + 0x550]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.140035bf4
mov rcx, qword [rsp + 0x78]
call qword [fcn.140057674]
mov eax, 0x3a
jmp 0x1400432a2
mov rax, qword [rsp + 0x68]
mov r13, qword [rsp + 0x78]
mov dword [rbp - 0x80], eax
mov rax, qword [rbx + 0x5d8]
mov qword [rbp - 0x78], r13
test rax, rax
je 0x140042fd3
or r15, 0xffffffffffffffff
inc r15
cmp byte [rax + r15], dl
jne 0x140042fca
lea rcx, [r15*2 + 2]
call qword [fcn.14005767c]
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x140043076
test r15, r15
je 0x14004304e
mov r8, qword [rbx + 0x5d8]
lea ecx, [r15 + 1]
mov dword [rsp + 0x28], ecx
lea edx, [rax + 8]
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x140043052
mov word [rdi], si
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140048ee8
lea rcx, [rbp - 0x80]
mov rdx, rdi
test al, al
je 0x14004305f
mov r8d, 0x8000
jmp 0x140043062
mov eax, dword [rsp + 0x70]
cmp eax, r15d
jg 0x14004301d
mov eax, eax
mov word [rdi + rax*2], si
jmp 0x140043020
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rdi
mov rsi, rax
call qword [fcn.140057674]
xor eax, eax
cmp qword [rbp - 0x70], rax
jne 0x140043085
mov rcx, r13
call qword [fcn.140057674]
xor r13d, r13d
test rsi, rsi
jne 0x1400430c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, rbx
cmp eax, 0x56
jne 0x1400430af
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140035bf4
jmp 0x140042f9f
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.140035bf4
jmp 0x140042f9f
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov edx, 0x10001
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140043250
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, rbx
call fcn.140035bf4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0x140042f9f
mov r8, qword [rbx + 0x550]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.140035bf4
mov rcx, rdi
call fcn.140057674
mov eax, r14d
jmp 0x1400432a2
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x70]
jmp 0x14004314f
xor r13d, r13d
xor edx, edx
mov qword [rsp + 0x20], r14
mov r9d, r15d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov rsi, rax
test rax, rax
jne 0x1400431b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, r14
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.140035bf4
mov rcx, r14
call qword [fcn.140057674]
test rdi, rdi
je 0x140042f9f
mov rcx, rdi
call fcn.140057674
jmp 0x140042f9f
mov rcx, r14
call qword [fcn.140057674]
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x38]
mov edx, 0x28
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], r13
lea r9, [rbp + 0x38]
mov dword [rbp - 0x50], socket
lea r8d, [rdx - 0x24]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14004320c
test rdi, rdi
je 0x14004310a
mov rcx, rdi
call fcn.140057674
jmp 0x14004310a
mov r9d, 0x10000
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x50]
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 rdi, rdi
je 0x140043247
mov rcx, rdi
call fcn.140057674
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14004310a
mov rdi, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [case.0x14004d010.1]
mov qword [r15], rax
test rax, rax
jne 0x1400432cc
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.140035bf4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004328d
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je 0x14004329d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140050400
mov rbx, qword [rsp + 0x2c8]
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 [r15]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
mov qword [rax + 0x20], rsi
call fcn.140048ee8
xor edx, edx
test al, al
je 0x1400436a3
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x40]
call fcn.1400517f0
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.1400517f0
mov rdi, qword [rdi + 0x250]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r14d, r13d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x80], xmm1
test rdi, rdi
je 0x140043643
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 0x1400434fe
cmp ecx, 5
jge 0x1400434fe
mov edx, 0x3a
mov rcx, rdi
call fcn.140051cd0
mov r15, rax
test rax, rax
je 0x1400433a9
mov rsi, rax
sub rsi, rdi
jmp 0x1400433b7
or rsi, 0xffffffffffffffff
xor eax, eax
inc rsi
cmp byte [rdi + rsi], al
jne 0x1400433af
cmp rsi, 0x1f
ja 0x1400434e5
mov r8, rsi
lea rcx, [rbp + 0x38]
mov rdx, rdi
call fcn.140059100
xor eax, eax
mov byte [rbp + rsi + 0x38], al
xor esi, esi
cmp byte [rsp + 0x50], sil
je 0x140043404
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.14005fee0
test eax, eax
jne 0x140043404
mov al, byte [rsp + 0x53]
mov r8b, sil
mov byte [rsp + 0x50], sil
jmp 0x1400434b1
cmp byte [rsp + 0x51], sil
je 0x140043435
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.14005fee0
test eax, eax
jne 0x140043435
mov al, byte [rsp + 0x53]
mov r9b, sil
mov r8b, byte [rsp + 0x50]
mov byte [rsp + 0x51], sil
jmp 0x1400434b6
cmp byte [rsp + 0x52], sil
je 0x140043468
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.14005fee0
test eax, eax
jne 0x140043468
mov al, byte [rsp + 0x53]
mov r10b, sil
mov r8b, byte [rsp + 0x50]
mov r9b, byte [rsp + 0x51]
mov byte [rsp + 0x52], sil
jmp 0x1400434bb
test r13b, r13b
je 0x14004348a
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.14005fee0
test eax, eax
jne 0x14004348a
mov al, byte [rsp + 0x53]
mov r13b, sil
jmp 0x1400434ac
cmp byte [rsp + 0x53], sil
je 0x1400434dc
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.14005fee0
test eax, eax
jne 0x1400434dc
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, r15
test r15, r15
je 0x1400434c7
lea rdi, [r15 + 1]
mov ecx, dword [rsp + 0x54]
inc ecx
mov dword [rsp + 0x54], ecx
test rdi, rdi
jne 0x14004337a
jmp 0x14004350d
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
jmp 0x1400434ec
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, rbx
call fcn.140035bf4
mov eax, 0x3b
jmp 0x1400432a2
mov r10b, byte [rsp + 0x52]
mov r9b, byte [rsp + 0x51]
mov r8b, byte [rsp + 0x50]
lea rdx, [0x140087748]
test r8b, r8b
je 0x140043535
test r9b, r9b
je 0x140043535
test r10b, r10b
je 0x140043535
test r13b, r13b
je 0x14004353a
test al, al
je 0x14004353e
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x1400434ec
test r13b, r13b
jne 0x14004353e
test al, al
je 0x14004359a
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 0x140043594
test r13b, r13b
je 0x14004358a
mov dword [rbp + 0x88], 0x80
jmp 0x140043594
mov dword [rbp + 0x8c], 0x40
mov r14d, 1
xor r13d, r13d
test r8b, r8b
jne 0x1400435a7
test r9b, r9b
je 0x140043611
lea rax, str.ChainingModeGCM
mov dword [rbp - 0x80], 0x200020
mov qword [rbp - 0x78], rax
mov eax, r14d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8b, r9b
je 0x1400435dd
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 r14d
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 r15, qword [rbp - 0x68]
test r10b, r10b
je 0x140043643
mov eax, r14d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r14d
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], r14d
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 0x14004368e
lea rax, [rsp + 0x58]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rax
mov rcx, qword [r15]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
jmp 0x14004372c
mov rdi, qword [rdi + 0x248]
lea rcx, [rbp - 0x40]
mov r8d, 0x50
call fcn.1400517f0
mov eax, dword [rsp + 0x60]
mov dword [rbp - 8], eax
mov dword [rbp - 0x40], 4
mov dword [rbp + 8], r12d
test rdi, rdi
je 0x1400436fc
lea r8, [rbp + 0x60]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140044e54
mov edi, eax
test eax, eax
je 0x140043705
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, rbx
call fcn.140035bf4
mov eax, edi
jmp 0x1400432a2
bts r12d, 0x16
mov dword [rbp + 8], r12d
cmp qword [rsp + 0x58], r13
je 0x14004371c
lea rax, [rsp + 0x58]
mov dword [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
mov rcx, qword [r15]
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 [0x1400a5208]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov edi, eax
test rcx, rcx
je 0x14004376c
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test edi, edi
je 0x1400437b0
mov r8d, 0x100
lea rdx, [rbp + 0x60]
mov ecx, edi
call fcn.140047c10
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.140035bf4
mov rcx, qword [r15]
call qword [fcn.140057674]
mov qword [r15], r13
cmp edi, 0x80090300
je 0x14004329d
jmp 0x140042d52
xor eax, eax
jmp 0x1400432a2