Function at 0x140034640
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 [0x1400a9108]
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 0x1400346eb
movzx ecx, byte [r14 + 0x6c]
cmp byte [r15 + 0x5e3], sil
je 0x1400346c0
test cl, cl
mov eax, 0x1808
mov edx, 0x1820
cmove eax, edx
jmp 0x1400346f0
cmp byte [r15 + 0x5e5], sil
je 0x1400346da
test cl, cl
mov eax, 0x1a08
mov edx, 0x1a20
cmove eax, edx
jmp 0x1400346f0
test cl, cl
mov eax, 0x208
mov edx, 0x220
cmove eax, edx
jmp 0x1400346f0
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.0x140034733
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x351fc]
add rax, rcx
jmp rax
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140036b40
test eax, eax
jne 0x140034eb4
mov rcx, qword [r15 + 0x550]
mov qword [rsp + 0x2d8], r12
test rcx, rcx
jne 0x14003476e
cmp qword [r15 + 0x578], rsi
je 0x140034c54
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 0x1400347b6
mov rax, qword [r13]
mov qword [rsp + 0x68], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x78], rax
jmp 0x140034817
call fcn.14005a868
mov rbx, rax
test rax, rax
je case.0x1400351b4.2146893056
lea r9, [rbp - 0x70]
mov rcx, rax
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x54]
call fcn.140034310
mov edi, eax
test eax, eax
je 0x140034b3b
mov rcx, qword [r15 + 0x550]
cmp byte [rcx], sil
je 0x140034b16
lea rdx, [0x1400897f4]
call fcn.140036e10
mov r12, rax
test rax, rax
je 0x140034b16
mov r14d, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x80]
mov rcx, qword [r15 + 0x5b8]
test rcx, rcx
je 0x14003485d
lea rdx, [0x14008b474]
call fcn.140028cb0
test eax, eax
jne 0x14003485d
lea r14, str._memory_blob_
test r13, r13
jne 0x140034846
mov r14, qword [r15 + 0x550]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r15
call fcn.1400263b0
jmp 0x140034b8f
test r12, r12
jne 0x14003486b
test r13, r13
je 0x140034b44
xor eax, eax
lea r14, str._memory_blob_
mov edi, eax
test r13, r13
jne 0x140034882
mov r14, qword [r15 + 0x550]
test rbx, rbx
je 0x140034891
mov rcx, rbx
call fcn.14004a14c
xor eax, eax
test r12, r12
je 0x140034a30
xor edx, edx
mov ebx, eax
mov rcx, r12
lea r8d, [rdx + 2]
call fcn.14004c0a8
test eax, eax
sete r13b
test eax, eax
jne 0x1400349c5
mov rcx, r12
call fcn.14004c58c
mov ebx, eax
test eax, eax
jns 0x1400349c5
mov rbx, qword [rsp + 0x78]
xor r13b, r13b
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400349fd
mov r9, r12
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14004b7a8
cmp eax, 1
jne 0x1400349fd
mov rcx, r12
call fcn.14004bdc8
test r13b, r13b
je 0x140034a05
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 0x14003493a
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x140034931
lea rcx, [rdi*2 + 2]
call qword [fcn.14004a154]
mov rbx, rax
test rax, rax
je 0x140034a66
test rdi, rdi
je 0x140034a3a
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 0x140034a3c
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.14003b040
lea rcx, [rbp - 0x70]
mov rdx, rbx
test al, al
je 0x140034a51
mov r8d, 0x8000
jmp 0x140034a54
test r13b, r13b
je 0x1400348d2
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.14004c0a8
test eax, eax
sete r13b
test eax, eax
jne 0x1400348d2
lea rcx, [rbx + 1]
call qword [fcn.14004a154]
mov qword [rsp + 0x68], rax
jmp 0x1400348d7
mov rcx, r12
call fcn.14004bdc8
mov r8, qword [r15 + 0x550]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, r15
call fcn.1400263b0
mov rcx, qword [rsp + 0x68]
call qword [fcn.14004a14c]
mov eax, 0x3a
jmp 0x140034eac
mov rbx, qword [rsp + 0x78]
jmp 0x140034912
mov eax, esi
cmp eax, edi
jg 0x14003498b
mov eax, eax
xor edx, edx
mov word [rbx + rax*2], dx
jmp 0x140034990
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov rsi, rax
call qword [fcn.14004a14c]
test r13, r13
jne 0x140034a74
mov rcx, r12
call qword [fcn.14004a14c]
test rsi, rsi
jne 0x140034ab7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r15
cmp eax, 0x56
jne 0x140034a9e
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.1400263b0
lea eax, [rsi + 0x3a]
jmp 0x140034eac
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.1400263b0
mov eax, 0x3a
jmp 0x140034eac
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 0x140034c48
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.1400263b0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x140034eac
mov r8, qword [r15 + 0x550]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r15
call fcn.1400263b0
mov rcx, rbx
call fcn.14004a14c
mov eax, edi
jmp 0x140034eac
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 0x140034ba6
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.1400263b0
mov rcx, rdi
call qword [fcn.14004a14c]
test rbx, rbx
je 0x140034b9c
mov rcx, rbx
call fcn.14004a14c
mov eax, 0x3a
jmp 0x140034eac
mov rcx, rdi
call qword [fcn.14004a14c]
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], socket
lea r8d, [r13 + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140034c04
test rbx, rbx
je 0x140034b01
mov rcx, rbx
call fcn.14004a14c
jmp 0x140034b01
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 0x140034c3f
mov rcx, rbx
call fcn.14004a14c
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140034b01
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.0x14003f774.1]
mov qword [r14], rax
test rax, rax
jne 0x140034ca3
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r15
call fcn.1400263b0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140034c89
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test rsi, rsi
je case.0x1400351b4.2146893056
xor edx, edx
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x140034eac
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.14003b040
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 0x1400350a9
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.140043b60
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 0x140035049
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 0x140034ede
cmp r13d, 5
jge 0x140034ede
mov edx, 0x3a
mov rcx, rdi
call fcn.140044638
mov rsi, rax
test rax, rax
je 0x140034d80
mov rbx, rax
sub rbx, rdi
jmp 0x140034d90
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140034d87
cmp rbx, 0x1f
ja 0x140034ed5
mov r8, rbx
lea rcx, [rbp + 0x48]
mov rdx, rdi
call fcn.14004bbe0
cmp byte [rsp + 0x51], 0
mov byte [rbp + rbx + 0x48], 0
je 0x140034dd6
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.140049c60
test eax, eax
jne 0x140034dd6
xor r9b, r9b
mov byte [rsp + 0x51], r9b
jmp 0x140034e72
cmp byte [rsp + 0x50], 0
je 0x140034e01
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.140049c60
test eax, eax
jne 0x140034e01
movzx r9d, byte [rsp + 0x51]
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x140034e78
cmp byte [rsp + 0x52], 0
je 0x140034e32
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.140049c60
test eax, eax
jne 0x140034e32
movzx r8d, byte [rsp + 0x50]
xor r10b, r10b
movzx r9d, byte [rsp + 0x51]
mov byte [rsp + 0x52], r10b
jmp 0x140034e7e
test r14b, r14b
je 0x140034e50
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.140049c60
test eax, eax
jne 0x140034e50
xor r14b, r14b
jmp 0x140034e6c
test r12b, r12b
je 0x140034e98
lea rdx, [rbp + 0x48]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.140049c60
test eax, eax
jne 0x140034e98
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 0x140034e8a
lea rdi, [rsi + 1]
inc r13d
test rdi, rdi
jne 0x140034d50
jmp 0x140034ef0
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, r15
call fcn.1400263b0
mov eax, 0x3b
mov r12, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140042d70
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 0x140034e9f
movzx r10d, byte [rsp + 0x52]
movzx r9d, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
lea rdx, [0x14008b748]
test r9b, r9b
je 0x140034f19
test r8b, r8b
je 0x140034f19
test r10b, r10b
je 0x140034f19
test r14b, r14b
je 0x140034f1e
test r12b, r12b
je 0x140034f23
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
jmp 0x140034e9f
test r14b, r14b
jne 0x140034f23
test r12b, r12b
je 0x140034f8d
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 0x140034f85
test r14b, r14b
je 0x140034f7b
mov dword [rbp + 0x98], 0x80
mov r11d, 1
jmp 0x140034f92
mov dword [rbp + 0x9c], 0x40
mov r11d, 1
jmp 0x140034f92
mov r11d, dword [rsp + 0x54]
test r9b, r9b
jne 0x140034f9c
test r8b, r8b
je 0x140035011
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 0x140034fd2
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 0x140035014
xor r13d, r13d
mov r14, qword [rbp - 0x78]
test r10b, r10b
je 0x140035049
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 0x140035097
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 0x140035122
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 0x1400350f3
lea r8, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140036a50
mov ebx, eax
test eax, eax
je 0x1400350fa
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, r15
call fcn.1400263b0
mov eax, ebx
jmp 0x140034eac
bts edi, 0x16
mov dword [rbp + 8], edi
cmp qword [rsp + 0x58], 0
je 0x140035112
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 [0x1400aa208]
lea r8d, [r9 + 2]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x140035162
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x1400351c0
mov r8d, 0x100
lea rdx, [rbp + 0x70]
mov ecx, ebx
call fcn.140039c10
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, r15
call fcn.1400263b0
mov rcx, qword [r14]
call qword [fcn.14004a14c]
add ebx, 0x7ff6fd00
mov qword [r14], r13
cmp ebx, 0xe
ja case.0x1400351b4.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x3521c]
add rcx, rdx
jmp rcx
mov eax, 0x23
jmp 0x140034eac
xor eax, eax
jmp 0x140034eac
lea rdx, str.SSL_versions_not_supported
mov rcx, r15
call fcn.1400263b0
mov eax, 4
jmp 0x140034eb4
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, r15
call fcn.1400263b0
mov eax, 0x23
jmp 0x140034eb4