Function at 0x1017920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x10b806c]
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.00ffdf90
push ebx
push edi
mov dword [ebp - 0x16c], eax
call fcn.00ffdf60
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 0x10179de
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x10179a5
test cl, cl
mov dword [ebp - 0x15c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x15c]
jmp 0x10179e3
cmp byte [edx + 0x65], bl
je 0x10179c4
test cl, cl
mov dword [ebp - 0x15c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x15c]
jmp 0x10179e3
test cl, cl
mov dword [ebp - 0x15c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x15c]
jmp 0x10179e3
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.01003d50
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x1017a3d
movzx eax, byte [eax + 0x1018770]
jmp dword [eax*4 + 0x1018768]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.010199b0
add esp, 0xc
test eax, eax
jne 0x1018756
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x3c8]
test eax, eax
jne 0x1017a7e
cmp dword [edx + 0x3dc], ebx
je 0x1018008
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 0x1017acb
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0x1017b42
push eax
call fcn.01013310
mov esi, eax
add esp, 4
test esi, esi
je case.0x10186e5.2146893056
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.01017630
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1017eff
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3c8]
cmp byte [ecx], bl
je 0x1017ed2
push 0x1095e3c
push ecx
call fcn.01013450
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x1017ecc
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x408]
test eax, eax
je 0x1017b98
push 0x109b6a8
push eax
call fcn.01007690
add esp, 8
test eax, eax
jne 0x1017b92
cmp dword [ebp - 0x170], ebx
je 0x1017b6d
mov eax, str._memory_blob_
jmp 0x1017b79
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.01003c90
add esp, 0xc
jmp 0x1017f4c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x1017bae
test eax, eax
je 0x1017f05
xor edi, edi
test eax, eax
je 0x1017bc0
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x1017bcc
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x1017bd9
push esi
call fcn.01043d14
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x1017c6a
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x164], eax
call fcn.01050bf2
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x13d], cl
test eax, eax
jne 0x1017d1c
push esi
call fcn.01053863
add esp, 4
mov dword [ebp - 0x164], eax
test eax, eax
jns 0x1017d20
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
test eax, eax
je 0x1017d77
push esi
push 1
push edx
push eax
call fcn.0105055b
add esp, 0x10
cmp eax, 1
jne 0x1017d77
push esi
call fcn.01050dcd
add esp, 4
cmp byte [ebp - 0x13d], bl
je 0x1017d80
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 0x1017ca0
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1017c97
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x10b8098]
mov esi, eax
add esp, 4
test esi, esi
je 0x1017de7
test edi, edi
je 0x1017dbc
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 0x1017dbe
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.01035020
add esp, 0x14
test al, al
lea eax, [ebp - 0x160]
je 0x1017dd1
push 0x8000
jmp 0x1017dd3
xor eax, eax
jmp 0x1017d26
mov cl, byte [ebp - 0x13d]
mov edx, eax
mov dword [ebp - 0x14c], edx
test cl, cl
je 0x1017d6c
push 0
push 0
push esi
call fcn.01050bf2
add esp, 0xc
test eax, eax
sete byte [ebp - 0x13d]
test eax, eax
jne 0x1017c2b
mov eax, dword [ebp - 0x164]
inc eax
push eax
call dword [0x10b8098]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x1017c31
mov eax, dword [ebp - 0x154]
jmp 0x1017c37
push esi
call fcn.01050dcd
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.01003c90
push dword [ebp - 0x154]
call dword [0x10b809c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x1017ced
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x1017cf2
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0x10b809c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x1017dff
push dword [ebp - 0x154]
call dword [0x10b809c]
add esp, 4
test ebx, ebx
jne 0x1017e6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x1017e3b
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
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.01003c90
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
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 0x1018002
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.01003c90
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.00feec0c
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.01003c90
push esi
call fcn.01043d14
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
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 0x1017f6f
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.01003c90
push edi
call dword [0x10b809c]
add esp, 0x18
test esi, esi
je 0x1017f59
push esi
call fcn.01043d14
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10b809c]
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 0x1017fc5
test esi, esi
je 0x1017ead
push esi
call fcn.01043d14
add esp, 4
jmp 0x1017ead
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 0x1017ffa
push esi
call fcn.01043d14
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x1017ead
mov esi, dword [ebp - 0x16c]
push 0x20
push 1
call dword [0x10b80a8]
mov edi, dword [ebp - 0x180]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x1018068
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x144]
call fcn.01003c90
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x1018045
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x10186e5.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.00feec0c
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.01035020
add esp, 0x14
test al, al
je 0x10185b7
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.010401b0
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.010401b0
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 0x101853c
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 0x101837f
cmp ecx, 5
jge 0x101837f
push 0x3a
push edi
call fcn.01042880
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1018149
mov esi, ebx
sub esi, edi
jmp 0x1018159
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1018150
sub esi, ecx
cmp esi, 0x1f
ja 0x1018356
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lfence
call fcn.01046ef0
mov dh, byte [ebp - 0x146]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0x10181cc
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 0x10181b0
test dl, dl
je 0x10181ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10181b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018190
xor eax, eax
jmp 0x10181b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10181cc
mov al, byte [ebp - 0x13d]
xor dh, dh
mov byte [ebp - 0x146], dh
jmp 0x1018301
cmp byte [ebp - 0x13e], 0
je 0x101821c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018200
test dl, dl
je 0x10181fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018200
add eax, 2
add ecx, 2
test dl, dl
jne 0x10181e0
xor eax, eax
jmp 0x1018205
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101821c
mov al, byte [ebp - 0x13d]
xor ah, ah
mov byte [ebp - 0x13e], ah
jmp 0x1018307
cmp byte [ebp - 0x145], 0
je 0x101826a
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018250
test dl, dl
je 0x101824c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018250
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018230
xor eax, eax
jmp 0x1018255
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101826a
mov byte [ebp - 0x145], al
mov al, byte [ebp - 0x13d]
jmp 0x1018301
cmp byte [ebp - 0x13f], 0
je 0x10182bf
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 0x10182a0
test dl, dl
je 0x101829c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10182a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018280
xor eax, eax
jmp 0x10182a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10182bf
mov al, byte [ebp - 0x13d]
xor dl, dl
mov ah, byte [ebp - 0x13e]
mov byte [ebp - 0x13f], dl
jmp 0x101830d
cmp byte [ebp - 0x13d], 0
je 0x101832d
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10182f0
test dl, dl
je 0x10182ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10182f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10182d0
xor eax, eax
jmp 0x10182f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101832d
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 0x1018316
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x16c]
inc ecx
mov dword [ebp - 0x16c], ecx
test edi, edi
jne 0x1018120
jmp 0x101838b
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
test dh, dh
je 0x10183cd
test ah, ah
je 0x10183cd
cmp byte [ebp - 0x145], 0
je 0x10183cd
test dl, dl
je 0x10183d1
test al, al
je 0x10183d5
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x10183d5
test al, al
je 0x1018453
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], 0x109b964
cmp dl, al
je 0x1018446
test dl, dl
je 0x101843c
mov edi, 1
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x14c], edi
jmp 0x1018455
mov dword [ebp - 0x94], 0x40
mov edi, 1
mov dword [ebp - 0x14c], edi
jmp 0x1018455
xor edi, edi
test dh, dh
jne 0x1018461
test ah, ah
je 0x10184fc
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 0x1018499
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x101849e
mov esi, 0x109b964
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 0x1018536
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 0x10185a0
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 0x101866d
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c0]
push 0x38
push 0
push eax
call fcn.010401b0
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 0x1018636
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.01019900
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1018642
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x150], 0
je 0x1018661
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 [0x10bcb68]
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 0x101869b
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1018702
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.01013560
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.01003c90
push dword [edi]
call dword [0x10b809c]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x10186e5.2146893055
movzx eax, byte [esi + 0x1018784]
jmp dword [eax*4 + 0x1018778]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
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.00feec0c
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.01003c90
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00feec0c
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.01003c90
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00feec0c
mov esp, ebp
pop ebp
ret