Function at 0x14010228c
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x528
mov rax, qword [0x140176220]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov qword [rsp + 0x130], 0xffffffffffffffff
mov rax, qword [rsp + 0x530]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x538]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
lea rax, [rcx + rax + 0x548]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x178], 0
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x3dc], 2
jne 0x14010238a
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x530]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x140102348
mov dword [rsp + 0x11c], 0
jmp 0x140102353
mov dword [rsp + 0x11c], 1
movsxd rax, dword [rsp + 0x11c]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
cmp dword [rcx + rax + 0x578], 2
je 0x14010238a
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x3c8]
mov qword [rsp + 0x180], rax
jmp 0x1401023a1
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x340]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x198], rax
xor eax, eax
test eax, eax
jne 0x1401023b1
mov r9d, 1
mov r8d, 2
mov edx, 1
mov ecx, 5
call fcn.1400fcb4c
movzx eax, al
test eax, eax
je 0x1401023ea
lea rdx, str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
mov rcx, qword [rsp + 0x68]
call fcn.1400ad770
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x67f]
test eax, eax
je 0x14010244e
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.wine_get_version
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14010244e
mov r9d, 3
mov r8d, 2
mov edx, 3
mov ecx, 6
call fcn.1400fcb4c
movzx eax, al
test eax, eax
je 0x14010244e
mov dword [rsp + 0x100], 1
jmp 0x140102459
mov dword [rsp + 0x100], 0
cmp dword [rsp + 0x100], 0
jne 0x140102470
mov dword [rsp + 0xe0], 0
jmp 0x14010247b
mov dword [rsp + 0xe0], 1
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov cl, byte [rsp + 0xe0]
mov byte [rax + 0x6a], cl
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x3dc], 2
jne 0x14010250a
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x530]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x1401024c8
mov dword [rsp + 0xe4], 0
jmp 0x1401024d3
mov dword [rsp + 0xe4], 1
movsxd rax, dword [rsp + 0xe4]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
cmp dword [rcx + rax + 0x578], 2
je 0x14010250a
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x618]
mov qword [rsp + 0x1b8], rax
jmp 0x140102521
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x5c0]
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
je 0x14010257a
mov r9d, 3
mov r8d, 2
mov edx, 1
mov ecx, 6
call fcn.1400fcb4c
movzx eax, al
test eax, eax
je 0x14010255d
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov byte [rax + 0x6b], 1
jmp 0x140102578
lea rdx, [0x140181740]
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x4d
jmp 0x140103a4c
jmp 0x140102587
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov byte [rax + 0x6b], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rax], 0
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x3dc], 2
jne 0x14010260f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x530]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x1401025d1
mov dword [rsp + 0xec], 0
jmp 0x1401025dc
mov dword [rsp + 0xec], 1
movsxd rax, dword [rsp + 0xec]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
cmp dword [rcx + rax + 0x578], 2
je 0x14010260f
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xb13]
mov dword [rsp + 0xf4], eax
jmp 0x140102622
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xa4b]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
je 0x1401026b1
mov rcx, qword [rsp + 0x530]
call fcn.1400afe38
mov r9d, dword [rsp + 0x538]
xor r8d, r8d
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x530]
call fcn.1400af9b8
movzx eax, al
test eax, eax
jne 0x1401026a4
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x178]
mov qword [rax], rcx
xor eax, eax
test eax, eax
jne 0x140102678
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
xor eax, eax
test eax, eax
jne 0x14010269e
mov rcx, qword [rsp + 0x530]
call fcn.1400afde8
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x1401034cd
mov r8d, 0x50
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.140054c50
mov dword [rsp + 0x1c0], 4
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x600]
test eax, eax
je 0x140102794
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140102719
mov dword [rsp + 0x208], 8
jmp 0x140102724
mov dword [rsp + 0x208], 0x20
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xabb]
test eax, eax
je 0x14010274f
mov eax, dword [rsp + 0x208]
or eax, 0x1800
mov dword [rsp + 0x208], eax
xor eax, eax
test eax, eax
jne 0x140102747
jmp 0x140102792
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0xabd]
test eax, eax
je 0x14010277a
mov eax, dword [rsp + 0x208]
or eax, 0x1a00
mov dword [rsp + 0x208], eax
xor eax, eax
test eax, eax
jne 0x140102772
jmp 0x140102792
mov eax, dword [rsp + 0x208]
bts eax, 9
mov dword [rsp + 0x208], eax
xor eax, eax
test eax, eax
jne 0x14010278c
jmp 0x1401027a5
mov dword [rsp + 0x208], 0x1808
xor eax, eax
test eax, eax
jne 0x14010279f
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x601]
test eax, eax
jne 0x1401027cf
mov eax, dword [rsp + 0x208]
or eax, 4
mov dword [rsp + 0x208], eax
xor eax, eax
test eax, eax
jne 0x1401027c9
mov rax, qword [rsp + 0x530]
mov eax, dword [rax + 0x5b0]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jl 0x140102874
cmp dword [rsp + 0x88], 1
jle 0x140102826
cmp dword [rsp + 0x88], 2
je 0x140102867
cmp dword [rsp + 0x88], 3
je 0x14010285a
cmp dword [rsp + 0x88], 3
jle 0x140102874
cmp dword [rsp + 0x88], 7
jle 0x140102826
jmp 0x140102874
mov rdx, qword [rsp + 0x530]
lea rcx, [rsp + 0x1c0]
call fcn.140104458
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140102858
mov eax, dword [rsp + 0x80]
jmp 0x140103a4c
jmp 0x14010288f
mov dword [rsp + 0x1f8], 0x20
jmp 0x14010288f
mov dword [rsp + 0x1f8], 8
jmp 0x14010288f
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x23
jmp 0x140103a4c
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x3dc], 2
jne 0x14010290b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x530]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x1401028c9
mov dword [rsp + 0xfc], 0
jmp 0x1401028d4
mov dword [rsp + 0xfc], 1
movsxd rax, dword [rsp + 0xfc]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
cmp dword [rcx + rax + 0x578], 2
je 0x14010290b
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x638]
mov qword [rsp + 0x1a0], rax
jmp 0x140102922
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x5e0]
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
je 0x140102a07
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x3dc], 2
jne 0x1401029ad
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x530]
cmp qword [rcx + rax + 0x4c0], 0xffffffffffffffff
jne 0x14010296b
mov dword [rsp + 0x104], 0
jmp 0x140102976
mov dword [rsp + 0x104], 1
movsxd rax, dword [rsp + 0x104]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x530]
cmp dword [rcx + rax + 0x578], 2
je 0x1401029ad
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x638]
mov qword [rsp + 0x190], rax
jmp 0x1401029c4
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x5e0]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x1c0]
call fcn.140103cac
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140102a07
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, dword [rsp + 0x80]
jmp 0x140103a4c
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xa80], 0
jne 0x140102a29
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xa88], 0
je 0x140103323
mov dword [rsp + 0xbc], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xa88], 0
je 0x140102a98
mov dword [rsp + 0x10c], 1
jmp 0x140102aa3
mov dword [rsp + 0x10c], 0
cmp dword [rsp + 0x10c], 0
jne 0x140102aba
mov dword [rsp + 0x114], 0
jmp 0x140102ac5
mov dword [rsp + 0x114], 1
mov al, byte [rsp + 0x114]
mov byte [rsp + 0x61], al
mov qword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0x61]
test eax, eax
je 0x140102b19
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa88]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa88]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
jmp 0x140102c05
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa80]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140102b42
mov eax, 0x1b
jmp 0x140103a4c
lea r9, [rsp + 0x188]
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
call fcn.140103a6c
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140102bb5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0xa80]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140102bb5
lea rdx, [0x14017becc]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0xa80]
call fcn.1400d1674
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x80], 0
je 0x140102c05
cmp qword [rsp + 0xa0], 0
jne 0x140102c05
mov rax, qword [rsp + 0x68]
mov r8, qword [rax + 0xa80]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x140102be7
mov eax, dword [rsp + 0x80]
jmp 0x140103a4c
cmp qword [rsp + 0xa0], 0
jne 0x140102c1d
movzx eax, byte [rsp + 0x61]
test eax, eax
je 0x140102cab
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xa90], 0
je 0x140102cab
lea rdx, [0x14017beec]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0xa90]
call fcn.1400b68b8
test eax, eax
jne 0x140102cab
movzx eax, byte [rsp + 0x61]
test eax, eax
je 0x140102c62
lea rax, [0x140181858]
mov qword [rsp + 0x1b0], rax
jmp 0x140102c76
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa80]
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x1b0]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x140102c8f
mov eax, 0x3a
jmp 0x140103a4c
cmp qword [rsp + 0xa0], 0
jne 0x140102cc3
movzx eax, byte [rsp + 0x61]
test eax, eax
je 0x14010314e
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xa8], 0
movzx eax, byte [rsp + 0x61]
test eax, eax
je 0x140102cf4
lea rax, str._memory_blob_
mov qword [rsp + 0x170], rax
jmp 0x140102d08
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa80]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x140102d18
cmp qword [rsp + 0xa0], 0
je 0x140102eec
mov dword [rsp + 0xb8], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.140059e48
test eax, eax
jne 0x140102d6a
mov dword [rsp + 0x120], 1
jmp 0x140102d75
mov dword [rsp + 0x120], 0
cmp dword [rsp + 0x120], 0
jne 0x140102d8c
mov dword [rsp + 0xe8], 0
jmp 0x140102d97
mov dword [rsp + 0xe8], 1
mov al, byte [rsp + 0xe8]
mov byte [rsp + 0x60], al
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140102dbf
mov rcx, qword [rsp + 0xa0]
call fcn.14005ae58
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jge 0x140102dd0
mov byte [rsp + 0x60], 0
jmp 0x140102de0
movsxd rax, dword [rsp + 0xb8]
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140102e44
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.140059e48
test eax, eax
jne 0x140102e0c
mov dword [rsp + 0x108], 1
jmp 0x140102e17
mov dword [rsp + 0x108], 0
cmp dword [rsp + 0x108], 0
jne 0x140102e2e
mov dword [rsp + 0xf0], 0
jmp 0x140102e39
mov dword [rsp + 0xf0], 1
mov al, byte [rsp + 0xf0]
mov byte [rsp + 0x60], al
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140102e69
mov rax, qword [rsp + 0xd8]
inc rax
mov rcx, rax
call qword [fcn.140057474]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x140102e9c
mov r9, qword [rsp + 0xa0]
mov r8d, 1
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400599d8
cmp eax, 1
je 0x140102ea1
mov byte [rsp + 0x60], 0
mov rcx, qword [rsp + 0xa0]
call fcn.140052cd4
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x140102eec
mov rax, qword [rsp + 0x68]
mov r8, qword [rax + 0xa80]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov rcx, qword [rsp + 0xc0]
call qword [fcn.140053e5c]
mov eax, 0x3a
jmp 0x140103a4c
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x248], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x240], eax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xab0], 0
je 0x140102f32
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0xab0]
call fcn.1400596f0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [fcn.140057474]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x140103027
cmp qword [rsp + 0xd0], 0
jbe 0x140102fb0
mov rax, qword [rsp + 0xd0]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
mov rax, qword [rsp + 0x68]
mov r8, qword [rax + 0xab0]
mov edx, 8
mov ecx, 0xfde9
call fcn.1401046bc
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jl 0x140102fe2
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0xa8], eax
jg 0x140102fe2
movsxd rax, dword [rsp + 0xa8]
xor ecx, ecx
mov rdx, qword [rsp + 0xc8]
mov word [rdx + rax*2], cx
jmp 0x140102ff9
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0xc8]
mov word [rdx + rax], cx
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x240]
call fcn.140104d08
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xc8]
call qword [fcn.140053e5c]
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x14010303e
mov rcx, qword [rsp + 0xc0]
call qword [fcn.140053e5c]
cmp qword [rsp + 0x98], 0
jne 0x1401030a5
call fcn.140104894
mov dword [rsp + 0x118], eax
cmp dword [rsp + 0x118], 0x56
jne 0x14010307a
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
jmp 0x14010309b
mov r9d, dword [rsp + 0x118]
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x3a
jmp 0x140103a4c
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x98]
call fcn.140105048
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x90], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x90], 0
jne 0x14010312e
call fcn.140104894
mov r9d, eax
mov r8, qword [rsp + 0x140]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140104ecc
mov eax, 0x3a
jmp 0x140103a4c
mov dword [rsp + 0x1c4], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x1c8], rax
jmp 0x140103314
mov eax, dword [rsp + 0xbc]
bts eax, 0xe
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
xor edx, edx
mov ecx, 9
call fcn.1401054d0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1401031df
call fcn.140104894
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x128]
mov r8d, dword [rsp + 0xbc]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov rcx, qword [rsp + 0x128]
call qword [fcn.140053e5c]
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x1401031c3
mov eax, 0x3a
jmp 0x140103a4c
mov rcx, qword [rsp + 0x128]
call qword [fcn.140053e5c]
lea rax, [rsp + 0x270]
mov qword [rsp + 0x230], rax
mov dword [rsp + 0x228], 0x14
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x228]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x270]
mov r8d, 4
mov edx, 0x28
mov rcx, qword [rsp + 0x188]
call fcn.14010566c
test eax, eax
jne 0x140103276
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x14010324b
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140104ecc
mov eax, 0x3a
jmp 0x140103a4c
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x228]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x98]
call fcn.140105048
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x90], rax
mov qword [rsp + 0xb0], 0
xor eax, eax
test eax, eax
jne 0x1401032b8
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x90], 0
je 0x1401032fb
mov dword [rsp + 0x1c4], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x1c8], rax
jmp 0x140103314
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140104ecc
mov eax, 0x3a
jmp 0x140103a4c
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140104ecc
mov edx, 0x20
mov ecx, 1
call qword [fcn.140058be0]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
cmp qword [rax], 0
jne 0x140103393
lea rdx, [0x1401819e8]
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x90], 0
je 0x140103389
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x90]
call fcn.1401052b0
mov eax, 0x1b
jmp 0x140103a4c
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
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 + 0x1c0]
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 [0x140187a30]
call qword [rax + 0x18]
mov dword [rsp + 0x84], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x90], 0
je 0x140103438
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x90]
call fcn.1401052b0
cmp dword [rsp + 0x84], 0
je 0x1401034cd
mov r8d, 0x100
lea rdx, [rsp + 0x410]
mov ecx, dword [rsp + 0x84]
call fcn.1400f6ac4
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call qword [fcn.140053e5c]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x140103474
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x148], eax
cmp dword [rsp + 0x148], 0x80090300
je 0x1401034b9
jmp 0x1401034c3
mov eax, 0x1b
jmp 0x140103a4c
mov eax, 0x23
jmp 0x140103a4c
lea r8, [rsp + 0x238]
mov rdx, qword [rsp + 0x198]
mov ecx, 2
call fcn.1400fced4
test eax, eax
je 0x1401034fc
lea rdx, str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
mov rcx, qword [rsp + 0x68]
call fcn.1400ad770
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x14010367a
mov dword [rsp + 0x70], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x138], 0
movsxd rax, dword [rsp + 0x70]
lea rax, [rsp + rax + 0x290]
mov qword [rsp + 0x168], rax
movsxd rax, dword [rsp + 0x70]
add rax, 4
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x70]
mov dword [rsp + rax + 0x290], 2
movsxd rax, dword [rsp + 0x70]
add rax, 4
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x70]
lea rax, [rsp + rax + 0x290]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x70]
add rax, 2
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xf8], eax
movsxd rax, dword [rsp + 0x70]
mov byte [rsp + rax + 0x290], 8
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsp + 0x70]
lea rax, [rsp + rax + 0x290]
mov r8d, 8
lea rdx, [0x140181ab0]
mov rcx, rax
call fcn.1400523b0
mov eax, dword [rsp + 0x70]
add eax, 8
mov dword [rsp + 0x70], eax
lea r8, [0x140181ac0]
lea rdx, str.schannel:_ALPN__offering__s_n
mov rcx, qword [rsp + 0x68]
call fcn.1400ad770
mov eax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.1400addc4
mov rcx, qword [rsp + 0x138]
mov word [rcx], ax
mov rax, qword [rsp + 0x138]
movzx eax, word [rax]
add rax, 6
mov rcx, qword [rsp + 0x168]
mov dword [rcx], eax
mov r9d, dword [rsp + 0x70]
lea r8, [rsp + 0x290]
mov edx, 0x12
lea rcx, [rsp + 0x218]
call fcn.14010467c
mov r8d, 1
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x250]
call fcn.140104640
jmp 0x1401036aa
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x218]
call fcn.14010467c
mov r8d, 1
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x250]
call fcn.140104640
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x158]
call fcn.14010467c
mov r8d, 1
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x260]
call fcn.140104640
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov dword [rax + 0x5c], 0x811c
mov edx, 0x18
mov ecx, 1
call qword [fcn.140058be0]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
cmp qword [rax + 8], 0
jne 0x140103732
lea rdx, [0x140181af0]
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x1b
jmp 0x140103a4c
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
jne 0x140103757
mov eax, 0x1b
jmp 0x140103a4c
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x14010377a
lea rax, [rsp + 0x250]
mov qword [rsp + 0x1a8], rax
jmp 0x140103786
mov qword [rsp + 0x1a8], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
add rax, 0x10
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
add rcx, 0x60
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + 8]
mov r8, qword [rsp + 0x78]
mov r8, qword [r8 + 8]
mov r9, qword [rsp + 0x78]
mov r9, qword [r9 + 8]
mov r9, qword [r9]
mov qword [rsp + 0x210], r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x260]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [r8 + 0x5c]
mov r8, qword [rsp + 0x150]
xor edx, edx
mov rax, qword [rsp + 0x210]
mov rcx, rax
mov rax, qword [0x140187a30]
call qword [rax + 0x30]
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x150], 0
xor eax, eax
test eax, eax
jne 0x140103839
cmp dword [rsp + 0x84], 0x90312
je 0x140103958
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 8]
call qword [fcn.140053e5c]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rax + 8], 0
xor eax, eax
test eax, eax
jne 0x14010385c
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x110], eax
cmp dword [rsp + 0x110], 0x80090300
je 0x1401038b0
cmp dword [rsp + 0x110], 0x80090322
je 0x1401038e8
jmp 0x140103920
mov r8d, 0x100
lea rdx, [rsp + 0x310]
mov ecx, dword [rsp + 0x84]
call fcn.1400f6ac4
mov r8, rax
lea rdx, [0x140181b18]
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x1b
jmp 0x140103a4c
mov r8d, 0x100
lea rdx, [rsp + 0x310]
mov ecx, dword [rsp + 0x84]
call fcn.1400f6ac4
mov r8, rax
lea rdx, [0x140181b50]
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x3c
jmp 0x140103a4c
mov r8d, 0x100
lea rdx, [rsp + 0x310]
mov ecx, dword [rsp + 0x84]
call fcn.1400f6ac4
mov r8, rax
lea rdx, str.schannel:_initial_InitializeSecurityContext_failed:__s
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x23
jmp 0x140103a4c
xor eax, eax
test eax, eax
jne 0x140103958
mov eax, dword [rsp + 0x158]
movsxd rcx, dword [rsp + 0x538]
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8, qword [rsp + 0x160]
mov rax, qword [rsp + 0x530]
mov rdx, qword [rax + rcx*8 + 0x4c0]
mov rcx, qword [rsp + 0x530]
call fcn.1400acac0
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x160]
mov rax, qword [0x140187a30]
call qword [rax + 0x80]
cmp dword [rsp + 0x80], 0
jne 0x1401039d9
mov eax, dword [rsp + 0x158]
cmp rax, qword [rsp + 0x130]
je 0x140103a01
mov r9d, dword [rsp + 0x158]
mov r8, qword [rsp + 0x130]
lea rdx, str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov rcx, qword [rsp + 0x68]
call fcn.1400adbac
mov eax, 0x23
jmp 0x140103a4c
xor eax, eax
test eax, eax
jne 0x140103a01
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov byte [rax + 0x68], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov byte [rax + 0x69], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov byte [rax + 0x58], 0
mov rax, qword [rsp + 0x78]
mov dword [rax + 4], 1
xor eax, eax
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140052380
add rsp, 0x528
ret