Function at 0x140099f10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400f2088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xorps xmm0, xmm0
movsxd rax, r8d
xor r13d, r13d
mov rbx, rcx
cmp byte [rdx + 0x349], r13b
mov esi, 0x2a8
mov rdi, rdx
mov qword [rsp + 0x68], r13
lea rcx, [rax + rax*2]
mov r14, qword [rdx + rcx*8 + 0x280]
mov edx, dword [rdx + 0x13c]
lea r15d, [rsi + 0x18]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x78], r14
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x60], 4
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
je 0x14009a016
cmp byte [r14 + 0x6b], r13b
mov ecx, 0x20
mov eax, 8
cmovne ecx, eax
cmp edx, 2
jne 0x140099fc8
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, esi
cmovne eax, r15d
cmp dword [rax + rdi], edx
je 0x140099fc8
movzx eax, byte [rbx + 0x6d3]
jmp 0x140099fcf
movzx eax, byte [rbx + 0x61b]
test al, al
je 0x140099fdb
or ecx, 0x1800
jmp 0x14009a01b
cmp edx, 2
jne 0x140099ffd
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x140099ffd
movzx eax, byte [rbx + 0x6d5]
jmp 0x14009a004
movzx eax, byte [rbx + 0x61d]
test al, al
je 0x14009a010
or ecx, 0x1a00
jmp 0x14009a01b
bts ecx, 9
jmp 0x14009a01b
mov ecx, 0x1808
mov dword [rbp - 0x18], ecx
cmp byte [rdi + 0x34a], r13b
jne 0x14009a02d
or ecx, 4
mov dword [rbp - 0x18], ecx
cmp edx, 2
jne 0x14009a04f
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x14009a04f
movzx eax, byte [rbx + 0x6d7]
jmp 0x14009a056
movzx eax, byte [rbx + 0x61f]
test al, al
jne 0x14009a063
and ecx, 0xffffffbf
or ecx, 0x10
mov dword [rbp - 0x18], ecx
movsxd rax, dword [rdi + 0x2e0]
mov qword [rsp + 0x338], r12
cmp eax, 7
ja case.default.0x14009a08d
lea r12, [0x140000000]
mov eax, dword [r12 + rax*4 + 0x9a700]
add rax, r12
jmp rax
mov r8, rdi
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.14009b3d0
test eax, eax
jne 0x14009a6d4
mov ecx, dword [rdi + 0x13c]
cmp ecx, 2
jne 0x14009a0ce
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], ecx
je 0x14009a0ce
mov rax, qword [rdi + 0x378]
jmp 0x14009a0d5
mov rax, qword [rdi + 0x308]
test rax, rax
je 0x14009a129
cmp ecx, 2
jne 0x14009a0f9
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
cmovne rsi, r15
cmp dword [rsi + rdi], ecx
je 0x14009a0f9
mov rdx, qword [rdi + 0x378]
jmp 0x14009a100
mov rdx, qword [rdi + 0x308]
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14009a930
mov edi, eax
test eax, eax
je 0x14009a129
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, rbx
call fcn.140087d60
mov eax, edi
jmp 0x14009a6d4
mov rcx, qword [rbx + 0x588]
test rcx, rcx
jne 0x14009a142
cmp qword [rbx + 0x5b0], r13
je 0x14009a5c7
xor r11d, r11d
mov dword [rsp + 0x50], r13d
mov r12d, r13d
mov qword [rsp + 0x58], r13
mov rsi, r13
mov qword [rsp + 0x78], r13
mov r14, r13
mov qword [rsp + 0x70], r13
mov r15, r13
mov qword [rsp + 0x60], r13
mov r13, qword [rbx + 0x5b0]
mov edi, r11d
test r13, r13
je 0x14009a18d
mov rax, qword [r13]
mov qword [rsp + 0x70], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x60], rax
jmp 0x14009a1f4
call fcn.14006adb8
mov rdi, rax
test rax, rax
je case.0x14009a6a4.2146893056
lea r9, [rsp + 0x78]
mov rcx, rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
call fcn.14009a770
mov esi, eax
test eax, eax
je 0x14009a4b0
mov rcx, qword [rbx + 0x588]
cmp byte [rcx], r12b
je 0x14009a48b
lea rdx, [0x1400f3ff4]
call fcn.140096290
mov r15, rax
test rax, rax
je 0x14009a48b
mov r12d, dword [rsp + 0x50]
xor r11d, r11d
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rbx + 0x5f0]
test rcx, rcx
je 0x14009a237
lea rdx, [0x1400f3fc4]
call fcn.140095ca0
test eax, eax
jne 0x14009a237
lea r8, [0x1400f4e80]
test r13, r13
jne 0x14009a223
mov r8, qword [rbx + 0x588]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.140087d60
jmp 0x14009a4fb
test r15, r15
jne 0x14009a245
test r13, r13
je 0x14009a4ba
mov dword [rsp + 0x50], r11d
mov rsi, r11
lea rax, [0x1400f4e20]
test r13, r13
jne 0x14009a260
mov rax, qword [rbx + 0x588]
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x14009a275
mov rcx, rdi
call fcn.140058718
xor r11d, r11d
test r15, r15
je 0x14009a351
xor edx, edx
mov rcx, r15
mov r12d, r11d
lea r8d, [rdx + 2]
call fcn.140054fa4
test eax, eax
sete dil
test eax, eax
jne 0x14009a2e2
mov rcx, r15
call fcn.14005b450
mov r12d, eax
test eax, eax
jns 0x14009a2e2
xor dil, dil
mov r12, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
test r12, r12
je 0x14009a320
mov r9, r15
mov r8d, 1
mov rdx, rax
mov rcx, r12
call fcn.140054c94
cmp eax, 1
jne 0x14009a320
mov rcx, r15
call fcn.140054388
test dil, dil
jne 0x14009a356
jmp 0x14009a328
mov eax, r12d
mov qword [rsp + 0x60], rax
test dil, dil
je 0x14009a319
xor r8d, r8d
xor edx, edx
mov rcx, r15
call fcn.140054fa4
test eax, eax
sete dil
test eax, eax
jne 0x14009a2ab
mov rcx, qword [rsp + 0x60]
inc rcx
call qword [fcn.1400595d8]
mov r12, rax
jmp 0x14009a2b0
mov r12, qword [rsp + 0x70]
jmp 0x14009a2b5
mov rcx, r15
call fcn.140054388
mov r8, qword [rbx + 0x588]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.140087d60
mov rcx, r12
call qword [fcn.140058718]
mov eax, 0x3a
jmp 0x14009a6d4
mov r12, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x610]
mov qword [rbp - 0x80], r12
test rax, rax
je 0x14009a37f
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r14b
jne 0x14009a376
lea rcx, [rsi*2 + 2]
call qword [fcn.1400595d8]
mov rdi, rax
test rax, rax
je 0x14009a3d7
test rsi, rsi
je 0x14009a411
mov r8, qword [rbx + 0x610]
lea eax, [rsi + 1]
mov dword [rsp + 0x28], eax
mov r9d, esi
mov qword [rsp + 0x20], rdi
call fcn.14009b510
test eax, eax
jns 0x14009a415
xor ecx, ecx
mov word [rdi], cx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14009b790
mov rcx, rdi
mov r14, rax
call qword [fcn.140058718]
test r13, r13
jne 0x14009a3e5
mov rcx, r12
call qword [fcn.140058718]
test r14, r14
jne 0x14009a43c
call fcn.14009b5e0
mov r8, qword [rsp + 0x58]
mov rcx, rbx
cmp eax, 0x56
jne 0x14009a423
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140087d60
lea eax, [r14 + 0x3a]
jmp 0x14009a6d4
mov eax, dword [rsp + 0x50]
cmp eax, esi
jg 0x14009a3b9
mov eax, eax
xor ecx, ecx
mov word [rdi + rax*2], cx
jmp 0x14009a3be
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.140087d60
mov eax, 0x3a
jmp 0x14009a6d4
xor r13d, r13d
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], r13
call fcn.14009b8f0
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14009a5a4
call fcn.14009b5e0
mov r8, qword [rsp + 0x58]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov r9d, eax
mov rcx, rbx
call fcn.140087d60
mov rcx, r14
call fcn.14009b840
mov eax, 0x3a
jmp 0x14009a6d4
mov r8, qword [rbx + 0x588]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.140087d60
mov rcx, rdi
call fcn.140058718
mov eax, esi
jmp 0x14009a6d4
mov r12d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r9d, r12d
mov qword [rsp + 0x20], rsi
bts r9d, 0xe
call fcn.14009bab0
mov r14, rax
test rax, rax
jne 0x14009a512
call fcn.14009b5e0
mov r9, rsi
mov dword [rsp + 0x20], eax
mov r8d, r12d
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, rbx
call fcn.140087d60
mov rcx, rsi
call qword [fcn.140058718]
test rdi, rdi
je 0x14009a508
mov rcx, rdi
call fcn.140058718
mov eax, 0x3a
jmp 0x14009a6d4
mov rcx, rsi
call qword [fcn.140058718]
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x68], rax
lea r9, [rbp + 0xb0]
lea rax, [rbp - 0x70]
mov dword [rbp - 0x70], 0x14
mov qword [rsp + 0x20], rax
call fcn.14009bb70
test eax, eax
jne 0x14009a56a
test rdi, rdi
je 0x14009a558
mov rcx, rdi
call fcn.140058718
mov rcx, r14
call fcn.14009b840
mov eax, 0x3a
jmp 0x14009a6d4
lea rax, [rbp - 0x70]
mov r9d, 0x10000
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14009b8f0
mov qword [rsp + 0x68], rax
test rdi, rdi
je 0x14009a598
mov rcx, rdi
call fcn.140058718
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14009a479
xor r13d, r13d
lea rax, [rsp + 0x68]
mov dword [rbp - 0x5c], 1
mov rcx, r14
mov qword [rbp - 0x58], rax
call fcn.14009b840
mov r14, qword [rbp - 0x78]
lea r12, [0x140000000]
mov edx, 0x28
lea ecx, [rdx - 0x27]
call qword [fcn.1400595d0]
mov qword [r14], rax
test rax, rax
jne 0x14009a605
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.140087d60
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je case.0x14009a6a4.2146893056
call fcn.14009b9e0
mov eax, 0x1b
jmp 0x14009a6d4
mov dword [rax + 0x20], 1
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov rcx, qword [r14]
xor r9d, r9d
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea r8d, [r9 + 2]
mov qword [rsp + 0x38], rcx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400fa898]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov edi, eax
test rcx, rcx
je 0x14009a65b
call fcn.14009b9e0
test edi, edi
je 0x14009a6a6
lea rdx, [rbp + 0xd0]
mov ecx, edi
call fcn.1400a9280
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.140087d60
mov rcx, qword [r14]
call qword [fcn.140058718]
add edi, 0x7ff6fd00
mov qword [r14], r13
cmp edi, 0xe
ja case.0x14009a6a4.2146893055
movsxd rax, edi
mov ecx, dword [r12 + rax*4 + 0x9a720]
add rcx, r12
jmp rcx
xor eax, eax
jmp 0x14009a6d4
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.140087d60
mov eax, 4
jmp 0x14009a6d4
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.140087d60
mov eax, 0x23
mov r12, qword [rsp + 0x338]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14004d9a0
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret