Function at 0x140099f00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140144098]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r13d, r13d
movsxd rax, r8d
mov r15, rcx
mov rbx, rdx
mov esi, r13d
mov qword [rbp - 0x50], rdx
mov qword [rsp + 0x58], r13
lea rcx, [rax + rax*2]
mov dword [rsp + 0x60], r13d
mov r14, qword [rdx + rcx*8 + 0x1f0]
mov qword [rbp - 0x78], r14
cmp byte [rdx + 0x289], r13b
je 0x140099fab
movzx ecx, byte [r14 + 0x6c]
cmp byte [r15 + 0x5e3], sil
je 0x140099f80
test cl, cl
mov eax, 0x1808
mov edx, 0x1820
cmove eax, edx
jmp 0x140099fb0
cmp byte [r15 + 0x5e5], sil
je 0x140099f9a
test cl, cl
mov eax, 0x1a08
mov edx, 0x1a20
cmove eax, edx
jmp 0x140099fb0
test cl, cl
mov eax, 0x208
mov edx, 0x220
cmove eax, edx
jmp 0x140099fb0
mov eax, 0x1808
mov edi, eax
or edi, 4
cmp byte [rbx + 0x28a], sil
cmovne edi, eax
mov eax, edi
or eax, 0x10
cmp byte [r15 + 0x5e7], sil
cmove edi, eax
movsxd rax, dword [rbx + 0x220]
mov dword [rsp + 0x70], edi
cmp eax, 7
ja case.default.0x140099ff3
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x9aabc]
add rax, rcx
jmp rax
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.14009c410
test eax, eax
jne 0x14009a774
mov rcx, qword [r15 + 0x550]
mov qword [rsp + 0x2d8], r12
test rcx, rcx
jne 0x14009a02e
cmp qword [r15 + 0x578], rsi
je 0x14009a514
xor edx, edx
mov dword [rsp + 0x54], r13d
mov r14d, r13d
mov qword [rbp - 0x80], r13
mov rdi, r13
mov qword [rbp - 0x70], r13
mov r12, r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov ebx, edx
mov r13, qword [r15 + 0x578]
mov qword [rbp - 0x60], r13
test r13, r13
je 0x14009a076
mov rax, qword [r13]
mov qword [rsp + 0x68], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x78], rax
jmp 0x14009a0d7
call fcn.1400f451c
mov rbx, rax
test rax, rax
je case.0x14009aa74.2146893056
lea r9, [rbp - 0x70]
mov rcx, rax
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x54]
call fcn.140099bd0
mov edi, eax
test eax, eax
je 0x14009a3fb
mov rcx, qword [r15 + 0x550]
cmp byte [rcx], sil
je 0x14009a3d6
lea rdx, [0x14011dfd4]
call fcn.14009c6f0
mov r12, rax
test rax, rax
je 0x14009a3d6
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x80]
mov rcx, qword [r15 + 0x5b8]
test rcx, rcx
je 0x14009a11d
lea rdx, [0x14011fc14]
call fcn.14008dc90
test eax, eax
jne 0x14009a11d
lea r14, str._memory_blob_
test r13, r13
jne 0x14009a106
mov r14, qword [r15 + 0x550]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r15
call fcn.14008afe0
jmp 0x14009a44f
test r12, r12
jne 0x14009a12b
test r13, r13
je 0x14009a404
xor eax, eax
lea r14, str._memory_blob_
mov edi, eax
test r13, r13
jne 0x14009a142
mov r14, qword [r15 + 0x550]
test rbx, rbx
je 0x14009a151
mov rcx, rbx
call fcn.1400baeb8
xor eax, eax
test r12, r12
je 0x14009a2f0
xor edx, edx
mov ebx, eax
mov rcx, r12
lea r8d, [rdx + 2]
call fcn.1400d77dc
test eax, eax
sete r13b
test eax, eax
jne 0x14009a285
mov rcx, r12
call fcn.1400d7d94
mov ebx, eax
test eax, eax
jns 0x14009a285
mov rbx, qword [rsp + 0x78]
xor r13b, r13b
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14009a2bd
mov r9, r12
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.1400d6d20
cmp eax, 1
jne 0x14009a2bd
mov rcx, r12
call fcn.1400d7448
test r13b, r13b
je 0x14009a2c5
mov r13, qword [rbp - 0x60]
mov rax, qword [r15 + 0x5d8]
mov r12, qword [rsp + 0x68]
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x70], ebx
test rax, rax
je 0x14009a1fa
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x14009a1f1
lea rcx, [rdi*2 + 2]
call qword [fcn.1400baec0]
mov rbx, rax
test rax, rax
je 0x14009a326
test rdi, rdi
je 0x14009a2fa
mov r8, qword [r15 + 0x5d8]
lea ecx, [rdi + 1]
mov dword [rsp + 0x28], ecx
mov r9d, edi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x14009a2fc
xor edx, edx
mov word [rbx], dx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400a1590
lea rcx, [rbp - 0x70]
mov rdx, rbx
test al, al
je 0x14009a311
mov r8d, 0x8000
jmp 0x14009a314
test r13b, r13b
je 0x14009a192
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.1400d77dc
test eax, eax
sete r13b
test eax, eax
jne 0x14009a192
lea rcx, [rbx + 1]
call qword [fcn.1400baec0]
mov qword [rsp + 0x68], rax
jmp 0x14009a197
mov rcx, r12
call fcn.1400d7448
mov r8, qword [r15 + 0x550]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, r15
call fcn.14008afe0
mov rcx, qword [rsp + 0x68]
call qword [fcn.1400baeb8]
mov eax, 0x3a
jmp 0x14009a76c
mov rbx, qword [rsp + 0x78]
jmp 0x14009a1d2
mov eax, esi
cmp eax, edi
jg 0x14009a24b
mov eax, eax
xor edx, edx
mov word [rbx + rax*2], dx
jmp 0x14009a250
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov rsi, rax
call qword [fcn.1400baeb8]
test r13, r13
jne 0x14009a334
mov rcx, r12
call qword [fcn.1400baeb8]
test rsi, rsi
jne 0x14009a377
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r15
cmp eax, 0x56
jne 0x14009a35e
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14008afe0
lea eax, [rsi + 0x3a]
jmp 0x14009a76c
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.14008afe0
mov eax, 0x3a
jmp 0x14009a76c
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor r8d, r8d
mov edx, 0x10001
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14009a508
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, r15
call fcn.14008afe0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14009a76c
mov r8, qword [r15 + 0x550]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r15
call fcn.14008afe0
mov rcx, rbx
call fcn.1400baeb8
mov eax, edi
jmp 0x14009a76c
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov rsi, rax
test rax, rax
jne 0x14009a466
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rdi
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, r15
call fcn.14008afe0
mov rcx, rdi
call qword [fcn.1400baeb8]
test rbx, rbx
je 0x14009a45c
mov rcx, rbx
call fcn.1400baeb8
mov eax, 0x3a
jmp 0x14009a76c
mov rcx, rdi
call qword [fcn.1400baeb8]
mov rcx, qword [rbp - 0x70]
lea rax, [rbp + 0x48]
xor r13d, r13d
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x28]
mov dword [rbp + 0x10], setsockopt
lea r8d, [r13 + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14009a4c4
test rbx, rbx
je 0x14009a3c1
mov rcx, rbx
call fcn.1400baeb8
jmp 0x14009a3c1
mov r9d, 0x10000
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x10]
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 0x14009a4ff
mov rcx, rbx
call fcn.1400baeb8
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14009a3c1
mov rbx, qword [rbp - 0x50]
mov edi, dword [rsp + 0x70]
mov r14, qword [rbp - 0x78]
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call qword [case.0x1400a60f4.1]
mov qword [r14], rax
test rax, rax
jne 0x14009a563
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r15
call fcn.14008afe0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14009a549
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je case.0x14009aa74.2146893056
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x14009a76c
mov dword [rax + 0x28], 1
xor edx, edx
mov rax, qword [r14]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
mov qword [rax + 0x20], rsi
call fcn.1400a1590
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
test al, al
je 0x14009a969
xor eax, eax
lea rcx, [rbp + 0x70]
xor edx, edx
mov qword [rbp], rax
mov r8d, 0xc0
mov qword [rbp + 0x40], rax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call fcn.1400abbb0
mov rdi, qword [rbx + 0x250]
xorps xmm0, xmm0
mov dword [rsp + 0x54], r13d
xorps xmm1, xmm1
mov r11d, r13d
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x60], xmm1
test rdi, rdi
je 0x14009a909
mov r14b, 1
mov byte [rsp + 0x51], 1
movzx r12d, r14b
mov byte [rsp + 0x50], 1
movups xmmword [rbp + 0x48], xmm0
mov byte [rsp + 0x52], 1
movups xmmword [rbp + 0x58], xmm0
nop
cmp byte [rdi], 0
je 0x14009a79e
cmp r13d, 5
jge 0x14009a79e
mov edx, 0x3a
mov rcx, rdi
call fcn.1400abdc0
mov rsi, rax
test rax, rax
je 0x14009a640
mov rbx, rax
sub rbx, rdi
jmp 0x14009a650
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14009a647
cmp rbx, 0x1f
ja 0x14009a795
mov r8, rbx
lea rcx, [rbp + 0x48]
mov rdx, rdi
call fcn.1400d7250
cmp byte [rsp + 0x51], 0
mov byte [rbp + rbx + 0x48], 0
je 0x14009a696
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.1400ec590
test eax, eax
jne 0x14009a696
xor r9b, r9b
mov byte [rsp + 0x51], r9b
jmp 0x14009a732
cmp byte [rsp + 0x50], 0
je 0x14009a6c1
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.1400ec590
test eax, eax
jne 0x14009a6c1
movzx r9d, byte [rsp + 0x51]
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x14009a738
cmp byte [rsp + 0x52], 0
je 0x14009a6f2
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.1400ec590
test eax, eax
jne 0x14009a6f2
movzx r8d, byte [rsp + 0x50]
xor r10b, r10b
movzx r9d, byte [rsp + 0x51]
mov byte [rsp + 0x52], r10b
jmp 0x14009a73e
test r14b, r14b
je 0x14009a710
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.1400ec590
test eax, eax
jne 0x14009a710
xor r14b, r14b
jmp 0x14009a72c
test r12b, r12b
je 0x14009a758
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.1400ec590
test eax, eax
jne 0x14009a758
xor r12b, r12b
movzx r9d, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
movzx r10d, byte [rsp + 0x52]
mov rdi, rsi
test rsi, rsi
je 0x14009a74a
lea rdi, [rsi + 1]
inc r13d
test rdi, rdi
jne 0x14009a610
jmp 0x14009a7b0
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, r15
call fcn.14008afe0
mov eax, 0x3b
mov r12, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a9630
add rsp, 0x280
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Cipher_name_too_long__not_checked.
jmp 0x14009a75f
movzx r10d, byte [rsp + 0x52]
movzx r9d, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
lea rdx, [0x14011fee8]
test r9b, r9b
je 0x14009a7d9
test r8b, r8b
je 0x14009a7d9
test r10b, r10b
je 0x14009a7d9
test r14b, r14b
je 0x14009a7de
test r12b, r12b
je 0x14009a7e3
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x14009a75f
test r14b, r14b
jne 0x14009a7e3
test r12b, r12b
je 0x14009a84d
mov dword [rbp - 0x50], 0x200020
lea rax, str.ChainingModeCCM
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x70], 2
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x78], 0x80008
mov qword [rbp + 0x80], rdx
cmp r14b, r12b
je 0x14009a845
test r14b, r14b
je 0x14009a83b
mov dword [rbp + 0x98], 0x80
mov r11d, 1
jmp 0x14009a852
mov dword [rbp + 0x9c], 0x40
mov r11d, 1
jmp 0x14009a852
mov r11d, dword [rsp + 0x54]
test r9b, r9b
jne 0x14009a85c
test r8b, r8b
je 0x14009a8d1
lea rax, str.ChainingModeGCM
mov dword [rbp - 0x60], 0x200020
mov qword [rbp - 0x58], rax
mov eax, r11d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r9b, r8b
je 0x14009a892
test r9b, r9b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
xor r13d, r13d
mov eax, r13d
cmp r9b, r8b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x70], eax
inc r11d
mov dword [rbp + rcx*8 + 0x78], 0x80008
lea rax, [rbp - 0x60]
mov qword [rbp + rcx*8 + 0x80], rdx
mov qword [rbp + rcx*8 + 0x90], rax
mov dword [rbp + rcx*8 + 0x88], 1
jmp 0x14009a8d4
xor r13d, r13d
mov r14, qword [rbp - 0x78]
test r10b, r10b
je 0x14009a909
mov eax, r11d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r11d
mov dword [rbp + rcx*8 + 0x70], 2
mov dword [rbp + rcx*8 + 0x78], 0x240024
mov qword [rbp + rcx*8 + 0x80], rax
lea rax, [rbp + 0x70]
mov dword [rbp + 0x34], r11d
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rbp], rax
mov eax, dword [rsp + 0x70]
bts eax, 0x16
mov dword [rbp - 8], 1
cmp qword [rsp + 0x58], 0
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x60]
not eax
mov dword [rbp - 0x40], 5
mov dword [rbp + 0x30], eax
je 0x14009a957
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 0x14009a9e2
mov rdx, qword [rbx + 0x248]
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x40], 4
mov dword [rbp - 8], eax
movups xmmword [rbp], xmm0
mov dword [rbp + 8], edi
test rdx, rdx
je 0x14009a9b3
lea r8, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14009c320
mov ebx, eax
test eax, eax
je 0x14009a9ba
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, r15
call fcn.14008afe0
mov eax, ebx
jmp 0x14009a76c
bts edi, 0x16
mov dword [rbp + 8], edi
cmp qword [rsp + 0x58], 0
je 0x14009a9d2
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 [0x140145388]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x14009aa22
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x14009aa80
mov r8d, 0x100
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.14009f770
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, r15
call fcn.14008afe0
mov rcx, qword [r14]
call qword [fcn.1400baeb8]
add ebx, 0x7ff6fd00
mov qword [r14], r13
cmp ebx, 0xe
ja case.0x14009aa74.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x9aadc]
add rcx, rdx
jmp rcx
mov eax, 0x23
jmp 0x14009a76c
xor eax, eax
jmp 0x14009a76c
lea rdx, str.SSL_versions_not_supported
mov rcx, r15
call fcn.14008afe0
mov eax, 4
jmp 0x14009a774
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, r15
call fcn.14008afe0
mov eax, 0x23
jmp 0x14009a774