Function at 0xa65800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0xb04008]
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.00a54550
mov edi, eax
mov edx, ebx
mov dword [ebp - 0x184], edi
call fcn.00a54530
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 0xa658b4
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0xa6587b
test cl, cl
mov dword [ebp - 0x160], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x160]
jmp 0xa658b9
cmp byte [edx + 0x65], bl
je 0xa6589a
test cl, cl
mov dword [ebp - 0x160], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x160]
jmp 0xa658b9
test cl, cl
mov dword [ebp - 0x160], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x160]
jmp 0xa658b9
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.00a61af0
movzx eax, byte [edi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0xa65913
movzx eax, byte [eax + 0xa6663c]
jmp dword [eax*4 + 0xa66634]
push dword [ebp - 0x148]
mov edx, esi
lea ecx, [ebp - 0x17c]
call fcn.00a65480
add esp, 4
test eax, eax
jne 0xa66622
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx + 0x3d8]
test ecx, ecx
jne 0xa65954
cmp dword [edx + 0x3ec], ebx
je 0xa65ed8
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 0xa659a1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], eax
jmp 0xa65a10
call fcn.00a63880
mov esi, eax
test esi, esi
je case.0xa665b1.2146893056
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
lea eax, [ebp - 0x15c]
push eax
lea edx, [ebp - 0x168]
call fcn.00a65670
mov edi, eax
add esp, 8
test edi, edi
je 0xa65dcc
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0xa65d9c
mov edx, 0xad474c
call fcn.00a639a0
mov dword [ebp - 0x178], eax
test eax, eax
je 0xa65d96
mov edi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx + 0x418]
test ecx, ecx
je 0xa65a62
mov edx, 0xad6484
call fcn.00a634b0
test eax, eax
jne 0xa65a5c
cmp dword [ebp - 0x170], ebx
je 0xa65a37
mov eax, str._memory_blob_
jmp 0xa65a43
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.00a61a30
add esp, 0xc
jmp 0xa65e1c
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0xa65a78
test eax, eax
je 0xa65dd2
xor edi, edi
test eax, eax
je 0xa65a8a
mov dword [ebp - 0x15c], str._memory_blob_
jmp 0xa65a96
mov eax, dword [edx + 0x3d8]
mov dword [ebp - 0x15c], eax
test esi, esi
je 0xa65aa3
push esi
call fcn.00aa11cf
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0xa65b34
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x168], eax
call fcn.00aacd9e
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x141], cl
test eax, eax
jne 0xa65be3
push esi
call fcn.00aad380
add esp, 4
mov dword [ebp - 0x168], eax
test eax, eax
jns 0xa65be7
mov byte [ebp - 0x141], bl
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x150]
test eax, eax
je 0xa65c3e
push esi
push 1
push edx
push eax
call fcn.00aac93e
add esp, 0x10
cmp eax, 1
jne 0xa65c3e
push esi
call fcn.00aaca64
add esp, 4
cmp byte [ebp - 0x141], bl
je 0xa65c47
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 0xa65b6a
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xa65b61
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xb0497c]
mov esi, eax
add esp, 4
test esi, esi
je 0xa65cb1
test edi, edi
je 0xa65c86
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 0xa65c88
xor eax, eax
mov word [esi], ax
xor edx, edx
push 3
push ecx
push 0
lea ecx, [edx + 6]
call fcn.00a651b0
add esp, 0xc
test al, al
lea eax, [ebp - 0x164]
je 0xa65c9b
push 0x8000
jmp 0xa65c9d
xor eax, eax
jmp 0xa65bed
mov cl, byte [ebp - 0x141]
mov edx, eax
mov dword [ebp - 0x150], edx
test cl, cl
je 0xa65c33
push 0
push 0
push esi
call fcn.00aacd9e
add esp, 0xc
test eax, eax
sete byte [ebp - 0x141]
test eax, eax
jne 0xa65af5
mov eax, dword [ebp - 0x168]
inc eax
push eax
call dword [0xb0497c]
add esp, 4
mov dword [ebp - 0x158], eax
jmp 0xa65afb
mov eax, dword [ebp - 0x158]
jmp 0xa65b01
push esi
call fcn.00aaca64
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.00a61a30
add esp, 0xc
push dword [ebp - 0x158]
call dword [0xb04984]
add esp, 4
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0xa65bb4
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0xa65bb9
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xb04984]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0xa65cc9
push dword [ebp - 0x158]
call dword [0xb04984]
add esp, 4
test ebx, ebx
jne 0xa65d35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0xa65d05
push dword [ebp - 0x15c]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x148]
call fcn.00a61a30
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
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.00a61a30
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
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 0xa65ed2
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.00a61a30
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.00a9b573
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.00a61a30
add esp, 0xc
push esi
call fcn.00aa11cf
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
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 0xa65e3f
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.00a61a30
add esp, 0x14
push edi
call dword [0xb04984]
add esp, 4
test esi, esi
je 0xa65e29
push esi
call fcn.00aa11cf
add esp, 4
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
push edi
call dword [0xb04984]
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 0xa65e95
test esi, esi
je 0xa65d77
push esi
call fcn.00aa11cf
add esp, 4
jmp 0xa65d77
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 0xa65eca
push esi
call fcn.00aa11cf
mov eax, dword [ebp - 0x154]
add esp, 4
test eax, eax
je 0xa65d77
mov edi, dword [ebp - 0x184]
push 0x20
push 1
call dword [0xb0498c]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xa65f38
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, dword [ebp - 0x154]
add esp, 8
test eax, eax
je 0xa65f15
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0xa665b1.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.00a9b573
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.00a651b0
add esp, 0xc
test al, al
je 0xa6647b
push 0x2c
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.00a9dbd0
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.00a9dbd0
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 0xa66400
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 0xa6623f
cmp ecx, 5
jge 0xa6623f
push 0x3a
push edi
call fcn.00a9fc60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0xa66019
mov esi, ebx
sub esi, edi
jmp 0xa66029
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0xa66020
sub esi, ecx
cmp esi, 0x1f
ja 0xa66216
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00aa38d0
mov dh, byte [ebp - 0x14a]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0xa66093
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa66077
test dl, dl
je 0xa66073
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa66077
add eax, 2
add ecx, 2
test dl, dl
jne 0xa66057
xor eax, eax
jmp 0xa6607c
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa66093
mov al, byte [ebp - 0x141]
xor dh, dh
mov byte [ebp - 0x14a], dh
jmp 0xa661c1
cmp byte [ebp - 0x142], 0
je 0xa660e0
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa660c4
test dl, dl
je 0xa660c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa660c4
add eax, 2
add ecx, 2
test dl, dl
jne 0xa660a4
xor eax, eax
jmp 0xa660c9
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa660e0
mov al, byte [ebp - 0x141]
xor ah, ah
mov byte [ebp - 0x142], ah
jmp 0xa661c7
cmp byte [ebp - 0x149], 0
je 0xa6612b
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa66111
test dl, dl
je 0xa6610d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa66111
add eax, 2
add ecx, 2
test dl, dl
jne 0xa660f1
xor eax, eax
jmp 0xa66116
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa6612b
mov byte [ebp - 0x149], al
mov al, byte [ebp - 0x141]
jmp 0xa661c1
cmp byte [ebp - 0x143], 0
je 0xa6617f
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 0xa66160
test dl, dl
je 0xa6615c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa66160
add eax, 2
add ecx, 2
test dl, dl
jne 0xa66140
xor eax, eax
jmp 0xa66165
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa6617f
mov al, byte [ebp - 0x141]
xor dl, dl
mov ah, byte [ebp - 0x142]
mov byte [ebp - 0x143], dl
jmp 0xa661cd
cmp byte [ebp - 0x141], 0
je 0xa661ed
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa661b0
test dl, dl
je 0xa661ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa661b0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa66190
xor eax, eax
jmp 0xa661b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa661ed
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 0xa661d6
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x160]
inc ecx
mov dword [ebp - 0x160], ecx
test edi, edi
jne 0xa65ff0
jmp 0xa6624b
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x142]
mov dl, byte [ebp - 0x143]
test dh, dh
je 0xa6628d
test ah, ah
je 0xa6628d
cmp byte [ebp - 0x149], 0
je 0xa6628d
test dl, dl
je 0xa66291
test al, al
je 0xa66299
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, 0x3b
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0xa66299
test al, al
je 0xa66317
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], 0xad6744
cmp dl, al
je 0xa6630a
test dl, dl
je 0xa66300
mov edi, 1
mov dword [ebp - 0x9c], 0x80
mov dword [ebp - 0x150], edi
jmp 0xa66319
mov dword [ebp - 0x98], 0x40
mov edi, 1
mov dword [ebp - 0x150], edi
jmp 0xa66319
xor edi, edi
test dh, dh
jne 0xa66325
test ah, ah
je 0xa663c0
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 0xa6635d
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0xa66362
mov esi, 0xad6744
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 0xa663fa
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 0xa66464
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 0xa66537
mov esi, dword [edi + 0x10]
lea eax, [ebp - 0x1c8]
push 0x38
push 0
push eax
call fcn.00a9dbd0
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 0xa664fa
lea eax, [ebp - 0x100]
mov edx, esi
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00a655d0
mov esi, eax
add esp, 4
test esi, esi
je 0xa66506
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, esi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x154], 0
je 0xa66525
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 [0xb06ed0]
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 0xa66565
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0xa665ce
push ecx
lea edx, [ebp - 0x140]
mov ecx, esi
call fcn.00a798a0
add esp, 4
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x148]
call fcn.00a61a30
add esp, 0xc
push dword [ebx]
call dword [0xb04984]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 4
cmp esi, 0xe
ja case.0xa665b1.2146893055
movzx eax, byte [esi + 0xa66650]
jmp dword [eax*4 + 0xa66644]
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
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.00a9b573
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, 4
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9b573
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x148]
call fcn.00a61a30
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a9b573
mov esp, ebp
pop ebp
ret