Function at 0xa44fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0xaf7064]
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.00a2b300
push ebx
push edi
mov dword [ebp - 0x168], eax
call fcn.00a2b2d0
mov dword [ebp - 0x148], 0
xor ebx, ebx
mov edx, dword [esi + 0x14]
add esp, 0xc
mov esi, dword [ebp - 0x168]
mov ecx, eax
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], edx
cmp byte [esi + 0x39], bl
je 0xa45062
cmp byte [edx + 0x48], bl
mov eax, 8
mov edx, 0x20
cmove eax, edx
cmp byte [ecx + 0x63], bl
je 0xa4504f
or eax, 0x1800
jmp 0xa45067
cmp byte [ecx + 0x65], bl
je 0xa4505b
or eax, 0x1a00
jmp 0xa45067
or eax, 0x200
jmp 0xa45067
mov eax, 0x1808
mov edx, eax
or edx, 4
cmp byte [esi + 0x3a], bl
cmovne edx, eax
mov dword [ebp - 0x164], edx
cmp byte [ecx + 0x67], bl
jne 0xa45098
push str.schannel:_disabled_automatic_use_of_client_certificate
push dword [ebp - 0x144]
or edx, 0x10
mov dword [ebp - 0x164], edx
call fcn.00a311f0
jmp 0xa450b4
push str.schannel:_enabled_automatic_use_of_client_certificate
push dword [ebp - 0x144]
call fcn.00a311f0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x164], eax
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0xa450cb
movzx eax, byte [eax + 0xa45de4]
jmp dword [eax*4 + 0xa45ddc]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.00a47030
add esp, 0xc
test eax, eax
jne 0xa45dc5
mov edi, dword [ebp - 0x144]
mov ecx, dword [edi + 0x3d8]
test ecx, ecx
jne 0xa4510c
cmp dword [edi + 0x3ec], ebx
je 0xa45696
mov edx, dword [ebp - 0x144]
xor eax, eax
mov dword [ebp - 0x16c], ebx
xor edi, edi
mov dword [ebp - 0x174], ebx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x150], edi
mov edx, dword [edx + 0x3ec]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], edx
test edx, edx
je 0xa45164
mov ecx, dword [edx]
mov dword [ebp - 0x14c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x15c], ecx
jmp 0xa4520c
push ecx
call fcn.00a41660
mov esi, eax
add esp, 4
test esi, esi
je 0xa456db
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x16c]
push eax
push esi
call fcn.00a44ce0
mov edi, eax
add esp, 0x10
test edi, edi
je 0xa451fe
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0xa451d1
push 0xad035c
push ecx
call fcn.00a41790
add esp, 8
mov dword [ebp - 0x154], eax
test eax, eax
je 0xa451cb
mov edi, dword [ebp - 0x150]
jmp 0xa45214
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.00a31130
push esi
call fcn.00a72087
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x150]
xor eax, eax
mov edx, dword [ebp - 0x160]
test edx, edx
je 0xa452a4
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x418]
test ecx, ecx
je 0xa4528e
push 0xad6a78
push ecx
call fcn.00a34bb0
add esp, 8
test eax, eax
jne 0xa45288
cmp dword [ebp - 0x160], ebx
je 0xa45245
mov eax, str._memory_blob_
jmp 0xa45251
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 0xc
test esi, esi
je 0xa45272
push esi
call fcn.00a72087
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x160]
test eax, eax
jne 0xa45395
test edx, edx
jne 0xa45395
mov eax, dword [ebp - 0x16c]
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 0xa452f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x16c]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a31130
push edi
call dword [0xaf7100]
add esp, 0x18
jmp 0xa45265
push edi
call dword [0xaf7100]
add esp, 4
mov dword [ebp - 0x188], 0x14
lea eax, [ebp - 0x38]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
push 0
push 0
push eax
lea eax, [ebp - 0x38]
push eax
push 4
push 0x28
push dword [ebp - 0x174]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0xa4534b
test esi, esi
je 0xa4533d
push esi
call fcn.00a72087
add esp, 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0xa45272
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 - 0x148], eax
test esi, esi
je 0xa45380
push esi
call fcn.00a72087
mov eax, dword [ebp - 0x148]
add esp, 4
test eax, eax
jne 0xa4568a
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0xa45272
xor edi, edi
test edx, edx
je 0xa453a7
mov dword [ebp - 0x150], str._memory_blob_
jmp 0xa453b9
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3d8]
mov dword [ebp - 0x150], eax
test esi, esi
je 0xa453c6
push esi
call fcn.00a72087
add esp, 4
mov esi, dword [ebp - 0x154]
test esi, esi
je 0xa454e9
push 2
push 0
push esi
mov dword [ebp - 0x154], ebx
call fcn.00a7f5cb
add esp, 0xc
test eax, eax
sete al
mov byte [ebp - 0x13d], al
test al, al
je 0xa45492
push esi
call fcn.00a80313
add esp, 4
mov dword [ebp - 0x154], eax
test eax, eax
jns 0xa4548c
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x15c]
test eax, eax
je 0xa45435
push esi
push 1
push ecx
push eax
call fcn.00a7eeb3
add esp, 0x10
cmp eax, 1
je 0xa4543b
mov byte [ebp - 0x13d], bl
push esi
call fcn.00a7f7ad
add esp, 4
cmp byte [ebp - 0x13d], bl
jne 0xa454e9
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00a31130
push dword [ebp - 0x14c]
call dword [0xaf7100]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x15c], ecx
test al, al
je 0xa454de
push 0
push 0
push esi
call fcn.00a7f5cb
add esp, 0xc
test eax, eax
sete al
mov byte [ebp - 0x13d], al
test al, al
je 0xa45413
mov eax, dword [ebp - 0x154]
inc eax
push eax
call dword [0xaf70fc]
add esp, 4
mov dword [ebp - 0x14c], eax
jmp 0xa45419
mov eax, dword [ebp - 0x14c]
jmp 0xa4541f
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x428]
test eax, eax
je 0xa4551f
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xa45516
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xaf70fc]
mov esi, eax
add esp, 4
test esi, esi
je 0xa455a9
test edi, edi
je 0xa45585
mov eax, dword [ebp - 0x144]
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 0xa45587
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00a61b50
add esp, 0x14
test al, al
lea eax, [ebp - 0x178]
je 0xa45593
push 0x8000
jmp 0xa45595
xor eax, eax
cmp eax, edi
jg 0xa4555d
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0xa45562
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xaf7100]
add esp, 4
cmp dword [ebp - 0x160], 0
jne 0xa455c1
push dword [ebp - 0x14c]
call dword [0xaf7100]
add esp, 4
test ebx, ebx
jne 0xa4562d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0xa455fd
push dword [ebp - 0x150]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x150]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
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 - 0x148], eax
test eax, eax
jne 0xa4568a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x150]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.00a31130
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.00a1aa6a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x144]
push 0x20
push 1
call dword [0xaf710c]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xa456f1
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00a31130
mov eax, dword [ebp - 0x148]
add esp, 8
test eax, eax
je 0xa456ce
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0xa456db
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.00a1aa6a
mov esp, ebp
pop ebp
ret
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.00a61b50
add esp, 0x14
test al, al
je 0xa45c31
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.00a6dcb0
push 0x70
lea eax, [ebp - 0xac]
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00a6dcb0
mov edi, dword [esi + 0x14]
xor eax, eax
add esp, 0x18
mov word [ebp - 0x158], ax
xor edx, edx
mov dword [ebp - 0x156], eax
mov word [ebp - 0x152], ax
mov word [ebp - 0x170], ax
mov dword [ebp - 0x16e], eax
mov word [ebp - 0x16a], ax
test edi, edi
je 0xa45bb6
xorps xmm0, xmm0
mov dword [ebp - 0x168], eax
mov bh, 1
mov byte [ebp - 0x24], al
movups xmmword [ebp - 0x23], xmm0
mov bl, bh
mov dword [ebp - 0xb], eax
movq qword [ebp - 0x13], xmm0
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x13e], 1
mov byte [ebp - 0x13d], 1
mov byte [ebp - 0x13f], 1
cmp byte [edi], 0
je 0xa45a15
cmp eax, 5
jge 0xa45a15
push 0x3a
push edi
call fcn.00a71a00
add esp, 8
mov dword [ebp - 0x174], eax
test eax, eax
je 0xa457ee
mov esi, eax
sub esi, edi
jmp 0xa457fc
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xa457f3
sub esi, ecx
cmp esi, 0x1f
ja 0xa459ec
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00a75f50
add esp, 0xc
cmp esi, 0x20
jae 0xa45dd6
cmp byte [ebp - 0x13e], 0
mov byte [ebp + esi - 0x24], 0
je 0xa45868
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa45852
test dl, dl
je 0xa4584e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa45852
add eax, 2
add ecx, 2
test dl, dl
jne 0xa45832
xor eax, eax
jmp 0xa45857
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa45868
xor cl, cl
mov byte [ebp - 0x13e], cl
jmp 0xa45991
cmp byte [ebp - 0x13d], 0
je 0xa458bc
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa458a0
test dl, dl
je 0xa4589c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa458a0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa45880
xor eax, eax
jmp 0xa458a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa458bc
mov cl, byte [ebp - 0x13e]
xor ch, ch
mov byte [ebp - 0x13d], ch
jmp 0xa45997
cmp byte [ebp - 0x13f], 0
je 0xa45912
lea ecx, [ebp - 0x24]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa458f0
test dl, dl
je 0xa458ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa458f0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa458d0
xor eax, eax
jmp 0xa458f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa45912
mov cl, byte [ebp - 0x13e]
xor dl, dl
mov ch, byte [ebp - 0x13d]
mov byte [ebp - 0x13f], dl
jmp 0xa4599d
test bh, bh
je 0xa4594d
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa45940
test dl, dl
je 0xa4593c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa45940
add eax, 2
add ecx, 2
test dl, dl
jne 0xa45920
xor eax, eax
jmp 0xa45945
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa4594d
xor bh, bh
jmp 0xa4598b
test bl, bl
je 0xa459c3
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa45980
test dl, dl
je 0xa4597c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa45980
add eax, 2
add ecx, 2
test dl, dl
jne 0xa45960
xor eax, eax
jmp 0xa45985
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa459c3
xor bl, bl
mov cl, byte [ebp - 0x13e]
mov ch, byte [ebp - 0x13d]
mov dl, byte [ebp - 0x13f]
mov eax, dword [ebp - 0x174]
mov edi, eax
test eax, eax
je 0xa459ac
lea edi, [eax + 1]
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
test edi, edi
jne 0xa457c1
jmp 0xa45a27
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp - 0x13f]
mov ch, byte [ebp - 0x13d]
mov cl, byte [ebp - 0x13e]
test cl, cl
je 0xa45a64
test ch, ch
je 0xa45a64
test dl, dl
je 0xa45a64
test bh, bh
je 0xa45a68
test bl, bl
je 0xa45a64
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
test bh, bh
jne 0xa45a6c
test bl, bl
je 0xa45ade
mov dword [ebp - 0x158], 0x200020
lea eax, [ebp - 0x158]
mov dword [ebp - 0x154], str.ChainingModeCCM
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 0x80008
mov dword [ebp - 0xa4], 0xad58cc
cmp bh, bl
je 0xa45ad7
test bh, bh
je 0xa45acd
mov dword [ebp - 0x98], 0x80
mov edx, 1
jmp 0xa45ae0
mov dword [ebp - 0x94], 0x40
mov edx, 1
jmp 0xa45ae0
xor edx, edx
test cl, cl
jne 0xa45aec
test ch, ch
je 0xa45b82
cmp cl, ch
mov dword [ebp - 0x170], 0x200020
mov dword [ebp - 0x16c], str.ChainingModeGCM
lea ecx, [edx*8]
je 0xa45b43
sub ecx, edx
mov eax, str.SHA384
shl ecx, 2
mov esi, str.SHA256
cmp byte [ebp - 0x13e], 0
cmove eax, esi
mov dword [ebp + ecx - 0xac], 3
mov dword [ebp + ecx - 0xa8], 0x40004
mov dword [ebp + ecx - 0xa4], eax
jmp 0xa45b69
sub ecx, edx
shl ecx, 2
mov dword [ebp + ecx - 0xac], 2
mov dword [ebp + ecx - 0xa8], 0x80008
mov dword [ebp + ecx - 0xa4], 0xad58cc
lea eax, [ebp - 0x170]
mov dword [ebp + ecx - 0xa0], 1
mov dword [ebp + ecx - 0x9c], eax
inc edx
cmp byte [ebp - 0x13f], 0
je 0xa45bb6
lea eax, [edx*8]
sub eax, edx
inc edx
mov dword [ebp + eax*4 - 0xac], 2
mov dword [ebp + eax*4 - 0xa8], 0x240024
mov dword [ebp + eax*4 - 0xa4], str.CHACHA20_POLY1305
lea eax, [ebp - 0xac]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x164]
or eax, 0x400000
mov dword [ebp - 0x190], 1
cmp dword [ebp - 0x148], 0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x17c]
not eax
mov dword [ebp - 0x1b4], 5
mov dword [ebp - 0x34], eax
je 0xa45c1a
lea eax, [ebp - 0x148]
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x1a8], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1b4]
jmp 0xa45ce8
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1bc]
push 0x34
push 0
push eax
call fcn.00a6dcb0
mov ecx, dword [ebp - 0x164]
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 0xa45cab
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.00a46f80
mov esi, eax
add esp, 0xc
test esi, esi
je 0xa45cb7
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push edi
call fcn.00a31130
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x148], 0
je 0xa45cd6
lea eax, [ebp - 0x148]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1c0]
push ecx
push 0
push 0
push eax
mov eax, dword [0xafd0f8]
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 - 0x148]
test eax, eax
je 0xa45d16
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0xa45d71
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.00a418a0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.00a31130
push dword [ebx]
call dword [0xaf7100]
add esp, 0x1c
mov dword [ebx], 0
xor eax, eax
cmp esi, 0x80090300
setne al
pop edi
pop esi
pop ebx
lea eax, [eax*8 + 0x1b]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
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.00a1aa6a
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.00a31130
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.00a31130
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a1aa6a
mov esp, ebp
pop ebp
ret
call fcn.00a1b17a
nop
rcl byte [eax - 0x5c], cl
add byte [ebp + ebx*2 + 164], al
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
int3