Function at 0xa51bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0xaf1008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 0x148], ebx
call fcn.00a40940
mov edi, eax
mov edx, ebx
mov dword [ebp - 0x184], edi
call fcn.00a40920
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x154], 0
mov edx, eax
mov dword [ebp - 0x17c], ebx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x180], eax
cmp byte [edi + 0x39], bl
je 0xa51ca4
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0xa51c6b
test cl, cl
mov dword [ebp - 0x160], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x160]
jmp 0xa51ca9
cmp byte [edx + 0x65], bl
je 0xa51c8a
test cl, cl
mov dword [ebp - 0x160], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x160]
jmp 0xa51ca9
test cl, cl
mov dword [ebp - 0x160], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x160]
jmp 0xa51ca9
mov eax, 0x1808
mov ecx, eax
or ecx, 4
cmp byte [edi + 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 - 0x148]
call fcn.00a4def0
movzx eax, byte [edi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0xa51d03
movzx eax, byte [eax + 0xa52a2c]
jmp dword [eax*4 + 0xa52a24]
push dword [ebp - 0x148]
mov edx, esi
lea ecx, [ebp - 0x17c]
call fcn.00a51870
add esp, 4
test eax, eax
jne 0xa52a12
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx + 0x3d8]
test ecx, ecx
jne 0xa51d44
cmp dword [edx + 0x3ec], ebx
je 0xa522c8
mov eax, dword [edx + 0x3ec]
xor edi, edi
mov dword [ebp - 0x168], ebx
xor esi, esi
mov dword [ebp - 0x160], ebx
xor ebx, ebx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x170], eax
test eax, eax
je 0xa51d91
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], eax
jmp 0xa51e00
call fcn.00a4fc70
mov esi, eax
test esi, esi
je case.0xa529a1.2146893056
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
lea eax, [ebp - 0x15c]
push eax
lea edx, [ebp - 0x168]
call fcn.00a51a60
mov edi, eax
add esp, 8
test edi, edi
je 0xa521bc
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0xa5218c
mov edx, 0xac1734
call fcn.00a4fd90
mov dword [ebp - 0x178], eax
test eax, eax
je 0xa52186
mov edi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx + 0x418]
test ecx, ecx
je 0xa51e52
mov edx, 0xac346c
call fcn.00a4f8a0
test eax, eax
jne 0xa51e4c
cmp dword [ebp - 0x170], ebx
je 0xa51e27
mov eax, str._memory_blob_
jmp 0xa51e33
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0xc
jmp 0xa5220c
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0xa51e68
test eax, eax
je 0xa521c2
xor edi, edi
test eax, eax
je 0xa51e7a
mov dword [ebp - 0x15c], str._memory_blob_
jmp 0xa51e86
mov eax, dword [edx + 0x3d8]
mov dword [ebp - 0x15c], eax
test esi, esi
je 0xa51e93
push esi
call fcn.00a8d5df
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0xa51f24
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x168], eax
call fcn.00a991ae
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x141], cl
test eax, eax
jne 0xa51fd3
push esi
call fcn.00a99790
add esp, 4
mov dword [ebp - 0x168], eax
test eax, eax
jns 0xa51fd7
mov byte [ebp - 0x141], bl
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x150]
test eax, eax
je 0xa5202e
push esi
push 1
push edx
push eax
call fcn.00a98d4e
add esp, 0x10
cmp eax, 1
jne 0xa5202e
push esi
call fcn.00a98e74
add esp, 4
cmp byte [ebp - 0x141], bl
je 0xa52037
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x428]
test eax, eax
je 0xa51f5a
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xa51f51
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xaf197c]
mov esi, eax
add esp, 4
test esi, esi
je 0xa520a1
test edi, edi
je 0xa52076
mov eax, dword [ebp - 0x148]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x428]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0xa52078
xor eax, eax
mov word [esi], ax
xor edx, edx
push 3
push ecx
push 0
lea ecx, [edx + 6]
call fcn.00a515a0
add esp, 0xc
test al, al
lea eax, [ebp - 0x164]
je 0xa5208b
push 0x8000
jmp 0xa5208d
xor eax, eax
jmp 0xa51fdd
mov cl, byte [ebp - 0x141]
mov edx, eax
mov dword [ebp - 0x150], edx
test cl, cl
je 0xa52023
push 0
push 0
push esi
call fcn.00a991ae
add esp, 0xc
test eax, eax
sete byte [ebp - 0x141]
test eax, eax
jne 0xa51ee5
mov eax, dword [ebp - 0x168]
inc eax
push eax
call dword [0xaf197c]
add esp, 4
mov dword [ebp - 0x158], eax
jmp 0xa51eeb
mov eax, dword [ebp - 0x158]
jmp 0xa51ef1
push esi
call fcn.00a98e74
add esp, 4
mov eax, dword [ebp - 0x148]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00a4de30
add esp, 0xc
push dword [ebp - 0x158]
call dword [0xaf1984]
add esp, 4
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0xa51fa4
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0xa51fa9
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xaf1984]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0xa520b9
push dword [ebp - 0x158]
call dword [0xaf1984]
add esp, 4
test ebx, ebx
jne 0xa52125
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0xa520f5
push dword [ebp - 0x15c]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x15c]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
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 - 0x154], eax
test eax, eax
jne 0xa522c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x15c]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x148]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.00a4de30
add esp, 0xc
push esi
call fcn.00a8d5df
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x168]
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 0xa5222f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x168]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0x14
push edi
call dword [0xaf1984]
add esp, 4
test esi, esi
je 0xa52219
push esi
call fcn.00a8d5df
add esp, 4
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
push edi
call dword [0xaf1984]
add esp, 4
mov dword [ebp - 0x190], 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x190]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x160]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0xa52285
test esi, esi
je 0xa52167
push esi
call fcn.00a8d5df
add esp, 4
jmp 0xa52167
push 0
lea eax, [ebp - 0x190]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x154], eax
test esi, esi
je 0xa522ba
push esi
call fcn.00a8d5df
mov eax, dword [ebp - 0x154]
add esp, 4
test eax, eax
je 0xa52167
mov edi, dword [ebp - 0x184]
push 0x20
push 1
call dword [0xaf198c]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xa52328
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, dword [ebp - 0x154]
add esp, 8
test eax, eax
je 0xa52305
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0xa529a1.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x18], 1
xor edx, edx
mov eax, dword [ecx]
push 3
push ecx
push 0x4563
lea ecx, [edx + 0xa]
mov dword [eax + 0x14], ebx
call fcn.00a515a0
add esp, 0xc
test al, al
je 0xa5286b
push 0x2c
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.00a89fe0
add esp, 0xc
lea eax, [ebp - 0xb0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
push 0x70
push 0
push eax
movq qword [ebp - 0xc], xmm0
call fcn.00a89fe0
mov edi, dword [edi + 0x14]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x188], xmm0
add esp, 0xc
movlpd qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x150], eax
test edi, edi
je 0xa527f0
mov dh, 1
xor ecx, ecx
mov al, dh
mov dword [ebp - 0x160], ecx
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x14a], dh
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x142], dh
mov byte [ebp - 0x149], dh
mov byte [ebp - 0x143], dh
mov byte [ebp - 0x141], al
nop dword [eax + eax]
cmp byte [edi], 0
je 0xa5262f
cmp ecx, 5
jge 0xa5262f
push 0x3a
push edi
call fcn.00a8c070
mov ebx, eax
add esp, 8
test ebx, ebx
je 0xa52409
mov esi, ebx
sub esi, edi
jmp 0xa52419
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0xa52410
sub esi, ecx
cmp esi, 0x1f
ja 0xa52606
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00a8fce0
mov dh, byte [ebp - 0x14a]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0xa52483
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa52467
test dl, dl
je 0xa52463
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa52467
add eax, 2
add ecx, 2
test dl, dl
jne 0xa52447
xor eax, eax
jmp 0xa5246c
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa52483
mov al, byte [ebp - 0x141]
xor dh, dh
mov byte [ebp - 0x14a], dh
jmp 0xa525b1
cmp byte [ebp - 0x142], 0
je 0xa524d0
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa524b4
test dl, dl
je 0xa524b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa524b4
add eax, 2
add ecx, 2
test dl, dl
jne 0xa52494
xor eax, eax
jmp 0xa524b9
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa524d0
mov al, byte [ebp - 0x141]
xor ah, ah
mov byte [ebp - 0x142], ah
jmp 0xa525b7
cmp byte [ebp - 0x149], 0
je 0xa5251b
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa52501
test dl, dl
je 0xa524fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa52501
add eax, 2
add ecx, 2
test dl, dl
jne 0xa524e1
xor eax, eax
jmp 0xa52506
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa5251b
mov byte [ebp - 0x149], al
mov al, byte [ebp - 0x141]
jmp 0xa525b1
cmp byte [ebp - 0x143], 0
je 0xa5256f
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa52550
test dl, dl
je 0xa5254c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa52550
add eax, 2
add ecx, 2
test dl, dl
jne 0xa52530
xor eax, eax
jmp 0xa52555
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa5256f
mov al, byte [ebp - 0x141]
xor dl, dl
mov ah, byte [ebp - 0x142]
mov byte [ebp - 0x143], dl
jmp 0xa525bd
cmp byte [ebp - 0x141], 0
je 0xa525dd
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa525a0
test dl, dl
je 0xa5259c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa525a0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa52580
xor eax, eax
jmp 0xa525a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa525dd
xor al, al
mov byte [ebp - 0x141], al
mov ah, byte [ebp - 0x142]
mov dl, byte [ebp - 0x143]
mov edi, ebx
test ebx, ebx
je 0xa525c6
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x160]
inc ecx
mov dword [ebp - 0x160], ecx
test edi, edi
jne 0xa523e0
jmp 0xa5263b
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x142]
mov dl, byte [ebp - 0x143]
test dh, dh
je 0xa5267d
test ah, ah
je 0xa5267d
cmp byte [ebp - 0x149], 0
je 0xa5267d
test dl, dl
je 0xa52681
test al, al
je 0xa52689
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0xa52689
test al, al
je 0xa52707
mov dword [ebp - 0x188], 0x200020
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x184], str.ChainingModeCCM
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], 0x80008
mov dword [ebp - 0xa8], 0xac372c
cmp dl, al
je 0xa526fa
test dl, dl
je 0xa526f0
mov edi, 1
mov dword [ebp - 0x9c], 0x80
mov dword [ebp - 0x150], edi
jmp 0xa52709
mov dword [ebp - 0x98], 0x40
mov edi, 1
mov dword [ebp - 0x150], edi
jmp 0xa52709
xor edi, edi
test dh, dh
jne 0xa52715
test ah, ah
je 0xa527b0
mov bh, byte [ebp - 0x14a]
lea edx, [edi*8]
sub edx, edi
mov dword [ebp - 0x16c], 0x200020
mov dword [ebp - 0x168], str.ChainingModeGCM
cmp bh, ah
je 0xa5274d
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0xa52752
mov esi, 0xac372c
mov bl, byte [ebp - 0x142]
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 - 0xb0], eax
lea eax, [ebp - 0x16c]
mov word [ebp + edx*4 - 0xac], cx
mov word [ebp + edx*4 - 0xaa], cx
mov dword [ebp + edx*4 - 0xa8], esi
mov dword [ebp + edx*4 - 0xa0], eax
mov dword [ebp + edx*4 - 0xa4], 1
mov dword [ebp - 0x150], edi
cmp byte [ebp - 0x149], 0
je 0xa527ea
lea eax, [edi*8]
sub eax, edi
inc edi
mov dword [ebp - 0x150], edi
mov dword [ebp + eax*4 - 0xb0], 2
mov dword [ebp + eax*4 - 0xac], 0x240024
mov dword [ebp + eax*4 - 0xa8], str.CHACHA20_POLY1305
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
or eax, 0x400000
mov dword [ebp - 0x198], 1
cmp dword [ebp - 0x154], 0
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x17c]
not eax
mov dword [ebp - 0x1bc], 5
mov dword [ebp - 0x14], eax
je 0xa52854
lea eax, [ebp - 0x154]
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x1b0], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1bc]
jmp 0xa52927
mov esi, dword [edi + 0x10]
lea eax, [ebp - 0x1c8]
push 0x38
push 0
push eax
call fcn.00a89fe0
mov ecx, dword [ebp - 0x174]
add esp, 0xc
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c8], 4
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x1a8], eax
test esi, esi
je 0xa528ea
lea eax, [ebp - 0x100]
mov edx, esi
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00a519c0
mov esi, eax
add esp, 4
test esi, esi
je 0xa528f6
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, esi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x154], 0
je 0xa52915
lea eax, [ebp - 0x154]
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1c0], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1c8]
push ecx
push 0
push 0
push eax
mov eax, dword [0xaf3ed0]
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 - 0x154]
test eax, eax
je 0xa52955
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0xa529be
push ecx
lea edx, [ebp - 0x140]
mov ecx, esi
call fcn.00a65ca0
add esp, 4
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x148]
call fcn.00a4de30
add esp, 0xc
push dword [ebx]
call dword [0xaf1984]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 4
cmp esi, 0xe
ja case.0xa529a1.2146893055
movzx eax, byte [esi + 0xa52a40]
jmp dword [eax*4 + 0xa52a34]
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, 4
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a87983
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x148]
call fcn.00a4de30
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a87983
mov esp, ebp
pop ebp
ret