Function at 0x1041db4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x10e306c]
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.01028320
push ebx
push edi
mov dword [ebp - 0x16c], eax
call fcn.010282f0
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 0x1041d4e
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x1041d15
test cl, cl
mov dword [ebp - 0x15c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x15c]
jmp 0x1041d53
cmp byte [edx + 0x65], bl
je 0x1041d34
test cl, cl
mov dword [ebp - 0x15c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x15c]
jmp 0x1041d53
test cl, cl
mov dword [ebp - 0x15c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x15c]
jmp 0x1041d53
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.0102e0f0
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x1041dad
movzx eax, byte [eax + 0x1042ae0]
jmp dword [eax*4 + 0x1042ad8]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.01043d20
add esp, 0xc
test eax, eax
jne 0x1042ac6
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x3c8]
test eax, eax
jne 0x1041dee
cmp dword [edx + 0x3dc], ebx
je 0x1042378
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 0x1041e3b
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0x1041eb2
push eax
call fcn.0103d6a0
mov esi, eax
add esp, 4
test esi, esi
je case.0x1042a55.2146893056
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.010419a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x104226f
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3c8]
cmp byte [ecx], bl
je 0x1042242
push 0x10c0b44
push ecx
call fcn.0103d7e0
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x104223c
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x408]
test eax, eax
je 0x1041f08
push 0x10c63a8
push eax
call fcn.01031a30
add esp, 8
test eax, eax
jne 0x1041f02
cmp dword [ebp - 0x170], ebx
je 0x1041edd
mov eax, str._memory_blob_
jmp 0x1041ee9
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.0102e030
add esp, 0xc
jmp 0x10422bc
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x1041f1e
test eax, eax
je 0x1042275
xor edi, edi
test eax, eax
je 0x1041f30
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x1041f3c
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x1041f49
push esi
call fcn.0106e0a4
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x1041fda
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x164], eax
call fcn.0107af82
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x13d], cl
test eax, eax
jne 0x104208c
push esi
call fcn.0107dbf3
add esp, 4
mov dword [ebp - 0x164], eax
test eax, eax
jns 0x1042090
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
test eax, eax
je 0x10420e7
push esi
push 1
push edx
push eax
call fcn.0107a8eb
add esp, 0x10
cmp eax, 1
jne 0x10420e7
push esi
call fcn.0107b15d
add esp, 4
cmp byte [ebp - 0x13d], bl
je 0x10420f0
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 0x1042010
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1042007
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x10e3098]
mov esi, eax
add esp, 4
test esi, esi
je 0x1042157
test edi, edi
je 0x104212c
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 0x104212e
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.0105f3a0
add esp, 0x14
test al, al
lea eax, [ebp - 0x160]
je 0x1042141
push 0x8000
jmp 0x1042143
xor eax, eax
jmp 0x1042096
mov cl, byte [ebp - 0x13d]
mov edx, eax
mov dword [ebp - 0x14c], edx
test cl, cl
je 0x10420dc
push 0
push 0
push esi
call fcn.0107af82
add esp, 0xc
test eax, eax
sete byte [ebp - 0x13d]
test eax, eax
jne 0x1041f9b
mov eax, dword [ebp - 0x164]
inc eax
push eax
call dword [0x10e3098]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x1041fa1
mov eax, dword [ebp - 0x154]
jmp 0x1041fa7
push esi
call fcn.0107b15d
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.0102e030
push dword [ebp - 0x154]
call dword [0x10e309c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x104205d
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x1042062
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0x10e309c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x104216f
push dword [ebp - 0x154]
call dword [0x10e309c]
add esp, 4
test ebx, ebx
jne 0x10421db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x10421ab
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
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.0102e030
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
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 0x1042372
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.0102e030
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.01018f77
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.0102e030
push esi
call fcn.0106e0a4
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
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 0x10422df
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.0102e030
push edi
call dword [0x10e309c]
add esp, 0x18
test esi, esi
je 0x10422c9
push esi
call fcn.0106e0a4
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10e309c]
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 0x1042335
test esi, esi
je 0x104221d
push esi
call fcn.0106e0a4
add esp, 4
jmp 0x104221d
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 0x104236a
push esi
call fcn.0106e0a4
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x104221d
mov esi, dword [ebp - 0x16c]
push 0x20
push 1
call dword [0x10e30a8]
mov edi, dword [ebp - 0x180]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x10423d8
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x144]
call fcn.0102e030
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x10423b5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x1042a55.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.01018f77
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.0105f3a0
add esp, 0x14
test al, al
je 0x1042927
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.0106a540
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.0106a540
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 0x10428ac
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 0x10426ef
cmp ecx, 5
jge 0x10426ef
push 0x3a
push edi
call fcn.0106cc10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10424b9
mov esi, ebx
sub esi, edi
jmp 0x10424c9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10424c0
sub esi, ecx
cmp esi, 0x1f
ja 0x10426c6
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lfence
call fcn.01071280
mov dh, byte [ebp - 0x146]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0x104253c
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 0x1042520
test dl, dl
je 0x104251c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1042520
add eax, 2
add ecx, 2
test dl, dl
jne 0x1042500
xor eax, eax
jmp 0x1042525
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104253c
mov al, byte [ebp - 0x13d]
xor dh, dh
mov byte [ebp - 0x146], dh
jmp 0x1042671
cmp byte [ebp - 0x13e], 0
je 0x104258c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1042570
test dl, dl
je 0x104256c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1042570
add eax, 2
add ecx, 2
test dl, dl
jne 0x1042550
xor eax, eax
jmp 0x1042575
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104258c
mov al, byte [ebp - 0x13d]
xor ah, ah
mov byte [ebp - 0x13e], ah
jmp 0x1042677
cmp byte [ebp - 0x145], 0
je 0x10425da
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10425c0
test dl, dl
je 0x10425bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10425c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10425a0
xor eax, eax
jmp 0x10425c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10425da
mov byte [ebp - 0x145], al
mov al, byte [ebp - 0x13d]
jmp 0x1042671
cmp byte [ebp - 0x13f], 0
je 0x104262f
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 0x1042610
test dl, dl
je 0x104260c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1042610
add eax, 2
add ecx, 2
test dl, dl
jne 0x10425f0
xor eax, eax
jmp 0x1042615
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104262f
mov al, byte [ebp - 0x13d]
xor dl, dl
mov ah, byte [ebp - 0x13e]
mov byte [ebp - 0x13f], dl
jmp 0x104267d
cmp byte [ebp - 0x13d], 0
je 0x104269d
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1042660
test dl, dl
je 0x104265c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1042660
add eax, 2
add ecx, 2
test dl, dl
jne 0x1042640
xor eax, eax
jmp 0x1042665
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104269d
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 0x1042686
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x16c]
inc ecx
mov dword [ebp - 0x16c], ecx
test edi, edi
jne 0x1042490
jmp 0x10426fb
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
test dh, dh
je 0x104273d
test ah, ah
je 0x104273d
cmp byte [ebp - 0x145], 0
je 0x104273d
test dl, dl
je 0x1042741
test al, al
je 0x1042745
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x1042745
test al, al
je 0x10427c3
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], 0x10c6664
cmp dl, al
je 0x10427b6
test dl, dl
je 0x10427ac
mov edi, 1
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x14c], edi
jmp 0x10427c5
mov dword [ebp - 0x94], 0x40
mov edi, 1
mov dword [ebp - 0x14c], edi
jmp 0x10427c5
xor edi, edi
test dh, dh
jne 0x10427d1
test ah, ah
je 0x104286c
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 0x1042809
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x104280e
mov esi, 0x10c6664
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 0x10428a6
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 0x1042910
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 0x10429dd
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c0]
push 0x38
push 0
push eax
call fcn.0106a540
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 0x10429a6
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.01043c70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10429b2
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x150], 0
je 0x10429d1
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 [0x10e7b68]
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 0x1042a0b
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1042a72
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.0103d8f0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.0102e030
push dword [edi]
call dword [0x10e309c]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x1042a55.2146893055
movzx eax, byte [esi + 0x1042af4]
jmp dword [eax*4 + 0x1042ae8]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
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.01018f77
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.0102e030
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01018f77
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.0102e030
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01018f77
mov esp, ebp
pop ebp
ret