Function at 0x9c5715
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0xa480c0]
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 - 0x148], ebx
mov esi, dword [edi + 8]
call fcn.009aad70
push ebx
push edi
mov dword [ebp - 0x168], eax
call fcn.009aad40
mov dword [ebp - 0x150], 0
mov edx, eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
mov esi, dword [ebp - 0x168]
add esp, 0xc
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], eax
cmp byte [esi + 0x39], bl
je 0x9c56ae
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x9c5675
test cl, cl
mov dword [ebp - 0x14c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x14c]
jmp 0x9c56b3
cmp byte [edx + 0x65], bl
je 0x9c5694
test cl, cl
mov dword [ebp - 0x14c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x14c]
jmp 0x9c56b3
test cl, cl
mov dword [ebp - 0x14c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x14c]
jmp 0x9c56b3
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
mov ecx, dword [ebp - 0x148]
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 ecx
call fcn.009b0d50
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x9c570e
movzx eax, byte [eax + 0x9c64cc]
jmp dword [eax*4 + 0x9c64c4]
push dword [ebp - 0x148]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.009c7760
add esp, 0xc
test eax, eax
jne 0x9c64b0
mov edi, dword [ebp - 0x148]
mov eax, dword [edi + 0x3d8]
test eax, eax
jne 0x9c574f
cmp dword [edi + 0x3ec], ebx
je 0x9c5ce2
mov ecx, dword [ebp - 0x148]
xor edi, edi
mov dword [ebp - 0x160], ebx
xor esi, esi
mov dword [ebp - 0x14c], ebx
xor ebx, ebx
mov dword [ebp - 0x158], edi
mov ecx, dword [ecx + 0x3ec]
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x170], ecx
test ecx, ecx
je 0x9c57a2
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x15c], eax
jmp 0x9c5813
push eax
call fcn.009c1e60
mov esi, eax
add esp, 4
test esi, esi
je case.0x9c643f.2146893056
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x160]
push eax
push esi
call fcn.009c5460
mov edi, eax
add esp, 0x10
test edi, edi
je 0x9c5bd3
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0x9c5ba6
push 0xa2adec
push ecx
call fcn.009c1f90
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x9c5ba0
mov edi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 0x418]
test eax, eax
je 0x9c586f
push 0xa30a8c
push eax
call fcn.009b4d40
add esp, 8
test eax, eax
jne 0x9c5869
cmp dword [ebp - 0x170], ebx
je 0x9c5844
mov eax, str._memory_blob_
jmp 0x9c5850
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 0xc
jmp 0x9c5c20
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x9c5885
test eax, eax
je 0x9c5bd9
xor edi, edi
test eax, eax
je 0x9c5897
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x9c58a3
mov eax, dword [ecx + 0x3d8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x9c58b0
push esi
call fcn.009f38ec
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x9c5945
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x160], eax
call fcn.009ff6b5
add esp, 0xc
mov dword [ebp - 0x14c], eax
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9c59f4
push esi
call fcn.00a0023c
add esp, 4
mov dword [ebp - 0x160], eax
test eax, eax
jns 0x9c59f6
mov byte [ebp - 0x140], bl
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
test eax, eax
je 0x9c5a4b
push esi
push 1
push ecx
push eax
call fcn.009ff0a0
add esp, 0x10
cmp eax, 1
jne 0x9c5a4b
push esi
call fcn.009ff7be
add esp, 4
cmp byte [ebp - 0x140], bl
je 0x9c5a54
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax + 0x428]
test eax, eax
je 0x9c597b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x9c5972
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xa48178]
mov esi, eax
add esp, 4
test esi, esi
je 0x9c5abb
test edi, edi
je 0x9c5a90
mov eax, dword [ebp - 0x148]
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 0x9c5a92
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.009e3ef0
add esp, 0x14
test al, al
lea eax, [ebp - 0x188]
je 0x9c5aa5
push 0x8000
jmp 0x9c5aa7
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x15c], ecx
cmp dword [ebp - 0x14c], ebx
jne 0x9c5a40
push 0
push 0
push esi
call fcn.009ff6b5
add esp, 0xc
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9c5906
mov eax, dword [ebp - 0x160]
inc eax
push eax
call dword [0xa48178]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x9c590c
mov eax, dword [ebp - 0x154]
jmp 0x9c5912
push esi
call fcn.009ff7be
add esp, 4
mov eax, dword [ebp - 0x148]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.009b0c90
push dword [ebp - 0x154]
call dword [0xa4817c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x9c59c5
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x9c59ca
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xa4817c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x9c5ad3
push dword [ebp - 0x154]
call dword [0xa4817c]
add esp, 4
test ebx, ebx
jne 0x9c5b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x9c5b0f
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
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 - 0x148]
call fcn.009b0c90
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
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 0x9c5cd6
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 - 0x148]
call fcn.009b0c90
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.0099b2f9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x148]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.009b0c90
push esi
call fcn.009f38ec
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x160]
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 0x9c5c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x160]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x148]
call fcn.009b0c90
push edi
call dword [0xa4817c]
add esp, 0x18
test esi, esi
je 0x9c5c2d
push esi
call fcn.009f38ec
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
push edi
call dword [0xa4817c]
add esp, 4
mov dword [ebp - 0x190], 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x190]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x14c]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x9c5c99
test esi, esi
je 0x9c5b81
push esi
call fcn.009f38ec
add esp, 4
jmp 0x9c5b81
push 0
lea eax, [ebp - 0x190]
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 0x9c5cce
push esi
call fcn.009f38ec
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x9c5b81
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x148]
push 0x20
push 1
call dword [0xa48188]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x9c5d3d
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.009b0c90
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x9c5d1a
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x9c643f.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.0099b2f9
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
mov dword [eax + 0x14], ebx
cmp dword [esi + 0x10], 0
jne 0x9c62c7
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.009e3ef0
add esp, 0x14
test al, al
je 0x9c62c7
push 0x2c
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.009efbb0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
push 0x54
lea eax, [ebp - 0x90]
movq qword [ebp - 0xc], xmm0
push 0
push eax
movups xmmword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0xa8], xmm0
movq qword [ebp - 0x98], xmm0
call fcn.009efbb0
mov edi, dword [esi + 0x14]
xor eax, eax
add esp, 0x18
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x16a], eax
mov word [ebp - 0x166], ax
mov word [ebp - 0x164], ax
mov dword [ebp - 0x162], eax
mov word [ebp - 0x15e], ax
test edi, edi
je 0x9c624a
xorps xmm0, xmm0
mov byte [ebp - 0x13e], 1
xor edx, edx
mov byte [ebp - 0x13d], 1
mov al, 1
mov dword [ebp - 0x14c], edx
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x13f], 1
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x140], 1
mov byte [ebp - 0x141], al
cmp byte [edi], 0
je 0x9c6089
cmp edx, 5
jge 0x9c6089
push 0x3a
push edi
call fcn.009f23a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x9c5e4d
mov esi, ebx
sub esi, edi
jmp 0x9c5e5b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x9c5e52
sub esi, ecx
cmp esi, 0x1f
ja 0x9c6060
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.009f5eb0
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
cmp byte [ebp - 0x13e], 0
je 0x9c5ec4
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9c5ea8
test dl, dl
je 0x9c5ea4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9c5ea8
add eax, 2
add ecx, 2
test dl, dl
jne 0x9c5e88
xor eax, eax
jmp 0x9c5ead
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9c5ec4
mov al, byte [ebp - 0x141]
xor cl, cl
mov byte [ebp - 0x13e], cl
jmp 0x9c6007
cmp byte [ebp - 0x13d], 0
je 0x9c5f17
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9c5ef5
test dl, dl
je 0x9c5ef1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9c5ef5
add eax, 2
add ecx, 2
test dl, dl
jne 0x9c5ed5
xor eax, eax
jmp 0x9c5efa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9c5f17
mov al, byte [ebp - 0x141]
xor ch, ch
mov cl, byte [ebp - 0x13e]
mov byte [ebp - 0x13d], ch
jmp 0x9c600d
cmp byte [ebp - 0x13f], 0
je 0x9c5f70
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9c5f48
test dl, dl
je 0x9c5f44
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9c5f48
add eax, 2
add ecx, 2
test dl, dl
jne 0x9c5f28
xor eax, eax
jmp 0x9c5f4d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9c5f70
mov al, byte [ebp - 0x141]
xor ah, ah
mov cl, byte [ebp - 0x13e]
mov ch, byte [ebp - 0x13d]
mov byte [ebp - 0x13f], ah
jmp 0x9c6013
cmp byte [ebp - 0x140], 0
je 0x9c5fb8
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9c5fa1
test dl, dl
je 0x9c5f9d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9c5fa1
add eax, 2
add ecx, 2
test dl, dl
jne 0x9c5f81
xor eax, eax
jmp 0x9c5fa6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9c5fb8
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x141]
jmp 0x9c6001
cmp byte [ebp - 0x141], 0
je 0x9c6033
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9c5ff0
test dl, dl
je 0x9c5fec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9c5ff0
add eax, 2
add ecx, 2
test dl, dl
jne 0x9c5fd0
xor eax, eax
jmp 0x9c5ff5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9c6033
xor al, al
mov byte [ebp - 0x141], al
mov cl, byte [ebp - 0x13e]
mov ch, byte [ebp - 0x13d]
mov ah, byte [ebp - 0x13f]
mov edi, ebx
test ebx, ebx
je 0x9c601c
lea edi, [ebx + 1]
mov edx, dword [ebp - 0x14c]
inc edx
mov dword [ebp - 0x14c], edx
test edi, edi
jne 0x9c5e24
jmp 0x9c609b
lea eax, [ebp - 0x3c]
push eax
push str.schannel:_Unknown_TLS_1.3_cipher:__s
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 0xc
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
push str.schannel:_Cipher_name_too_long__not_checked
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
mov ch, byte [ebp - 0x13d]
mov ah, byte [ebp - 0x13f]
mov cl, byte [ebp - 0x13e]
test cl, cl
je 0x9c60de
test ch, ch
je 0x9c60de
test ah, ah
je 0x9c60de
mov bl, byte [ebp - 0x140]
test bl, bl
je 0x9c60e8
test al, al
je 0x9c60ec
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp - 0x140]
test bl, bl
jne 0x9c60ec
test al, al
je 0x9c615e
mov dword [ebp - 0x16c], 0x200020
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x168], str.ChainingModeCCM
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 0x80008
mov dword [ebp - 0xa4], 0xa30d5c
cmp bl, al
je 0x9c6157
test bl, bl
je 0x9c614d
mov dword [ebp - 0x98], 0x80
mov edi, 1
jmp 0x9c6160
mov dword [ebp - 0x94], 0x40
mov edi, 1
jmp 0x9c6160
xor edi, edi
mov al, ch
test cl, cl
jne 0x9c6180
mov byte [ebp - 0x13e], cl
mov byte [ebp - 0x13d], ch
mov byte [ebp - 0x13f], ah
test al, al
je 0x9c6219
lea edx, [edi*8]
mov dword [ebp - 0x164], 0x200020
sub edx, edi
mov dword [ebp - 0x160], str.ChainingModeGCM
cmp cl, ch
je 0x9c61b2
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x9c61b7
mov esi, 0xa30d5c
mov bl, byte [ebp - 0x13d]
xor eax, eax
cmp cl, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp byte [ebp - 0x13e], bl
setne al
add eax, 2
inc edi
mov dword [ebp + edx*4 - 0xac], eax
lea eax, [ebp - 0x164]
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 ah, byte [ebp - 0x13f]
mov dword [ebp + edx*4 - 0xa0], 1
test ah, ah
je 0x9c624c
lea eax, [edi*8]
sub eax, edi
inc edi
mov dword [ebp + eax*4 - 0xac], 2
mov dword [ebp + eax*4 - 0xa8], 0x240024
mov dword [ebp + eax*4 - 0xa4], str.CHACHA20_POLY1305
jmp 0x9c624c
xor edi, edi
lea eax, [ebp - 0xac]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
or eax, 0x400000
mov dword [ebp - 0x198], 1
cmp dword [ebp - 0x150], 0
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x17c]
not eax
mov dword [ebp - 0x1bc], 5
mov dword [ebp - 0x14], eax
je 0x9c62b0
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x1b0], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1bc]
jmp 0x9c63c7
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c8]
push 0x38
push 0
push eax
call fcn.009efbb0
mov ecx, dword [ebp - 0x174]
add esp, 0xc
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c8], 4
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x1a8], eax
test esi, esi
je 0x9c638a
test eax, 0x2000
je 0x9c631c
push str.schannel:_WARNING:_This_version_of_Schannel_may_negotiate_a_less_secure_TLS_version_than_TLS_1.3_because_the_user_set_an_algorithm_cipher_list.
push edi
call fcn.009b0d50
add esp, 8
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0x14], 0
je 0x9c634c
push str.schannel:_This_version_of_Schannel_does_not_support_setting_an_algorithm_cipher_list_and_TLS_1.3_cipher_list_at_the_same_time
push edi
call fcn.009b0c90
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.009c7840
mov esi, eax
add esp, 0xc
test esi, esi
je 0x9c6396
push str.schannel:_Failed_setting_algorithm_cipher_list
push edi
call fcn.009b0c90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x150], 0
je 0x9c63b5
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1c0], eax
mov ebx, dword [ebp - 0x180]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1c8]
push ecx
push 0
push 0
push eax
mov eax, dword [0xa4a790]
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 0x9c63f5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x9c645c
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.009c20a0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x148]
call fcn.009b0c90
push dword [ebx]
call dword [0xa4817c]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x9c643f.2146893055
movzx eax, byte [esi + 0x9c64e0]
jmp dword [eax*4 + 0x9c64d4]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
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.0099b2f9
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x148]
call fcn.009b0c90
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x148]
call fcn.009b0c90
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0099b2f9
mov esp, ebp
pop ebp
ret