Function at 0x1017120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x10b906c]
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.00ffd7b0
push ebx
push edi
mov dword [ebp - 0x16c], eax
call fcn.00ffd780
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 0x10171de
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x10171a5
test cl, cl
mov dword [ebp - 0x15c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x15c]
jmp 0x10171e3
cmp byte [edx + 0x65], bl
je 0x10171c4
test cl, cl
mov dword [ebp - 0x15c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x15c]
jmp 0x10171e3
test cl, cl
mov dword [ebp - 0x15c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x15c]
jmp 0x10171e3
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.01003570
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x101723d
movzx eax, byte [eax + 0x1017f70]
jmp dword [eax*4 + 0x1017f68]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.010191b0
add esp, 0xc
test eax, eax
jne 0x1017f56
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x3c8]
test eax, eax
jne 0x101727e
cmp dword [edx + 0x3dc], ebx
je 0x1017808
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 0x10172cb
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0x1017342
push eax
call fcn.01012b30
mov esi, eax
add esp, 4
test esi, esi
je case.0x1017ee5.2146893056
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.01016e30
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10176ff
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3c8]
cmp byte [ecx], bl
je 0x10176d2
push 0x1096904
push ecx
call fcn.01012c70
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x10176cc
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x408]
test eax, eax
je 0x1017398
push 0x109c168
push eax
call fcn.01006ec0
add esp, 8
test eax, eax
jne 0x1017392
cmp dword [ebp - 0x170], ebx
je 0x101736d
mov eax, str._memory_blob_
jmp 0x1017379
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.010034b0
add esp, 0xc
jmp 0x101774c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x10173ae
test eax, eax
je 0x1017705
xor edi, edi
test eax, eax
je 0x10173c0
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x10173cc
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x10173d9
push esi
call fcn.01043504
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x101746a
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x164], eax
call fcn.010503e2
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x13d], cl
test eax, eax
jne 0x101751c
push esi
call fcn.01053053
add esp, 4
mov dword [ebp - 0x164], eax
test eax, eax
jns 0x1017520
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
test eax, eax
je 0x1017577
push esi
push 1
push edx
push eax
call fcn.0104fd4b
add esp, 0x10
cmp eax, 1
jne 0x1017577
push esi
call fcn.010505bd
add esp, 4
cmp byte [ebp - 0x13d], bl
je 0x1017580
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 0x10174a0
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1017497
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x10b9098]
mov esi, eax
add esp, 4
test esi, esi
je 0x10175e7
test edi, edi
je 0x10175bc
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 0x10175be
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.01034810
add esp, 0x14
test al, al
lea eax, [ebp - 0x160]
je 0x10175d1
push 0x8000
jmp 0x10175d3
xor eax, eax
jmp 0x1017526
mov cl, byte [ebp - 0x13d]
mov edx, eax
mov dword [ebp - 0x14c], edx
test cl, cl
je 0x101756c
push 0
push 0
push esi
call fcn.010503e2
add esp, 0xc
test eax, eax
sete byte [ebp - 0x13d]
test eax, eax
jne 0x101742b
mov eax, dword [ebp - 0x164]
inc eax
push eax
call dword [0x10b9098]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x1017431
mov eax, dword [ebp - 0x154]
jmp 0x1017437
push esi
call fcn.010505bd
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.010034b0
push dword [ebp - 0x154]
call dword [0x10b909c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x10174ed
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x10174f2
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0x10b909c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x10175ff
push dword [ebp - 0x154]
call dword [0x10b909c]
add esp, 4
test ebx, ebx
jne 0x101766b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x101763b
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
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.010034b0
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
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 0x1017802
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.010034b0
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.00fee415
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.010034b0
push esi
call fcn.01043504
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
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 0x101776f
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.010034b0
push edi
call dword [0x10b909c]
add esp, 0x18
test esi, esi
je 0x1017759
push esi
call fcn.01043504
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10b909c]
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 0x10177c5
test esi, esi
je 0x10176ad
push esi
call fcn.01043504
add esp, 4
jmp 0x10176ad
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 0x10177fa
push esi
call fcn.01043504
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x10176ad
mov esi, dword [ebp - 0x16c]
push 0x20
push 1
call dword [0x10b90a8]
mov edi, dword [ebp - 0x180]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x1017868
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x144]
call fcn.010034b0
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x1017845
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x1017ee5.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.00fee415
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.01034810
add esp, 0x14
test al, al
je 0x1017db7
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.0103f9a0
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.0103f9a0
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 0x1017d3c
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 0x1017b7f
cmp ecx, 5
jge 0x1017b7f
push 0x3a
push edi
call fcn.01042070
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1017949
mov esi, ebx
sub esi, edi
jmp 0x1017959
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1017950
sub esi, ecx
cmp esi, 0x1f
ja 0x1017b56
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lfence
call fcn.010466e0
mov dh, byte [ebp - 0x146]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0x10179cc
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 0x10179b0
test dl, dl
je 0x10179ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10179b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017990
xor eax, eax
jmp 0x10179b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10179cc
mov al, byte [ebp - 0x13d]
xor dh, dh
mov byte [ebp - 0x146], dh
jmp 0x1017b01
cmp byte [ebp - 0x13e], 0
je 0x1017a1c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017a00
test dl, dl
je 0x10179fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017a00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10179e0
xor eax, eax
jmp 0x1017a05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1017a1c
mov al, byte [ebp - 0x13d]
xor ah, ah
mov byte [ebp - 0x13e], ah
jmp 0x1017b07
cmp byte [ebp - 0x145], 0
je 0x1017a6a
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017a50
test dl, dl
je 0x1017a4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017a50
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017a30
xor eax, eax
jmp 0x1017a55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1017a6a
mov byte [ebp - 0x145], al
mov al, byte [ebp - 0x13d]
jmp 0x1017b01
cmp byte [ebp - 0x13f], 0
je 0x1017abf
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 0x1017aa0
test dl, dl
je 0x1017a9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017aa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017a80
xor eax, eax
jmp 0x1017aa5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1017abf
mov al, byte [ebp - 0x13d]
xor dl, dl
mov ah, byte [ebp - 0x13e]
mov byte [ebp - 0x13f], dl
jmp 0x1017b0d
cmp byte [ebp - 0x13d], 0
je 0x1017b2d
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1017af0
test dl, dl
je 0x1017aec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1017af0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1017ad0
xor eax, eax
jmp 0x1017af5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1017b2d
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 0x1017b16
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x16c]
inc ecx
mov dword [ebp - 0x16c], ecx
test edi, edi
jne 0x1017920
jmp 0x1017b8b
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
test dh, dh
je 0x1017bcd
test ah, ah
je 0x1017bcd
cmp byte [ebp - 0x145], 0
je 0x1017bcd
test dl, dl
je 0x1017bd1
test al, al
je 0x1017bd5
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x1017bd5
test al, al
je 0x1017c53
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], 0x109c424
cmp dl, al
je 0x1017c46
test dl, dl
je 0x1017c3c
mov edi, 1
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x14c], edi
jmp 0x1017c55
mov dword [ebp - 0x94], 0x40
mov edi, 1
mov dword [ebp - 0x14c], edi
jmp 0x1017c55
xor edi, edi
test dh, dh
jne 0x1017c61
test ah, ah
je 0x1017cfc
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 0x1017c99
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x1017c9e
mov esi, 0x109c424
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 0x1017d36
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 0x1017da0
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 0x1017e6d
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c0]
push 0x38
push 0
push eax
call fcn.0103f9a0
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 0x1017e36
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.01019100
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1017e42
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x150], 0
je 0x1017e61
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 [0x10bdb68]
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 0x1017e9b
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1017f02
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.01012d80
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.010034b0
push dword [edi]
call dword [0x10b909c]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x1017ee5.2146893055
movzx eax, byte [esi + 0x1017f84]
jmp dword [eax*4 + 0x1017f78]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
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.00fee415
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.010034b0
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00fee415
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.010034b0
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00fee415
mov esp, ebp
pop ebp
ret