Function at 0x9bebd5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0xa420c0]
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.009a4210
push ebx
push edi
mov dword [ebp - 0x168], eax
call fcn.009a41e0
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 0x9beb6e
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x9beb35
test cl, cl
mov dword [ebp - 0x14c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x14c]
jmp 0x9beb73
cmp byte [edx + 0x65], bl
je 0x9beb54
test cl, cl
mov dword [ebp - 0x14c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x14c]
jmp 0x9beb73
test cl, cl
mov dword [ebp - 0x14c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x14c]
jmp 0x9beb73
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.009aa200
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x9bebce
movzx eax, byte [eax + 0x9bf98c]
jmp dword [eax*4 + 0x9bf984]
push dword [ebp - 0x148]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.009c0c20
add esp, 0xc
test eax, eax
jne 0x9bf970
mov edi, dword [ebp - 0x148]
mov eax, dword [edi + 0x3d8]
test eax, eax
jne 0x9bec0f
cmp dword [edi + 0x3ec], ebx
je 0x9bf1a2
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 0x9bec62
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x15c], eax
jmp 0x9becd3
push eax
call fcn.009bb320
mov esi, eax
add esp, 4
test esi, esi
je case.0x9bf8ff.2146893056
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x160]
push eax
push esi
call fcn.009be910
mov edi, eax
add esp, 0x10
test edi, edi
je 0x9bf093
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0x9bf066
push 0xa24d6c
push ecx
call fcn.009bb450
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x9bf060
mov edi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 0x418]
test eax, eax
je 0x9bed2f
push 0xa2aa0c
push eax
call fcn.009ae1f0
add esp, 8
test eax, eax
jne 0x9bed29
cmp dword [ebp - 0x170], ebx
je 0x9bed04
mov eax, str._memory_blob_
jmp 0x9bed10
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.009aa140
add esp, 0xc
jmp 0x9bf0e0
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x9bed45
test eax, eax
je 0x9bf099
xor edi, edi
test eax, eax
je 0x9bed57
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x9bed63
mov eax, dword [ecx + 0x3d8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x9bed70
push esi
call fcn.009ecdac
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x9bee05
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x160], eax
call fcn.009f8b75
add esp, 0xc
mov dword [ebp - 0x14c], eax
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9beeb4
push esi
call fcn.009f96fc
add esp, 4
mov dword [ebp - 0x160], eax
test eax, eax
jns 0x9beeb6
mov byte [ebp - 0x140], bl
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
test eax, eax
je 0x9bef0b
push esi
push 1
push ecx
push eax
call fcn.009f8560
add esp, 0x10
cmp eax, 1
jne 0x9bef0b
push esi
call fcn.009f8c7e
add esp, 4
cmp byte [ebp - 0x140], bl
je 0x9bef14
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 0x9bee3b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x9bee32
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xa42178]
mov esi, eax
add esp, 4
test esi, esi
je 0x9bef7b
test edi, edi
je 0x9bef50
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 0x9bef52
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.009dd3b0
add esp, 0x14
test al, al
lea eax, [ebp - 0x188]
je 0x9bef65
push 0x8000
jmp 0x9bef67
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x15c], ecx
cmp dword [ebp - 0x14c], ebx
jne 0x9bef00
push 0
push 0
push esi
call fcn.009f8b75
add esp, 0xc
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9bedc6
mov eax, dword [ebp - 0x160]
inc eax
push eax
call dword [0xa42178]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x9bedcc
mov eax, dword [ebp - 0x154]
jmp 0x9bedd2
push esi
call fcn.009f8c7e
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.009aa140
push dword [ebp - 0x154]
call dword [0xa4217c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x9bee85
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x9bee8a
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xa4217c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x9bef93
push dword [ebp - 0x154]
call dword [0xa4217c]
add esp, 4
test ebx, ebx
jne 0x9befff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x9befcf
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x148]
call fcn.009aa140
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
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.009aa140
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
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 0x9bf196
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.009aa140
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.00994788
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.009aa140
push esi
call fcn.009ecdac
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
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 0x9bf103
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.009aa140
push edi
call dword [0xa4217c]
add esp, 0x18
test esi, esi
je 0x9bf0ed
push esi
call fcn.009ecdac
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
push edi
call dword [0xa4217c]
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 0x9bf159
test esi, esi
je 0x9bf041
push esi
call fcn.009ecdac
add esp, 4
jmp 0x9bf041
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 0x9bf18e
push esi
call fcn.009ecdac
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x9bf041
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x148]
push 0x20
push 1
call dword [0xa42188]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x9bf1fd
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.009aa140
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x9bf1da
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x9bf8ff.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.00994788
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 0x9bf787
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.009dd3b0
add esp, 0x14
test al, al
je 0x9bf787
push 0x2c
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.009e9070
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.009e9070
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 0x9bf70a
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 0x9bf549
cmp edx, 5
jge 0x9bf549
push 0x3a
push edi
call fcn.009eb860
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x9bf30d
mov esi, ebx
sub esi, edi
jmp 0x9bf31b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x9bf312
sub esi, ecx
cmp esi, 0x1f
ja 0x9bf520
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.009ef370
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
cmp byte [ebp - 0x13e], 0
je 0x9bf384
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9bf368
test dl, dl
je 0x9bf364
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9bf368
add eax, 2
add ecx, 2
test dl, dl
jne 0x9bf348
xor eax, eax
jmp 0x9bf36d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9bf384
mov al, byte [ebp - 0x141]
xor cl, cl
mov byte [ebp - 0x13e], cl
jmp 0x9bf4c7
cmp byte [ebp - 0x13d], 0
je 0x9bf3d7
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9bf3b5
test dl, dl
je 0x9bf3b1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9bf3b5
add eax, 2
add ecx, 2
test dl, dl
jne 0x9bf395
xor eax, eax
jmp 0x9bf3ba
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9bf3d7
mov al, byte [ebp - 0x141]
xor ch, ch
mov cl, byte [ebp - 0x13e]
mov byte [ebp - 0x13d], ch
jmp 0x9bf4cd
cmp byte [ebp - 0x13f], 0
je 0x9bf430
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9bf408
test dl, dl
je 0x9bf404
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9bf408
add eax, 2
add ecx, 2
test dl, dl
jne 0x9bf3e8
xor eax, eax
jmp 0x9bf40d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9bf430
mov al, byte [ebp - 0x141]
xor ah, ah
mov cl, byte [ebp - 0x13e]
mov ch, byte [ebp - 0x13d]
mov byte [ebp - 0x13f], ah
jmp 0x9bf4d3
cmp byte [ebp - 0x140], 0
je 0x9bf478
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9bf461
test dl, dl
je 0x9bf45d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9bf461
add eax, 2
add ecx, 2
test dl, dl
jne 0x9bf441
xor eax, eax
jmp 0x9bf466
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9bf478
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x141]
jmp 0x9bf4c1
cmp byte [ebp - 0x141], 0
je 0x9bf4f3
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9bf4b0
test dl, dl
je 0x9bf4ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9bf4b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x9bf490
xor eax, eax
jmp 0x9bf4b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9bf4f3
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 0x9bf4dc
lea edi, [ebx + 1]
mov edx, dword [ebp - 0x14c]
inc edx
mov dword [ebp - 0x14c], edx
test edi, edi
jne 0x9bf2e4
jmp 0x9bf55b
lea eax, [ebp - 0x3c]
push eax
push str.schannel:_Unknown_TLS_1.3_cipher:__s
push dword [ebp - 0x148]
call fcn.009aa140
add esp, 0xc
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
push str.schannel:_Cipher_name_too_long__not_checked
push dword [ebp - 0x148]
call fcn.009aa140
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
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 0x9bf59e
test ch, ch
je 0x9bf59e
test ah, ah
je 0x9bf59e
mov bl, byte [ebp - 0x140]
test bl, bl
je 0x9bf5a8
test al, al
je 0x9bf5ac
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
push dword [ebp - 0x148]
call fcn.009aa140
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp - 0x140]
test bl, bl
jne 0x9bf5ac
test al, al
je 0x9bf61e
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], 0xa2acdc
cmp bl, al
je 0x9bf617
test bl, bl
je 0x9bf60d
mov dword [ebp - 0x98], 0x80
mov edi, 1
jmp 0x9bf620
mov dword [ebp - 0x94], 0x40
mov edi, 1
jmp 0x9bf620
xor edi, edi
mov al, ch
test cl, cl
jne 0x9bf640
mov byte [ebp - 0x13e], cl
mov byte [ebp - 0x13d], ch
mov byte [ebp - 0x13f], ah
test al, al
je 0x9bf6d9
lea edx, [edi*8]
mov dword [ebp - 0x164], 0x200020
sub edx, edi
mov dword [ebp - 0x160], str.ChainingModeGCM
cmp cl, ch
je 0x9bf672
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x9bf677
mov esi, 0xa2acdc
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 0x9bf70c
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 0x9bf70c
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 0x9bf770
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 0x9bf887
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c8]
push 0x38
push 0
push eax
call fcn.009e9070
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 0x9bf84a
test eax, 0x2000
je 0x9bf7dc
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.009aa200
add esp, 8
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0x14], 0
je 0x9bf80c
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.009aa140
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.009c0d00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x9bf856
push str.schannel:_Failed_setting_algorithm_cipher_list
push edi
call fcn.009aa140
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x150], 0
je 0x9bf875
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 [0xa44790]
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 0x9bf8b5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x9bf91c
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.009bb560
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x148]
call fcn.009aa140
push dword [ebx]
call dword [0xa4217c]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x9bf8ff.2146893055
movzx eax, byte [esi + 0x9bf9a0]
jmp dword [eax*4 + 0x9bf994]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
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.00994788
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x148]
call fcn.009aa140
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00994788
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x148]
call fcn.009aa140
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00994788
mov esp, ebp
pop ebp
ret