Function at 0x140150a80
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, 0x750
lea rdi, [rsp + 0x50]
mov ecx, 0x1c0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x760]
mov rax, qword [0x14021ab88]
xor rax, rsp
mov qword [rsp + 0x748], rax
movsxd rax, dword [rsp + 0x770]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
lea rax, [rcx + rax + 0x258]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
xor eax, eax
test eax, eax
jne 0x140150b18
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x329]
test eax, eax
je 0x140150cd4
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140150b4f
mov dword [rsp + 0x7c], 8
jmp 0x140150b57
mov dword [rsp + 0x7c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x140150bd5
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x768]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x140150b94
mov dword [rsp + 0x6c8], 0
jmp 0x140150b9f
mov dword [rsp + 0x6c8], 1
movsxd rax, dword [rsp + 0x6c8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
cmp dword [rcx + rax + 0x288], 2
je 0x140150bd5
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x6db]
mov dword [rsp + 0x6cc], eax
jmp 0x140150beb
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x623]
mov dword [rsp + 0x6cc], eax
cmp dword [rsp + 0x6cc], 0
je 0x140150c0d
mov eax, dword [rsp + 0x7c]
or eax, 0x1800
mov dword [rsp + 0x7c], eax
xor eax, eax
test eax, eax
jne 0x140150c02
jmp 0x140150cd2
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x140150c8b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x768]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x140150c4a
mov dword [rsp + 0x6d0], 0
jmp 0x140150c55
mov dword [rsp + 0x6d0], 1
movsxd rax, dword [rsp + 0x6d0]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
cmp dword [rcx + rax + 0x288], 2
je 0x140150c8b
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x6dd]
mov dword [rsp + 0x6d4], eax
jmp 0x140150ca1
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x625]
mov dword [rsp + 0x6d4], eax
cmp dword [rsp + 0x6d4], 0
je 0x140150cc0
mov eax, dword [rsp + 0x7c]
or eax, 0x1a00
mov dword [rsp + 0x7c], eax
xor eax, eax
test eax, eax
jne 0x140150cb8
jmp 0x140150cd2
mov eax, dword [rsp + 0x7c]
bts eax, 9
mov dword [rsp + 0x7c], eax
xor eax, eax
test eax, eax
jne 0x140150ccc
jmp 0x140150ce2
mov dword [rsp + 0x7c], 0x1808
xor eax, eax
test eax, eax
jne 0x140150cdc
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x32a]
test eax, eax
jne 0x140150d06
mov eax, dword [rsp + 0x7c]
or eax, 4
mov dword [rsp + 0x7c], eax
xor eax, eax
test eax, eax
jne 0x140150d00
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x140150d84
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x768]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x140150d43
mov dword [rsp + 0x6d8], 0
jmp 0x140150d4e
mov dword [rsp + 0x6d8], 1
movsxd rax, dword [rsp + 0x6d8]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
cmp dword [rcx + rax + 0x288], 2
je 0x140150d84
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x6df]
mov dword [rsp + 0x6dc], eax
jmp 0x140150d9a
mov rax, qword [rsp + 0x760]
movzx eax, byte [rax + 0x627]
mov dword [rsp + 0x6dc], eax
cmp dword [rsp + 0x6dc], 0
jne 0x140150dd0
mov eax, dword [rsp + 0x7c]
and eax, 0xffffffbf
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
or eax, 0x10
mov dword [rsp + 0x7c], eax
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x760]
call fcn.14009a8f0
jmp 0x140150de4
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x760]
call fcn.14009a8f0
mov rax, qword [rsp + 0x768]
mov eax, dword [rax + 0x2c0]
mov dword [rsp + 0x6e0], eax
cmp dword [rsp + 0x6e0], 7
ja case.default.0x140150e1c
movsxd rax, dword [rsp + 0x6e0]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1524fc]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x768]
mov rdx, qword [rsp + 0x760]
lea rcx, [rsp + 0x84]
call fcn.14014fdb0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140150e4f
mov eax, dword [rsp + 0x78]
jmp 0x1401524cd
jmp 0x140150e8d
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, 4
jmp 0x1401524cd
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x1401524cd
mov rax, qword [rsp + 0x760]
cmp qword [rax + 0x590], 0
jne 0x140150eb5
mov rax, qword [rsp + 0x760]
cmp qword [rax + 0x5b8], 0
je 0x140151887
mov dword [rsp + 0xa4], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x170], 0
mov rax, qword [rsp + 0x760]
cmp qword [rax + 0x5b8], 0
je 0x140150f27
mov dword [rsp + 0x6e4], 1
jmp 0x140150f32
mov dword [rsp + 0x6e4], 0
cmp dword [rsp + 0x6e4], 0
jne 0x140150f49
mov dword [rsp + 0x6e8], 0
jmp 0x140150f54
mov dword [rsp + 0x6e8], 1
movzx eax, byte [rsp + 0x6e8]
mov byte [rsp + 0x178], al
mov qword [rsp + 0x180], 0
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x140150fb5
mov rax, qword [rsp + 0x760]
mov rax, qword [rax + 0x5b8]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x760]
mov rax, qword [rax + 0x5b8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x170], rax
jmp 0x1401510c3
mov rax, qword [rsp + 0x760]
mov rcx, qword [rax + 0x590]
call qword [sym.imp.ucrtbased.dll__strdup]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
jne 0x140150fe7
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401524cd
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xa4]
mov rcx, qword [rsp + 0x180]
call fcn.140150830
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x14015105a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x760]
mov rcx, qword [rcx + 0x590]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14015105a
lea rdx, [0x1402124ac]
mov rax, qword [rsp + 0x760]
mov rcx, qword [rax + 0x590]
call fcn.140099f95
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x78], 0
je 0x1401510c3
cmp qword [rsp + 0x160], 0
jne 0x1401510c3
mov rax, qword [rsp + 0x760]
mov r8, qword [rax + 0x590]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
cmp qword [rsp + 0x180], 0
je 0x1401510b4
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x14015108f
mov eax, dword [rsp + 0x78]
jmp 0x1401524cd
cmp qword [rsp + 0x160], 0
jne 0x1401510de
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x14015119c
mov rax, qword [rsp + 0x760]
cmp qword [rax + 0x5f8], 0
je 0x14015119c
lea rdx, [0x1402124bc]
mov rax, qword [rsp + 0x760]
mov rcx, qword [rax + 0x5f8]
call fcn.1400993c4
test eax, eax
jne 0x14015119c
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x140151134
lea rax, [0x1402129b0]
mov qword [rsp + 0x6f0], rax
jmp 0x14015114b
mov rax, qword [rsp + 0x760]
mov rax, qword [rax + 0x590]
mov qword [rsp + 0x6f0], rax
mov r8, qword [rsp + 0x6f0]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
cmp qword [rsp + 0x180], 0
je 0x14015118c
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x140151167
mov eax, Ordinal_60
jmp 0x1401524cd
cmp qword [rsp + 0x160], 0
jne 0x1401511b7
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x140151680
mov qword [rsp + 0x1c0], 0
mov dword [rsp + 0x1c8], 0
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x1401511eb
lea rax, [0x140212a00]
mov qword [rsp + 0x6f8], rax
jmp 0x140151202
mov rax, qword [rsp + 0x760]
mov rax, qword [rax + 0x590]
mov qword [rsp + 0x6f8], rax
mov rax, qword [rsp + 0x6f8]
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x180], 0
je 0x140151237
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x140151212
cmp qword [rsp + 0x160], 0
je 0x140151424
mov dword [rsp + 0x1d8], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
jne 0x14015127e
mov dword [rsp + 0x700], 1
jmp 0x140151289
mov dword [rsp + 0x700], 0
cmp dword [rsp + 0x700], 0
jne 0x1401512a0
mov dword [rsp + 0x704], 0
jmp 0x1401512ab
mov dword [rsp + 0x704], 1
movzx eax, byte [rsp + 0x704]
mov byte [rsp + 0x1dc], al
movzx eax, byte [rsp + 0x1dc]
test eax, eax
je 0x1401512db
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rsp + 0x1d8], eax
cmp dword [rsp + 0x1d8], 0
jge 0x1401512ef
mov byte [rsp + 0x1dc], 0
jmp 0x1401512ff
movsxd rax, dword [rsp + 0x1d8]
mov qword [rsp + 0x170], rax
movzx eax, byte [rsp + 0x1dc]
test eax, eax
je 0x14015136b
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
jne 0x14015132f
mov dword [rsp + 0x708], 1
jmp 0x14015133a
mov dword [rsp + 0x708], 0
cmp dword [rsp + 0x708], 0
jne 0x140151351
mov dword [rsp + 0x70c], 0
jmp 0x14015135c
mov dword [rsp + 0x70c], 1
movzx eax, byte [rsp + 0x70c]
mov byte [rsp + 0x1dc], al
movzx eax, byte [rsp + 0x1dc]
test eax, eax
je 0x140151393
mov rax, qword [rsp + 0x170]
inc rax
mov rcx, rax
call qword [fcn.140099ae0]
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0
je 0x1401513c7
mov r9, qword [rsp + 0x160]
mov r8d, 1
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ucrtbased.dll_fread]
cmp eax, 1
je 0x1401513cf
mov byte [rsp + 0x1dc], 0
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ucrtbased.dll_fclose]
movzx eax, byte [rsp + 0x1dc]
test eax, eax
jne 0x140151424
mov rax, qword [rsp + 0x760]
mov r8, qword [rax + 0x590]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov rcx, qword [rsp + 0x168]
call qword [0x14020a040]
mov eax, Ordinal_60
jmp 0x1401524cd
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1a0], rax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x198], eax
mov rax, qword [rsp + 0x760]
cmp qword [rax + 0x618], 0
je 0x140151470
mov rax, qword [rsp + 0x760]
mov rcx, qword [rax + 0x618]
call fcn.140099469
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [fcn.140099ae0]
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
je 0x14015156a
cmp qword [rsp + 0x1c0], 0
jbe 0x1401514f2
mov rax, qword [rsp + 0x1c0]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1c0]
mov rax, qword [rsp + 0x760]
mov r8, qword [rax + 0x618]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x1c8], eax
cmp dword [rsp + 0x1c8], 0
jl 0x140151524
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x1c8], eax
jg 0x140151524
movsxd rax, dword [rsp + 0x1c8]
xor ecx, ecx
mov rdx, qword [rsp + 0x1b8]
mov word [rdx + rax*2], cx
jmp 0x14015153b
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x1b8]
mov word [rdx + rax], cx
xor r8d, r8d
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x198]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x1b8]
call qword [0x14020a040]
movzx eax, byte [rsp + 0x178]
test eax, eax
jne 0x140151584
mov rcx, qword [rsp + 0x168]
call qword [0x14020a040]
cmp qword [rsp + 0x158], 0
jne 0x1401515f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1e0], eax
cmp dword [rsp + 0x1e0], 0x56
jne 0x1401515c4
mov r8, qword [rsp + 0x1d0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
jmp 0x1401515e8
mov r9d, dword [rsp + 0x1e0]
mov r8, qword [rsp + 0x1d0]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, Ordinal_60
jmp 0x1401524cd
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x158]
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 0x14015167b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x1d0]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
xor edx, edx
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1401524cd
jmp 0x140151877
mov eax, dword [rsp + 0xa4]
bts eax, 0xe
mov rcx, qword [rsp + 0xc8]
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 + 0x158], rax
cmp qword [rsp + 0x158], 0
jne 0x14015172f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xc8]
mov r8d, dword [rsp + 0xa4]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov rcx, qword [rsp + 0xc8]
call qword [0x14020a040]
cmp qword [rsp + 0x180], 0
je 0x14015171f
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x1401516fa
mov eax, Ordinal_60
jmp 0x1401524cd
mov rcx, qword [rsp + 0xc8]
call qword [0x14020a040]
lea rax, [rsp + 0x138]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x108], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x138]
mov r8d, 4
mov edx, Ordinal_41
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1401517e1
cmp qword [rsp + 0x180], 0
je 0x1401517c1
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x14015179c
xor edx, edx
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1401524cd
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x68], rax
cmp qword [rsp + 0x180], 0
je 0x140151846
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll_free]
mov qword [rsp + 0x180], 0
xor eax, eax
test eax, eax
jne 0x140151821
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
jne 0x140151877
xor edx, edx
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1401524cd
xor edx, edx
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov edx, Ordinal_41
mov ecx, 1
call qword [0x14020a058]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
jne 0x1401518f3
lea rdx, [0x140212af8]
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x1401518e9
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x68]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401524cd
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov dword [rax + 0x20], 1
mov dword [rsp + 0x20], 3
mov r9d, 2
mov r8d, 0x4563
xor edx, edx
mov ecx, 0xa
call fcn.14009a56c
movzx eax, al
test eax, eax
je 0x14015222b
mov qword [rsp + 0x1e8], 0
mov byte [rsp + 0x1f0], 0
mov byte [rsp + 0x1f1], 0
mov byte [rsp + 0x1f2], 0
mov byte [rsp + 0x1f3], 0
mov byte [rsp + 0x1f4], 0
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [rsp + 0x278]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
lea rax, [rsp + 0x398]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x3c8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x3e4], 0
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x140151a52
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x768]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x140151a10
mov dword [rsp + 0x710], 0
jmp 0x140151a1b
mov dword [rsp + 0x710], 1
movsxd rax, dword [rsp + 0x710]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
cmp dword [rcx + rax + 0x288], 2
je 0x140151a52
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x360]
mov qword [rsp + 0x718], rax
jmp 0x140151a69
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x718], rax
mov rax, qword [rsp + 0x718]
mov qword [rsp + 0x1e8], rax
cmp qword [rsp + 0x1e8], 0
je 0x140151d50
mov dword [rsp + 0x3e8], 5
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x3f0], rax
mov dword [rsp + 0x3f8], 0
lea rax, [rsp + 0x408]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
mov byte [rsp + 0x1f0], 1
mov byte [rsp + 0x1f1], 1
mov byte [rsp + 0x1f2], 1
mov byte [rsp + 0x1f3], 1
mov byte [rsp + 0x1f4], 1
cmp qword [rsp + 0x3f0], 0
je 0x140151d50
mov rax, qword [rsp + 0x3f0]
movsx eax, byte [rax]
test eax, eax
je 0x140151d50
mov eax, dword [rsp + 0x3e8]
cmp dword [rsp + 0x3f8], eax
jge 0x140151d50
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x3f0]
call fcn.140098226
mov qword [rsp + 0x438], rax
cmp qword [rsp + 0x438], 0
je 0x140151b65
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rsp + 0x438]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x720], rax
jmp 0x140151b7a
mov rcx, qword [rsp + 0x3f0]
call fcn.140099469
mov qword [rsp + 0x720], rax
mov rax, qword [rsp + 0x720]
mov qword [rsp + 0x440], rax
cmp qword [rsp + 0x440], 0x1f
jbe 0x140151bb3
lea rdx, str.Cipher_name_too_long__not_checked.
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, Ordinal_60
jmp 0x1401524cd
mov r8, qword [rsp + 0x440]
mov rdx, qword [rsp + 0x3f0]
lea rcx, [rsp + 0x408]
call qword [sym.imp.ucrtbased.dll_strncpy]
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x6c0], rax
cmp qword [rsp + 0x6c0], 0x20
jae 0x140151bee
jmp 0x140151bf3
call fcn.14009a058
mov rax, qword [rsp + 0x6c0]
mov byte [rsp + rax + 0x408], 0
movzx eax, byte [rsp + 0x1f0]
test eax, eax
je 0x140151c34
lea rdx, [rsp + 0x408]
lea rcx, str.TLS_AES_256_GCM_SHA384
call fcn.14009b1ce
test eax, eax
jne 0x140151c34
mov byte [rsp + 0x1f0], 0
jmp 0x140151d0d
movzx eax, byte [rsp + 0x1f1]
test eax, eax
je 0x140151c65
lea rdx, [rsp + 0x408]
lea rcx, str.TLS_AES_128_GCM_SHA256
call fcn.14009b1ce
test eax, eax
jne 0x140151c65
mov byte [rsp + 0x1f1], 0
jmp 0x140151d0d
movzx eax, byte [rsp + 0x1f2]
test eax, eax
je 0x140151c93
lea rdx, [rsp + 0x408]
lea rcx, str.TLS_CHACHA20_POLY1305_SHA256
call fcn.14009b1ce
test eax, eax
jne 0x140151c93
mov byte [rsp + 0x1f2], 0
jmp 0x140151d0d
movzx eax, byte [rsp + 0x1f3]
test eax, eax
je 0x140151cc1
lea rdx, [rsp + 0x408]
lea rcx, str.TLS_AES_128_CCM_8_SHA256
call fcn.14009b1ce
test eax, eax
jne 0x140151cc1
mov byte [rsp + 0x1f3], 0
jmp 0x140151d0d
movzx eax, byte [rsp + 0x1f4]
test eax, eax
je 0x140151cef
lea rdx, [rsp + 0x408]
lea rcx, str.TLS_AES_128_CCM_SHA256
call fcn.14009b1ce
test eax, eax
jne 0x140151cef
mov byte [rsp + 0x1f4], 0
jmp 0x140151d0d
lea rdx, str.Passed_in_an_unknown_TLS_1.3_cipher.
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, Ordinal_60
jmp 0x1401524cd
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x3f0], rax
cmp qword [rsp + 0x3f0], 0
je 0x140151d3b
mov rax, qword [rsp + 0x3f0]
inc rax
mov qword [rsp + 0x3f0], rax
mov eax, dword [rsp + 0x3f8]
inc eax
mov dword [rsp + 0x3f8], eax
jmp 0x140151aea
movzx eax, byte [rsp + 0x1f0]
test eax, eax
je 0x140151daa
movzx eax, byte [rsp + 0x1f1]
test eax, eax
je 0x140151daa
movzx eax, byte [rsp + 0x1f2]
test eax, eax
je 0x140151daa
movzx eax, byte [rsp + 0x1f3]
test eax, eax
je 0x140151daa
movzx eax, byte [rsp + 0x1f4]
test eax, eax
je 0x140151daa
lea rdx, str.All_available_TLS_1.3_ciphers_were_disabled.
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, Ordinal_60
jmp 0x1401524cd
movzx eax, byte [rsp + 0x1f3]
test eax, eax
jne 0x140151dc6
movzx eax, byte [rsp + 0x1f4]
test eax, eax
je 0x140151f01
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x398], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x39a], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeCCM
mov qword [rsp + rax + 0x3a0], rcx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2c0], 2
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
lea rcx, [rsp + 0x398]
mov qword [rsp + rax + 0x2e0], rcx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d8], 1
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2c8], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ca], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
lea rcx, [0x140212c90]
mov qword [rsp + rax + 0x2d0], rcx
movzx eax, byte [rsp + 0x1f3]
movzx ecx, byte [rsp + 0x1f4]
cmp eax, ecx
je 0x140151ef1
movzx eax, byte [rsp + 0x1f3]
test eax, eax
je 0x140151eda
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2e8], 0x80
jmp 0x140151ef1
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2ec], 0x40
mov eax, dword [rsp + 0x3e4]
inc eax
mov dword [rsp + 0x3e4], eax
movzx eax, byte [rsp + 0x1f0]
test eax, eax
jne 0x140151f1d
movzx eax, byte [rsp + 0x1f1]
test eax, eax
je 0x1401520b3
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x3c8], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov word [rsp + rax + 0x3ca], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, str.ChainingModeGCM
mov qword [rsp + rax + 0x3d0], rcx
movzx eax, byte [rsp + 0x1f0]
movzx ecx, byte [rsp + 0x1f1]
cmp eax, ecx
je 0x14015200c
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2c0], 3
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2c8], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ca], cx
movzx eax, byte [rsp + 0x1f0]
test eax, eax
je 0x140151fdf
lea rax, str.SHA384
mov qword [rsp + 0x728], rax
jmp 0x140151fee
lea rax, str.SHA256
mov qword [rsp + 0x728], rax
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x728]
mov qword [rsp + rax + 0x2d0], rcx
jmp 0x140152070
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2c0], 2
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2c8], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 8
mov word [rsp + rax + 0x2ca], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
lea rcx, [0x140212cd8]
mov qword [rsp + rax + 0x2d0], rcx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
lea rcx, [rsp + 0x3c8]
mov qword [rsp + rax + 0x2e0], rcx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2d8], 1
mov eax, dword [rsp + 0x3e4]
inc eax
mov dword [rsp + 0x3e4], eax
movzx eax, byte [rsp + 0x1f2]
test eax, eax
je 0x140152133
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov dword [rsp + rax + 0x2c0], 2
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2c8], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
mov ecx, 0x24
mov word [rsp + rax + 0x2ca], cx
movsxd rax, dword [rsp + 0x3e4]
imul rax, rax, 0x30
lea rcx, str.CHACHA20_POLY1305
mov qword [rsp + rax + 0x2d0], rcx
mov eax, dword [rsp + 0x3e4]
inc eax
mov dword [rsp + 0x3e4], eax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x290], rax
mov eax, dword [rsp + 0x3e4]
mov dword [rsp + 0x28c], eax
lea rax, [rsp + 0x278]
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x248], 1
mov dword [rsp + 0x210], 5
mov eax, dword [rsp + 0x7c]
bts eax, 0x16
mov dword [rsp + 0x244], eax
mov eax, dword [rsp + 0x84]
not eax
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 0x10], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x1401521c3
mov dword [rsp + 0x218], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x98]
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, [0x140212d08]
xor ecx, ecx
mov rax, qword [0x14021ba78]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x74], eax
jmp 0x1401523f6
mov rax, qword [rsp + 0x768]
movzx eax, byte [rax + 0x134]
cmp eax, 2
jne 0x1401522aa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x768]
cmp qword [rcx + rax + 0x1d0], 0xffffffffffffffff
jne 0x140152268
mov dword [rsp + 0x730], 0
jmp 0x140152273
mov dword [rsp + 0x730], 1
movsxd rax, dword [rsp + 0x730]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x768]
cmp dword [rcx + rax + 0x288], 2
je 0x1401522aa
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x738], rax
jmp 0x1401522c1
mov rax, qword [rsp + 0x768]
mov rax, qword [rax + 0x2e8]
mov qword [rsp + 0x738], rax
mov rax, qword [rsp + 0x738]
mov qword [rsp + 0x528], rax
lea rax, [rsp + 0x540]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x540], 4
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x588], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x578], eax
cmp qword [rsp + 0x528], 0
je 0x14015235b
lea r8, [rsp + 0x460]
mov rdx, qword [rsp + 0x528]
lea rcx, [rsp + 0x540]
call fcn.1401506e0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140152359
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov eax, dword [rsp + 0x78]
jmp 0x1401524cd
jmp 0x14015236a
mov eax, dword [rsp + 0x7c]
bts eax, 0x16
mov dword [rsp + 0x588], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x140152393
mov dword [rsp + 0x544], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x548], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0x98]
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 + 0x540]
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 [0x14021ba78]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x74], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0x68], 0
je 0x14015241b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x68]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0x74], 0
je 0x1401524cb
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x5b0]
mov ecx, dword [rsp + 0x74]
call fcn.140099a1d
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x760]
call fcn.14009b14c
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [0x14020a040]
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x140152454
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x740], eax
mov eax, dword [rsp + 0x740]
add eax, 0x7ff6fd00
mov dword [rsp + 0x740], eax
cmp dword [rsp + 0x740], 0xe
ja case.0x1401524bb.2146893055
movsxd rax, dword [rsp + 0x740]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x15251c]
add rax, rcx
jmp rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401524cd
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x1401524cd
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_recvfrom
call fcn.14009a508
mov rax, rdi
mov rcx, qword [rsp + 0x748]
xor rcx, rsp
call fcn.1400995fe
add rsp, 0x750
pop rdi
ret