Function at 0x14008ba00
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3b8
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
movsxd rax, dword [rsp + 0x3d0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
lea rax, [rcx + rax + 0x278]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x8c], 0
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
xor eax, eax
test eax, eax
jne 0x14008ba77
mov r8d, 0x50
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.140028c20
mov dword [rsp + 0x140], 4
mov rax, qword [rsp + 0x3c8]
movzx eax, byte [rax + 0x349]
test eax, eax
je 0x14008bc65
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x14008bad1
mov dword [rsp + 0x188], 8
jmp 0x14008badc
mov dword [rsp + 0x188], 0x20
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14008bb57
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14008bb16
mov dword [rsp + 0xd4], 0
jmp 0x14008bb21
mov dword [rsp + 0xd4], 1
movsxd rax, dword [rsp + 0xd4]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14008bb57
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d3]
mov dword [rsp + 0xd8], eax
jmp 0x14008bb6d
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61b]
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x14008bb95
mov eax, dword [rsp + 0x188]
or eax, 0x1800
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x14008bb8a
jmp 0x14008bc63
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14008bc10
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14008bbcf
mov dword [rsp + 0xdc], 0
jmp 0x14008bbda
mov dword [rsp + 0xdc], 1
movsxd rax, dword [rsp + 0xdc]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14008bc10
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d5]
mov dword [rsp + 0xe0], eax
jmp 0x14008bc26
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61d]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 0
je 0x14008bc4b
mov eax, dword [rsp + 0x188]
or eax, 0x1a00
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x14008bc43
jmp 0x14008bc63
mov eax, dword [rsp + 0x188]
bts eax, 9
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x14008bc5d
jmp 0x14008bc76
mov dword [rsp + 0x188], 0x1808
xor eax, eax
test eax, eax
jne 0x14008bc70
mov rax, qword [rsp + 0x3c8]
movzx eax, byte [rax + 0x34a]
test eax, eax
jne 0x14008bca0
mov eax, dword [rsp + 0x188]
or eax, 4
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x14008bc9a
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14008bd1b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14008bcda
mov dword [rsp + 0xe8], 0
jmp 0x14008bce5
mov dword [rsp + 0xe8], 1
movsxd rax, dword [rsp + 0xe8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14008bd1b
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d7]
mov dword [rsp + 0xec], eax
jmp 0x14008bd31
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61f]
mov dword [rsp + 0xec], eax
cmp dword [rsp + 0xec], 0
jne 0x14008bd65
mov eax, dword [rsp + 0x188]
and eax, 0xffffffbf
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
or eax, 0x10
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x14008bd5d
jmp 0x14008bd6b
xor eax, eax
test eax, eax
jne 0x14008bd65
mov rax, qword [rsp + 0x3c8]
mov eax, dword [rax + 0x2e0]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14008bdb7
cmp dword [rsp + 0x64], 1
je 0x14008bdb7
cmp dword [rsp + 0x64], 2
je 0x14008bdea
cmp dword [rsp + 0x64], 3
je 0x14008bdea
cmp dword [rsp + 0x64], 4
je 0x14008bdb7
cmp dword [rsp + 0x64], 5
je 0x14008bdb7
cmp dword [rsp + 0x64], 6
je 0x14008bdb7
cmp dword [rsp + 0x64], 7
je 0x14008bdb7
jmp 0x14008be08
mov r8, qword [rsp + 0x3c8]
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0x140]
call fcn.14008d560
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14008bde8
mov eax, dword [rsp + 0x60]
jmp 0x14008caed
jmp 0x14008be26
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov eax, 4
jmp 0x14008caed
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov eax, 0x23
jmp 0x14008caed
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14008bea2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14008be60
mov dword [rsp + 0xf0], 0
jmp 0x14008be6b
mov dword [rsp + 0xf0], 1
movsxd rax, dword [rsp + 0xf0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14008bea2
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x378]
mov qword [rsp + 0x110], rax
jmp 0x14008beb9
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x308]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
je 0x14008bfa0
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14008bf44
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14008bf02
mov dword [rsp + 0xb8], 0
jmp 0x14008bf0d
mov dword [rsp + 0xb8], 1
movsxd rax, dword [rsp + 0xb8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14008bf44
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x378]
mov qword [rsp + 0x118], rax
jmp 0x14008bf5b
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x308]
mov qword [rsp + 0x118], rax
lea r8, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x140]
call fcn.14008cd4c
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14008bfa0
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov eax, dword [rsp + 0x60]
jmp 0x14008caed
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x588], 0
jne 0x14008bfc8
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5b0], 0
je 0x14008c91a
mov dword [rsp + 0x9c], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5b0], 0
je 0x14008c034
mov dword [rsp + 0xbc], 1
jmp 0x14008c03f
mov dword [rsp + 0xbc], 0
cmp dword [rsp + 0xbc], 0
jne 0x14008c056
mov dword [rsp + 0xd0], 0
jmp 0x14008c061
mov dword [rsp + 0xd0], 1
mov al, byte [rsp + 0xd0]
mov byte [rsp + 0x51], al
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14008c0b8
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x5b0]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x5b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xf8], rax
jmp 0x14008c1ac
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x588]
call fcn.140046d70
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14008c0e3
mov eax, 0x1b
jmp 0x14008caed
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x9c]
mov rcx, qword [rsp + 0x58]
call fcn.14008cb0c
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14008c150
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x3c0]
mov rcx, qword [rcx + 0x588]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14008c150
lea rdx, [0x1400de1e4]
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x588]
call fcn.14008498c
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x60], 0
je 0x14008c1ac
cmp qword [rsp + 0x70], 0
jne 0x14008c1ac
mov rax, qword [rsp + 0x3c0]
mov r8, qword [rax + 0x588]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
cmp qword [rsp + 0x58], 0
je 0x14008c19d
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c182
mov eax, dword [rsp + 0x60]
jmp 0x14008caed
cmp qword [rsp + 0x70], 0
jne 0x14008c1c1
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14008c26e
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5f0], 0
je 0x14008c26e
lea rdx, [0x1400de1b4]
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x5f0]
call fcn.1400842b8
test eax, eax
jne 0x14008c26e
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14008c210
lea rax, [0x1400df008]
mov qword [rsp + 0x120], rax
jmp 0x14008c227
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x588]
mov qword [rsp + 0x120], rax
mov r8, qword [rsp + 0x120]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
cmp qword [rsp + 0x58], 0
je 0x14008c25e
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c243
mov eax, 0x3a
jmp 0x14008caed
cmp qword [rsp + 0x70], 0
jne 0x14008c283
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14008c720
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14008c2b4
lea rax, [0x1400defa8]
mov qword [rsp + 0x128], rax
jmp 0x14008c2cb
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x588]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x58], 0
je 0x14008c2f6
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c2db
cmp qword [rsp + 0x70], 0
je 0x14008c4b2
mov dword [rsp + 0x98], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140032c9c
test eax, eax
jne 0x14008c336
mov dword [rsp + 0xc0], 1
jmp 0x14008c341
mov dword [rsp + 0xc0], 0
cmp dword [rsp + 0xc0], 0
jne 0x14008c358
mov dword [rsp + 0xc4], 0
jmp 0x14008c363
mov dword [rsp + 0xc4], 1
mov al, byte [rsp + 0xc4]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14008c388
mov rcx, qword [rsp + 0x70]
call fcn.140036670
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x14008c399
mov byte [rsp + 0x50], 0
jmp 0x14008c3a9
movsxd rax, dword [rsp + 0x98]
mov qword [rsp + 0xf8], rax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14008c40a
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140032c9c
test eax, eax
jne 0x14008c3d2
mov dword [rsp + 0xc8], 1
jmp 0x14008c3dd
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0xc8], 0
jne 0x14008c3f4
mov dword [rsp + 0xcc], 0
jmp 0x14008c3ff
mov dword [rsp + 0xcc], 1
mov al, byte [rsp + 0xcc]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14008c42f
mov rax, qword [rsp + 0xf8]
inc rax
mov rcx, rax
call qword [fcn.140033aa0]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14008c45f
mov r9, qword [rsp + 0x70]
mov r8d, 1
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xa0]
call fcn.140033398
cmp eax, 1
je 0x14008c464
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x70]
call fcn.140033728
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x14008c4b2
mov rax, qword [rsp + 0x3c0]
mov r8, qword [rax + 0x588]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov rcx, qword [rsp + 0xa0]
call qword [fcn.1400337c0]
mov eax, 0x3a
jmp 0x14008caed
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x1a8], eax
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x610], 0
je 0x14008c4fe
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x610]
call fcn.140035aa0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [fcn.140033aa0]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14008c5f5
cmp qword [rsp + 0xa8], 0
jbe 0x14008c580
mov rax, qword [rsp + 0xa8]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov rax, qword [rsp + 0x3c0]
mov r8, qword [rax + 0x610]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jl 0x14008c5b2
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x88], eax
jg 0x14008c5b2
movsxd rax, dword [rsp + 0x88]
xor ecx, ecx
mov rdx, qword [rsp + 0xb0]
mov word [rdx + rax*2], cx
jmp 0x14008c5c9
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0xb0]
mov word [rdx + rax], cx
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xb0]
call qword [fcn.1400337c0]
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14008c60c
mov rcx, qword [rsp + 0xa0]
call qword [fcn.1400337c0]
cmp qword [rsp + 0x78], 0
jne 0x14008c677
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 0x56
jne 0x14008c649
mov r8, qword [rsp + 0x108]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
jmp 0x14008c66d
mov r9d, dword [rsp + 0xe4]
mov r8, qword [rsp + 0x108]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov eax, 0x3a
jmp 0x14008caed
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x80], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x80], 0
jne 0x14008c700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x108]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14008caed
mov dword [rsp + 0x144], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x148], rax
jmp 0x14008c90d
mov eax, dword [rsp + 0x9c]
bts eax, 0xe
mov rcx, qword [rsp + 0x100]
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 + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14008c7bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x100]
mov r8d, dword [rsp + 0x9c]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov rcx, qword [rsp + 0x100]
call qword [fcn.1400337c0]
cmp qword [rsp + 0x58], 0
je 0x14008c7af
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c794
mov eax, 0x3a
jmp 0x14008caed
mov rcx, qword [rsp + 0x100]
call qword [fcn.1400337c0]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x198], socket
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x280]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14008c864
cmp qword [rsp + 0x58], 0
je 0x14008c847
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c82c
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14008caed
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x80], rax
cmp qword [rsp + 0x58], 0
je 0x14008c8bf
mov rcx, qword [rsp + 0x58]
call fcn.1400337c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14008c8a4
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x80], 0
je 0x14008c8f6
mov dword [rsp + 0x144], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x148], rax
jmp 0x14008c90d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x14008caed
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov edx, 0x28
mov ecx, 1
call qword [fcn.140035880]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x14008c98c
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x80], 0
je 0x14008c982
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x80]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x14008caed
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov dword [rax + 0x20], 1
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 + 0x140]
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 [0x1400e4360]
call qword [rax + 0x18]
mov dword [rsp + 0x8c], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x80], 0
je 0x14008ca2f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x80]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x8c], 0
je 0x14008caeb
mov r8d, 0x100
lea rdx, [rsp + 0x2a0]
mov ecx, dword [rsp + 0x8c]
call fcn.1400a3804
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14006f3b4
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [fcn.1400337c0]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x14008ca6e
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x80090300
je 0x14008cadd
cmp dword [rsp + 0x68], 0x80090304
je 0x14008cae4
cmp dword [rsp + 0x68], 0x80090305
je 0x14008cae4
cmp dword [rsp + 0x68], 0x80090306
je 0x14008cae4
cmp dword [rsp + 0x68], 0x8009030d
je 0x14008cae4
cmp dword [rsp + 0x68], 0x8009030e
je 0x14008cae4
jmp 0x14008cae4
mov eax, 0x1b
jmp 0x14008caed
mov eax, 0x23
jmp 0x14008caed
xor eax, eax
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140026bb0
add rsp, 0x3b8
ret