Function at 0x1400370d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14007c068]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor eax, eax
mov qword [rbp - 0x70], rcx
mov r14d, eax
mov qword [rsp + 0x60], rax
mov r15d, eax
mov dword [rsp + 0x54], eax
mov r13, rcx
movsxd rax, r8d
mov esi, 0x2a0
mov rdi, rdx
lea rcx, [rax + rax*2]
lea r12d, [rsi - 0x18]
mov rax, qword [rdx + rcx*8 + 0x260]
mov qword [rbp - 0x68], rax
cmp byte [rdx + 0x329], r14b
je 0x1400371e7
movzx ecx, byte [rdi + 0x134]
movzx edx, byte [rax + 0x6c]
cmp cl, 2
jne 0x140037172
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov eax, r12d
cmovne eax, esi
cmp dword [rax + rdi], 2
je 0x140037172
movzx eax, byte [r13 + 0x6db]
jmp 0x14003717a
movzx eax, byte [r13 + 0x623]
test al, al
je 0x140037191
test dl, dl
mov eax, 0x1808
mov r8d, 0x1820
cmove eax, r8d
jmp 0x1400371f3
cmp cl, 2
jne 0x1400371b5
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov rax, r12
cmovne rax, rsi
cmp dword [rax + rdi], 2
je 0x1400371b5
movzx eax, byte [r13 + 0x6dd]
jmp 0x1400371bd
movzx eax, byte [r13 + 0x625]
test al, al
je 0x1400371d4
test dl, dl
mov eax, 0x1a08
mov r8d, 0x1a20
cmove eax, r8d
jmp 0x1400371f3
test dl, dl
mov eax, 0x208
mov r8d, 0x220
cmove eax, r8d
jmp 0x1400371f3
movzx ecx, byte [rdx + 0x134]
mov eax, 0x1808
mov edx, eax
or edx, 4
cmp byte [rdi + 0x32a], r14b
cmovne edx, eax
cmp cl, 2
jne 0x140037226
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov rax, r12
cmovne rax, rsi
cmp dword [rax + rdi], 2
je 0x140037226
movzx ecx, byte [r13 + 0x6df]
jmp 0x14003722e
movzx ecx, byte [r13 + 0x627]
mov eax, edx
or eax, 0x10
test cl, cl
mov rcx, r13
cmove edx, eax
lea rax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [rsp + 0x78], edx
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
cmovne rdx, rax
call fcn.14001f600
movsxd rbx, dword [rdi + 0x2c0]
cmp ebx, 7
ja case.default.0x140037277
lea rcx, [0x140000000]
mov eax, dword [rcx + rbx*4 + 0x38098]
add rax, rcx
jmp rax
movzx ecx, byte [rdi + 0x134]
cmp cl, 2
jne 0x1400372ca
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov rax, r12
cmovne rax, rsi
cmp dword [rax + rdi], 2
je 0x1400372a8
mov ebx, dword [rdi + 0x330]
mov esi, dword [rdi + 0x334]
jmp 0x1400372d0
cmp cl, 2
jne 0x1400372ca
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov rax, r12
cmovne rax, rsi
cmp dword [rax + rdi], 2
je 0x1400372ca
mov esi, dword [rdi + 0x334]
jmp 0x1400372d0
mov esi, dword [rdi + 0x2c4]
test esi, 0xfffeffff
jne 0x140037303
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
call fcn.140051af0
test al, al
mov esi, 0x60000
mov eax, 0x70000
cmovne esi, eax
sar esi, 0x10
cmp ebx, esi
jg 0x14003736b
nop word [rax + rax]
mov ecx, ebx
sub ecx, 4
je 0x14003735b
sub ecx, 1
je 0x140037354
sub ecx, 1
je 0x14003734d
cmp ecx, 1
jne 0x140037365
xor edx, edx
mov dword [rsp + 0x20], 3
mov r8d, 0x4f7c
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
call fcn.140051af0
test al, al
je 0x1400373b6
bts r14d, 0xd
jmp 0x140037360
bts r14d, 0xb
jmp 0x140037360
bts r14d, 9
jmp 0x140037360
bts r14d, 7
mov dword [rsp + 0x54], r14d
inc ebx
cmp ebx, esi
jle 0x140037310
mov rcx, qword [r13 + 0x590]
test rcx, rcx
jne 0x1400373c2
cmp qword [r13 + 0x5b8], r15
je 0x1400379b6
mov rax, qword [r13 + 0x5b8]
mov r14d, ecx
mov r12, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp - 0x78], rcx
mov rbx, rcx
mov qword [rbp - 0x80], rax
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x58], rcx
jmp 0x1400375ad
lea rdx, str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x140038061
mov rax, qword [r13 + 0x5b8]
xor edx, edx
mov qword [rsp + 0x68], rdx
mov r14d, edx
mov qword [rbp - 0x78], rdx
mov r12d, edx
mov qword [rsp + 0x58], rdx
mov ebx, edx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140037403
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x58], rcx
jmp 0x1400375ad
call case.0x140014419.0
mov rbx, rax
test rax, rax
je case.0x14003801c.2146893056
mov edx, 0x5c
mov rcx, rax
call sub.VCRUNTIME140.dll_strchr
mov r15, rax
test rax, rax
je 0x140037580
mov rsi, rax
lea rdx, str.CurrentUser
sub rsi, rbx
mov rcx, rbx
mov r8, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140037454
mov r14d, 0x10000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.LocalMachine
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140037475
mov r14d, 0x20000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.CurrentService
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140037496
mov r14d, 0x40000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.Services
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x1400374b4
mov r14d, 0x50000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.Users
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x1400374d2
mov r14d, 0x60000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.CurrentUserGroupPolicy
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x1400374f0
mov r14d, 0x70000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.LocalMachineGroupPolicy
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x14003750e
mov r14d, 0x80000
jmp 0x14003752a
mov r8, rsi
lea rdx, str.LocalMachineEnterprise
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140037580
mov r14d, 0x90000
mov edx, 0x5c
lea rcx, [r15 + 1]
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x140037580
lea rcx, [rax + 1]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x68], rcx
inc rax
cmp byte [rcx + rax], r12b
jne 0x140037550
cmp rax, 0x28
jne 0x140037580
lea rcx, [r15 + 1]
mov byte [rsi], r12b
call qword [case.0x140014419.0]
mov byte [rsi], 0x5c
mov r12, rax
test rax, rax
jne 0x140037608
lea esi, [rax + 0x1b]
jmp 0x140037585
mov esi, Ordinal_60
mov rcx, qword [r13 + 0x590]
cmp byte [rcx], 0
je 0x140038022
lea rdx, [0x140064618]
call fcn.140033a00
mov r15, rax
test rax, rax
je 0x140038022
mov rcx, qword [r13 + 0x5f8]
test rcx, rcx
je 0x1400375f2
lea rdx, [0x14006b0c4]
call fcn.140024720
test eax, eax
jne 0x1400375f2
cmp qword [rbp - 0x80], 0
lea r14, str._memory_blob_
jne 0x1400375de
mov r14, qword [r13 + 0x590]
mov r8, r14
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, r13
call fcn.14001f510
jmp 0x140037653
mov rax, qword [rbp - 0x80]
test r15, r15
jne 0x14003771d
test rax, rax
jne 0x14003771d
xor edx, edx
mov qword [rsp + 0x20], r12
mov r9d, r14d
xor r8d, r8d
bts r9d, 0xe
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov r15, rax
test rax, rax
jne 0x14003766e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, r12
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, r13
call fcn.14001f510
mov rcx, r12
call qword [fcn.140061d9c]
test rbx, rbx
je 0x140037943
mov rcx, rbx
call fcn.140061d9c
mov eax, Ordinal_60
jmp 0x14003806e
mov rcx, r12
call qword [fcn.140061d9c]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x38]
xor esi, esi
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea r9, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x28]
mov dword [rbp], reloc.WS2_32.dll_sendto
lea r8d, [rsi + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1400376c4
test rbx, rbx
je 0x140037708
mov rcx, rbx
call fcn.140061d9c
jmp 0x140037708
mov r9d, 0x10000
mov qword [rsp + 0x28], rsi
lea rax, [rbp]
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x1400376ff
mov rcx, rbx
call fcn.140061d9c
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x1400379ab
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14003806e
xor ecx, ecx
mov esi, ecx
mov r13d, ecx
test rax, rax
je 0x140037732
lea r14, str._memory_blob_
jmp 0x14003773d
mov r14, qword [rbp - 0x70]
mov r14, qword [r14 + 0x590]
test rbx, rbx
je 0x14003774c
mov rcx, rbx
call fcn.140061d9c
xor ecx, ecx
test r15, r15
je 0x14003781a
xor edx, edx
mov ebx, ecx
mov rcx, r15
lea r8d, [rdx + 2]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
sete r12b
test eax, eax
jne 0x1400377b6
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov ebx, eax
test eax, eax
jns 0x1400377b6
mov rbx, qword [rbp - 0x60]
xor r12b, r12b
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400377e3
mov r9, r15
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp eax, 1
jne 0x1400377e3
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test r12b, r12b
jne 0x14003781e
jmp 0x1400377eb
test r12b, r12b
je 0x140037784
xor r8d, r8d
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
sete r12b
test eax, eax
jne 0x140037784
lea rcx, [rbx + 1]
call qword [section..data]
mov qword [rsp + 0x58], rax
jmp 0x140037789
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rax, qword [rbp - 0x70]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, rax
mov r8, qword [rax + 0x590]
call fcn.14001f510
mov rcx, qword [rsp + 0x58]
call qword [fcn.140061d9c]
mov eax, Ordinal_60
jmp 0x14003806e
mov rbx, qword [rbp - 0x60]
mov r15, qword [rbp - 0x70]
mov r12, qword [rsp + 0x58]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x68], ebx
mov rax, qword [r15 + 0x618]
test rax, rax
je 0x14003784c
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r13b
jne 0x140037843
lea rcx, [rsi*2 + 2]
call qword [section..data]
mov rbx, rax
test rax, rax
je 0x1400378f4
test rsi, rsi
je 0x140037898
mov r8, qword [r15 + 0x618]
lea ecx, [rsi + 1]
mov dword [rsp + 0x28], ecx
mov r9d, esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r13d, eax
test eax, eax
js 0x1400378a8
cmp r13d, esi
jg 0x1400378a8
mov eax, r13d
xor esi, esi
mov word [rbx + rax*2], si
jmp 0x1400378ad
xor esi, esi
mov word [rbx], si
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140051af0
lea rcx, [rsp + 0x68]
mov rdx, rbx
test al, al
je 0x1400378dc
mov r8d, 0x8000
jmp 0x1400378df
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov rcx, rbx
mov qword [rbp - 0x78], rax
call qword [fcn.140061d9c]
jmp 0x1400378f6
xor esi, esi
cmp qword [rbp - 0x80], 0
jne 0x140037906
mov rcx, r12
call qword [fcn.140061d9c]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
jne 0x14003794d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, r14
mov rcx, r15
cmp eax, 0x56
jne 0x140037934
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
call fcn.14001f510
lea eax, [rbx + 0x3a]
jmp 0x14003806e
mov r9d, eax
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
call fcn.14001f510
mov eax, Ordinal_60
jmp 0x14003806e
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov edx, 0x10001
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400379a5
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.14001f510
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x14003806e
mov r13, r15
mov r15, rbx
mov r14d, dword [rsp + 0x54]
mov r12d, 0x288
mov edx, Ordinal_50
lea ecx, [rdx - 0x2f]
call qword [case.0x140014419.1]
mov rsi, qword [rbp - 0x68]
mov qword [rsi], rax
test rax, rax
jne 0x140037a09
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, r13
call fcn.14001f510
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400379ef
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test r15, r15
je case.0x14003801c.2146893056
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14003806e
mov dword [rax + 0x28], 1
xor edx, edx
mov rax, qword [rsi]
mov r8d, 0x4563
mov dword [rsp + 0x20], 3
lea ecx, [rdx + 0xa]
lea r9d, [rdx + 2]
mov qword [rax + 0x20], r15
call fcn.140051af0
test al, al
je 0x140037e35
xorps xmm0, xmm0
lea rcx, [rbp + 0x60]
xor eax, eax
xor edx, edx
mov r8d, 0xc0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call sub.VCRUNTIME140.dll_memset
xor r14d, r14d
xorps xmm0, xmm0
cmp byte [rdi + 0x134], 2
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm0
mov r11d, r14d
mov dword [rsp + 0x58], r14d
movups xmmword [rsp + 0x68], xmm1
jne 0x140037ab5
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov eax, 0x2a0
cmovne r12, rax
cmp dword [r12 + rdi], 2
je 0x140037ab5
mov rdi, qword [rdi + 0x360]
jmp 0x140037abc
mov rdi, qword [rdi + 0x2f0]
test rdi, rdi
je 0x140037dd2
mov r15d, r14d
mov byte [rsp + 0x50], 1
mov r14b, 1
mov byte [rsp + 0x51], 1
movzx r12d, r14b
mov byte [rsp + 0x52], 1
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
cmp byte [rdi], 0
je 0x140037c63
cmp r15d, 5
jge 0x140037c63
mov edx, Ordinal_60
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x140037b16
mov rbx, rax
sub rbx, rdi
jmp 0x140037b29
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140037b20
cmp rbx, 0x1f
ja 0x140037c4a
mov r8, rbx
lea rcx, [rbp + 0x38]
mov rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
cmp byte [rsp + 0x50], 0
mov byte [rbp + rbx + 0x38], 0
je 0x140037b6f
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_256_GCM_SHA384
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037b6f
xor r8b, r8b
mov byte [rsp + 0x50], r8b
jmp 0x140037c0b
cmp byte [rsp + 0x51], 0
je 0x140037b9a
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_GCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037b9a
movzx r8d, byte [rsp + 0x50]
xor r9b, r9b
mov byte [rsp + 0x51], r9b
jmp 0x140037c11
cmp byte [rsp + 0x52], 0
je 0x140037bcb
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037bcb
movzx r8d, byte [rsp + 0x50]
xor r10b, r10b
movzx r9d, byte [rsp + 0x51]
mov byte [rsp + 0x52], r10b
jmp 0x140037c17
test r14b, r14b
je 0x140037be9
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037be9
xor r14b, r14b
jmp 0x140037c05
test r12b, r12b
je 0x140037c31
lea rdx, [rbp + 0x38]
lea rcx, str.TLS_AES_128_CCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037c31
xor r12b, r12b
movzx r8d, byte [rsp + 0x50]
movzx r9d, byte [rsp + 0x51]
movzx r10d, byte [rsp + 0x52]
mov rdi, rsi
test rsi, rsi
je 0x140037c23
lea rdi, [rsi + 1]
inc r15d
test rdi, rdi
jne 0x140037ae6
jmp 0x140037c75
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, r13
call fcn.14001f510
mov eax, Ordinal_60
jmp 0x14003806e
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, r13
call fcn.14001f510
mov eax, Ordinal_60
jmp 0x14003806e
movzx r10d, byte [rsp + 0x52]
movzx r9d, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
lea rdx, [0x14006b398]
test r8b, r8b
je 0x140037cae
test r9b, r9b
je 0x140037cae
test r10b, r10b
je 0x140037cae
test r14b, r14b
je 0x140037cb3
test r12b, r12b
je 0x140037cb8
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
mov rcx, r13
call fcn.14001f510
mov eax, Ordinal_60
jmp 0x14003806e
test r14b, r14b
jne 0x140037cb8
test r12b, r12b
je 0x140037d1c
mov dword [rbp - 0x60], 0x200020
lea rax, str.ChainingModeCCM
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x60], 2
mov dword [rbp + 0x78], 1
mov dword [rbp + 0x68], 0x80008
mov qword [rbp + 0x70], rdx
cmp r14b, r12b
je 0x140037d14
test r14b, r14b
je 0x140037d0a
mov dword [rbp + 0x88], 0x80
mov r11d, 1
jmp 0x140037d21
mov dword [rbp + 0x8c], 0x40
mov r11d, 1
jmp 0x140037d21
mov r11d, dword [rsp + 0x58]
test r8b, r8b
jne 0x140037d2b
test r9b, r9b
je 0x140037d9d
lea rax, str.ChainingModeGCM
mov dword [rsp + 0x68], 0x200020
mov qword [rsp + 0x70], rax
mov eax, r11d
lea rcx, [rax + rax*2]
add rcx, rcx
cmp r8b, r9b
je 0x140037d63
test r8b, r8b
lea rax, str.SHA384
lea rdx, str.SHA256
cmovne rdx, rax
xor r14d, r14d
mov eax, r14d
cmp r8b, r9b
setne al
add eax, 2
mov dword [rbp + rcx*8 + 0x60], eax
inc r11d
mov dword [rbp + rcx*8 + 0x68], 0x80008
lea rax, [rsp + 0x68]
mov qword [rbp + rcx*8 + 0x70], rdx
mov qword [rbp + rcx*8 + 0x80], rax
mov dword [rbp + rcx*8 + 0x78], 1
jmp 0x140037da0
xor r14d, r14d
mov rsi, qword [rbp - 0x68]
test r10b, r10b
je 0x140037dd2
mov eax, r11d
lea rcx, [rax + rax*2]
add rcx, rcx
lea rax, str.CHACHA20_POLY1305
inc r11d
mov dword [rbp + rcx*8 + 0x60], 2
mov dword [rbp + rcx*8 + 0x68], 0x240024
mov qword [rbp + rcx*8 + 0x70], rax
lea rax, [rbp + 0x60]
mov dword [rbp + 0x24], r11d
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov eax, dword [rsp + 0x78]
bts eax, 0x16
mov dword [rbp - 0x18], 1
cmp qword [rsp + 0x60], 0
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x54]
not eax
mov dword [rbp - 0x50], 5
mov dword [rbp + 0x20], eax
je 0x140037e20
lea rax, [rsp + 0x60]
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x40], rax
mov rcx, qword [rsi]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
jmp 0x140037f8a
cmp byte [rdi + 0x134], 2
jne 0x140037e5f
cmp qword [rdi + 0x1d8], 0xffffffffffffffff
mov eax, 0x2a0
cmovne r12, rax
cmp dword [r12 + rdi], 2
je 0x140037e5f
mov rbx, qword [rdi + 0x358]
jmp 0x140037e66
mov rbx, qword [rdi + 0x2e8]
mov eax, dword [rsp + 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x50], 4
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], r14d
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 8], eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
test rbx, rbx
je 0x140037f58
xor r14d, r14d
mov esi, r14d
mov edi, r14d
cmp byte [rbx], r14b
je 0x140037f2e
cmp rdi, 0x2f
jge 0x140037f2e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
test eax, eax
jne 0x140037f06
mov rcx, rbx
call fcn.140036ac0
test eax, eax
jne 0x140037f06
lea r8d, [rax + 0x11]
mov rcx, rbx
lea rdx, str.USE_STRONG_CRYPTO
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
je 0x140037efd
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SCH_USE_STRONG_CRYPTO
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x140037f3f
or dword [rbp - 8], 0x400000
jmp 0x140037f0f
inc esi
mov dword [rbp + rdi*4 + 0x60], eax
inc rdi
mov edx, Ordinal_60
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rbx, rax
test rax, rax
je 0x140037f2e
add rbx, 1
jne 0x140037ea1
lea rax, [rbp + 0x60]
mov dword [rbp - 0x28], esi
mov rsi, qword [rbp - 0x68]
mov qword [rbp - 0x20], rax
jmp 0x140037f62
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, r13
call fcn.14001f510
mov eax, Ordinal_60
jmp 0x14003806e
bts eax, 0x16
mov dword [rbp - 8], eax
xor r14d, r14d
cmp qword [rsp + 0x60], 0
je 0x140037f7a
lea rax, [rsp + 0x60]
mov dword [rbp - 0x4c], 1
mov qword [rbp - 0x48], rax
mov rcx, qword [rsi]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rcx
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [0x1405bce10]
lea r8d, [r9 + 2]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
test rcx, rcx
je 0x140037fca
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x14003801e
mov r8d, 0x100
lea rdx, [rbp + 0x60]
mov ecx, ebx
call fcn.140033a50
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, r13
call fcn.14001f510
mov rcx, qword [rsi]
call qword [fcn.140061d9c]
add ebx, 0x7ff6fd00
mov qword [rsi], r14
cmp ebx, 0xe
ja case.0x14003801c.2146893055
lea rdx, [0x140000000]
movsxd rax, ebx
mov ecx, dword [rdx + rax*4 + 0x380b8]
add rcx, rdx
jmp rcx
xor eax, eax
jmp 0x14003806e
mov r8, qword [r13 + 0x590]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, r13
call fcn.14001f510
mov rcx, rbx
call fcn.140061d9c
mov eax, esi
jmp 0x14003806e
lea rdx, str.SSL_versions_not_supported
mov rcx, r13
call fcn.14001f510
mov eax, 4
jmp 0x14003806e
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, r13
call fcn.14001f510
mov eax, reloc.WLDAP32.dll_Ordinal_35
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140061470
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret