Function at 0x455cd0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x4f6440]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
mov ebx, dword [esp + 0x1cc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x20], ebx
mov esi, dword [edi + 8]
call fcn.0043ac60
mov ebp, eax
push ebx
push edi
mov dword [esp + 0x58], ebp
call fcn.0043ac40
xor ebx, ebx
mov dword [esp + 0x2c], 0
add esp, 0xc
mov dword [esp + 0x18], ebx
mov edx, eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
cmp byte [ebp + 0x39], bl
je 0x455d6f
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x455d48
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x455d74
cmp byte [edx + 0x65], bl
je 0x455d5e
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x455d74
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x455d74
mov eax, 0x1808
mov cl, byte [edx + 0x67]
mov esi, eax
or esi, 4
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmp byte [ebp + 0x3a], bl
cmovne esi, eax
mov eax, esi
or eax, 0x10
test cl, cl
cmove esi, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
cmove eax, edx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.004414c0
movzx eax, byte [ebp + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x455dbf
movzx eax, byte [eax + 0x456ca8]
jmp dword [eax*4 + 0x456ca0]
push edi
call fcn.0043ac60
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x455de2
cmp edi, 0x10000
jne 0x455e06
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004744d0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x455e63
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x455e15
jmp dword [esi*4 + 0x456cb0]
or dword [esp + 0x18], 0x80
jmp case.default.0x455e15
or dword [esp + 0x18], 0x200
jmp case.default.0x455e15
or dword [esp + 0x18], 0x800
jmp case.default.0x455e15
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004744d0
add esp, 0x14
test al, al
je 0x455ec3
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x455e10
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3d0]
test ecx, ecx
jne 0x455e7d
cmp dword [esi + 0x3e4], ebx
je 0x456473
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov dword [esp + 0x30], eax
xor ebx, ebx
mov eax, dword [esi + 0x3e4]
xor esi, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
test eax, eax
je 0x455ed2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
jmp 0x45608e
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x456c7a
push ecx
call fcn.004bb877
mov esi, eax
add esp, 4
test esi, esi
je case.0x456c2e.2146893056
push 0x5c
push esi
call fcn.004a0cf0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x455f03
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x45605a
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455f24
mov ebp, 0x10000
jmp 0x455fde
push edi
push str.LocalMachine
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455f41
mov ebp, 0x20000
jmp 0x455fde
push edi
push str.CurrentService
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455f5e
mov ebp, 0x40000
jmp 0x455fde
push edi
push str.Services
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455f78
mov ebp, 0x50000
jmp 0x455fde
push edi
push str.Users
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455f92
mov ebp, 0x60000
jmp 0x455fde
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455fac
mov ebp, 0x70000
jmp 0x455fde
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x455fc6
mov ebp, 0x80000
jmp 0x455fde
push edi
push str.LocalMachineEnterprise
push esi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x456052
mov ebp, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.004a0cf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x455ffa
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x45605a
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x34], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456006
sub ecx, edx
cmp ecx, 0x28
je 0x45601e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x45605a
push ebx
mov byte [edi], 0
call dword [0x4f600c]
mov byte [edi], 0x5c
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
test edi, edi
jne 0x456045
mov ecx, dword [esp + 0x18]
lea edi, [eax + 0x1b]
mov dword [esp + 0x18], ecx
jmp 0x45605f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x4560e8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edi, 0x3a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3d0]
cmp byte [eax], 0
je 0x456c40
push 0x4d27a0
push eax
call fcn.00453600
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x456c40
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x410]
test eax, eax
je 0x4560d4
push 0x4d6844
push eax
call fcn.00445b00
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x4560d4
cmp dword [esp + 0x3c], eax
mov eax, str._memory_blob_
jne 0x4560c3
mov eax, dword [ecx + 0x3d0]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.004413f0
add esp, 0xc
jmp 0x456125
mov eax, dword [esp + 0x3c]
test ebx, ebx
jne 0x4561ea
test eax, eax
jne 0x4561ea
push edi
mov eax, ebp
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebx, eax
test ebx, ebx
jne 0x456140
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ebp
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push ecx
call fcn.004413f0
push edi
call dword [0x4f6004]
add esp, 0x18
test esi, esi
je 0x456419
push esi
call fcn.004a4483
add esp, 4
mov eax, 0x3a
jmp 0x456c87
push edi
call dword [0x4f6004]
add esp, 4
mov dword [esp + 0x54], 0x14
lea eax, [esp + 0x94]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
push 4
push 0x28
push dword [esp + 0x4c]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4561a0
test esi, esi
je 0x4561d7
push esi
call fcn.004a4483
add esp, 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x456c87
push 0
lea eax, [esp + 0x58]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test esi, esi
je 0x4561cf
push esi
call fcn.004a4483
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x45646b
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x456c87
xor edi, edi
mov ebp, str._memory_blob_
test eax, eax
jne 0x4561fb
mov ebp, dword [ecx + 0x3d0]
test esi, esi
je 0x456208
push esi
call fcn.004a4483
add esp, 4
test ebx, ebx
je 0x45627f
push 2
xor esi, esi
push esi
push ebx
call fcn.004b05d4
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
sete byte [esp + 0x14]
test eax, eax
jne 0x456324
push ebx
call fcn.004b1f90
mov esi, eax
add esp, 4
test esi, esi
jns 0x456320
mov byte [esp + 0x14], 0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test esi, esi
je 0x456369
push ebx
push 1
push ecx
push esi
call fcn.004b0842
add esp, 0x10
cmp eax, 1
jne 0x456369
push ebx
call fcn.004af8c1
add esp, 4
cmp byte [esp + 0x14], 0
je 0x456372
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x420]
mov dword [esp + 0x44], ebx
test eax, eax
je 0x4562ab
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4562a2
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x4563c8
test edi, edi
je 0x45639b
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x420]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x45639d
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.004744d0
add esp, 0x14
test al, al
lea eax, [esp + 0x40]
je 0x4563b0
push 0x8000
jmp 0x4563b2
mov eax, dword [esp + 0x34]
mov ecx, esi
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x456360
push eax
push eax
push ebx
call fcn.004b05d4
add esp, 0xc
test eax, eax
sete byte [esp + 0x14]
test eax, eax
jne 0x456245
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
jmp 0x456249
mov esi, dword [esp + 0x2c]
jmp 0x45624d
push ebx
call fcn.004af8c1
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3d0]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.004413f0
push esi
call dword [0x4f6004]
add esp, 0x10
mov eax, 0x3a
jmp 0x456c87
xor eax, eax
cmp eax, edi
jg 0x4562f3
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4562f8
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov dword [esp + 0x28], eax
call dword [0x4f6004]
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4563d9
push ebx
call dword [0x4f6004]
add esp, 4
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x456423
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x456406
push ebp
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.004413f0
add esp, 0xc
lea eax, [ebx + 0x3a]
jmp 0x456c87
push eax
push ebp
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.004413f0
add esp, 0x10
mov eax, 0x3a
jmp 0x456c87
push 0
push 0
push 0
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x45646b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.004413f0
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x456c87
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x4f6010]
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x4564be
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.004413f0
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x4564a7
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x456c2e.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x456c87
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
mov dword [eax + 0x14], ebx
cmp dword [ebp + 0x10], 0
jne 0x4569fa
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.004744d0
add esp, 0x14
test al, al
je 0x4569fa
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004a0b90
xorps xmm0, xmm0
mov dword [esp + 0xd8], 0
push 0x54
lea eax, [esp + 0xf8]
movq qword [esp + 0xb4], xmm0
push 0
push eax
movups xmmword [esp + 0xac], xmm0
movups xmmword [esp + 0xe8], xmm0
movq qword [esp + 0xf8], xmm0
call fcn.004a0b90
mov edi, dword [ebp + 0x14]
xor eax, eax
add esp, 0x18
mov word [esp + 0x34], ax
xor ebp, ebp
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
test edi, edi
je 0x45697f
xorps xmm0, xmm0
mov byte [esp + 0x13], 1
mov al, 1
mov byte [esp + 0x15], 1
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x16], 1
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0x14], al
nop dword [eax + eax]
cmp byte [edi], 0
je 0x4567e5
cmp ebp, 5
jge 0x4567e5
push 0x3a
push edi
call fcn.004a0cf0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4565c9
mov esi, ebx
sub esi, edi
jmp 0x4565d9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4565d0
sub esi, ecx
cmp esi, 0x1f
ja 0x4567cd
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.004b0b70
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x13], 0
je 0x456648
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456630
test dl, dl
je 0x45662c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456630
add eax, 2
add ecx, 2
test dl, dl
jne 0x456610
xor eax, eax
jmp 0x456635
sbb eax, eax
or eax, 1
test eax, eax
jne 0x456648
mov al, byte [esp + 0x14]
xor cl, cl
mov byte [esp + 0x13], cl
jmp 0x45678a
cmp byte [esp + 0x15], 0
je 0x45669c
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456680
test dl, dl
je 0x45667c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456680
add eax, 2
add ecx, 2
test dl, dl
jne 0x456660
xor eax, eax
jmp 0x456685
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45669c
mov al, byte [esp + 0x14]
xor ah, ah
mov cl, byte [esp + 0x13]
mov byte [esp + 0x15], ah
jmp 0x45678e
cmp byte [esp + 0x16], 0
je 0x4566f0
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4566d0
test dl, dl
je 0x4566cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4566d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4566b0
xor eax, eax
jmp 0x4566d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4566f0
mov al, byte [esp + 0x14]
xor ch, ch
mov cl, byte [esp + 0x13]
mov ah, byte [esp + 0x15]
mov byte [esp + 0x16], ch
jmp 0x456792
cmp byte [esp + 0x17], 0
je 0x456744
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456723
test dl, dl
je 0x45671f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456723
add eax, 2
add ecx, 2
test dl, dl
jne 0x456703
xor eax, eax
jmp 0x456728
sbb eax, eax
or eax, 1
test eax, eax
jne 0x456744
mov al, byte [esp + 0x14]
xor dl, dl
mov cl, byte [esp + 0x13]
mov ah, byte [esp + 0x15]
mov ch, byte [esp + 0x16]
mov byte [esp + 0x17], dl
jmp 0x456796
cmp byte [esp + 0x14], 0
je 0x4567aa
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456777
test dl, dl
je 0x456773
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456777
add eax, 2
add ecx, 2
test dl, dl
jne 0x456757
xor eax, eax
jmp 0x45677c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4567aa
mov cl, byte [esp + 0x13]
xor al, al
mov byte [esp + 0x14], al
mov ah, byte [esp + 0x15]
mov ch, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov edi, ebx
test ebx, ebx
je 0x45679f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x4565a0
jmp 0x4567f5
lea eax, [esp + 0xac]
push eax
push str.schannel:_Unknown_TLS_1.3_cipher:__s
push dword [esp + 0x24]
call fcn.004413f0
add esp, 0xc
mov eax, 0x3b
jmp 0x456c87
push str.schannel:_Cipher_name_too_long__not_checked
push dword [esp + 0x20]
call fcn.004413f0
mov eax, 0x3b
jmp 0x456c84
mov ch, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov ah, byte [esp + 0x15]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x456821
test ah, ah
je 0x456821
test ch, ch
je 0x456821
test dl, dl
je 0x456825
test al, al
je 0x456829
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
push dword [esp + 0x20]
call fcn.004413f0
mov eax, 0x3b
jmp 0x456c84
test dl, dl
jne 0x456829
test al, al
je 0x45689c
mov dword [esp + 0x34], 0x200020
lea esi, [esp + 0x34]
mov dword [esp + 0x38], str.ChainingModeCCM
mov dword [esp + 0xcc], 2
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], 1
mov dword [esp + 0xd0], 0x80008
mov dword [esp + 0xd4], 0x4d6b14
cmp dl, al
je 0x456895
test dl, dl
je 0x45688a
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x45689e
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x45689e
xor ebp, ebp
mov al, ah
test cl, cl
jne 0x4568c4
mov byte [esp + 0x13], cl
mov byte [esp + 0x16], ch
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x15], ah
mov dword [esp + 0x18], ecx
test al, al
je 0x45694d
mov cl, byte [esp + 0x13]
lea edx, [ebp*8]
mov dword [esp + 0x24], 0x200020
sub edx, ebp
mov dword [esp + 0x28], str.ChainingModeGCM
cmp cl, ah
je 0x4568f2
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x4568f7
mov esi, 0x4d6b14
mov bl, byte [esp + 0x15]
xor eax, eax
cmp cl, bl
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp byte [esp + 0x13], bl
setne al
add eax, 2
inc ebp
mov dword [esp + edx*4 + 0xcc], eax
lea eax, [esp + 0x24]
mov word [esp + edx*4 + 0xd0], cx
mov word [esp + edx*4 + 0xd2], cx
mov dword [esp + edx*4 + 0xd4], esi
mov dword [esp + edx*4 + 0xdc], eax
mov dword [esp + edx*4 + 0xd8], 1
cmp byte [esp + 0x16], 0
je 0x45697f
lea eax, [ebp*8]
sub eax, ebp
inc ebp
mov dword [esp + eax*4 + 0xcc], 2
mov dword [esp + eax*4 + 0xd0], 0x240024
mov dword [esp + eax*4 + 0xd4], str.CHACHA20_POLY1305
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xcc]
mov dword [esp + 0xa4], eax
or ecx, 0x400000
cmp dword [esp + 0x20], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
not eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x80], 1
mov dword [esp + 0x5c], 5
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x9c], eax
je 0x4569e7
lea eax, [esp + 0x20]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x456bb9
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call fcn.004a0b90
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
test edi, edi
je 0x456b87
test eax, 0x2000
je 0x456a46
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 esi
call fcn.004414c0
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x456a61
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 esi
call fcn.004413f0
mov eax, 0x3b
jmp 0x456c84
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp byte [edi], 0
je 0x456b5e
cmp ebx, 0x2f
jge 0x456b5e
push 0
push 0
push edi
call fcn.004a97db
add esp, 0xc
test eax, eax
jne 0x456b37
push 0x3a
push edi
call fcn.004a0cf0
mov esi, eax
add esp, 8
test esi, esi
je 0x456aa3
sub esi, edi
jmp 0x456ab1
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x456aa8
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x456afa
nop dword [eax]
mov eax, edx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456ac5
sub eax, ebp
cmp esi, eax
jne 0x456ae1
push esi
push edi
push edx
call fcn.004b10f0
add esp, 0xc
test eax, eax
je 0x456aef
mov edx, dword [ebx*8 + 0x4d61f8]
inc ebx
test edx, edx
jne 0x456ac0
jmp 0x456afa
mov eax, dword [ebx*8 + 0x4d61f4]
test eax, eax
jne 0x456b33
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.004b10f0
add esp, 0xc
test eax, eax
je 0x456b22
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.004b10f0
add esp, 0xc
test eax, eax
jne 0x456b6f
or dword [esp + 0x8c], 0x400000
mov ebx, dword [esp + 0x24]
jmp 0x456b43
mov ebx, dword [esp + 0x24]
mov dword [esp + ebx*4 + 0xcc], eax
inc ebx
mov dword [esp + 0x24], ebx
push 0x3a
push edi
call fcn.004a0cf0
add esp, 8
test eax, eax
lea edi, [eax + 1]
cmove edi, eax
test edi, edi
jne 0x456a67
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
jmp 0x456b94
push str.schannel:_Failed_setting_algorithm_cipher_list
push dword [esp + 0x20]
call fcn.004413f0
mov eax, 0x3b
jmp 0x456c84
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x20], 0
je 0x456bab
lea eax, [esp + 0x20]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
push ecx
push 0
push 0
push eax
mov eax, dword [0x4f8548]
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 [esp + 0x20]
test eax, eax
je 0x456be5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x456c3c
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.0042f970
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.004413f0
push dword [ebx]
call dword [0x4f6004]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x456c2e.2146893055
movzx eax, byte [esi + 0x456ccc]
jmp dword [eax*4 + 0x456cc0]
mov eax, 0x23
jmp 0x456c87
xor eax, eax
jmp 0x456c87
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3d0]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.004413f0
push esi
call fcn.004a4483
add esp, 0x10
mov eax, edi
jmp 0x456c87
push str.SSL_versions_not_supported
push esi
call fcn.004413f0
mov eax, 4
jmp 0x456c84
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.004413f0
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049f18e
add esp, 0x1c0
ret