Function at 0x14005c61c
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5b0
mov rax, qword [0x140117dd8]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
movsxd rax, dword [rsp + 0x5d0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
lea rax, [rcx + rax + 0x258]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x130], 0
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
xor eax, eax
test eax, eax
jne 0x14005c6b0
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x329]
test eax, eax
je 0x14005c86c
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x14005c6e7
mov dword [rsp + 0x5c], 8
jmp 0x14005c6ef
mov dword [rsp + 0x5c], 0x20
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14005c76d
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5c8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14005c72c
mov dword [rsp + 0x108], 0
jmp 0x14005c737
mov dword [rsp + 0x108], 1
movsxd rax, dword [rsp + 0x108]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
cmp dword [rcx + rax + 0x288], 2
je 0x14005c76d
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x6cb]
mov dword [rsp + 0x10c], eax
jmp 0x14005c783
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x613]
mov dword [rsp + 0x10c], eax
cmp dword [rsp + 0x10c], 0
je 0x14005c7a5
mov eax, dword [rsp + 0x5c]
or eax, 0x1800
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14005c79a
jmp 0x14005c86a
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14005c823
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5c8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14005c7e2
mov dword [rsp + 0x110], 0
jmp 0x14005c7ed
mov dword [rsp + 0x110], 1
movsxd rax, dword [rsp + 0x110]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
cmp dword [rcx + rax + 0x288], 2
je 0x14005c823
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x6cd]
mov dword [rsp + 0xd8], eax
jmp 0x14005c839
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x615]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x14005c858
mov eax, dword [rsp + 0x5c]
or eax, 0x1a00
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14005c850
jmp 0x14005c86a
mov eax, dword [rsp + 0x5c]
bts eax, 9
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14005c864
jmp 0x14005c87a
mov dword [rsp + 0x5c], 0x1808
xor eax, eax
test eax, eax
jne 0x14005c874
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x32a]
test eax, eax
jne 0x14005c89e
mov eax, dword [rsp + 0x5c]
or eax, 4
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14005c898
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14005c91c
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5c8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14005c8db
mov dword [rsp + 0xdc], 0
jmp 0x14005c8e6
mov dword [rsp + 0xdc], 1
movsxd rax, dword [rsp + 0xdc]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
cmp dword [rcx + rax + 0x288], 2
je 0x14005c91c
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x6cf]
mov dword [rsp + 0xe0], eax
jmp 0x14005c932
mov rax, qword [rsp + 0x5c0]
movzx eax, byte [rax + 0x617]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 0
jne 0x14005c95a
mov eax, dword [rsp + 0x5c]
and eax, 0xffffffbf
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
or eax, 0x10
mov dword [rsp + 0x5c], eax
xor eax, eax
test eax, eax
jne 0x14005c952
jmp 0x14005c960
xor eax, eax
test eax, eax
jne 0x14005c95a
mov rax, qword [rsp + 0x5c8]
mov eax, dword [rax + 0x2c0]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x14005c9ac
cmp dword [rsp + 0x6c], 1
je 0x14005c9ac
cmp dword [rsp + 0x6c], 2
je 0x14005c9df
cmp dword [rsp + 0x6c], 3
je 0x14005c9df
cmp dword [rsp + 0x6c], 4
je 0x14005c9ac
cmp dword [rsp + 0x6c], 5
je 0x14005c9ac
cmp dword [rsp + 0x6c], 6
je 0x14005c9ac
cmp dword [rsp + 0x6c], 7
je 0x14005c9ac
jmp 0x14005c9fd
mov r8, qword [rsp + 0x5c8]
mov rdx, qword [rsp + 0x5c0]
lea rcx, [rsp + 0xb8]
call fcn.14005b578
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14005c9dd
mov eax, dword [rsp + 0x68]
jmp 0x14005e076
jmp 0x14005ca1b
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 4
jmp 0x14005e076
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 0x23
jmp 0x14005e076
mov rax, qword [rsp + 0x5c0]
cmp qword [rax + 0x580], 0
jne 0x14005ca43
mov rax, qword [rsp + 0x5c0]
cmp qword [rax + 0x5a8], 0
je 0x14005d412
mov dword [rsp + 0xb0], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0x118], 0
mov rax, qword [rsp + 0x5c0]
cmp qword [rax + 0x5a8], 0
je 0x14005cab5
mov dword [rsp + 0xe4], 1
jmp 0x14005cac0
mov dword [rsp + 0xe4], 0
cmp dword [rsp + 0xe4], 0
jne 0x14005cad7
mov dword [rsp + 0xe8], 0
jmp 0x14005cae2
mov dword [rsp + 0xe8], 1
mov al, byte [rsp + 0xe8]
mov byte [rsp + 0x58], al
mov qword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14005cb39
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x5a8]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x5a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x118], rax
jmp 0x14005cc33
mov rax, qword [rsp + 0x5c0]
mov rcx, qword [rax + 0x580]
call fcn.1400bb730
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14005cb64
mov eax, 0x1b
jmp 0x14005e076
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.14005c3b8
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14005cbd4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x5c0]
mov rcx, qword [rcx + 0x580]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14005cbd4
lea rdx, [0x140114e0c]
mov rax, qword [rsp + 0x5c0]
mov rcx, qword [rax + 0x580]
call fcn.140059b3c
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x68], 0
je 0x14005cc33
cmp qword [rsp + 0xa0], 0
jne 0x14005cc33
mov rax, qword [rsp + 0x5c0]
mov r8, qword [rax + 0x580]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
cmp qword [rsp + 0x60], 0
je 0x14005cc24
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005cc09
mov eax, dword [rsp + 0x68]
jmp 0x14005e076
cmp qword [rsp + 0xa0], 0
jne 0x14005cc4b
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14005ccf8
mov rax, qword [rsp + 0x5c0]
cmp qword [rax + 0x5e8], 0
je 0x14005ccf8
lea rdx, [0x140114e1c]
mov rax, qword [rsp + 0x5c0]
mov rcx, qword [rax + 0x5e8]
call fcn.14003f1d0
test eax, eax
jne 0x14005ccf8
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14005cc9a
lea rax, [0x1401152a0]
mov qword [rsp + 0x168], rax
jmp 0x14005ccb1
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x580]
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x168]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
cmp qword [rsp + 0x60], 0
je 0x14005cce8
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005cccd
mov eax, 0x3a
jmp 0x14005e076
cmp qword [rsp + 0xa0], 0
jne 0x14005cd10
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14005d229
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xa8], 0
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x14005cd41
lea rax, [0x1401152f0]
mov qword [rsp + 0x170], rax
jmp 0x14005cd58
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x580]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x60], 0
je 0x14005cd83
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005cd68
cmp qword [rsp + 0xa0], 0
je 0x14005cf51
mov dword [rsp + 0xac], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.1400a00d0
test eax, eax
jne 0x14005cdc9
mov dword [rsp + 0xec], 1
jmp 0x14005cdd4
mov dword [rsp + 0xec], 0
cmp dword [rsp + 0xec], 0
jne 0x14005cdeb
mov dword [rsp + 0xf0], 0
jmp 0x14005cdf6
mov dword [rsp + 0xf0], 1
mov al, byte [rsp + 0xf0]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14005ce1e
mov rcx, qword [rsp + 0xa0]
call fcn.1400a0894
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jge 0x14005ce2f
mov byte [rsp + 0x50], 0
jmp 0x14005ce3f
movsxd rax, dword [rsp + 0xac]
mov qword [rsp + 0x118], rax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14005cea3
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.1400a00d0
test eax, eax
jne 0x14005ce6b
mov dword [rsp + 0xf4], 1
jmp 0x14005ce76
mov dword [rsp + 0xf4], 0
cmp dword [rsp + 0xf4], 0
jne 0x14005ce8d
mov dword [rsp + 0x104], 0
jmp 0x14005ce98
mov dword [rsp + 0x104], 1
mov al, byte [rsp + 0x104]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14005cec8
mov rax, qword [rsp + 0x118]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x14005cefb
mov r9, qword [rsp + 0xa0]
mov r8d, 1
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc8]
call fcn.14009f7cc
cmp eax, 1
je 0x14005cf00
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14009fcc4
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x14005cf51
mov rax, qword [rsp + 0x5c0]
mov r8, qword [rax + 0x580]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov rcx, qword [rsp + 0xc8]
call qword [fcn.14008e7b0]
mov eax, 0x3a
jmp 0x14005e076
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x1f0], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x1e8], eax
mov rax, qword [rsp + 0x5c0]
cmp qword [rax + 0x608], 0
je 0x14005cfd2
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x608]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x128], 0xffffffffffffffff
inc qword [rsp + 0x128]
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x128]
cmp byte [rax + rcx], 0
jne 0x14005cfa4
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14005d116
cmp qword [rsp + 0xd0], 0
jbe 0x14005d054
mov rax, qword [rsp + 0xd0]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
mov rax, qword [rsp + 0x5c0]
mov r8, qword [rax + 0x608]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jl 0x14005d086
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0xa8], eax
jg 0x14005d086
movsxd rax, dword [rsp + 0xa8]
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
mov word [rdx + rax*2], cx
jmp 0x14005d09d
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
mov word [rdx + rax], cx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.14006b400
movzx eax, al
test eax, eax
je 0x14005d0e7
mov r8d, 0x8000
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x88], rax
jmp 0x14005d108
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xc0]
call qword [fcn.14008e7b0]
movzx eax, byte [rsp + 0x58]
test eax, eax
jne 0x14005d12d
mov rcx, qword [rsp + 0xc8]
call qword [fcn.14008e7b0]
cmp qword [rsp + 0x88], 0
jne 0x14005d19b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0x56
jne 0x14005d16d
mov r8, qword [rsp + 0x148]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
jmp 0x14005d191
mov r9d, dword [rsp + 0xf8]
mov r8, qword [rsp + 0x148]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 0x3a
jmp 0x14005e076
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x78], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
jne 0x14005d224
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x148]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14005e076
jmp 0x14005d402
mov eax, dword [rsp + 0xb0]
bts eax, 0xe
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
xor edx, edx
mov ecx, 9
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14005d2ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x120]
mov r8d, dword [rsp + 0xb0]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov rcx, qword [rsp + 0x120]
call qword [fcn.14008e7b0]
cmp qword [rsp + 0x60], 0
je 0x14005d2be
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005d2a3
mov eax, 0x3a
jmp 0x14005e076
mov rcx, qword [rsp + 0x120]
call qword [fcn.14008e7b0]
lea rax, [rsp + 0x480]
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x1f8], socket
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x480]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14005d376
cmp qword [rsp + 0x60], 0
je 0x14005d356
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005d33b
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14005e076
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x78], rax
cmp qword [rsp + 0x60], 0
je 0x14005d3d1
mov rcx, qword [rsp + 0x60]
call fcn.14008e7b0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005d3b6
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
jne 0x14005d402
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14005e076
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x130], rax
mov edx, 0x30
mov ecx, 1
call qword [fcn.14009f2f8]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x14005d499
lea rdx, [0x1401153e8]
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005d474
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp qword [rsp + 0x130], 0
je 0x14005d48f
xor edx, edx
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x14005e076
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
mov qword [rax + 0x20], rcx
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, 0x4563
xor edx, edx
mov ecx, 0xa
call fcn.14006b400
movzx eax, al
test eax, eax
je 0x14005ddc5
mov qword [rsp + 0x150], 0
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x5a], 0
mov byte [rsp + 0x5b], 0
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x59], 0
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14005d5fd
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5c8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14005d5bb
mov dword [rsp + 0xfc], 0
jmp 0x14005d5c6
mov dword [rsp + 0xfc], 1
movsxd rax, dword [rsp + 0xfc]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
cmp dword [rcx + rax + 0x288], 2
je 0x14005d5fd
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax + 0x360]
mov qword [rsp + 0x180], rax
jmp 0x14005d614
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x14005d96e
mov dword [rsp + 0x140], 5
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb4], 0
lea rax, [rsp + 0x460]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x5a], 1
mov byte [rsp + 0x5b], 1
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x59], 1
cmp qword [rsp + 0x98], 0
je 0x14005d96e
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
test eax, eax
je 0x14005d96e
mov eax, dword [rsp + 0x140]
cmp dword [rsp + 0xb4], eax
jge 0x14005d96e
mov edx, 0x3a
mov rcx, qword [rsp + 0x98]
call fcn.140080f50
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x14005d701
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x160]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
jmp 0x14005d74b
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x138], 0xffffffffffffffff
inc qword [rsp + 0x138]
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x138]
cmp byte [rax + rcx], 0
jne 0x14005d71d
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0x1f
jbe 0x14005d784
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 0x3b
jmp 0x14005e076
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x460]
call fcn.1400a0180
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x190], 0x20
jae 0x14005d7be
jmp 0x14005d7c3
call fcn.14007e718
mov rax, qword [rsp + 0x190]
mov byte [rsp + rax + 0x460], 0
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14005d813
lea rax, str.TLS_AES_256_GCM_SHA384
lea rcx, [rsp + 0x460]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14005d800
inc rax
test dl, dl
jne 0x14005d7ee
xor eax, eax
jmp 0x14005d805
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005d813
mov byte [rsp + 0x52], 0
jmp 0x14005d92b
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14005d853
lea rax, str.TLS_AES_128_GCM_SHA256
lea rcx, [rsp + 0x460]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14005d840
inc rax
test dl, dl
jne 0x14005d82e
xor eax, eax
jmp 0x14005d845
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005d853
mov byte [rsp + 0x5a], 0
jmp 0x14005d92b
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14005d893
lea rax, str.TLS_CHACHA20_POLY1305_SHA256
lea rcx, [rsp + 0x460]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14005d880
inc rax
test dl, dl
jne 0x14005d86e
xor eax, eax
jmp 0x14005d885
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005d893
mov byte [rsp + 0x5b], 0
jmp 0x14005d92b
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14005d8d0
lea rax, str.TLS_AES_128_CCM_8_SHA256
lea rcx, [rsp + 0x460]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14005d8c0
inc rax
test dl, dl
jne 0x14005d8ae
xor eax, eax
jmp 0x14005d8c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005d8d0
mov byte [rsp + 0x51], 0
jmp 0x14005d92b
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14005d90d
lea rax, str.TLS_AES_128_CCM_SHA256
lea rcx, [rsp + 0x460]
sub rcx, rax
mov dl, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14005d8fd
inc rax
test dl, dl
jne 0x14005d8eb
xor eax, eax
jmp 0x14005d902
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005d90d
mov byte [rsp + 0x59], 0
jmp 0x14005d92b
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 0x3b
jmp 0x14005e076
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14005d959
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0xb4]
inc eax
mov dword [rsp + 0xb4], eax
jmp 0x14005d686
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14005d9b9
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14005d9b9
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14005d9b9
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14005d9b9
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14005d9b9
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, 0x3b
jmp 0x14005e076
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14005d9cf
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x14005dae3
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1b0], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1b2], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeCCM
mov qword [rsp + rax + 0x1b8], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [rsp + 0x1b0]
mov qword [rsp + rax + 0x300], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2f8], 1
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [0x140115580]
mov qword [rsp + rax + 0x2f0], rcx
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x59]
cmp eax, ecx
je 0x14005dad9
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14005dac5
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x308], 0x80
jmp 0x14005dad9
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x30c], 0x40
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp + 0x52]
test eax, eax
jne 0x14005daf9
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x14005dc62
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1c0], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x20
mov word [rsp + rax + 0x1c2], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeGCM
mov qword [rsp + rax + 0x1c8], rcx
movzx eax, byte [rsp + 0x52]
movzx ecx, byte [rsp + 0x5a]
cmp eax, ecx
je 0x14005dbd3
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 3
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14005dba9
lea rax, str.SHA384
mov qword [rsp + 0x198], rax
jmp 0x14005dbb8
lea rax, str.SHA256
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x198]
mov qword [rsp + rax + 0x2f0], rcx
jmp 0x14005dc2b
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [0x1401155c8]
mov qword [rsp + rax + 0x2f0], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, [rsp + 0x1c0]
mov qword [rsp + rax + 0x300], rcx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2f8], 1
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp + 0x5b]
test eax, eax
je 0x14005dccd
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e0], 2
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2e8], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2ea], cx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
lea rcx, str.CHACHA20_POLY1305
mov qword [rsp + rax + 0x2f0], rcx
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2c8], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x2c4], eax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x248], 1
mov dword [rsp + 0x210], 5
mov eax, dword [rsp + 0x5c]
bts eax, 0x16
mov dword [rsp + 0x244], eax
mov eax, dword [rsp + 0xb8]
not eax
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 0x10], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005dd5a
mov dword [rsp + 0x218], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x210]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, [0x1401155f8]
xor ecx, ecx
mov rax, qword [0x140118d88]
call qword [rax + 0x18]
mov dword [rsp + 0x80], eax
jmp 0x14005df93
mov rax, qword [rsp + 0x5c8]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x14005de44
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x5c8]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x14005de02
mov dword [rsp + 0x100], 0
jmp 0x14005de0d
mov dword [rsp + 0x100], 1
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5c8]
cmp dword [rcx + rax + 0x288], 2
je 0x14005de44
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x1a0], rax
jmp 0x14005de5b
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax + 0x2e8]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x260], 4
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x2a8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x298], eax
cmp qword [rsp + 0x1a8], 0
je 0x14005def5
lea r8, [rsp + 0x3a0]
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x260]
call fcn.14005c278
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14005def3
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov eax, dword [rsp + 0x68]
jmp 0x14005e076
jmp 0x14005df04
mov eax, dword [rsp + 0x5c]
bts eax, 0x16
mov dword [rsp + 0x2a8], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005df2d
mov dword [rsp + 0x264], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov rax, qword [0x140118d88]
call qword [rax + 0x18]
mov dword [rsp + 0x80], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x78], 0
je 0x14005dfb8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x80], 0
je 0x14005e074
mov r8d, 0x100
lea rdx, [rsp + 0x4a0]
mov ecx, dword [rsp + 0x80]
call fcn.14006768c
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x5c0]
call fcn.140037a8c
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [fcn.14008e7b0]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x14005dff7
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x80090300
je 0x14005e066
cmp dword [rsp + 0x70], 0x80090304
je 0x14005e06d
cmp dword [rsp + 0x70], 0x80090305
je 0x14005e06d
cmp dword [rsp + 0x70], 0x80090306
je 0x14005e06d
cmp dword [rsp + 0x70], 0x8009030d
je 0x14005e06d
cmp dword [rsp + 0x70], 0x8009030e
je 0x14005e06d
jmp 0x14005e06d
mov eax, 0x1b
jmp 0x14005e076
mov eax, 0x23
jmp 0x14005e076
xor eax, eax
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.14007e5f0
add rsp, 0x5b0
pop rdi
ret