Function at 0x9a3cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0xa260c0]
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.00989430
push ebx
push edi
mov dword [ebp - 0x168], eax
call fcn.00989400
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 0x9a3d7e
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x9a3d45
test cl, cl
mov dword [ebp - 0x14c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x14c]
jmp 0x9a3d83
cmp byte [edx + 0x65], bl
je 0x9a3d64
test cl, cl
mov dword [ebp - 0x14c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x14c]
jmp 0x9a3d83
test cl, cl
mov dword [ebp - 0x14c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x14c]
jmp 0x9a3d83
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.0098f420
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x9a3dde
movzx eax, byte [eax + 0x9a4b9c]
jmp dword [eax*4 + 0x9a4b94]
push dword [ebp - 0x148]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.009a5e30
add esp, 0xc
test eax, eax
jne 0x9a4b80
mov edi, dword [ebp - 0x148]
mov eax, dword [edi + 0x3d8]
test eax, eax
jne 0x9a3e1f
cmp dword [edi + 0x3ec], ebx
je 0x9a43b2
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 0x9a3e72
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x15c], eax
jmp 0x9a3ee3
push eax
call fcn.009a0540
mov esi, eax
add esp, 4
test esi, esi
je case.0x9a4b0f.2146893056
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x160]
push eax
push esi
call fcn.009a3b30
mov edi, eax
add esp, 0x10
test edi, edi
je 0x9a42a3
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x3d8]
cmp byte [ecx], bl
je 0x9a4276
push 0xa098dc
push ecx
call fcn.009a0670
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x9a4270
mov edi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 0x418]
test eax, eax
je 0x9a3f3f
push 0xa0f57c
push eax
call fcn.00993420
add esp, 8
test eax, eax
jne 0x9a3f39
cmp dword [ebp - 0x170], ebx
je 0x9a3f14
mov eax, str._memory_blob_
jmp 0x9a3f20
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.0098f360
add esp, 0xc
jmp 0x9a42f0
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x9a3f55
test eax, eax
je 0x9a42a9
xor edi, edi
test eax, eax
je 0x9a3f67
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x9a3f73
mov eax, dword [ecx + 0x3d8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x9a3f80
push esi
call fcn.009d1fec
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x9a4015
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x160], eax
call fcn.009dddb5
add esp, 0xc
mov dword [ebp - 0x14c], eax
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9a40c4
push esi
call fcn.009de93c
add esp, 4
mov dword [ebp - 0x160], eax
test eax, eax
jns 0x9a40c6
mov byte [ebp - 0x140], bl
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
test eax, eax
je 0x9a411b
push esi
push 1
push ecx
push eax
call fcn.009dd7a0
add esp, 0x10
cmp eax, 1
jne 0x9a411b
push esi
call fcn.009ddebe
add esp, 4
cmp byte [ebp - 0x140], bl
je 0x9a4124
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 0x9a404b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x9a4042
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0xa26178]
mov esi, eax
add esp, 4
test esi, esi
je 0x9a418b
test edi, edi
je 0x9a4160
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 0x9a4162
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.009c25e0
add esp, 0x14
test al, al
lea eax, [ebp - 0x188]
je 0x9a4175
push 0x8000
jmp 0x9a4177
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x15c], ecx
cmp dword [ebp - 0x14c], ebx
jne 0x9a4110
push 0
push 0
push esi
call fcn.009dddb5
add esp, 0xc
test eax, eax
sete byte [ebp - 0x140]
test eax, eax
jne 0x9a3fd6
mov eax, dword [ebp - 0x160]
inc eax
push eax
call dword [0xa26178]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x9a3fdc
mov eax, dword [ebp - 0x154]
jmp 0x9a3fe2
push esi
call fcn.009ddebe
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.0098f360
push dword [ebp - 0x154]
call dword [0xa2617c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x9a4095
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x9a409a
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0xa2617c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x9a41a3
push dword [ebp - 0x154]
call dword [0xa2617c]
add esp, 4
test ebx, ebx
jne 0x9a420f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x9a41df
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x148]
call fcn.0098f360
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
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.0098f360
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
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 0x9a43a6
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.0098f360
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.009799b3
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.0098f360
push esi
call fcn.009d1fec
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
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 0x9a4313
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.0098f360
push edi
call dword [0xa2617c]
add esp, 0x18
test esi, esi
je 0x9a42fd
push esi
call fcn.009d1fec
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
push edi
call dword [0xa2617c]
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 0x9a4369
test esi, esi
je 0x9a4251
push esi
call fcn.009d1fec
add esp, 4
jmp 0x9a4251
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 0x9a439e
push esi
call fcn.009d1fec
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x9a4251
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x148]
push 0x20
push 1
call dword [0xa26188]
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x9a440d
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.0098f360
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x9a43ea
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x9a4b0f.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.009799b3
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 0x9a4997
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.009c25e0
add esp, 0x14
test al, al
je 0x9a4997
push 0x2c
lea eax, [ebp - 0x1bc]
push 0
push eax
call fcn.009ce2b0
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.009ce2b0
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 0x9a491a
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 0x9a4759
cmp edx, 5
jge 0x9a4759
push 0x3a
push edi
call fcn.009d0aa0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x9a451d
mov esi, ebx
sub esi, edi
jmp 0x9a452b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x9a4522
sub esi, ecx
cmp esi, 0x1f
ja 0x9a4730
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.009d45b0
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
cmp byte [ebp - 0x13e], 0
je 0x9a4594
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9a4578
test dl, dl
je 0x9a4574
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9a4578
add eax, 2
add ecx, 2
test dl, dl
jne 0x9a4558
xor eax, eax
jmp 0x9a457d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9a4594
mov al, byte [ebp - 0x141]
xor cl, cl
mov byte [ebp - 0x13e], cl
jmp 0x9a46d7
cmp byte [ebp - 0x13d], 0
je 0x9a45e7
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9a45c5
test dl, dl
je 0x9a45c1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9a45c5
add eax, 2
add ecx, 2
test dl, dl
jne 0x9a45a5
xor eax, eax
jmp 0x9a45ca
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9a45e7
mov al, byte [ebp - 0x141]
xor ch, ch
mov cl, byte [ebp - 0x13e]
mov byte [ebp - 0x13d], ch
jmp 0x9a46dd
cmp byte [ebp - 0x13f], 0
je 0x9a4640
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9a4618
test dl, dl
je 0x9a4614
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9a4618
add eax, 2
add ecx, 2
test dl, dl
jne 0x9a45f8
xor eax, eax
jmp 0x9a461d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9a4640
mov al, byte [ebp - 0x141]
xor ah, ah
mov cl, byte [ebp - 0x13e]
mov ch, byte [ebp - 0x13d]
mov byte [ebp - 0x13f], ah
jmp 0x9a46e3
cmp byte [ebp - 0x140], 0
je 0x9a4688
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9a4671
test dl, dl
je 0x9a466d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9a4671
add eax, 2
add ecx, 2
test dl, dl
jne 0x9a4651
xor eax, eax
jmp 0x9a4676
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9a4688
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x141]
jmp 0x9a46d1
cmp byte [ebp - 0x141], 0
je 0x9a4703
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x9a46c0
test dl, dl
je 0x9a46bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x9a46c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x9a46a0
xor eax, eax
jmp 0x9a46c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x9a4703
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 0x9a46ec
lea edi, [ebx + 1]
mov edx, dword [ebp - 0x14c]
inc edx
mov dword [ebp - 0x14c], edx
test edi, edi
jne 0x9a44f4
jmp 0x9a476b
lea eax, [ebp - 0x3c]
push eax
push str.schannel:_Unknown_TLS_1.3_cipher:__s
push dword [ebp - 0x148]
call fcn.0098f360
add esp, 0xc
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
push str.schannel:_Cipher_name_too_long__not_checked
push dword [ebp - 0x148]
call fcn.0098f360
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
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 0x9a47ae
test ch, ch
je 0x9a47ae
test ah, ah
je 0x9a47ae
mov bl, byte [ebp - 0x140]
test bl, bl
je 0x9a47b8
test al, al
je 0x9a47bc
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
push dword [ebp - 0x148]
call fcn.0098f360
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp - 0x140]
test bl, bl
jne 0x9a47bc
test al, al
je 0x9a482e
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], 0xa0f84c
cmp bl, al
je 0x9a4827
test bl, bl
je 0x9a481d
mov dword [ebp - 0x98], 0x80
mov edi, 1
jmp 0x9a4830
mov dword [ebp - 0x94], 0x40
mov edi, 1
jmp 0x9a4830
xor edi, edi
mov al, ch
test cl, cl
jne 0x9a4850
mov byte [ebp - 0x13e], cl
mov byte [ebp - 0x13d], ch
mov byte [ebp - 0x13f], ah
test al, al
je 0x9a48e9
lea edx, [edi*8]
mov dword [ebp - 0x164], 0x200020
sub edx, edi
mov dword [ebp - 0x160], str.ChainingModeGCM
cmp cl, ch
je 0x9a4882
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x9a4887
mov esi, 0xa0f84c
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 0x9a491c
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 0x9a491c
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 0x9a4980
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 0x9a4a97
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c8]
push 0x38
push 0
push eax
call fcn.009ce2b0
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 0x9a4a5a
test eax, 0x2000
je 0x9a49ec
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.0098f420
add esp, 8
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0x14], 0
je 0x9a4a1c
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.0098f360
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.009a5f10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x9a4a66
push str.schannel:_Failed_setting_algorithm_cipher_list
push edi
call fcn.0098f360
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x150], 0
je 0x9a4a85
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 [0xa28790]
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 0x9a4ac5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x9a4b2c
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.009a0780
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x148]
call fcn.0098f360
push dword [ebx]
call dword [0xa2617c]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x9a4b0f.2146893055
movzx eax, byte [esi + 0x9a4bb0]
jmp dword [eax*4 + 0x9a4ba4]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
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.009799b3
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x148]
call fcn.0098f360
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009799b3
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x148]
call fcn.0098f360
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009799b3
mov esp, ebp
pop ebp
ret