Function at 0x140033210
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400a5010]
xor rax, rsp
mov qword [rbp + 0x1e0], 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]
lea eax, [r13 + 8]
mov edx, dword [rdx + 0x13c]
lea r15d, [rsi + 0x18]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x70], r14
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x50], 4
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
je 0x140033311
cmp byte [r14 + 0x6b], r13b
mov ecx, 0x20
cmovne ecx, eax
cmp edx, 2
jne 0x1400332c3
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, esi
cmovne eax, r15d
cmp dword [rax + rdi], edx
je 0x1400332c3
movzx eax, byte [rbx + 0x6e3]
jmp 0x1400332ca
movzx eax, byte [rbx + 0x62b]
test al, al
je 0x1400332d6
or ecx, 0x1800
jmp 0x140033316
cmp edx, 2
jne 0x1400332f8
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x1400332f8
movzx eax, byte [rbx + 0x6e5]
jmp 0x1400332ff
movzx eax, byte [rbx + 0x62d]
test al, al
je 0x14003330b
or ecx, 0x1a00
jmp 0x140033316
bts ecx, 9
jmp 0x140033316
mov ecx, 0x1808
mov dword [rbp - 8], ecx
cmp byte [rdi + 0x34a], r13b
jne 0x140033328
or ecx, 4
mov dword [rbp - 8], ecx
cmp edx, 2
jne 0x14003334a
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], edx
je 0x14003334a
movzx eax, byte [rbx + 0x6e7]
jmp 0x140033351
movzx eax, byte [rbx + 0x62f]
test al, al
jne 0x140033367
and ecx, 0xffffffbf
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
or ecx, 0x10
mov dword [rbp - 8], ecx
jmp 0x14003336e
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, rbx
mov qword [rsp + 0x348], r12
call fcn.14001c6d0
movsxd rax, dword [rdi + 0x2e0]
cmp eax, 7
ja case.default.0x1400333a0
lea r12, sym._Vf_N_vS_KJ_0Pfxx:_sha_Y___6_xU__JC:So7r
mov eax, dword [r12 + rax*4 + 0x33a60]
add rax, r12
jmp rax
mov r8, rdi
lea rcx, [rbp - 0x50]
mov rdx, rbx
call fcn.1400356c0
test eax, eax
jne 0x140033a35
mov ecx, dword [rdi + 0x13c]
cmp ecx, 2
jne 0x1400333e1
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rsi
cmovne rax, r15
cmp dword [rax + rdi], ecx
je 0x1400333e1
mov rax, qword [rdi + 0x378]
jmp 0x1400333e8
mov rax, qword [rdi + 0x308]
test rax, rax
je 0x14003343c
cmp ecx, 2
jne 0x14003340c
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
cmovne rsi, r15
cmp dword [rsi + rdi], ecx
je 0x14003340c
mov rdx, qword [rdi + 0x378]
jmp 0x140033413
mov rdx, qword [rdi + 0x308]
lea r8, [rbp]
lea rcx, [rbp - 0x50]
call fcn.1400355d0
mov edi, eax
test eax, eax
je 0x14003343c
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, rbx
call fcn.14001c5f0
mov eax, edi
jmp 0x140033a35
mov rcx, qword [rbx + 0x598]
test rcx, rcx
jne 0x140033455
cmp qword [rbx + 0x5c0], r13
je 0x140033920
xor edx, edx
mov dword [rsp + 0x50], r13d
mov r14d, r13d
mov qword [rsp + 0x70], r13
mov rsi, r13
mov qword [rsp + 0x78], r13
mov r12, r13
mov qword [rsp + 0x60], r13
mov r15, r13
mov qword [rsp + 0x58], r13
mov r13, qword [rbx + 0x5c0]
mov edi, edx
mov qword [rbp - 0x78], r13
test r13, r13
je 0x1400334a2
mov rax, qword [r13]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x58], rax
jmp 0x140033506
call fcn.140030940
mov rdi, rax
test rax, rax
je case.0x140033a05.2146893056
lea r9, [rsp + 0x78]
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140032ec0
mov esi, eax
test eax, eax
je 0x1400337e5
mov rcx, qword [rbx + 0x598]
cmp byte [rcx], r12b
je 0x1400337c0
lea rdx, [0x1400854a8]
call fcn.140030b00
mov r15, rax
test rax, rax
je 0x1400337c0
mov r14d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x600]
test rcx, rcx
je 0x14003354c
lea rdx, [0x14008ba44]
call fcn.140020f10
test eax, eax
jne 0x14003354c
lea r14, str._memory_blob_
test r13, r13
jne 0x140033535
mov r14, qword [rbx + 0x598]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, rbx
call fcn.14001c5f0
jmp 0x14003383a
test r15, r15
jne 0x14003355a
test r13, r13
je 0x1400337ef
xor eax, eax
lea r14, str._memory_blob_
mov esi, eax
test r13, r13
jne 0x140033571
mov r14, qword [rbx + 0x598]
test rdi, rdi
je 0x140033580
mov rcx, rdi
call fcn.1400676a4
xor eax, eax
test r15, r15
je 0x140033662
xor edx, edx
mov rcx, r15
mov edi, eax
lea r8d, [rdx + 2]
call fcn.14006ccc0
test eax, eax
sete r13b
test eax, eax
jne 0x1400335ef
mov rcx, r15
call fcn.14006d27c
mov edi, eax
test eax, eax
jns 0x1400335ef
xor r13b, r13b
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
test rdi, rdi
je 0x140033631
mov r9, r15
mov r8d, 1
mov rdx, rax
mov rcx, rdi
call fcn.14006c1e8
cmp eax, 1
jne 0x140033631
mov rcx, r15
call fcn.14005f9a8
test r13b, r13b
je 0x140033639
mov r13, qword [rbp - 0x78]
jmp 0x140033667
mov eax, edi
mov qword [rsp + 0x58], rax
test r13b, r13b
je 0x14003362a
xor r8d, r8d
xor edx, edx
mov rcx, r15
call fcn.14006ccc0
test eax, eax
sete r13b
test eax, eax
jne 0x1400335b4
mov rcx, qword [rsp + 0x58]
inc rcx
call qword [fcn.140069eb4]
mov rdi, rax
mov qword [rsp + 0x60], rax
jmp 0x1400335b9
mov rdi, qword [rsp + 0x60]
jmp 0x1400335be
mov rcx, r15
call fcn.14005f9a8
mov r8, qword [rbx + 0x598]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rbx
call fcn.14001c5f0
mov rcx, rdi
call qword [fcn.1400676a4]
mov eax, 0x3a
jmp 0x140033a35
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x620]
mov qword [rbp - 0x80], rdi
test rax, rax
je 0x140033690
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r12b
jne 0x140033687
lea rcx, [rsi*2 + 2]
call qword [fcn.140069eb4]
mov rdi, rax
test rax, rax
je 0x1400336fb
test rsi, rsi
je 0x140033737
mov r8, qword [rbx + 0x620]
lea ecx, [rsi + 1]
mov dword [rsp + 0x28], ecx
mov r9d, esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call fcn.1401505f4
xchg ebx, eax
test eax, eax
jns 0x14003373a
xor edx, edx
mov word [rdi], dx
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov rdx, rdi
push rdi
call fcn.1400e321f
mov rcx, rdi
mov r12, rax
call qword [fcn.1400676a4]
test r13, r13
jne 0x14003370b
mov rcx, qword [rsp + 0x60]
call qword [fcn.1400676a4]
test r12, r12
jne 0x140033761
call fcn.140120c0b
invalid
mov eax, r12d
cmp eax, esi
jg 0x1400336d9
mov eax, eax
xor edx, edx
mov word [rdi + rax*2], dx
jmp 0x1400336de
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor r8d, r8d
mov edx, 0x10001
mov qword [rsp + 0x20], r13
mov rcx, r12
push rbp
call fcn.1400e0064
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1400338fa
call fcn.1400c15f0
jae 0x1400337e4
mov eax, esi
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov r9d, eax
mov rcx, rbx
call fcn.14001c5f0
xor edx, edx
mov rcx, r12
call fcn.1401236fd
or dword [rax + 0x3a], edi
jmp 0x140033a35
mov r8, qword [rbx + 0x598]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, rbx
call fcn.14001c5f0
mov rcx, rdi
call fcn.1400676a4
mov eax, esi
jmp 0x140033a35
add byte [rbx + rcx*4 + 0x74], al
and al, 0x50
mov r14d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x20], rsi
mov r9d, r14d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 0xa]
push rbx
call fcn.14012bf5e
mov r12, rax
test rax, rax
jne 0x140033851
call fcn.1401584fc
mov dh, 0x4c
mov ecx, esi
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, rbx
call fcn.14001c5f0
mov rcx, rsi
call qword [fcn.1400676a4]
test rdi, rdi
je 0x140033847
mov rcx, rdi
call fcn.1400676a4
mov eax, 0x3a
jmp 0x140033a35
mov rcx, rsi
call qword [fcn.1400676a4]
mov rcx, qword [rsp + 0x78]
lea rax, [rbp + 0xc0]
xor r13d, r13d
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea r9, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x28]
mov dword [rbp - 0x68], 0x14
lea r8d, [r13 + 4]
call fcn.140157800
jae 0x140033822
sal byte [rbp + 0x16], 0x48
test edi, edi
je 0x1400337ab
mov rcx, rdi
call fcn.1400676a4
jmp 0x1400337ab
lea rax, [rsp + 0x68]
mov dword [rbp - 0x4c], 1
xor edx, edx
mov qword [rbp - 0x48], rax
mov rcx, r12
push rdi
call fcn.14010ee99
mov r14, qword [rbp - 0x70]
lea r12, sym._Vf_N_vS_KJ_0Pfxx:_sha_Y___6_xU__JC:So7r
mov edx, 0x28
lea ecx, [rdx - 0x27]
call qword [case.0x1400542f4.1]
mov qword [r14], rax
test rax, rax
jne 0x14003395f
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rbx
call fcn.14001c5f0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je case.0x140033a05.2146893056
call fcn.140137138
invalid
mov eax, 0x1b
jmp 0x140033a35
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 - 0x50]
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400a68b8]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov edi, eax
test rcx, rcx
je 0x1400339b6
call fcn.14013b2e3
add byte [rbp + 0x414d74ff], al
mov eax, 0x100
test edi, edi
je 0x140033a07
mov r8d, 0x100
lea rdx, [rbp + 0xe0]
mov ecx, edi
call fcn.14002f6d0
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, rbx
call fcn.14001c5f0
mov rcx, qword [r14]
call qword [fcn.1400676a4]
add edi, 0x7ff6fd00
mov qword [r14], r13
cmp edi, 0xe
ja case.0x140033a05.2146893055
movsxd rax, edi
mov ecx, dword [r12 + rax*4 + 0x33a80]
add rcx, r12
jmp rcx
xor eax, eax
jmp 0x140033a35
lea rdx, str.SSL_versions_not_supported
mov rcx, rbx
call fcn.14001c5f0
mov eax, 4
jmp 0x140033a35
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rbx
call fcn.14001c5f0
mov eax, 0x23
mov r12, qword [rsp + 0x348]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140007c50
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret