Function at 0x140075c50
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, 0x3b0
mov rax, qword [0x1400cd048]
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 + 0x68], 0
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
xor eax, eax
test eax, eax
jne 0x140075cc5
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x140], 4
mov rax, qword [rsp + 0x3c8]
movzx eax, byte [rax + 0x349]
test eax, eax
je 0x140075eb2
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140075d1e
mov dword [rsp + 0x188], 8
jmp 0x140075d29
mov dword [rsp + 0x188], 0x20
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x140075da4
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x140075d63
mov dword [rsp + 0xb8], 0
jmp 0x140075d6e
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 0x140075da4
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d3]
mov dword [rsp + 0xbc], eax
jmp 0x140075dba
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61b]
mov dword [rsp + 0xbc], eax
cmp dword [rsp + 0xbc], 0
je 0x140075de2
mov eax, dword [rsp + 0x188]
or eax, 0x1800
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x140075dd7
jmp 0x140075eb0
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x140075e5d
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x140075e1c
mov dword [rsp + 0xc0], 0
jmp 0x140075e27
mov dword [rsp + 0xc0], 1
movsxd rax, dword [rsp + 0xc0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x140075e5d
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d5]
mov dword [rsp + 0xc4], eax
jmp 0x140075e73
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61d]
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0
je 0x140075e98
mov eax, dword [rsp + 0x188]
or eax, 0x1a00
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x140075e90
jmp 0x140075eb0
mov eax, dword [rsp + 0x188]
bts eax, 9
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x140075eaa
jmp 0x140075ec3
mov dword [rsp + 0x188], 0x1808
xor eax, eax
test eax, eax
jne 0x140075ebd
mov rax, qword [rsp + 0x3c8]
movzx eax, byte [rax + 0x34a]
test eax, eax
jne 0x140075eed
mov eax, dword [rsp + 0x188]
or eax, 4
mov dword [rsp + 0x188], eax
xor eax, eax
test eax, eax
jne 0x140075ee7
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x140075f68
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x140075f27
mov dword [rsp + 0xc8], 0
jmp 0x140075f32
mov dword [rsp + 0xc8], 1
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x140075f68
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x6d7]
mov dword [rsp + 0xcc], eax
jmp 0x140075f7e
mov rax, qword [rsp + 0x3c0]
movzx eax, byte [rax + 0x61f]
mov dword [rsp + 0xcc], eax
cmp dword [rsp + 0xcc], 0
jne 0x140075fb2
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 0x140075faa
jmp 0x140075fb8
xor eax, eax
test eax, eax
jne 0x140075fb2
mov rax, qword [rsp + 0x3c8]
mov eax, dword [rax + 0x2e0]
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 7
ja case.default.0x140075ff0
movsxd rax, dword [rsp + 0xd0]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x76d58]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x3c8]
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0x140]
call fcn.140077cb0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140076023
mov eax, dword [rsp + 0x60]
jmp 0x140076d3f
jmp 0x140076061
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov eax, 4
jmp 0x140076d3f
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov eax, 0x23
jmp 0x140076d3f
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x1400760dd
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14007609b
mov dword [rsp + 0xd4], 0
jmp 0x1400760a6
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 0x1400760dd
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x378]
mov qword [rsp + 0x118], rax
jmp 0x1400760f4
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x308]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x1400761db
mov rax, qword [rsp + 0x3c8]
cmp dword [rax + 0x13c], 2
jne 0x14007617f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3c8]
cmp qword [rcx + rax + 0x1f0], 0xffffffffffffffff
jne 0x14007613d
mov dword [rsp + 0xd8], 0
jmp 0x140076148
mov dword [rsp + 0xd8], 1
movsxd rax, dword [rsp + 0xd8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3c8]
cmp dword [rcx + rax + 0x2a8], 2
je 0x14007617f
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x378]
mov qword [rsp + 0x120], rax
jmp 0x140076196
mov rax, qword [rsp + 0x3c8]
mov rax, qword [rax + 0x308]
mov qword [rsp + 0x120], rax
lea r8, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x140]
call fcn.140077030
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400761db
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov eax, dword [rsp + 0x60]
jmp 0x140076d3f
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x588], 0
jne 0x140076203
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5b0], 0
je 0x140076b7b
mov dword [rsp + 0x9c], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5b0], 0
je 0x14007626f
mov dword [rsp + 0xdc], 1
jmp 0x14007627a
mov dword [rsp + 0xdc], 0
cmp dword [rsp + 0xdc], 0
jne 0x140076291
mov dword [rsp + 0xf0], 0
jmp 0x14007629c
mov dword [rsp + 0xf0], 1
movzx eax, byte [rsp + 0xf0]
mov byte [rsp + 0x51], al
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x1400762f4
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 0x1400763e8
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x588]
call fcn.1400359f8
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14007631f
mov eax, 0x1b
jmp 0x140076d3f
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x9c]
mov rcx, qword [rsp + 0x58]
call fcn.140076dc0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14007638c
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 0x14007638c
lea rdx, [0x1400ced9c]
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x588]
call fcn.14006ea60
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x60], 0
je 0x1400763e8
cmp qword [rsp + 0x78], 0
jne 0x1400763e8
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.14005bda0
cmp qword [rsp + 0x58], 0
je 0x1400763d9
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400763be
mov eax, dword [rsp + 0x60]
jmp 0x140076d3f
cmp qword [rsp + 0x78], 0
jne 0x1400763fd
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x1400764aa
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x5f0], 0
je 0x1400764aa
lea rdx, [0x1400ced7c]
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rax + 0x5f0]
call fcn.14006e730
test eax, eax
jne 0x1400764aa
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14007644c
lea rax, [0x1400cfc60]
mov qword [rsp + 0x128], rax
jmp 0x140076463
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x588]
mov qword [rsp + 0x128], rax
mov r8, qword [rsp + 0x128]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
cmp qword [rsp + 0x58], 0
je 0x14007649a
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14007647f
mov eax, 0x3a
jmp 0x140076d3f
cmp qword [rsp + 0x78], 0
jne 0x1400764bf
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14007698a
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x1400764f0
lea rax, [0x1400cfc00]
mov qword [rsp + 0x130], rax
jmp 0x140076507
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x588]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x58], 0
je 0x140076532
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140076517
cmp qword [rsp + 0x78], 0
je 0x1400766f0
mov dword [rsp + 0x98], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140025030
test eax, eax
jne 0x140076572
mov dword [rsp + 0xec], 1
jmp 0x14007657d
mov dword [rsp + 0xec], 0
cmp dword [rsp + 0xec], 0
jne 0x140076594
mov dword [rsp + 0xe8], 0
jmp 0x14007659f
mov dword [rsp + 0xe8], 1
movzx eax, byte [rsp + 0xe8]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400765c5
mov rcx, qword [rsp + 0x78]
call fcn.1400259e4
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x1400765d6
mov byte [rsp + 0x50], 0
jmp 0x1400765e6
movsxd rax, dword [rsp + 0x98]
mov qword [rsp + 0xf8], rax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140076648
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140025030
test eax, eax
jne 0x14007660f
mov dword [rsp + 0xe4], 1
jmp 0x14007661a
mov dword [rsp + 0xe4], 0
cmp dword [rsp + 0xe4], 0
jne 0x140076631
mov dword [rsp + 0xe0], 0
jmp 0x14007663c
mov dword [rsp + 0xe0], 1
movzx eax, byte [rsp + 0xe0]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14007666d
mov rax, qword [rsp + 0xf8]
inc rax
mov rcx, rax
call qword [fcn.140023000]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x14007669d
mov r9, qword [rsp + 0x78]
mov r8d, 1
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xa0]
call fcn.140024c78
cmp eax, 1
je 0x1400766a2
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x78]
call fcn.140024dc4
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1400766f0
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.14005bda0
mov rcx, qword [rsp + 0xa0]
call qword [fcn.140022fec]
mov eax, 0x3a
jmp 0x140076d3f
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b8], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x1b0], eax
mov rax, qword [rsp + 0x3c0]
cmp qword [rax + 0x610], 0
je 0x140076771
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x610]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x108], 0xffffffffffffffff
inc qword [rsp + 0x108]
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x108]
cmp byte [rax + rcx], 0
jne 0x140076743
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [fcn.140023000]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x140076868
cmp qword [rsp + 0xa8], 0
jbe 0x1400767f3
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 + 0x80], eax
cmp dword [rsp + 0x80], 0
jl 0x140076825
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x80], eax
jg 0x140076825
movsxd rax, dword [rsp + 0x80]
xor ecx, ecx
mov rdx, qword [rsp + 0xb0]
mov word [rdx + rax*2], cx
jmp 0x14007683c
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 + 0x1b0]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xb0]
call qword [fcn.140022fec]
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x14007687f
mov rcx, qword [rsp + 0xa0]
call qword [fcn.140022fec]
cmp qword [rsp + 0x70], 0
jne 0x1400768ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0x56
jne 0x1400768bc
mov r8, qword [rsp + 0x110]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
jmp 0x1400768e0
mov r9d, dword [rsp + 0xf4]
mov r8, qword [rsp + 0x110]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov eax, 0x3a
jmp 0x140076d3f
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x68], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
jne 0x14007696d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x110]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x140076d3f
mov dword [rsp + 0x144], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x148], rax
jmp 0x140076b6e
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 + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140076a29
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.14005bda0
mov rcx, qword [rsp + 0x100]
call qword [fcn.140022fec]
cmp qword [rsp + 0x58], 0
je 0x140076a19
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400769fe
mov eax, 0x3a
jmp 0x140076d3f
mov rcx, qword [rsp + 0x100]
call qword [fcn.140022fec]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x1a0], socket
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x280]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140076ace
cmp qword [rsp + 0x58], 0
je 0x140076ab1
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140076a96
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x140076d3f
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x68], rax
cmp qword [rsp + 0x58], 0
je 0x140076b26
mov rcx, qword [rsp + 0x58]
call fcn.140022fec
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140076b0b
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x140076b57
mov dword [rsp + 0x144], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x148], rax
jmp 0x140076b6e
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x140076d3f
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov edx, 0x28
mov ecx, 1
call qword [fcn.140024138]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x140076be7
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x140076bdd
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x68]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x140076d3f
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 [0x1400d5040]
call qword [rax + 0x18]
mov dword [rsp + 0x84], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x140076c84
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x68]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x84], 0
je 0x140076d3d
mov r8d, 0x100
lea rdx, [rsp + 0x2a0]
mov ecx, dword [rsp + 0x84]
call fcn.14008e240
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x3c0]
call fcn.14005bda0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [fcn.140022fec]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x140076cc3
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
add eax, 0x7ff6fd00
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0xe
ja case.0x140076d2d.2146893055
movsxd rax, dword [rsp + 0x88]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x76d78]
add rax, rcx
jmp rax
mov eax, 0x1b
jmp 0x140076d3f
mov eax, 0x23
jmp 0x140076d3f
xor eax, eax
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.1400197a0
add rsp, 0x3b0
pop rdi
ret