Function at 0x14007f0e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rax, qword [rcx]
lea rbx, [rcx + 0x18]
mov r9, qword [rcx + 0x10]
mov r10, rdx
mov rdi, rcx
mov r8d, dword [rax + 8]
and r8d, 0xa
cmp r8d, 0xa
jne 0x14007f155
mov rax, qword [rbx]
lea r10, [rax + 0x368]
lea r11, [rax + 0x370]
mov qword [rbp - 0x80], r10
mov r10, qword [rbp + 0x198]
lea r14, [rax + 0x3b0]
lea rdx, [rax + 0x3b2]
mov qword [rbp - 0x70], r11
add rax, 0x3b1
jmp 0x14007f183
mov rcx, qword [rbx]
lea rax, [rcx + 0x300]
mov qword [rbp - 0x70], rax
lea r14, [rcx + 0x340]
lea rax, [rcx + 0x2f8]
mov qword [rbp - 0x80], rax
lea rdx, [rcx + 0x342]
lea rax, [rcx + 0x341]
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov r12d, r13d
mov esi, r13d
mov r15, qword [r9 + 0x30]
mov qword [rsp + 0x58], r15
cmp byte [rax], r13b
je 0x14007f20f
movzx ecx, byte [r15 + 0x6c]
cmp r8d, 0xa
mov eax, 0x6a3
mov r9d, 0x5eb
cmovne eax, r9d
cmp byte [rax + r10], sil
je 0x14007f1d0
test cl, cl
mov eax, 0x1808
mov r9d, 0x1820
cmove eax, r9d
jmp 0x14007f214
cmp r8d, 0xa
mov eax, 0x6a5
mov r9d, 0x5ed
cmovne eax, r9d
cmp byte [rax + r10], sil
je 0x14007f1fc
test cl, cl
mov eax, 0x1a08
mov r9d, 0x1a20
cmove eax, r9d
jmp 0x14007f214
test cl, cl
mov eax, 0x208
mov r9d, 0x220
cmove eax, r9d
jmp 0x14007f214
mov eax, 0x1808
mov r15d, eax
mov ecx, 0x5ef
or r15d, 4
cmp byte [rdx], sil
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
cmovne r15d, eax
cmp r8d, 0xa
mov eax, 0x6a7
cmovne eax, ecx
movzx ecx, byte [rax + r10]
mov eax, r15d
or eax, 0x10
test cl, cl
mov rcx, r10
cmove r15d, eax
lea rax, str.schannel:_enabled_automatic_use_of_client_certificate
cmovne rdx, rax
mov dword [rsp + 0x68], r15d
call fcn.140077a60
movzx eax, byte [r14]
cmp eax, 7
ja case.default.0x14007f281
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x80294]
add rax, rcx
jmp rax
mov rax, qword [rdi]
mov ecx, dword [rax + 8]
mov rax, qword [rbx]
and ecx, 0xa
cmp cl, 0xa
jne 0x14007f2a3
lea rdi, [rax + 0x3ac]
add rax, 0x3b0
jmp 0x14007f2b0
lea rdi, [rax + 0x33c]
add rax, 0x340
mov edi, dword [rdi]
mov r14d, 0x70000
movzx ebx, byte [rax]
test edi, 0xfffeffff
jne 0x14007f2e8
xor edx, edx
mov dword [rsp + 0x20], 3
mov ecx, 0xa
mov r8d, 0x4f7c
call fcn.14007ee20
test al, al
mov edi, 0x60000
cmovne edi, r14d
sar edi, 0x10
cmp ebx, edi
jg 0x14007f344
nop
mov ecx, ebx
sub ecx, 4
je 0x14007f33a
sub ecx, 1
je 0x14007f334
sub ecx, 1
je 0x14007f32e
cmp ecx, 1
jne 0x14007f33e
xor edx, edx
mov dword [rsp + 0x20], 3
mov ecx, 0xa
mov r8d, 0x4f7c
call fcn.14007ee20
test al, al
je 0x14007f3b0
bts esi, 0xd
jmp 0x14007f33e
bts esi, 0xb
jmp 0x14007f33e
bts esi, 9
jmp 0x14007f33e
bts esi, 7
inc ebx
cmp ebx, edi
jle 0x14007f2f0
mov r14, qword [rbp + 0x198]
mov rcx, qword [r14 + 0x550]
test rcx, rcx
jne 0x14007f364
cmp qword [r14 + 0x578], r13
je 0x14007f814
mov r9, qword [r14 + 0x578]
xor r10d, r10d
mov qword [rbp + 0x190], r10
mov r15d, r13d
mov qword [rbp + 0x1a8], r10
mov edi, r10d
mov qword [rbp + 0x1a0], r10
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x70], r9
test r9, r9
je 0x14007f3bc
mov rax, qword [r9]
mov qword [rbp + 0x1a0], rax
mov rax, qword [r9 + 8]
mov qword [rsp + 0x60], rax
jmp 0x14007f595
lea rdx, str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x14008026d
call fcn.14007e8e0
mov rdi, rax
test rax, rax
je case.0x140080223.2146893056
mov r12d, 0x5c
mov rcx, rax
mov edx, r12d
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x14007f559
mov rbx, rax
lea rdx, str.CurrentUser
sub rbx, rdi
mov rcx, rdi
sar rbx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f416
mov r15d, 0x10000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.LocalMachine
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f438
mov r15d, 0x20000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.CurrentService
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f45a
mov r15d, 0x40000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.Services
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f479
mov r15d, 0x50000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.Users
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f498
mov r15d, 0x60000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.CurrentUserGroupPolicy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f4b7
mov r15d, 0x70000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.LocalMachineGroupPolicy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f4d6
mov r15d, 0x80000
jmp 0x14007f4f3
mov r8, rbx
lea rdx, str.LocalMachineEnterprise
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14007f559
mov r15d, 0x90000
mov edx, r12d
lea rcx, [r14 + 2]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x14007f559
lea r12, [rax + 2]
mov rax, 0xffffffffffffffff
mov qword [rbp + 0x190], r12
nop word [rax + rax]
inc rax
cmp word [r12 + rax*2], r13w
jne 0x14007f520
cmp rax, 0x28
jne 0x14007f559
xor r9d, r9d
lea rcx, [r14 + 2]
mov word [rbx], r9w
call qword [0x140163090]
mov word [rbx], 0x5c
mov r13, rax
test rax, rax
jne 0x14007f641
mov ebx, 0x1b
jmp 0x14007f55e
mov ebx, 0x3a
mov r14, qword [rbp + 0x198]
mov rcx, qword [r14 + 0x550]
cmp byte [rcx], 0
je 0x140080229
lea rdx, [0x1400aced8]
call fcn.14007eab0
mov r12, rax
test rax, rax
je 0x140080229
mov r9, qword [rsp + 0x70]
xor r10d, r10d
mov rdx, qword [r14 + 0x5c0]
test rdx, rdx
je 0x14007f628
cmp byte [rdx], 0
lea r8, [0x140150e4c]
je 0x14007f5e1
lea r11, [0x140000000]
movzx eax, byte [r8]
test al, al
je 0x14007f5e1
movzx ecx, byte [rdx]
movzx eax, byte [rax + r11 + 0x147570]
cmp byte [rcx + r11 + 0x147570], al
jne 0x14007f5f8
inc rdx
inc r8
cmp byte [rdx], 0
jne 0x14007f5b8
cmp byte [rdx], 0
mov ecx, r10d
mov eax, r10d
sete cl
cmp byte [r8], 0
setne al
cmp ecx, eax
jne 0x14007f628
test r9, r9
je 0x14007f606
lea r14, str._memory_blob_
jmp 0x14007f60d
mov r14, qword [r14 + 0x550]
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov r8, r14
call fcn.140077850
jmp 0x14007f73e
test r12, r12
jne 0x14007f86e
test r9, r9
jne 0x14007f86e
mov r12, qword [rbp + 0x190]
mov r9d, r15d
mov qword [rsp + 0x20], r13
bts r9d, 0xe
xor r8d, r8d
xor edx, edx
mov ecx, 0xa
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rbp + 0x1a8], rax
mov rbx, rax
test rax, rax
jne 0x14007f75a
xor r14d, r14d
mov ebx, r14d
test r13, r13
je 0x14007f6f6
mov qword [rsp + 0x38], r14
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r14
mov r8, r13
mov dword [rsp + 0x28], r14d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
test eax, eax
jle 0x14007f6f6
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007f6f6
mov qword [rsp + 0x38], r14
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r14
mov r8, r13
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14007f6f6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14007f6f9
mov r14, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x198]
lea r9, str._unknown_
test r14, r14
mov dword [rsp + 0x20], eax
mov r8d, r15d
lea rdx, str.schannel:_Failed_to_open_cert_store__lx__s__last_error_is_0x_lx
cmovne r9, r14
call fcn.140077850
mov rcx, r13
call qword [0x1401630a8]
test r14, r14
je 0x14007f73e
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rdi, rdi
je 0x14007fabc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0x3a
jmp 0x14008027e
mov rcx, r13
call qword [0x1401630a8]
lea rax, [rbp + 0x10]
mov dword [rbp - 0x10], socket
xor r13d, r13d
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea r9, [rbp + 0x10]
mov edx, 0x28
mov qword [rsp + 0x20], rax
mov r8d, 4
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x14007f7bb
test rdi, rdi
je 0x14007fb10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14007fb10
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], r13
mov r9d, 0x10000
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x10001
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x50], rax
test rdi, rdi
je 0x14007f7f8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14007fb10
mov r12, qword [rbp + 0x1a8]
mov r15d, dword [rsp + 0x68]
mov r14, qword [rbp + 0x198]
mov edx, 0x30
mov ecx, 1
call qword [case.0x140071f61.1]
mov rbx, qword [rsp + 0x58]
mov qword [rbx], rax
test rax, rax
jne 0x14007fb25
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r14
call fcn.140077850
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007f854
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test r12, r12
je case.0x140080223.2146893056
xor edx, edx
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x14008027e
mov rbx, r10
mov r15d, r10d
test r9, r9
je 0x14007f882
lea r14, str._memory_blob_
jmp 0x14007f889
mov r14, qword [r14 + 0x550]
test rdi, rdi
je 0x14007f89a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r10d, r10d
test r12, r12
je 0x14007f97d
xor edx, edx
mov edi, r10d
mov r8d, 2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
mov r15d, eax
sete r13b
test eax, eax
jne 0x14007f914
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
test eax, eax
jns 0x14007f914
mov rdi, qword [rsp + 0x60]
xor r13b, r13b
mov r15, qword [rbp + 0x1a0]
test r15, r15
je 0x14007f947
mov r9, r12
mov r8d, 1
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
jne 0x14007f947
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r13b, r13b
je 0x14007f950
mov r15d, ebx
jmp 0x14007f982
test r15d, r15d
jne 0x14007f8db
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
sete r13b
test eax, eax
jne 0x14007f8db
lea rcx, [rdi + 1]
call qword [0x140163098]
mov r15, rax
mov qword [rbp + 0x1a0], rax
jmp 0x14007f8e2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov r8, qword [rcx + 0x550]
call fcn.140077850
mov rcx, r15
call qword [0x1401630a8]
mov eax, 0x3a
jmp 0x14008027e
mov rdi, qword [rsp + 0x60]
mov r12, qword [rbp + 0x198]
mov r13, qword [rbp + 0x1a0]
mov qword [rbp + 8], r13
mov dword [rbp], edi
mov rax, qword [r12 + 0x5e0]
test rax, rax
je 0x14007f9b9
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007f9b0
lea rcx, [rbx*2 + 2]
call qword [0x140163098]
mov rdi, rax
test rax, rax
je 0x14007fa69
test rbx, rbx
je 0x14007fa06
mov r8, qword [r12 + 0x5e0]
lea ecx, [rbx + 1]
mov dword [rsp + 0x28], ecx
mov r9d, ebx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, eax
test eax, eax
js 0x14007fa18
cmp r15d, ebx
jg 0x14007fa18
mov eax, r15d
xor r9d, r9d
mov word [rdi + rax*2], r9w
jmp 0x14007fa1f
xor r9d, r9d
mov word [rdi], r9w
xor r8d, r8d
mov dword [rsp + 0x20], 3
xor edx, edx
mov ecx, 6
call fcn.14007ee20
lea rcx, [rbp]
mov rdx, rdi
test al, al
je 0x14007fa49
mov r8d, 0x8000
jmp 0x14007fa4c
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rdi
mov qword [rbp + 0x1a8], rax
call qword [0x1401630a8]
mov r12, qword [rbp + 0x198]
cmp qword [rsp + 0x70], 0
jne 0x14007fa7a
mov rcx, r13
call qword [0x1401630a8]
mov rbx, qword [rbp + 0x1a8]
test rbx, rbx
jne 0x14007fac6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r12
cmp eax, 0x56
jne 0x14007faad
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.140077850
mov eax, 0x3a
jmp 0x14008027e
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_lx
call fcn.140077850
mov eax, 0x3a
jmp 0x14008027e
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor r8d, r8d
mov edx, 0x10001
mov qword [rsp + 0x20], r13
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14007f801
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_lx
mov r9d, eax
mov rcx, r12
call fcn.140077850
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14008027e
mov rdi, qword [rbp - 0x80]
mov dword [rax + 0x28], 1
mov rax, qword [rbx]
mov qword [rax + 0x20], r12
cmp qword [rdi], 0
jne 0x14007ff84
xor edx, edx
mov dword [rsp + 0x20], 3
mov ecx, 0xa
mov r8d, 0x4563
call fcn.14007ee20
test al, al
je 0x14007ff84
xor eax, eax
mov dword [rbp + 0x40], r13d
xorps xmm1, xmm1
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x68], rax
mov r12d, r13d
mov qword [rbp - 0x7e], rax
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
mov qword [rsp + 0x72], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
mov rax, qword [rbp - 0x70]
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x80], r13w
movups xmmword [rbp - 0x50], xmm0
mov rdi, qword [rax]
mov word [rsp + 0x70], r13w
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x80], xmm1
movups xmmword [rbp + 0x90], xmm1
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0xb0], xmm1
movups xmmword [rbp + 0xc0], xmm1
movups xmmword [rbp + 0xd0], xmm1
movups xmmword [rbp + 0xe0], xmm1
movups xmmword [rbp + 0xf0], xmm1
test rdi, rdi
je 0x14007ff25
mov r15b, 1
mov edx, r13d
movzx eax, r15b
mov dword [rsp + 0x60], edx
mov byte [rbp + 0x1a8], al
movzx r13d, r15b
mov byte [rbp + 0x190], r15b
mov byte [rbp + 0x1a0], r15b
cmp byte [rdi], 0
je 0x14007fdd2
cmp edx, 5
jge 0x14007fdd2
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r14, rax
test rax, rax
je 0x14007fc64
mov rbx, rax
sub rbx, rdi
jmp 0x14007fc79
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14007fc70
test r15b, r15b
je 0x14007fcaa
cmp rbx, 0x16
jne 0x14007fcaa
mov r8, rbx
lea rcx, str.TLS_AES_256_GCM_SHA384
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14007fcaa
movzx eax, byte [rbp + 0x1a8]
xor r15b, r15b
jmp 0x14007fd7f
cmp byte [rbp + 0x190], 0
je 0x14007fce6
cmp rbx, 0x16
jne 0x14007fce6
mov r8, rbx
lea rcx, str.TLS_AES_128_GCM_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14007fce6
movzx eax, byte [rbp + 0x1a8]
xor r8b, r8b
mov byte [rbp + 0x190], r8b
jmp 0x14007fd87
test r13b, r13b
je 0x14007fd14
cmp rbx, 0x1c
jne 0x14007fd14
mov r8, rbx
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14007fd14
movzx eax, byte [rbp + 0x1a8]
xor r13b, r13b
jmp 0x14007fd7f
cmp byte [rbp + 0x1a0], 0
je 0x14007fd53
cmp rbx, 0x18
jne 0x14007fd53
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_8_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14007fd53
movzx eax, byte [rbp + 0x1a8]
xor cl, cl
movzx r8d, byte [rbp + 0x190]
mov byte [rbp + 0x1a0], cl
jmp 0x14007fd8e
cmp byte [rbp + 0x1a8], 0
je 0x14007fdaf
cmp rbx, 0x16
jne 0x14007fdaf
mov r8, rbx
lea rcx, str.TLS_AES_128_CCM_SHA256
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14007fdaf
mov byte [rbp + 0x1a8], al
movzx r8d, byte [rbp + 0x190]
movzx ecx, byte [rbp + 0x1a0]
mov rdi, r14
test r14, r14
je 0x14007fd9a
lea rdi, [r14 + 1]
mov edx, dword [rsp + 0x60]
inc edx
mov dword [rsp + 0x60], edx
test rdi, rdi
jne 0x14007fc34
jmp 0x14007fde1
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_Unknown_TLS_1.3_cipher:__.s
mov r9, rdi
mov r8d, ebx
call fcn.140077850
mov eax, 0x3b
jmp 0x14008027e
movzx ecx, byte [rbp + 0x1a0]
movzx r8d, byte [rbp + 0x190]
lea rdx, [0x140151120]
test r15b, r15b
je 0x14007fe1c
test r8b, r8b
je 0x14007fe1c
test r13b, r13b
je 0x14007fe1c
test cl, cl
je 0x14007fe20
test al, al
je 0x14007fe24
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
call fcn.140077850
mov eax, 0x3b
jmp 0x14008027e
test cl, cl
jne 0x14007fe24
test al, al
je 0x14007fe75
mov dword [rbp - 0x80], 0x200020
lea r9, str.ChainingModeCCM
mov qword [rbp - 0x78], r9
lea r9, [rbp - 0x80]
mov qword [rbp + 0x60], r9
mov dword [rbp + 0x40], 2
mov dword [rbp + 0x58], 1
mov dword [rbp + 0x48], 0x80008
mov qword [rbp + 0x50], rdx
cmp cl, al
je 0x14007fe6f
test cl, cl
je 0x14007fe68
mov dword [rbp + 0x68], 0x80
jmp 0x14007fe6f
mov dword [rbp + 0x6c], 0x40
mov r12d, 1
movzx eax, r8b
test r15b, r15b
jne 0x14007fe82
test al, al
je 0x14007feef
lea rax, str.ChainingModeGCM
mov dword [rsp + 0x70], 0x200020
mov qword [rsp + 0x78], rax
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r15b, r8b
je 0x14007feba
test r15b, r15b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
xor r9d, r9d
mov eax, r9d
cmp r15b, r8b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x40], eax
inc r12d
mov dword [rbp + rcx*8 + 0x48], 0x80008
lea rax, [rsp + 0x70]
mov qword [rbp + rcx*8 + 0x50], rdx
mov qword [rbp + rcx*8 + 0x60], rax
mov dword [rbp + rcx*8 + 0x58], 1
mov rbx, qword [rsp + 0x58]
test r13b, r13b
je 0x14007ff22
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r12d
mov dword [rbp + rcx*8 + 0x40], 2
mov dword [rbp + rcx*8 + 0x48], 0x240024
mov qword [rbp + rcx*8 + 0x50], rax
xor r13d, r13d
lea rax, [rbp + 0x40]
mov dword [rbp + 0x24], r12d
mov qword [rbp + 0x28], rax
not esi
lea rax, [rbp + 0x10]
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x20], rax
mov eax, dword [rsp + 0x68]
bts eax, 0x16
mov dword [rbp - 0x60], 5
cmp qword [rsp + 0x50], 0
mov dword [rbp - 0x2c], eax
mov dword [rbp + 0x20], esi
je 0x14007ff6f
lea rax, [rsp + 0x50]
mov dword [rbp - 0x58], 1
mov qword [rbp - 0x50], rax
mov rcx, qword [rbx]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
jmp 0x14008018c
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x60], 4
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x28], esi
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], r15d
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
test rdi, rdi
je 0x14008015b
bt esi, 0xd
jae 0x14007ffca
lea rdx, str.schannel:_WARNING:_This_version_of_Schannel_may_negotiate_a_less_secure_TLS_version_than_TLS_1.3_because_the_user_set_an_algorithm_cipher_list.
mov rcx, r14
call fcn.140077a60
mov rax, qword [rbp - 0x70]
cmp qword [rax], 0
je 0x14007ffed
lea rdx, str.schannel:_This_version_of_Schannel_does_not_support_setting_an_algorithm_cipher_list_and_TLS_1.3_cipher_list_at_the_same_time
mov rcx, r14
call fcn.140077850
mov eax, 0x3b
jmp 0x14008027e
cmp byte [rdi], 0
mov r15d, r13d
mov r14, r13
je 0x140080130
nop dword [rax]
cmp r14, 0x2f
jge 0x14008012b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
test eax, eax
jne 0x1400800f9
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x14008003b
sub rbx, rdi
jmp 0x14008004b
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140080042
mov rcx, qword [str.CALG_MD2]
mov rsi, r13
test rcx, rcx
je 0x1400800bc
lea r12, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140080077
cmp rbx, rax
jne 0x140080095
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400800ad
inc rsi
mov rax, rsi
add rax, rax
mov rcx, qword [r12 + rax*8 + 0x147710]
test rcx, rcx
jne 0x140080070
jmp 0x1400800bc
add rsi, rsi
mov eax, dword [r12 + rsi*8 + 0x147718]
test eax, eax
jne 0x1400800f9
mov r8d, send
lea rdx, str.USE_STRONG_CRYPTO
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400800f0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SCH_USE_STRONG_CRYPTO
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14008013e
or dword [rbp - 0x18], 0x400000
jmp 0x140080104
inc r15d
mov dword [rbp + r14*4 + 0x40], eax
inc r14
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
lea rdi, [rax + 1]
cmove rdi, rax
test rdi, rdi
je 0x14008012b
cmp byte [rdi], 0
jne 0x140080000
mov rbx, qword [rsp + 0x58]
lea rax, [rbp + 0x40]
mov dword [rbp - 0x38], r15d
mov qword [rbp - 0x30], rax
jmp 0x140080164
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_Failed_setting_algorithm_cipher_list
call fcn.140077850
mov eax, 0x3b
jmp 0x14008027e
bts r15d, 0x16
mov dword [rbp - 0x18], r15d
cmp qword [rsp + 0x50], 0
je 0x14008017c
lea rax, [rsp + 0x50]
mov dword [rbp - 0x5c], 1
mov qword [rbp - 0x58], rax
mov rcx, qword [rbx]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
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
mov r8d, 2
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov rax, qword [0x140163d58]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test rcx, rcx
je 0x1400801ce
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x140080225
lea rdx, [rbp + 0x40]
mov ecx, ebx
call fcn.14005b210
mov rcx, qword [rbp + 0x198]
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov r8, rax
call fcn.140077850
mov r15, qword [rsp + 0x58]
mov rcx, qword [r15]
call qword [0x1401630a8]
add ebx, 0x7ff6fd00
mov qword [r15], r13
cmp ebx, 0xe
ja case.0x140080223.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x802b4]
add rcx, rdx
jmp rcx
xor eax, eax
jmp 0x14008027e
mov r8, qword [r14 + 0x550]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r14
call fcn.140077850
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
jmp 0x14008027e
mov rcx, qword [rbp + 0x198]
lea rdx, str.SSL_versions_not_supported
call fcn.140077850
mov eax, 4
jmp 0x14008027e
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rbp + 0x198]
call fcn.140077850
mov eax, 0x23
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret