Function at 0x14004af94
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 [0x1400ac0d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r15d, r15d
movsxd rax, r8d
mov rbx, rcx
mov rdi, rdx
mov r14d, r15d
mov qword [rbp - 0x60], rdx
mov qword [rsp + 0x58], r15
lea rcx, [rax + rax*2]
mov dword [rsp + 0x60], r15d
mov rsi, qword [rdx + rcx*8 + 0x1f0]
mov qword [rbp - 0x68], rsi
cmp byte [rdx + 0x289], r15b
je 0x14004b039
mov al, byte [rsi + 0x6c]
cmp byte [rbx + 0x5e3], r15b
je 0x14004b014
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1820
jmp 0x14004b03e
cmp byte [rbx + 0x5e5], r15b
je 0x14004b02b
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x1a20
jmp 0x14004b03e
neg al
sbb eax, eax
and eax, 0xffffffe8
add eax, 0x220
jmp 0x14004b03e
mov eax, 0x1808
mov r12d, eax
or r12d, 4
cmp byte [rdx + 0x28a], r15b
cmovne r12d, eax
cmp byte [rbx + 0x5e7], r15b
jne 0x14004b05d
or r12d, 0x10
mov ecx, dword [rdx + 0x220]
test ecx, ecx
je 0x14004b0bc
sub ecx, 1
je 0x14004b0bc
sub ecx, 1
je 0x14004b0a3
sub ecx, 1
je 0x14004b0a3
sub ecx, 1
je 0x14004b0bc
sub ecx, 1
je 0x14004b0bc
sub ecx, 1
je 0x14004b0bc
cmp ecx, 1
je 0x14004b0bc
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.14003c2b4
mov eax, 0x23
jmp 0x14004b5f3
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.14003c2b4
mov eax, 4
jmp 0x14004b5f3
mov r8, rdx
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14004d27c
test eax, eax
jne 0x14004b5f3
mov rcx, qword [rbx + 0x550]
test rcx, rcx
jne 0x14004b0ed
cmp qword [rbx + 0x578], r15
je 0x14004b5ab
mov rax, qword [rbx + 0x578]
xor edx, edx
mov dword [rsp + 0x54], r15d
mov esi, edx
mov qword [rsp + 0x78], rdx
mov r13d, edx
mov qword [rbp - 0x80], rdx
mov edi, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14004b131
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rcx
jmp 0x14004b196
call fcn.140070f00
mov rdi, rax
test rax, rax
je 0x14004b5ee
lea r9, [rbp - 0x80]
mov rcx, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x54]
call fcn.14004a19c
mov esi, eax
test eax, eax
je 0x14004b49a
mov rcx, qword [rbx + 0x550]
cmp byte [rcx], r13b
je 0x14004b475
lea rdx, [0x140084bc4]
call fcn.14004d504
xor edx, edx
mov r13, rax
test rax, rax
je 0x14004b475
mov r15d, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0x5b8]
test rcx, rcx
je 0x14004b1df
lea rdx, [0x140086844]
call fcn.14003f36c
xor edx, edx
test eax, eax
jne 0x14004b1df
lea rsi, str._memory_blob_
cmp qword [rbp - 0x70], rdx
jne 0x14004b1c8
mov rsi, qword [rbx + 0x550]
mov r8, rsi
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.14003c2b4
jmp 0x14004b4ed
mov rax, qword [rbp - 0x70]
test r13, r13
jne 0x14004b1f1
test rax, rax
je 0x14004b4a4
mov dword [rsp + 0x78], edx
mov r15, rdx
lea rsi, str._memory_blob_
test rax, rax
jne 0x14004b20b
mov rsi, qword [rbx + 0x550]
test rdi, rdi
je 0x14004b21a
mov rcx, rdi
call fcn.14005d634
xor edx, edx
test r13, r13
je 0x14004b304
mov dword [rsp + 0x54], edx
mov rcx, r13
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1400628e8
test eax, eax
sete dil
test eax, eax
jne 0x14004b2b7
mov rcx, r13
call fcn.140062dcc
xor ecx, ecx
test eax, eax
jns 0x14004b2bb
mov dil, cl
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
test rax, rax
je 0x14004b278
mov rdx, rcx
mov r9, r13
mov rcx, rax
mov r8d, 1
call fcn.140061ff0
cmp eax, 1
je 0x14004b27d
xor eax, eax
mov dil, al
mov rcx, r13
call fcn.140062608
xor edx, edx
test dil, dil
jne 0x14004b304
mov r8, qword [rbx + 0x550]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.14003c2b4
mov rcx, qword [rsp + 0x68]
call qword [fcn.14005d634]
mov eax, 0x3a
jmp 0x14004b5f3
mov eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, eax
mov qword [rsp + 0x70], rcx
test dil, dil
je 0x14004b2fa
xor r8d, r8d
mov rcx, r13
call fcn.1400628e8
test eax, eax
sete dil
test eax, eax
jne 0x14004b250
mov rcx, qword [rsp + 0x70]
inc rcx
call qword [section..data]
mov qword [rsp + 0x68], rax
jmp 0x14004b255
mov rax, qword [rsp + 0x68]
jmp 0x14004b25a
mov rax, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov dword [rbp - 0x80], eax
mov rax, qword [rbx + 0x5d8]
mov qword [rbp - 0x78], r13
test rax, rax
je 0x14004b32e
or r15, 0xffffffffffffffff
inc r15
cmp byte [rax + r15], dl
jne 0x14004b325
lea rcx, [r15*2 + 2]
call qword [section..data]
xor ecx, ecx
mov rdi, rax
test rax, rax
je 0x14004b3bd
test r15, r15
je 0x14004b3f5
mov r8, qword [rbx + 0x5d8]
lea ecx, [r15 + 1]
mov dword [rsp + 0x28], ecx
mov r9d, r15d
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call fcn.14004aca4
xor ecx, ecx
test eax, eax
jns 0x14004b3f9
mov word [rdi], cx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400516a8
neg al
lea rcx, [rbp - 0x80]
mov rdx, rdi
sbb r8d, r8d
and r8d, 0x8000
call fcn.14004ad70
mov rcx, rdi
mov r14, rax
call qword [fcn.14005d634]
xor r15d, r15d
cmp qword [rbp - 0x70], r15
jne 0x14004b3cf
mov rcx, r13
call qword [fcn.14005d634]
test r14, r14
jne 0x14004b421
call fcn.14003a708
mov r8, rsi
mov rcx, rbx
cmp eax, 0x56
jne 0x14004b40d
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14003c2b4
jmp 0x14004b2ad
mov eax, dword [rsp + 0x78]
cmp eax, r15d
jg 0x14004b37b
mov eax, eax
mov word [rdi + rax*2], cx
jmp 0x14004b37e
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.14003c2b4
jmp 0x14004b2ad
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov edx, 0x10001
mov rcx, r14
call fcn.14004a4ac
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14004b5a3
call fcn.14003a708
mov r9d, eax
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov r8, rsi
mov rcx, rbx
call fcn.14003c2b4
xor edx, edx
mov rcx, r14
call fcn.14004a344
jmp 0x14004b2ad
mov r8, qword [rbx + 0x550]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.14003c2b4
mov rcx, rdi
call fcn.14005d634
mov eax, esi
jmp 0x14004b5f3
mov r15d, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x20], rsi
mov r9d, r15d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call fcn.14004a668
mov r14, rax
test rax, rax
jne 0x14004b503
call fcn.14003a708
mov r9, rsi
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.14003c2b4
mov rcx, rsi
call qword [fcn.14005d634]
test rdi, rdi
je 0x14004b2ad
mov rcx, rdi
call fcn.14005d634
jmp 0x14004b2ad
mov rcx, rsi
call qword [fcn.14005d634]
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x38]
xor r15d, r15d
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea edx, [r15 + 0x28]
mov dword [rbp - 0x50], 0x14
lea r8d, [r15 + 4]
call fcn.14004abb0
test eax, eax
jne 0x14004b560
test rdi, rdi
je 0x14004b466
mov rcx, rdi
call fcn.14005d634
jmp 0x14004b466
mov r9d, 0x10000
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x50]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call fcn.14004a4ac
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x14004b59a
mov rcx, rdi
call fcn.14005d634
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14004b466
mov rdi, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x68]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [case.0x140056238.1]
mov qword [rsi], rax
test rax, rax
jne 0x14004b61d
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.14003c2b4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004b5df
call fcn.14004a5a0
test r14, r14
je 0x14004b5ee
xor edx, edx
mov rcx, r14
call fcn.14004a344
mov eax, 0x1b
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400596d0
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 [rsi]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
mov qword [rax + 0x20], r14
call fcn.1400516a8
xor edx, edx
test al, al
je 0x14004b9f1
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14005ac40
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.14005ac40
mov rdi, qword [rdi + 0x250]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r14d, r15d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x80], xmm1
test rdi, rdi
je 0x14004b991
mov r13b, 1
mov byte [rsp + 0x50], 1
mov al, r13b
mov byte [rsp + 0x51], 1
mov ecx, r15d
mov byte [rsp + 0x53], al
mov dword [rsp + 0x54], ecx
movups xmmword [rbp + 0x38], xmm0
mov byte [rsp + 0x52], 1
movups xmmword [rbp + 0x48], xmm0
cmp byte [rdi], r15b
je 0x14004b84f
cmp ecx, 5
jge 0x14004b84f
mov edx, 0x3a
mov rcx, rdi
call fcn.14005add0
mov r15, rax
xor eax, eax
test r15, r15
je 0x14004b6fa
mov rsi, r15
sub rsi, rdi
jmp 0x14004b706
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdi + rsi], al
jne 0x14004b6fe
cmp rsi, 0x1f
ja 0x14004b836
mov r8, rsi
lea rcx, [rbp + 0x38]
mov rdx, rdi
call fcn.140062420
xor edi, edi
mov byte [rbp + rsi + 0x38], dil
cmp byte [rsp + 0x50], dil
je 0x14004b752
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.140069200
test eax, eax
jne 0x14004b752
mov al, byte [rsp + 0x53]
mov r8b, dil
mov byte [rsp + 0x50], dil
jmp 0x14004b7ff
cmp byte [rsp + 0x51], dil
je 0x14004b783
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.140069200
test eax, eax
jne 0x14004b783
mov al, byte [rsp + 0x53]
mov r9b, dil
mov r8b, byte [rsp + 0x50]
mov byte [rsp + 0x51], dil
jmp 0x14004b804
cmp byte [rsp + 0x52], dil
je 0x14004b7b6
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.140069200
test eax, eax
jne 0x14004b7b6
mov al, byte [rsp + 0x53]
mov r10b, dil
mov r8b, byte [rsp + 0x50]
mov r9b, byte [rsp + 0x51]
mov byte [rsp + 0x52], dil
jmp 0x14004b809
test r13b, r13b
je 0x14004b7d8
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.140069200
test eax, eax
jne 0x14004b7d8
mov al, byte [rsp + 0x53]
mov r13b, dil
jmp 0x14004b7fa
cmp byte [rsp + 0x53], dil
je 0x14004b82d
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.140069200
test eax, eax
jne 0x14004b82d
mov al, dil
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 0x14004b815
lea rdi, [r15 + 1]
mov ecx, dword [rsp + 0x54]
xor r15d, r15d
inc ecx
mov dword [rsp + 0x54], ecx
test rdi, rdi
jne 0x14004b6c9
jmp 0x14004b85e
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
jmp 0x14004b83d
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, rbx
call fcn.14003c2b4
mov eax, 0x3b
jmp 0x14004b5f3
mov r10b, byte [rsp + 0x52]
mov r9b, byte [rsp + 0x51]
mov r8b, byte [rsp + 0x50]
lea rdx, [0x140086b18]
test r8b, r8b
je 0x14004b886
test r9b, r9b
je 0x14004b886
test r10b, r10b
je 0x14004b886
test r13b, r13b
je 0x14004b88b
test al, al
je 0x14004b88f
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x14004b83d
test r13b, r13b
jne 0x14004b88f
test al, al
je 0x14004b8eb
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 0x14004b8e5
test r13b, r13b
je 0x14004b8db
mov dword [rbp + 0x88], 0x80
jmp 0x14004b8e5
mov dword [rbp + 0x8c], 0x40
mov r14d, 1
test r8b, r8b
jne 0x14004b8f5
test r9b, r9b
je 0x14004b95f
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 0x14004b92b
test r8b, r8b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
mov eax, r15d
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 rsi, qword [rbp - 0x68]
test r10b, r10b
je 0x14004b991
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], r15
je 0x14004b9dc
lea rax, [rsp + 0x58]
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rax
mov rcx, qword [rsi]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
jmp 0x14004ba7a
mov rdi, qword [rdi + 0x248]
lea rcx, [rbp - 0x40]
mov r8d, 0x50
call fcn.14005ac40
mov eax, dword [rsp + 0x60]
mov dword [rbp - 8], eax
mov dword [rbp - 0x40], 4
mov dword [rbp + 8], r12d
test rdi, rdi
je 0x14004ba4a
lea r8, [rbp + 0x60]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14004d194
mov edi, eax
test eax, eax
je 0x14004ba53
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, rbx
call fcn.14003c2b4
mov eax, edi
jmp 0x14004b5f3
bts r12d, 0x16
mov dword [rbp + 8], r12d
cmp qword [rsp + 0x58], r15
je 0x14004ba6a
lea rax, [rsp + 0x58]
mov dword [rbp - 0x3c], 1
mov qword [rbp - 0x38], rax
mov rcx, qword [rsi]
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], r15
xor r9d, r9d
mov qword [rsp + 0x28], r15
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400ad018]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov edi, eax
test rcx, rcx
je 0x14004bab9
call fcn.14004a5a0
test edi, edi
je 0x14004bafd
mov r8d, 0x100
lea rdx, [rbp + 0x60]
mov ecx, edi
call fcn.1400501fc
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.14003c2b4
mov rcx, qword [rsi]
call qword [fcn.14005d634]
mov qword [rsi], r15
cmp edi, 0x80090300
je 0x14004b5ee
jmp 0x14004b099
xor eax, eax
jmp 0x14004b5f3