Function at 0xa14e64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0xaa006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x144], ebx
mov esi, dword [edi + 8]
call fcn.009fb3e0
push ebx
push edi
mov dword [ebp - 0x16c], eax
call fcn.009fb3b0
mov dword [ebp - 0x150], 0
mov edx, eax
mov eax, dword [esi + 0x18]
xor ebx, ebx
mov esi, dword [ebp - 0x16c]
add esp, 0xc
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], eax
cmp byte [esi + 0x39], bl
je 0xa14dfe
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0xa14dc5
test cl, cl
mov dword [ebp - 0x15c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x15c]
jmp 0xa14e03
cmp byte [edx + 0x65], bl
je 0xa14de4
test cl, cl
mov dword [ebp - 0x15c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x15c]
jmp 0xa14e03
test cl, cl
mov dword [ebp - 0x15c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x15c]
jmp 0xa14e03
mov eax, 0x1808
mov ecx, eax
or ecx, 4
cmp byte [esi + 0x3a], bl
cmovne ecx, eax
mov dword [ebp - 0x174], ecx
mov cl, byte [edx + 0x67]
mov edx, dword [ebp - 0x174]
mov eax, edx
or eax, 0x10
test cl, cl
cmove edx, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [ebp - 0x174], edx
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, edx
push eax
push dword [ebp - 0x144]
call fcn.00a011a0
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0xa14e5d
movzx eax, byte [eax + 0xa15b90]
jmp dword [eax*4 + 0xa15b88]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.00a16dd0
add esp, 0xc
test eax, eax
jne 0xa15b76
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x3c8]
test eax, eax
jne 0xa14e9e
cmp dword [edx + 0x3dc], ebx
je 0xa15428
mov ecx, dword [edx + 0x3dc]
xor edi, edi
mov dword [ebp - 0x164], ebx
xor esi, esi
mov dword [ebp - 0x15c], ebx
xor ebx, ebx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x170], ecx
test ecx, ecx
je 0xa14eeb
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0xa14f62
push eax
call fcn.00a10750
mov esi, eax
add esp, 4
test esi, esi
je case.0xa15b05.2146893056
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.00a14a50
mov edi, eax
add esp, 0x10
test edi, edi
je 0xa1531f
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3c8]
cmp byte [ecx], bl
je 0xa152f2
push 0xa7d894
push ecx
call fcn.00a10890
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0xa152ec
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x408]
test eax, eax
je 0xa14fb8
push 0xa830f8
push eax
call fcn.00a04ae0
add esp, 8
test eax, eax
jne 0xa14fb2
cmp dword [ebp - 0x170], ebx
je 0xa14f8d
mov eax, str._memory_blob_
jmp 0xa14f99
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3c8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 0xc
jmp 0xa1536c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0xa14fce
test eax, eax
je 0xa15325
xor edi, edi
test eax, eax
je 0xa14fe0
mov dword [ebp - 0x158], str._memory_blob_
jmp 0xa14fec
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0xa14ff9
push esi
call fcn.00a41124
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0xa1508a
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x164], eax
call fcn.00a4d1ae
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x13d], cl
test eax, eax
jne 0xa1513c
push esi
call fcn.00a4fc52
add esp, 4
mov dword [ebp - 0x164], eax
test eax, eax
jns 0xa15140
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
test eax, eax
je 0xa15197
push esi
push 1
push edx
push eax
call fcn.00a4cbb6
add esp, 0x10
cmp eax, 1
jne 0xa15197
push esi
call fcn.00a4d2bf
add esp, 4
cmp byte [ebp - 0x13d], bl
je 0xa151a0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x418]
test eax, eax
je 0xa150c0
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xa150b7
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xaa0098]
mov esi, eax
add esp, 4
test esi, esi
je 0xa15207
test edi, edi
je 0xa151dc
mov eax, dword [ebp - 0x144]
lea ecx, [edi + 1]
push ecx
push esi
push edi
lfence
push dword [eax + 0x418]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0xa151de
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00a32430
add esp, 0x14
test al, al
lea eax, [ebp - 0x160]
je 0xa151f1
push 0x8000
jmp 0xa151f3
xor eax, eax
jmp 0xa15146
mov cl, byte [ebp - 0x13d]
mov edx, eax
mov dword [ebp - 0x14c], edx
test cl, cl
je 0xa1518c
push 0
push 0
push esi
call fcn.00a4d1ae
add esp, 0xc
test eax, eax
sete byte [ebp - 0x13d]
test eax, eax
jne 0xa1504b
mov eax, dword [ebp - 0x164]
inc eax
push eax
call dword [0xaa0098]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0xa15051
mov eax, dword [ebp - 0x154]
jmp 0xa15057
push esi
call fcn.00a4d2bf
add esp, 4
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00a010e0
push dword [ebp - 0x154]
call dword [0xaa009c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0xa1510d
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0xa15112
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xaa009c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0xa1521f
push dword [ebp - 0x154]
call dword [0xaa009c]
add esp, 4
test ebx, ebx
jne 0xa1528b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0xa1525b
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x150], eax
test eax, eax
jne 0xa15422
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x158]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.00a010e0
push esi
call fcn.00a41124
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x164]
push edi
or eax, 0x4000
push eax
push 0
push 0
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebx, eax
test ebx, ebx
jne 0xa1538f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x164]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a010e0
push edi
call dword [0xaa009c]
add esp, 0x18
test esi, esi
je 0xa15379
push esi
call fcn.00a41124
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push edi
call dword [0xaa009c]
add esp, 4
mov dword [ebp - 0x188], 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x15c]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0xa153e5
test esi, esi
je 0xa152cd
push esi
call fcn.00a41124
add esp, 4
jmp 0xa152cd
push 0
lea eax, [ebp - 0x188]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x150], eax
test esi, esi
je 0xa1541a
push esi
call fcn.00a41124
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0xa152cd
mov esi, dword [ebp - 0x16c]
push 0x20
push 1
call dword [0xaa00a8]
mov edi, dword [ebp - 0x180]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0xa15488
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x144]
call fcn.00a010e0
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0xa15465
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0xa15b05.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [edi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.00a32430
add esp, 0x14
test al, al
je 0xa159d7
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.00a3d5c0
push 0x70
xorps xmm0, xmm0
lea eax, [ebp - 0xac]
push 0
push eax
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.00a3d5c0
mov edi, dword [esi + 0x14]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x160], xmm0
add esp, 0x18
movlpd qword [ebp - 0x168], xmm0
mov dword [ebp - 0x14c], eax
test edi, edi
je 0xa1595c
mov dh, 1
xor ecx, ecx
mov al, dh
mov dword [ebp - 0x16c], ecx
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x146], dh
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x13e], dh
mov byte [ebp - 0x145], dh
mov byte [ebp - 0x13f], dh
mov byte [ebp - 0x13d], al
nop dword [eax + eax]
cmp byte [edi], 0
je 0xa1579f
cmp ecx, 5
jge 0xa1579f
push 0x3a
push edi
call fcn.00a3fc90
mov ebx, eax
add esp, 8
test ebx, ebx
je 0xa15569
mov esi, ebx
sub esi, edi
jmp 0xa15579
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0xa15570
sub esi, ecx
cmp esi, 0x1f
ja 0xa15776
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lfence
call fcn.00a43670
mov dh, byte [ebp - 0x146]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0xa155ec
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa155d0
test dl, dl
je 0xa155cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa155d0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa155b0
xor eax, eax
jmp 0xa155d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa155ec
mov al, byte [ebp - 0x13d]
xor dh, dh
mov byte [ebp - 0x146], dh
jmp 0xa15721
cmp byte [ebp - 0x13e], 0
je 0xa1563c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa15620
test dl, dl
je 0xa1561c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa15620
add eax, 2
add ecx, 2
test dl, dl
jne 0xa15600
xor eax, eax
jmp 0xa15625
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa1563c
mov al, byte [ebp - 0x13d]
xor ah, ah
mov byte [ebp - 0x13e], ah
jmp 0xa15727
cmp byte [ebp - 0x145], 0
je 0xa1568a
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa15670
test dl, dl
je 0xa1566c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa15670
add eax, 2
add ecx, 2
test dl, dl
jne 0xa15650
xor eax, eax
jmp 0xa15675
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa1568a
mov byte [ebp - 0x145], al
mov al, byte [ebp - 0x13d]
jmp 0xa15721
cmp byte [ebp - 0x13f], 0
je 0xa156df
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa156c0
test dl, dl
je 0xa156bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa156c0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa156a0
xor eax, eax
jmp 0xa156c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa156df
mov al, byte [ebp - 0x13d]
xor dl, dl
mov ah, byte [ebp - 0x13e]
mov byte [ebp - 0x13f], dl
jmp 0xa1572d
cmp byte [ebp - 0x13d], 0
je 0xa1574d
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa15710
test dl, dl
je 0xa1570c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa15710
add eax, 2
add ecx, 2
test dl, dl
jne 0xa156f0
xor eax, eax
jmp 0xa15715
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa1574d
xor al, al
mov byte [ebp - 0x13d], al
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
mov edi, ebx
test ebx, ebx
je 0xa15736
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x16c]
inc ecx
mov dword [ebp - 0x16c], ecx
test edi, edi
jne 0xa15540
jmp 0xa157ab
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
test dh, dh
je 0xa157ed
test ah, ah
je 0xa157ed
cmp byte [ebp - 0x145], 0
je 0xa157ed
test dl, dl
je 0xa157f1
test al, al
je 0xa157f5
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0xa157f5
test al, al
je 0xa15873
mov dword [ebp - 0x160], 0x200020
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x15c], str.ChainingModeCCM
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 0x80008
mov dword [ebp - 0xa4], 0xa833b4
cmp dl, al
je 0xa15866
test dl, dl
je 0xa1585c
mov edi, 1
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x14c], edi
jmp 0xa15875
mov dword [ebp - 0x94], 0x40
mov edi, 1
mov dword [ebp - 0x14c], edi
jmp 0xa15875
xor edi, edi
test dh, dh
jne 0xa15881
test ah, ah
je 0xa1591c
mov bh, byte [ebp - 0x146]
lea edx, [edi*8]
sub edx, edi
mov dword [ebp - 0x168], 0x200020
mov dword [ebp - 0x164], str.ChainingModeGCM
cmp bh, ah
je 0xa158b9
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0xa158be
mov esi, 0xa833b4
mov bl, byte [ebp - 0x13e]
xor eax, eax
cmp bh, bl
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp bh, bl
setne al
add eax, 2
inc edi
mov dword [ebp + edx*4 - 0xac], eax
lea eax, [ebp - 0x168]
mov word [ebp + edx*4 - 0xa8], cx
mov word [ebp + edx*4 - 0xa6], cx
mov dword [ebp + edx*4 - 0xa4], esi
mov dword [ebp + edx*4 - 0x9c], eax
mov dword [ebp + edx*4 - 0xa0], 1
mov dword [ebp - 0x14c], edi
cmp byte [ebp - 0x145], 0
je 0xa15956
lea eax, [edi*8]
sub eax, edi
inc edi
mov dword [ebp - 0x14c], edi
mov dword [ebp + eax*4 - 0xac], 2
mov dword [ebp + eax*4 - 0xa8], 0x240024
mov dword [ebp + eax*4 - 0xa4], str.CHACHA20_POLY1305
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x174]
or eax, 0x400000
mov dword [ebp - 0x190], 1
cmp dword [ebp - 0x150], 0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x17c]
not eax
mov dword [ebp - 0x1b4], 5
mov dword [ebp - 0x14], eax
je 0xa159c0
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x1a8], eax
mov edi, dword [ebp - 0x180]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1b4]
jmp 0xa15a8d
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c0]
push 0x38
push 0
push eax
call fcn.00a3d5c0
mov ecx, dword [ebp - 0x174]
add esp, 0xc
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c0], 4
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a0], eax
test esi, esi
je 0xa15a56
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.00a16d20
mov esi, eax
add esp, 0xc
test esi, esi
je 0xa15a62
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x150], 0
je 0xa15a81
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], eax
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1c0]
push ecx
push 0
push 0
push eax
mov eax, dword [0xaa4b68]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov esi, eax
mov eax, dword [ebp - 0x150]
test eax, eax
je 0xa15abb
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0xa15b22
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.00a109a0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.00a010e0
push dword [edi]
call dword [0xaa009c]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0xa15b05.2146893055
movzx eax, byte [esi + 0xa15ba4]
jmp dword [eax*4 + 0xa15b98]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.00a010e0
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009ec059
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.00a010e0
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009ec059
mov esp, ebp
pop ebp
ret