Function at 0x1400a8930
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, 0x3e0
lea rdi, [rsp + 0x50]
mov ecx, 0xe4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3f0]
mov rax, qword [0x140235cc0]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
movsxd rax, dword [rsp + 0x400]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
lea rax, [rcx + rax + 0x270]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe4], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0xf0], rax
mov r8d, 0x50
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400f6730
mov dword [rsp + 0x70], 4
mov rax, qword [rsp + 0x3f8]
movzx eax, byte [rax + 0x348]
test eax, eax
je 0x1400a8b9d
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x1400a8a09
mov dword [rsp + 0xb8], 8
jmp 0x1400a8a14
mov dword [rsp + 0xb8], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0x3f8]
cmp dword [rax + 0x13c], 2
jne 0x1400a8a8f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
cmp qword [rcx + rax + 0x1e8], 0xffffffffffffffff
jne 0x1400a8a4e
mov dword [rsp + 0x370], 0
jmp 0x1400a8a59
mov dword [rsp + 0x370], 1
movsxd rax, dword [rsp + 0x370]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
cmp dword [rcx + rax + 0x2a0], 2
je 0x1400a8a8f
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x723]
mov dword [rsp + 0x374], eax
jmp 0x1400a8aa5
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x65b]
mov dword [rsp + 0x374], eax
cmp dword [rsp + 0x374], 0
je 0x1400a8acd
mov eax, dword [rsp + 0xb8]
or eax, 0x1800
mov dword [rsp + 0xb8], eax
xor eax, eax
test eax, eax
jne 0x1400a8ac2
jmp 0x1400a8b9b
mov rax, qword [rsp + 0x3f8]
cmp dword [rax + 0x13c], 2
jne 0x1400a8b48
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
cmp qword [rcx + rax + 0x1e8], 0xffffffffffffffff
jne 0x1400a8b07
mov dword [rsp + 0x378], 0
jmp 0x1400a8b12
mov dword [rsp + 0x378], 1
movsxd rax, dword [rsp + 0x378]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
cmp dword [rcx + rax + 0x2a0], 2
je 0x1400a8b48
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x725]
mov dword [rsp + 0x37c], eax
jmp 0x1400a8b5e
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x65d]
mov dword [rsp + 0x37c], eax
cmp dword [rsp + 0x37c], 0
je 0x1400a8b83
mov eax, dword [rsp + 0xb8]
or eax, 0x1a00
mov dword [rsp + 0xb8], eax
xor eax, eax
test eax, eax
jne 0x1400a8b7b
jmp 0x1400a8b9b
mov eax, dword [rsp + 0xb8]
bts eax, 9
mov dword [rsp + 0xb8], eax
xor eax, eax
test eax, eax
jne 0x1400a8b95
jmp 0x1400a8bae
mov dword [rsp + 0xb8], 0x1808
xor eax, eax
test eax, eax
jne 0x1400a8ba8
mov rax, qword [rsp + 0x3f8]
movzx eax, byte [rax + 0x349]
test eax, eax
jne 0x1400a8bd8
mov eax, dword [rsp + 0xb8]
or eax, 4
mov dword [rsp + 0xb8], eax
xor eax, eax
test eax, eax
jne 0x1400a8bd2
mov rax, qword [rsp + 0x3f8]
cmp dword [rax + 0x13c], 2
jne 0x1400a8c53
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
cmp qword [rcx + rax + 0x1e8], 0xffffffffffffffff
jne 0x1400a8c12
mov dword [rsp + 0x380], 0
jmp 0x1400a8c1d
mov dword [rsp + 0x380], 1
movsxd rax, dword [rsp + 0x380]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
cmp dword [rcx + rax + 0x2a0], 2
je 0x1400a8c53
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x727]
mov dword [rsp + 0x384], eax
jmp 0x1400a8c69
mov rax, qword [rsp + 0x3f0]
movzx eax, byte [rax + 0x65f]
mov dword [rsp + 0x384], eax
cmp dword [rsp + 0x384], 0
jne 0x1400a8cab
mov eax, dword [rsp + 0xb8]
and eax, 0xffffffbf
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
or eax, 0x10
mov dword [rsp + 0xb8], eax
lea rdx, str.schannel:_disabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e2b0
jmp 0x1400a8cbf
lea rdx, str.schannel:_enabled_automatic_use_of_client_certificate
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e2b0
mov rax, qword [rsp + 0x3f8]
mov eax, dword [rax + 0x2d8]
mov dword [rsp + 0x388], eax
cmp dword [rsp + 0x388], 7
ja case.default.0x1400a8cf7
movsxd rax, dword [rsp + 0x388]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xa9b24]
add rax, rcx
jmp rax
mov r8, qword [rsp + 0x3f8]
mov rdx, qword [rsp + 0x3f0]
lea rcx, [rsp + 0x70]
call fcn.1400a7c90
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0
je 0x1400a8d30
mov eax, dword [rsp + 0xe8]
jmp 0x1400a9af4
jmp 0x1400a8d6e
lea rdx, str.SSL_versions_not_supported
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov eax, 4
jmp 0x1400a9af4
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x1400a9af4
mov rax, qword [rsp + 0x3f8]
cmp dword [rax + 0x13c], 2
jne 0x1400a8dea
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
cmp qword [rcx + rax + 0x1e8], 0xffffffffffffffff
jne 0x1400a8da8
mov dword [rsp + 0x38c], 0
jmp 0x1400a8db3
mov dword [rsp + 0x38c], 1
movsxd rax, dword [rsp + 0x38c]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
cmp dword [rcx + rax + 0x2a0], 2
je 0x1400a8dea
mov rax, qword [rsp + 0x3f8]
mov rax, qword [rax + 0x388]
mov qword [rsp + 0x390], rax
jmp 0x1400a8e01
mov rax, qword [rsp + 0x3f8]
mov rax, qword [rax + 0x310]
mov qword [rsp + 0x390], rax
cmp qword [rsp + 0x390], 0
je 0x1400a8ef5
mov rax, qword [rsp + 0x3f8]
cmp dword [rax + 0x13c], 2
jne 0x1400a8e8c
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x3f8]
cmp qword [rcx + rax + 0x1e8], 0xffffffffffffffff
jne 0x1400a8e4a
mov dword [rsp + 0x398], 0
jmp 0x1400a8e55
mov dword [rsp + 0x398], 1
movsxd rax, dword [rsp + 0x398]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x3f8]
cmp dword [rcx + rax + 0x2a0], 2
je 0x1400a8e8c
mov rax, qword [rsp + 0x3f8]
mov rax, qword [rax + 0x388]
mov qword [rsp + 0x3a0], rax
jmp 0x1400a8ea3
mov rax, qword [rsp + 0x3f8]
mov rax, qword [rax + 0x310]
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x6c
mov r8, rax
mov rdx, qword [rsp + 0x3a0]
lea rcx, [rsp + 0x70]
call fcn.1400a85a0
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0
je 0x1400a8ef5
lea rdx, str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov eax, dword [rsp + 0xe8]
jmp 0x1400a9af4
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + 0x5b8], 0
jne 0x1400a8f1d
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + 0x5e8], 0
je 0x1400a9927
mov dword [rsp + 0x104], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x1b8], 0
mov qword [rsp + 0x1c0], 0
mov qword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d0], 0
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + 0x5e8], 0
je 0x1400a8f8f
mov dword [rsp + 0x3a8], 1
jmp 0x1400a8f9a
mov dword [rsp + 0x3a8], 0
cmp dword [rsp + 0x3a8], 0
jne 0x1400a8fb1
mov dword [rsp + 0x3ac], 0
jmp 0x1400a8fbc
mov dword [rsp + 0x3ac], 1
movzx eax, byte [rsp + 0x3ac]
mov byte [rsp + 0x1d8], al
mov qword [rsp + 0x1e0], 0
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x1400a901d
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax + 0x5e8]
mov rax, qword [rax]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax + 0x5e8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1d0], rax
jmp 0x1400a9135
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax + 0x5b8]
call fcn.14010fb6c
mov qword [rsp + 0x1e0], rax
cmp qword [rsp + 0x1e0], 0
jne 0x1400a904e
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a9af4
lea r9, [rsp + 0x148]
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x104]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400a86f0
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0
je 0x1400a90c7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x3f0]
mov rcx, qword [rcx + 0x5b8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400a90c7
lea rdx, [0x14022ee0c]
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax + 0x5b8]
call fcn.1400a3e70
mov qword [rsp + 0x1c0], rax
cmp dword [rsp + 0xe8], 0
je 0x1400a9135
cmp qword [rsp + 0x1c0], 0
jne 0x1400a9135
mov rax, qword [rsp + 0x3f0]
mov r8, qword [rax + 0x5b8]
lea rdx, str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
cmp qword [rsp + 0x1e0], 0
je 0x1400a9123
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a90ff
mov eax, dword [rsp + 0xe8]
jmp 0x1400a9af4
cmp qword [rsp + 0x1c0], 0
jne 0x1400a9150
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x1400a920d
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + 0x630], 0
je 0x1400a920d
lea rdx, [0x14022ee1c]
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax + 0x630]
call fcn.140086590
test eax, eax
jne 0x1400a920d
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x1400a91a6
lea rax, [0x14022f348]
mov qword [rsp + 0x3b0], rax
jmp 0x1400a91bd
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax + 0x5b8]
mov qword [rsp + 0x3b0], rax
mov r8, qword [rsp + 0x3b0]
lea rdx, str.schannel:_certificate_format_compatibility_error__for__s
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
cmp qword [rsp + 0x1e0], 0
je 0x1400a91fd
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a91d9
mov eax, Ordinal_60
jmp 0x1400a9af4
cmp qword [rsp + 0x1c0], 0
jne 0x1400a9228
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x1400a9706
mov qword [rsp + 0x220], 0
mov dword [rsp + 0x228], 0
movzx eax, byte [rsp + 0x1d8]
test eax, eax
je 0x1400a925c
lea rax, [0x14022f398]
mov qword [rsp + 0x3b8], rax
jmp 0x1400a9273
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax + 0x5b8]
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x230], rax
cmp qword [rsp + 0x1e0], 0
je 0x1400a92a7
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a9283
cmp qword [rsp + 0x1c0], 0
je 0x1400a948f
mov dword [rsp + 0x238], 0
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x1c0]
call fcn.1400ff8d4
test eax, eax
jne 0x1400a92ed
mov dword [rsp + 0x3c0], 1
jmp 0x1400a92f8
mov dword [rsp + 0x3c0], 0
cmp dword [rsp + 0x3c0], 0
jne 0x1400a930f
mov dword [rsp + 0x3c4], 0
jmp 0x1400a931a
mov dword [rsp + 0x3c4], 1
movzx eax, byte [rsp + 0x3c4]
mov byte [rsp + 0x23c], al
movzx eax, byte [rsp + 0x23c]
test eax, eax
je 0x1400a9349
mov rcx, qword [rsp + 0x1c0]
call fcn.1400ff3f0
mov dword [rsp + 0x238], eax
cmp dword [rsp + 0x238], 0
jge 0x1400a935d
mov byte [rsp + 0x23c], 0
jmp 0x1400a936d
movsxd rax, dword [rsp + 0x238]
mov qword [rsp + 0x1d0], rax
movzx eax, byte [rsp + 0x23c]
test eax, eax
je 0x1400a93d8
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1c0]
call fcn.1400ff8d4
test eax, eax
jne 0x1400a939c
mov dword [rsp + 0x3c8], 1
jmp 0x1400a93a7
mov dword [rsp + 0x3c8], 0
cmp dword [rsp + 0x3c8], 0
jne 0x1400a93be
mov dword [rsp + 0x3cc], 0
jmp 0x1400a93c9
mov dword [rsp + 0x3cc], 1
movzx eax, byte [rsp + 0x3cc]
mov byte [rsp + 0x23c], al
movzx eax, byte [rsp + 0x23c]
test eax, eax
je 0x1400a9400
mov rax, qword [rsp + 0x1d0]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x1c8], rax
cmp qword [rsp + 0x1c8], 0
je 0x1400a9433
mov r9, qword [rsp + 0x1c0]
mov r8d, 1
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1c8]
call fcn.140101150
cmp eax, 1
je 0x1400a943b
mov byte [rsp + 0x23c], 0
mov rcx, qword [rsp + 0x1c0]
call fcn.1400ff5d4
movzx eax, byte [rsp + 0x23c]
test eax, eax
jne 0x1400a948f
mov rax, qword [rsp + 0x3f0]
mov r8, qword [rax + 0x5b8]
lea rdx, str.schannel:_Failed_to_read_cert_file__s
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov rcx, qword [rsp + 0x1c8]
call qword [fcn.140100edc]
mov eax, Ordinal_60
jmp 0x1400a9af4
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0x1f8], eax
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + 0x650], 0
je 0x1400a94db
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rax + 0x650]
call fcn.14010a540
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
lea rax, [rax + rax + 2]
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x218], rax
cmp qword [rsp + 0x218], 0
je 0x1400a95d5
cmp qword [rsp + 0x220], 0
jbe 0x1400a955d
mov rax, qword [rsp + 0x220]
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x220]
mov rax, qword [rsp + 0x3f0]
mov r8, qword [rax + 0x650]
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x228], eax
cmp dword [rsp + 0x228], 0
jl 0x1400a958f
mov eax, dword [rsp + 0x220]
cmp dword [rsp + 0x228], eax
jg 0x1400a958f
movsxd rax, dword [rsp + 0x228]
xor ecx, ecx
mov rdx, qword [rsp + 0x218]
mov word [rdx + rax*2], cx
jmp 0x1400a95a6
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x218]
mov word [rdx + rax], cx
xor r8d, r8d
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0x1f8]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x218]
call qword [fcn.140100edc]
movzx eax, byte [rsp + 0x1d8]
test eax, eax
jne 0x1400a95ef
mov rcx, qword [rsp + 0x1c8]
call qword [fcn.140100edc]
cmp qword [rsp + 0x1b8], 0
jne 0x1400a965d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x240], eax
cmp dword [rsp + 0x240], 0x56
jne 0x1400a962f
mov r8, qword [rsp + 0x230]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
jmp 0x1400a9653
mov r9d, dword [rsp + 0x240]
mov r8, qword [rsp + 0x230]
lea rdx, str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov eax, Ordinal_60
jmp 0x1400a9af4
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0xd8], rax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0xd8], 0
jne 0x1400a96ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x230]
lea rdx, str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1400a9af4
mov dword [rsp + 0x74], 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x78], rax
jmp 0x1400a9917
mov eax, dword [rsp + 0x104]
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 qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
jne 0x1400a97b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x128]
mov r8d, dword [rsp + 0x104]
lea rdx, str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov rcx, qword [rsp + 0x128]
call qword [fcn.140100edc]
cmp qword [rsp + 0x1e0], 0
je 0x1400a97a4
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a9780
mov eax, Ordinal_60
jmp 0x1400a9af4
mov rcx, qword [rsp + 0x128]
call qword [fcn.140100edc]
lea rax, [rsp + 0x198]
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x168], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x198]
mov r8d, 4
mov edx, Ordinal_41
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1400a9865
cmp qword [rsp + 0x1e0], 0
je 0x1400a9845
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a9821
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1400a9af4
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0xd8], rax
cmp qword [rsp + 0x1e0], 0
je 0x1400a98cc
mov rcx, qword [rsp + 0x1e0]
call fcn.140100edc
mov qword [rsp + 0x1e0], 0
xor eax, eax
test eax, eax
jne 0x1400a98a8
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0xd8], 0
je 0x1400a98fd
mov dword [rsp + 0x74], 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x78], rax
jmp 0x1400a9917
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, Ordinal_60
jmp 0x1400a9af4
xor edx, edx
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov ecx, 1
call qword [fcn.14010a520]
mov rcx, qword [rsp + 0xf0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
jne 0x1400a9999
lea rdx, [0x14022f4d8]
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0xd8], 0
je 0x1400a998f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0xd8]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a9af4
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
add rax, 0x10
mov rcx, qword [rsp + 0xf0]
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 + 0x70]
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 [0x140236ef0]
call qword [rax + Ordinal_26]
mov dword [rsp + 0xe4], eax
mov eax, 8
imul rax, rax, 0
cmp qword [rsp + rax + 0xd8], 0
je 0x1400a9a39
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0xd8]
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [rsp + 0xe4], 0
je 0x1400a9af2
mov r8d, 0x100
lea rdx, [rsp + 0x260]
mov ecx, dword [rsp + 0xe4]
call fcn.1400a2c80
mov r8, rax
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov rcx, qword [rsp + 0x3f0]
call fcn.14007e3f0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call qword [fcn.140100edc]
mov rax, qword [rsp + 0xf0]
mov qword [rax], 0
xor eax, eax
test eax, eax
jne 0x1400a9a78
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x3d0], eax
mov eax, dword [rsp + 0x3d0]
add eax, 0x7ff6fd00
mov dword [rsp + 0x3d0], eax
cmp dword [rsp + 0x3d0], 0xe
ja case.0x1400a9ae2.2146893055
movsxd rax, dword [rsp + 0x3d0]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xa9b44]
add rax, rcx
jmp rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400a9af4
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x1400a9af4
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_htons
call fcn.1400f3400
mov rax, rdi
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.1400f2840
add rsp, 0x3e0
pop rdi
ret