Function at 0x1800745b8
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 [0x180364978]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov r14, rcx
call fcn.18005d864
mov rdx, rdi
mov qword [rbp - 0x60], rax
mov rcx, r14
mov r15, rax
call fcn.18005d83c
xor r8d, r8d
mov rdx, rax
mov qword [rsp + 0x58], r8
mov esi, r8d
mov r12, qword [rbx + 0x28]
mov qword [rbp - 0x68], r12
mov dword [rsp + 0x64], r8d
cmp byte [r15 + 0x69], r8b
je 0x18007466b
mov cl, byte [r12 + 0x6c]
cmp byte [rax + 0xb3], r8b
je 0x180074646
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1820
jmp 0x180074670
cmp byte [rax + 0xb5], r8b
je 0x18007465d
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1a20
jmp 0x180074670
neg cl
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x220
jmp 0x180074670
mov eax, 0x1808
mov r13d, eax
or r13d, 4
cmp byte [r15 + 0x6a], r8b
cmovne r13d, eax
mov al, byte [rdx + 0xb7]
test al, al
jne 0x18007468d
or r13d, 0x10
test al, al
mov dword [rsp + 0x60], r13d
lea rcx, str.schannel:_enabled_automatic_use_of_client_certificate
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
cmovne rdx, rcx
mov rcx, rdi
call fcn.18006419c
movzx edx, byte [r15 + 0x68]
test edx, edx
je 0x18007470c
sub edx, 1
je 0x18007470c
sub edx, 1
je 0x1800746f3
sub edx, 1
je 0x1800746f3
sub edx, 1
je 0x18007470c
sub edx, 1
je 0x18007470c
sub edx, 1
je 0x18007470c
cmp edx, 1
je 0x18007470c
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rdi
call fcn.1800640d0
mov eax, 0x23
jmp 0x180074c57
lea rdx, str.SSL_versions_not_supported
mov rcx, rdi
call fcn.1800640d0
mov eax, 4
jmp 0x180074c57
mov r8, rdi
lea rcx, [rsp + 0x64]
mov rdx, r14
call fcn.1800761d4
xor r14d, r14d
test eax, eax
jne 0x180074c57
mov rcx, qword [rdi + 0x538]
test rcx, rcx
jne 0x180074740
cmp qword [rdi + 0x560], r14
je 0x180074c0c
mov rax, qword [rdi + 0x560]
xor edx, edx
mov dword [rsp + 0x54], r14d
mov r15d, r14d
mov qword [rsp + 0x78], r14
mov r12d, edx
mov qword [rbp - 0x80], rdx
mov ebx, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x70], rax
test rax, rax
je 0x180074785
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rcx
jmp 0x1800747eb
call fcn.180071c48
mov rbx, rax
test rax, rax
je 0x180074c52
lea r9, [rbp - 0x80]
mov rcx, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x54]
call fcn.1800742a4
mov r14d, eax
test eax, eax
je 0x180074af3
mov rcx, qword [rdi + 0x538]
cmp byte [rcx], r12b
je 0x180074acd
lea rdx, [0x18033afa0]
call fcn.180071dcc
xor edx, edx
mov r12, rax
test rax, rax
je 0x180074acd
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x5a8]
test rcx, rcx
je 0x180074834
lea rdx, [0x18033f354]
call fcn.180067d9c
xor edx, edx
test eax, eax
jne 0x180074834
lea r14, str._memory_blob_
cmp qword [rbp - 0x70], rdx
jne 0x18007481d
mov r14, qword [rdi + 0x538]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rdi
call fcn.1800640d0
jmp 0x180074b48
mov rax, qword [rbp - 0x70]
test r12, r12
jne 0x180074846
test rax, rax
je 0x180074afd
mov dword [rsp + 0x78], edx
mov r15, rdx
lea r14, str._memory_blob_
test rax, rax
jne 0x180074860
mov r14, qword [rdi + 0x538]
test rbx, rbx
je 0x18007486f
mov rcx, rbx
call fcn.1800b5f60
xor edx, edx
test r12, r12
je 0x180074951
mov dword [rsp + 0x54], edx
mov rcx, r12
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1800bab4c
test eax, eax
sete bl
test eax, eax
jne 0x180074906
mov rcx, r12
call fcn.1800c6d6c
xor ecx, ecx
test eax, eax
jns 0x18007490a
mov bl, cl
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
test rax, rax
je 0x1800748cb
mov rdx, rcx
mov r9, r12
mov rcx, rax
mov r8d, 1
call fcn.1800ba764
cmp eax, 1
je 0x1800748cf
xor eax, eax
mov bl, al
mov rcx, r12
call fcn.1800b9ccc
test bl, bl
jne 0x180074951
mov r8, qword [rdi + 0x538]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rdi
call fcn.1800640d0
mov rcx, qword [rsp + 0x68]
call qword [fcn.1800b5f60]
mov eax, 0x3a
jmp 0x180074c57
mov eax, dword [rsp + 0x54]
xor r8d, r8d
mov ecx, eax
mov qword [rsp + 0x70], rcx
test bl, bl
je 0x180074947
xor edx, edx
mov rcx, r12
call fcn.1800bab4c
test eax, eax
sete bl
test eax, eax
jne 0x1800748a3
mov rcx, qword [rsp + 0x70]
inc rcx
call qword [fcn.1800b5f74]
mov qword [rsp + 0x68], rax
jmp 0x1800748a8
mov rax, qword [rsp + 0x68]
jmp 0x1800748ad
mov rcx, qword [rdi + 0x5c8]
mov r12, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x80], eax
test rcx, rcx
je 0x180074976
call fcn.1800bb450
mov r15, rax
lea rcx, [r15*2 + 2]
call qword [fcn.1800b5f74]
xor ecx, ecx
mov rbx, rax
test rax, rax
je 0x180074a12
test r15, r15
je 0x180074a4a
mov r8, qword [rdi + 0x5c8]
lea ecx, [r15 + 1]
mov dword [rsp + 0x28], ecx
mov r9d, r15d
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
jns 0x180074a4e
mov word [rbx], cx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.18007fb80
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov rdx, rbx
test al, al
je 0x1800749fe
mov r8d, 0x8000
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov rsi, rax
call qword [fcn.1800b5f60]
xor ecx, ecx
cmp qword [rbp - 0x70], rcx
jne 0x180074a23
mov rcx, r12
call qword [fcn.1800b5f60]
xor ecx, ecx
test rsi, rsi
jne 0x180074a76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, rdi
cmp eax, 0x56
jne 0x180074a62
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.1800640d0
jmp 0x1800748fc
mov eax, dword [rsp + 0x78]
cmp eax, r15d
jg 0x1800749cc
mov eax, eax
mov word [rbx + rax*2], cx
jmp 0x1800749cf
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.1800640d0
jmp 0x1800748fc
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
mov edx, 0x10001
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x180074c01
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, rdi
call fcn.1800640d0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0x1800748fc
mov r8, qword [rdi + 0x538]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rdi
call fcn.1800640d0
mov rcx, rbx
call fcn.1800b5f60
mov eax, r14d
jmp 0x180074c57
mov r15d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x20], r14
mov r9d, r15d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 0xa]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov rsi, rax
test rax, rax
jne 0x180074b5e
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, rdi
call fcn.1800640d0
mov rcx, r14
call qword [fcn.1800b5f60]
test rbx, rbx
je 0x1800748fc
mov rcx, rbx
call fcn.1800b5f60
jmp 0x1800748fc
mov rcx, r14
call qword [fcn.1800b5f60]
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x38]
xor r14d, r14d
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea edx, [r14 + 0x28]
mov dword [rbp - 0x50], socket
lea r8d, [r14 + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x180074bbc
test rbx, rbx
je 0x180074abd
mov rcx, rbx
call fcn.1800b5f60
jmp 0x180074abd
mov r9d, 0x10000
mov qword [rsp + 0x28], r14
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 rbx, rbx
je 0x180074bf7
mov rcx, rbx
call fcn.1800b5f60
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x180074c04
jmp 0x180074abd
xor r14d, r14d
mov r15, qword [rbp - 0x60]
mov r12, qword [rbp - 0x68]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [fcn.1800b5f58]
mov qword [r12], rax
test rax, rax
jne 0x180074c81
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rdi
call fcn.1800640d0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180074c42
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je 0x180074c52
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.1800ac760
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 [r12]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
mov qword [rax + 0x20], rsi
call fcn.18007fb80
xor edx, edx
test al, al
je 0x18007502e
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x40]
call fcn.1800ade70
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.1800ade70
mov rbx, qword [r15 + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov esi, r14d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x80], xmm1
test rbx, rbx
je 0x180074fce
mov r15b, 1
mov ecx, r14d
mov al, r15b
mov dword [rsp + 0x54], ecx
mov byte [rsp + 0x52], al
mov r12b, r15b
movups xmmword [rbp + 0x38], xmm0
mov byte [rsp + 0x51], r15b
movups xmmword [rbp + 0x48], xmm0
mov byte [rsp + 0x50], r15b
cmp byte [rbx], r14b
je 0x180074e8f
cmp ecx, 5
jge 0x180074e8f
mov edx, 0x3a
mov rcx, rbx
call fcn.1800af584
mov r13, rax
test rax, rax
je 0x180074d58
mov r14, rax
sub r14, rbx
jmp 0x180074d63
mov rcx, rbx
call fcn.1800bb450
mov r14, rax
cmp r14, 0x1f
ja 0x180074e76
mov r8, r14
lea rcx, [rbp + 0x38]
mov rdx, rbx
call fcn.1800c5410
xor eax, eax
mov byte [rbp + r14 + 0x38], al
xor r14d, r14d
test r15b, r15b
je 0x180074dab
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.1800bb3d0
test eax, eax
jne 0x180074dab
mov r15b, r14b
mov al, byte [rsp + 0x52]
jmp 0x180074e42
cmp byte [rsp + 0x51], r14b
je 0x180074dd4
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.1800bb3d0
test eax, eax
jne 0x180074dd4
mov al, byte [rsp + 0x52]
mov r9b, r14b
mov byte [rsp + 0x51], r14b
jmp 0x180074e47
cmp byte [rsp + 0x50], r14b
je 0x180074e02
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.1800bb3d0
test eax, eax
jne 0x180074e02
mov al, byte [rsp + 0x52]
mov r8b, r14b
mov r9b, byte [rsp + 0x51]
mov byte [rsp + 0x50], r14b
jmp 0x180074e4c
test r12b, r12b
je 0x180074e20
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.1800bb3d0
test eax, eax
jne 0x180074e20
mov r12b, r14b
jmp 0x180074da2
cmp byte [rsp + 0x52], r14b
je 0x180074e6d
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.1800bb3d0
test eax, eax
jne 0x180074e6d
mov al, r14b
mov byte [rsp + 0x52], al
mov r9b, byte [rsp + 0x51]
mov r8b, byte [rsp + 0x50]
mov rbx, r13
test r13, r13
je 0x180074e58
lea rbx, [r13 + 1]
mov ecx, dword [rsp + 0x54]
inc ecx
mov dword [rsp + 0x54], ecx
test rbx, rbx
jne 0x180074d29
jmp 0x180074e99
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
jmp 0x180074e7d
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, rdi
call fcn.1800640d0
mov eax, 0x3b
jmp 0x180074c57
mov r9b, byte [rsp + 0x51]
mov r8b, byte [rsp + 0x50]
lea rdx, [0x18033f628]
test r15b, r15b
je 0x180074ec1
test r9b, r9b
je 0x180074ec1
test r8b, r8b
je 0x180074ec1
test r12b, r12b
je 0x180074ec6
test al, al
je 0x180074eca
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x180074e7d
test r12b, r12b
jne 0x180074eca
test al, al
je 0x180074f25
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 r12b, al
je 0x180074f20
test r12b, r12b
je 0x180074f16
mov dword [rbp + 0x88], 0x80
jmp 0x180074f20
mov dword [rbp + 0x8c], 0x40
mov esi, 1
mov al, r9b
test r15b, r15b
jne 0x180074f31
test al, al
je 0x180074f99
lea rax, str.ChainingModeGCM
mov dword [rbp - 0x80], 0x200020
mov qword [rbp - 0x78], rax
mov eax, esi
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r15b, r9b
je 0x180074f66
test r15b, r15b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
mov eax, r14d
cmp r15b, r9b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x60], eax
inc esi
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 r13d, dword [rsp + 0x60]
mov r12, qword [rbp - 0x68]
test r8b, r8b
je 0x180074fce
mov eax, esi
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc esi
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], esi
mov qword [rbp + 0x28], rax
bts r13d, 0x16
lea rax, [rbp + 0x10]
mov dword [rbp - 8], 1
mov qword [rbp], rax
mov eax, dword [rsp + 0x64]
not eax
mov dword [rbp - 0x40], 5
mov dword [rbp + 0x20], eax
mov dword [rbp - 0xc], r13d
cmp qword [rsp + 0x58], r14
je 0x180075018
lea rax, [rsp + 0x58]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rax
mov rcx, qword [r12]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
jmp 0x1800750b3
mov r8d, 0x50
lea rcx, [rbp - 0x40]
call fcn.1800ade70
mov eax, dword [rsp + 0x64]
mov dword [rbp - 8], eax
mov dword [rbp - 0x40], 4
mov dword [rbp + 8], r13d
cmp qword [r15 + 0x20], r14
je 0x180075082
mov rdx, qword [r15 + 0x20]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800760ec
mov ebx, eax
test eax, eax
je 0x18007508b
lea rdx, str.Unable_to_set_ciphers_to_from_connection_ssl_config
mov rcx, rdi
call fcn.1800640d0
mov eax, ebx
jmp 0x180074c57
bts r13d, 0x16
mov dword [rbp + 8], r13d
cmp qword [rsp + 0x58], r14
je 0x1800750a2
lea rax, [rsp + 0x58]
mov dword [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
mov rcx, qword [r12]
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], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x180367e90]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x1800750f3
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x18007513e
mov r8d, 0x100
lea rdx, [rbp + 0x60]
mov ecx, ebx
call fcn.18004ef00
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rdi
call fcn.1800640d0
mov rcx, qword [r12]
call qword [fcn.1800b5f60]
mov eax, 0x1b
mov qword [r12], r14
cmp ebx, 0x80090300
lea ecx, [rax + 8]
cmovne eax, ecx
jmp 0x180074c57
xor eax, eax
jmp 0x180074c57