Function at 0xa54ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0xb07064]
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.00a3aff0
push ebx
push edi
mov dword [ebp - 0x168], eax
call fcn.00a3afc0
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 0xa54d32
cmp byte [edx + 0x48], bl
mov eax, 8
mov edx, 0x20
cmove eax, edx
cmp byte [ecx + 0x63], bl
je 0xa54d1f
or eax, 0x1800
jmp 0xa54d37
cmp byte [ecx + 0x65], bl
je 0xa54d2b
or eax, 0x1a00
jmp 0xa54d37
or eax, 0x200
jmp 0xa54d37
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 0xa54d68
push str.schannel:_disabled_automatic_use_of_client_certificate
push dword [ebp - 0x144]
or edx, 0x10
mov dword [ebp - 0x164], edx
call fcn.00a40ed0
jmp 0xa54d84
push str.schannel:_enabled_automatic_use_of_client_certificate
push dword [ebp - 0x144]
call fcn.00a40ed0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x164], eax
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0xa54d9b
movzx eax, byte [eax + 0xa55ab4]
jmp dword [eax*4 + 0xa55aac]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.00a56d00
add esp, 0xc
test eax, eax
jne 0xa55a95
mov edi, dword [ebp - 0x144]
mov ecx, dword [edi + 0x3d8]
test ecx, ecx
jne 0xa54ddc
cmp dword [edi + 0x3ec], ebx
je 0xa55366
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 0xa54e34
mov ecx, dword [edx]
mov dword [ebp - 0x14c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x15c], ecx
jmp 0xa54edc
push ecx
call fcn.00a51330
mov esi, eax
add esp, 4
test esi, esi
je 0xa553ab
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x16c]
push eax
push esi
call fcn.00a549b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0xa54ece
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0xa54ea1
push 0xae0604
push ecx
call fcn.00a51460
add esp, 8
mov dword [ebp - 0x154], eax
test eax, eax
je 0xa54e9b
mov edi, dword [ebp - 0x150]
jmp 0xa54ee4
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.00a40e10
push esi
call fcn.00a81d67
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x150]
xor eax, eax
mov edx, dword [ebp - 0x160]
test edx, edx
je 0xa54f74
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx + 0x418]
test ecx, ecx
je 0xa54f5e
push 0xae6d18
push ecx
call fcn.00a44890
add esp, 8
test eax, eax
jne 0xa54f58
cmp dword [ebp - 0x160], ebx
je 0xa54f15
mov eax, str._memory_blob_
jmp 0xa54f21
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.00a40e10
add esp, 0xc
test esi, esi
je 0xa54f42
push esi
call fcn.00a81d67
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x160]
test eax, eax
jne 0xa55065
test edx, edx
jne 0xa55065
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 0xa54fc0
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.00a40e10
push edi
call dword [0xb07100]
add esp, 0x18
jmp 0xa54f35
push edi
call dword [0xb07100]
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 0xa5501b
test esi, esi
je 0xa5500d
push esi
call fcn.00a81d67
add esp, 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0xa54f42
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 0xa55050
push esi
call fcn.00a81d67
mov eax, dword [ebp - 0x148]
add esp, 4
test eax, eax
jne 0xa5535a
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0xa54f42
xor edi, edi
test edx, edx
je 0xa55077
mov dword [ebp - 0x150], str._memory_blob_
jmp 0xa55089
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3d8]
mov dword [ebp - 0x150], eax
test esi, esi
je 0xa55096
push esi
call fcn.00a81d67
add esp, 4
mov esi, dword [ebp - 0x154]
test esi, esi
je 0xa551b9
push 2
push 0
push esi
mov dword [ebp - 0x154], ebx
call fcn.00a8f203
add esp, 0xc
test eax, eax
sete al
mov byte [ebp - 0x13d], al
test al, al
je 0xa55162
push esi
call fcn.00a8ff43
add esp, 4
mov dword [ebp - 0x154], eax
test eax, eax
jns 0xa5515c
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x15c]
test eax, eax
je 0xa55105
push esi
push 1
push ecx
push eax
call fcn.00a8eb6c
add esp, 0x10
cmp eax, 1
je 0xa5510b
mov byte [ebp - 0x13d], bl
push esi
call fcn.00a8f3dd
add esp, 4
cmp byte [ebp - 0x13d], bl
jne 0xa551b9
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00a40e10
push dword [ebp - 0x14c]
call dword [0xb07100]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
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 0xa551ae
push 0
push 0
push esi
call fcn.00a8f203
add esp, 0xc
test eax, eax
sete al
mov byte [ebp - 0x13d], al
test al, al
je 0xa550e3
mov eax, dword [ebp - 0x154]
inc eax
push eax
call dword [0xb070fc]
add esp, 4
mov dword [ebp - 0x14c], eax
jmp 0xa550e9
mov eax, dword [ebp - 0x14c]
jmp 0xa550ef
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 0xa551ef
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0xa551e6
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xb070fc]
mov esi, eax
add esp, 4
test esi, esi
je 0xa55279
test edi, edi
je 0xa55255
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 0xa55257
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00a71830
add esp, 0x14
test al, al
lea eax, [ebp - 0x178]
je 0xa55263
push 0x8000
jmp 0xa55265
xor eax, eax
cmp eax, edi
jg 0xa5522d
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0xa55232
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xb07100]
add esp, 4
cmp dword [ebp - 0x160], 0
jne 0xa55291
push dword [ebp - 0x14c]
call dword [0xb07100]
add esp, 4
test ebx, ebx
jne 0xa552fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0xa552cd
push dword [ebp - 0x150]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.00a40e10
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
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.00a40e10
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
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 0xa5535a
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.00a40e10
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.00a2a750
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x144]
push 0x20
push 1
call dword [0xb0710c]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0xa553c1
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00a40e10
mov eax, dword [ebp - 0x148]
add esp, 8
test eax, eax
je 0xa5539e
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0xa553ab
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.00a2a750
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.00a71830
add esp, 0x14
test al, al
je 0xa55901
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.00a7d990
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.00a7d990
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 0xa55886
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 0xa556e5
cmp eax, 5
jge 0xa556e5
push 0x3a
push edi
call fcn.00a816e0
add esp, 8
mov dword [ebp - 0x174], eax
test eax, eax
je 0xa554be
mov esi, eax
sub esi, edi
jmp 0xa554cc
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xa554c3
sub esi, ecx
cmp esi, 0x1f
ja 0xa556bc
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00a85c30
add esp, 0xc
cmp esi, 0x20
jae 0xa55aa6
cmp byte [ebp - 0x13e], 0
mov byte [ebp + esi - 0x24], 0
je 0xa55538
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa55522
test dl, dl
je 0xa5551e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa55522
add eax, 2
add ecx, 2
test dl, dl
jne 0xa55502
xor eax, eax
jmp 0xa55527
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa55538
xor cl, cl
mov byte [ebp - 0x13e], cl
jmp 0xa55661
cmp byte [ebp - 0x13d], 0
je 0xa5558c
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa55570
test dl, dl
je 0xa5556c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa55570
add eax, 2
add ecx, 2
test dl, dl
jne 0xa55550
xor eax, eax
jmp 0xa55575
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa5558c
mov cl, byte [ebp - 0x13e]
xor ch, ch
mov byte [ebp - 0x13d], ch
jmp 0xa55667
cmp byte [ebp - 0x13f], 0
je 0xa555e2
lea ecx, [ebp - 0x24]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa555c0
test dl, dl
je 0xa555bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa555c0
add eax, 2
add ecx, 2
test dl, dl
jne 0xa555a0
xor eax, eax
jmp 0xa555c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa555e2
mov cl, byte [ebp - 0x13e]
xor dl, dl
mov ch, byte [ebp - 0x13d]
mov byte [ebp - 0x13f], dl
jmp 0xa5566d
test bh, bh
je 0xa5561d
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa55610
test dl, dl
je 0xa5560c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa55610
add eax, 2
add ecx, 2
test dl, dl
jne 0xa555f0
xor eax, eax
jmp 0xa55615
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa5561d
xor bh, bh
jmp 0xa5565b
test bl, bl
je 0xa55693
lea ecx, [ebp - 0x24]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa55650
test dl, dl
je 0xa5564c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa55650
add eax, 2
add ecx, 2
test dl, dl
jne 0xa55630
xor eax, eax
jmp 0xa55655
sbb eax, eax
or eax, 1
test eax, eax
jne 0xa55693
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 0xa5567c
lea edi, [eax + 1]
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
test edi, edi
jne 0xa55491
jmp 0xa556f7
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.00a40e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.00a40e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
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 0xa55734
test ch, ch
je 0xa55734
test dl, dl
je 0xa55734
test bh, bh
je 0xa55738
test bl, bl
je 0xa55734
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.00a40e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
test bh, bh
jne 0xa5573c
test bl, bl
je 0xa557ae
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], 0xae5b6c
cmp bh, bl
je 0xa557a7
test bh, bh
je 0xa5579d
mov dword [ebp - 0x98], 0x80
mov edx, 1
jmp 0xa557b0
mov dword [ebp - 0x94], 0x40
mov edx, 1
jmp 0xa557b0
xor edx, edx
test cl, cl
jne 0xa557bc
test ch, ch
je 0xa55852
cmp cl, ch
mov dword [ebp - 0x170], 0x200020
mov dword [ebp - 0x16c], str.ChainingModeGCM
lea ecx, [edx*8]
je 0xa55813
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 0xa55839
sub ecx, edx
shl ecx, 2
mov dword [ebp + ecx - 0xac], 2
mov dword [ebp + ecx - 0xa8], 0x80008
mov dword [ebp + ecx - 0xa4], 0xae5b6c
lea eax, [ebp - 0x170]
mov dword [ebp + ecx - 0xa0], 1
mov dword [ebp + ecx - 0x9c], eax
inc edx
cmp byte [ebp - 0x13f], 0
je 0xa55886
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 0xa558ea
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 0xa559b8
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1bc]
push 0x34
push 0
push eax
call fcn.00a7d990
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 0xa5597b
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.00a56c50
mov esi, eax
add esp, 0xc
test esi, esi
je 0xa55987
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push edi
call fcn.00a40e10
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x148], 0
je 0xa559a6
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 [0xb0d0f8]
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 0xa559e6
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0xa55a41
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.00a51570
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.00a40e10
push dword [ebx]
call dword [0xb07100]
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.00a2a750
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.00a2a750
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.00a40e10
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.00a40e10
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a2a750
mov esp, ebp
pop ebp
ret
call fcn.00a2ae6a
nop
mov byte [0x5400a54d], al
pop edx
movsd dword es:[edi], dword [esi]
add byte [eax], al
add byte [ecx], al
add dword [eax], eax
add byte [eax], al
add ah, cl
int3