Function at 0x454710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x4c0980]
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 - 0x128], ebx
mov esi, dword [edi + 8]
call fcn.00439480
push ebx
push edi
mov dword [ebp - 0x130], eax
call fcn.00439450
mov dword [ebp - 0x138], 0
mov edx, eax
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov esi, dword [ebp - 0x130]
add esp, 0xc
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x168], eax
cmp byte [esi + 0x39], bl
je 0x4547d2
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x454799
test cl, cl
mov dword [ebp - 0x12c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x12c]
jmp 0x4547d7
cmp byte [edx + 0x65], bl
je 0x4547b8
test cl, cl
mov dword [ebp - 0x12c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x12c]
jmp 0x4547d7
test cl, cl
mov dword [ebp - 0x12c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x12c]
jmp 0x4547d7
mov eax, 0x1808
mov ecx, eax
or ecx, 4
cmp byte [esi + 0x3a], bl
cmovne ecx, eax
mov dword [ebp - 0x144], ecx
mov cl, byte [edx + 0x67]
mov edx, dword [ebp - 0x144]
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 - 0x144], edx
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, edx
push eax
push dword [ebp - 0x128]
call fcn.00440060
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x454831
movzx eax, byte [eax + 0x4558c4]
jmp dword [eax*4 + 0x4558bc]
push edi
call fcn.00439480
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x454854
cmp edi, 0x10000
jne 0x454878
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00462560
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x4548d1
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x454887
jmp dword [esi*4 + 0x4558cc]
or ebx, 0x80
jmp case.default.0x454887
or ebx, 0x200
jmp case.default.0x454887
or ebx, 0x800
jmp case.default.0x454887
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00462560
add esp, 0x14
test al, al
je 0x454951
or ebx, 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x454882
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x3b0]
test eax, eax
jne 0x4548ed
cmp dword [edx + 0x3c4], eax
je 0x455034
mov ecx, dword [edx + 0x3c4]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], ecx
test ecx, ecx
je 0x45495b
mov eax, dword [ecx]
mov dword [ebp - 0x140], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0x454b35
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x455898
push eax
call fcn.0048839b
mov esi, eax
add esp, 4
test esi, esi
je case.0x455803.2146893056
push 0x5c
push esi
call fcn.00482fbe
add esp, 8
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x454af2
mov edi, eax
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x4549ad
mov dword [ebp - 0x134], 0x10000
jmp 0x454a8a
push edi
push str.LocalMachine
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x4549cf
mov dword [ebp - 0x134], 0x20000
jmp 0x454a8a
push edi
push str.CurrentService
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x4549f1
mov dword [ebp - 0x134], 0x40000
jmp 0x454a8a
push edi
push str.Services
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x454a10
mov dword [ebp - 0x134], 0x50000
jmp 0x454a8a
push edi
push str.Users
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x454a2f
mov dword [ebp - 0x134], 0x60000
jmp 0x454a8a
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x454a4e
mov dword [ebp - 0x134], 0x70000
jmp 0x454a8a
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x454a6d
mov dword [ebp - 0x134], 0x80000
jmp 0x454a8a
push edi
push str.LocalMachineEnterprise
push esi
call fcn.00483072
add esp, 0xc
test eax, eax
jne 0x454af2
mov dword [ebp - 0x134], 0x90000
mov eax, dword [ebp - 0x12c]
inc eax
push 0x5c
push eax
mov dword [ebp - 0x12c], eax
call fcn.00482fbe
mov edi, eax
add esp, 8
test edi, edi
je 0x454af2
lea eax, [edi + 1]
mov ecx, eax
mov dword [ebp - 0x158], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454ab6
sub ecx, edx
cmp ecx, 0x28
jne 0x454af2
push dword [ebp - 0x12c]
mov byte [edi], al
call dword [0x4c051c]
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [edi], 0x5c
test eax, eax
jne 0x454ba7
mov dword [ebp - 0x160], 0x1b
jmp 0x454afc
mov dword [ebp - 0x160], 0x3a
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x3b0]
cmp byte [eax], 0
je 0x455833
push 0x4a2c5c
push eax
call fcn.00451a10
mov edi, eax
add esp, 8
mov dword [ebp - 0x12c], edi
test edi, edi
je 0x455833
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x3f0]
test eax, eax
je 0x454b8b
push 0x4a9800
push eax
call fcn.00446d10
add esp, 8
test eax, eax
jne 0x454b85
cmp dword [ebp - 0x150], eax
je 0x454b60
mov eax, str._memory_blob_
jmp 0x454b6c
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x3b0]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 0xc
jmp 0x454c1c
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x150]
test edi, edi
jne 0x454d10
test eax, eax
jne 0x454d10
mov eax, dword [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x134]
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov edi, eax
mov dword [ebp - 0x148], edi
test edi, edi
jne 0x454c43
mov ebx, dword [ebp - 0x13c]
push ebx
call fcn.0048839b
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
test edi, edi
mov ecx, str._unknown_
cmovne ecx, edi
push ecx
push dword [ebp - 0x134]
push str.schannel:_Failed_to_open_cert_store__lx__s__last_error_is_0x_lx
push dword [ebp - 0x128]
call fcn.0043ffa0
push ebx
call dword [0x4c0514]
add esp, 0x18
test edi, edi
je 0x454c1c
push edi
call fcn.00472719
add esp, 4
test esi, esi
je 0x454fc1
push esi
call fcn.00472719
add esp, 4
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x13c]
call dword [0x4c0514]
add esp, 4
mov dword [ebp - 0x170], 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x158]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x454cb4
test esi, esi
je 0x454cf1
push esi
call fcn.00472719
add esp, 4
push 0
push edi
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.0046ca44
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x170]
push eax
push 0x10000
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x138], eax
test esi, esi
je 0x454ce9
push esi
call fcn.00472719
mov eax, dword [ebp - 0x138]
add esp, 4
test eax, eax
jne 0x455034
push 0
push edi
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.0046ca44
mov esp, ebp
pop ebp
ret
xor edi, edi
test eax, eax
je 0x454d22
mov dword [ebp - 0x13c], str._memory_blob_
jmp 0x454d2e
mov eax, dword [edx + 0x3b0]
mov dword [ebp - 0x13c], eax
test esi, esi
je 0x454d3b
push esi
call fcn.00472719
add esp, 4
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x454dd2
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x12c], eax
call fcn.00478069
add esp, 0xc
mov dword [ebp - 0x158], eax
test eax, eax
sete byte [ebp - 0x120]
test eax, eax
jne 0x454e82
push esi
call fcn.0047e7ab
add esp, 4
mov dword [ebp - 0x12c], eax
test eax, eax
jns 0x454e84
mov byte [ebp - 0x120], 0
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x14c]
test eax, eax
je 0x454ed9
push esi
push 1
push ecx
push eax
call fcn.00477c5f
add esp, 0x10
cmp eax, 1
jne 0x454ed9
push esi
call fcn.0047720a
add esp, 4
cmp byte [ebp - 0x120], 0
je 0x454ee2
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x400]
test eax, eax
je 0x454e09
mov edi, eax
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x454e00
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x4c0510]
mov esi, eax
add esp, 4
test esi, esi
je 0x454f4d
test edi, edi
je 0x454f1e
mov eax, dword [ebp - 0x128]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x400]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x454f20
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00462560
add esp, 0x14
test al, al
lea eax, [ebp - 0x164]
je 0x454f33
push 0x8000
jmp 0x454f35
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x14c], ecx
cmp dword [ebp - 0x158], edi
jne 0x454ece
push 0
push 0
push esi
call fcn.00478069
add esp, 0xc
test eax, eax
sete byte [ebp - 0x120]
test eax, eax
jne 0x454d92
mov eax, dword [ebp - 0x12c]
inc eax
push eax
call dword [0x4c0510]
add esp, 4
mov dword [ebp - 0x140], eax
jmp 0x454d98
mov eax, dword [ebp - 0x140]
jmp 0x454d9e
push esi
call fcn.0047720a
add esp, 4
mov eax, dword [ebp - 0x128]
push dword [eax + 0x3b0]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.0043ffa0
push dword [ebp - 0x140]
call dword [0x4c0514]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x454e53
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x454e58
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov dword [ebp - 0x148], eax
call dword [0x4c0514]
add esp, 4
cmp dword [ebp - 0x150], 0
jne 0x454f65
push dword [ebp - 0x140]
call dword [0x4c0514]
add esp, 4
mov edi, dword [ebp - 0x148]
test edi, edi
jne 0x454fd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x454fa7
push dword [ebp - 0x13c]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 0xc
lea eax, [edi + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x13c]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_lx
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 0x10
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x455034
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x13c]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_lx
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 0x10
push 0
push edi
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.0046ca44
mov esp, ebp
pop ebp
ret
push 0x20
push 1
call dword [0x4c0520]
mov ecx, dword [ebp - 0x168]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x45509a
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x128]
call fcn.0043ffa0
mov eax, dword [ebp - 0x138]
add esp, 8
test eax, eax
je 0x455071
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0x148]
test eax, eax
je case.0x455803.2146893056
push 0
push eax
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.0046ca44
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x130]
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x148]
mov dword [eax + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x455570
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.00462560
add esp, 0x14
test al, al
je 0x455570
push 0x2c
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.0046e6a0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push 0x54
lea eax, [ebp - 0x70]
movq qword [ebp - 0xc], xmm0
push 0
push eax
movups xmmword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.0046e6a0
mov edi, dword [esi + 0x14]
xor eax, eax
add esp, 0x18
mov word [ebp - 0x15c], ax
mov dword [ebp - 0x15a], eax
mov word [ebp - 0x156], ax
mov word [ebp - 0x154], ax
mov dword [ebp - 0x152], eax
mov word [ebp - 0x14e], ax
test edi, edi
je 0x4554f9
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x11e], 1
mov byte [ebp - 0x11d], 1
mov byte [ebp - 0x11f], 1
mov byte [ebp - 0x121], 1
mov byte [ebp - 0x120], 1
nop dword [eax]
cmp byte [edi], 0
je 0x455321
cmp eax, 5
jge 0x455321
push 0x3a
push edi
call fcn.0046e800
add esp, 8
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x4551ad
mov esi, eax
sub esi, edi
jmp 0x4551bb
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4551b2
sub esi, ecx
cmp byte [ebp - 0x11e], 0
je 0x4551e9
cmp esi, 0x16
jne 0x4551e9
push esi
push edi
push str.TLS_AES_256_GCM_SHA384
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x4551e9
xor cl, cl
mov byte [ebp - 0x11e], cl
jmp 0x4552be
cmp byte [ebp - 0x11d], 0
je 0x45521d
cmp esi, 0x16
jne 0x45521d
push esi
push edi
push str.TLS_AES_128_GCM_SHA256
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x45521d
mov cl, byte [ebp - 0x11e]
xor ch, ch
mov byte [ebp - 0x11d], ch
jmp 0x4552c4
cmp byte [ebp - 0x11f], 0
je 0x455254
cmp esi, 0x1c
jne 0x455254
push esi
push edi
push str.TLS_CHACHA20_POLY1305_SHA256
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x455254
mov cl, byte [ebp - 0x11e]
xor dh, dh
mov ch, byte [ebp - 0x11d]
mov byte [ebp - 0x11f], dh
jmp 0x4552ca
cmp byte [ebp - 0x121], 0
je 0x455291
cmp esi, 0x18
jne 0x455291
push esi
push edi
push str.TLS_AES_128_CCM_8_SHA256
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x455291
mov cl, byte [ebp - 0x11e]
xor dl, dl
mov ch, byte [ebp - 0x11d]
mov dh, byte [ebp - 0x11f]
mov byte [ebp - 0x121], dl
jmp 0x4552d0
cmp byte [ebp - 0x120], 0
je 0x4552f6
cmp esi, 0x16
jne 0x4552f6
push esi
push edi
push str.TLS_AES_128_CCM_SHA256
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x4552f6
mov cl, byte [ebp - 0x11e]
mov byte [ebp - 0x120], al
mov ch, byte [ebp - 0x11d]
mov dh, byte [ebp - 0x11f]
mov dl, byte [ebp - 0x121]
mov eax, dword [ebp - 0x12c]
mov edi, eax
test eax, eax
je 0x4552df
lea edi, [eax + 1]
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
test edi, edi
jne 0x455180
jmp 0x455339
push edi
push esi
push str.schannel:_Unknown_TLS_1.3_cipher:__.s
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 0x10
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
mov dh, byte [ebp - 0x11f]
mov dl, byte [ebp - 0x121]
mov ch, byte [ebp - 0x11d]
mov cl, byte [ebp - 0x11e]
test cl, cl
je 0x455380
test ch, ch
je 0x455380
test dh, dh
je 0x455380
test dl, dl
je 0x455384
mov al, byte [ebp - 0x120]
test al, al
je 0x4553f5
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x4553ef
mov al, byte [ebp - 0x120]
test al, al
jne 0x4553f5
xor edi, edi
mov al, ch
test cl, cl
jne 0x4553b0
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x11d], ch
mov byte [ebp - 0x11f], dh
test al, al
je 0x4554c8
lea edx, [edi*8]
mov dword [ebp - 0x154], 0x200020
sub edx, edi
mov dword [ebp - 0x150], str.ChainingModeGCM
shl edx, 2
mov dword [ebp - 0x130], edx
cmp cl, ch
je 0x455461
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x455466
mov al, byte [ebp - 0x120]
mov dword [ebp - 0x15c], 0x200020
lea esi, [ebp - 0x15c]
mov dword [ebp - 0x158], str.ChainingModeCCM
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x88], 0x80008
mov dword [ebp - 0x84], 0x4a9ab8
cmp dl, al
je 0x455457
test dl, dl
je 0x455450
mov dword [ebp - 0x78], 0x80
mov edi, 1
jmp 0x455390
mov dword [ebp - 0x74], 0x40
mov edi, 1
jmp 0x455390
mov esi, 0x4a9ab8
mov dl, byte [ebp - 0x11d]
xor eax, eax
cmp cl, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp byte [ebp - 0x11e], dl
mov edx, dword [ebp - 0x130]
setne al
add eax, 2
inc edi
mov dword [ebp + edx - 0x8c], eax
lea eax, [ebp - 0x154]
mov word [ebp + edx - 0x88], cx
mov word [ebp + edx - 0x86], cx
mov dword [ebp + edx - 0x84], esi
mov dword [ebp + edx - 0x7c], eax
mov dword [ebp + edx - 0x80], 1
mov dh, byte [ebp - 0x11f]
test dh, dh
je 0x4554fb
lea eax, [edi*8]
sub eax, edi
inc edi
mov dword [ebp + eax*4 - 0x8c], 2
mov dword [ebp + eax*4 - 0x88], 0x240024
mov dword [ebp + eax*4 - 0x84], str.CHACHA20_POLY1305
jmp 0x4554fb
xor edi, edi
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
not ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x144]
or eax, 0x400000
mov dword [ebp - 0x19c], 5
cmp dword [ebp - 0x138], 0
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x14], ebx
je 0x455559
lea eax, [ebp - 0x138]
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x190], eax
mov ebx, dword [ebp - 0x168]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x19c]
jmp 0x45578b
mov edi, dword [esi + 0x10]
lea eax, [ebp - 0x1a8]
push 0x38
push 0
push eax
call fcn.0046e6a0
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov dword [ebp - 0x1a8], 4
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x188], ebx
test edi, edi
je 0x45574f
test ebx, 0x2000
mov ebx, dword [ebp - 0x128]
je 0x4555c6
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 ebx
call fcn.00440060
add esp, 8
cmp dword [esi + 0x14], 0
je 0x4555f0
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 ebx
call fcn.0043ffa0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x144], ebx
nop dword [eax + eax]
cmp byte [edi], 0
je 0x455712
cmp ebx, 0x2f
jge 0x455712
push 0
push 0
push edi
call fcn.00476b6b
add esp, 0xc
test eax, eax
jne 0x4556e9
push 0x3a
push edi
call fcn.0046e800
mov esi, eax
add esp, 8
test esi, esi
je 0x45563c
sub esi, edi
jmp 0x45564a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x455641
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x4556a9
nop word [eax + eax]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x130], ecx
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455670
sub eax, dword [ebp - 0x130]
cmp esi, eax
jne 0x455690
push esi
push edi
push edx
call fcn.0047f090
add esp, 0xc
test eax, eax
je 0x45569e
mov edx, dword [ebx*8 + 0x4a91c0]
inc ebx
test edx, edx
jne 0x455660
jmp 0x4556a9
mov eax, dword [ebx*8 + 0x4a91bc]
test eax, eax
jne 0x4556e3
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.0047f090
add esp, 0xc
test eax, eax
je 0x4556d1
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x455726
or dword [ebp - 0x178], 0x400000
mov ebx, dword [ebp - 0x144]
jmp 0x4556f7
mov ebx, dword [ebp - 0x144]
mov dword [ebp + ebx*4 - 0xd8], eax
inc ebx
mov dword [ebp - 0x144], ebx
push 0x3a
push edi
call fcn.0046e800
add esp, 8
test eax, eax
lea edi, [eax + 1]
cmove edi, eax
test edi, edi
jne 0x455600
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], eax
jmp 0x45575a
push str.schannel:_Failed_setting_algorithm_cipher_list
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
or eax, 0x400000
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x138], 0
je 0x455779
lea eax, [ebp - 0x138]
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x1a0], eax
mov ebx, dword [ebp - 0x168]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1a8]
push ecx
push 0
push 0
push eax
mov eax, dword [0x4c1db4]
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 - 0x138]
test eax, eax
je 0x4557b9
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x455820
push 0x100
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.004297d0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x128]
call fcn.0043ffa0
push dword [ebx]
call dword [0x4c0514]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x455803.2146893055
movzx eax, byte [esi + 0x4558e8]
jmp dword [eax*4 + 0x4558dc]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
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.0046ca44
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x128]
push dword [eax + 0x3b0]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.0043ffa0
push esi
call fcn.00472719
mov eax, dword [ebp - 0x160]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x128]
call fcn.0043ffa0
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x128]
call fcn.0043ffa0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x23
pop edi
pop esi
pop ebx
call fcn.0046ca44
mov esp, ebp
pop ebp
ret