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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x636510]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1d0]
push esi
push edi
mov edi, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x20], ebp
mov esi, dword [edi + 8]
call fcn.00555da0
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x58], ebx
call fcn.00555d80
mov dword [esp + 0x30], 0
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x18], ebp
cmp byte [ebx + 0x39], 0
mov edx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
je 0x56ee02
cmp byte [edx + 0x63], 0
mov cl, byte [eax + 0x48]
je 0x56edda
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x56ee07
cmp byte [edx + 0x65], 0
je 0x56edf1
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x56ee07
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x56ee07
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 [ebx + 0x3a], 0
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.0055c3f0
movzx eax, byte [ebx + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x56ee53
movzx eax, byte [eax + 0x56fd1c]
jmp dword [eax*4 + 0x56fd14]
push edi
call fcn.00555da0
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x56ee76
cmp edi, 0x10000
jne 0x56ee9a
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0057a6d0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x56eef7
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x56eea9
jmp dword [esi*4 + 0x56fd24]
or dword [esp + 0x18], 0x80
jmp case.default.0x56eea9
or dword [esp + 0x18], 0x200
jmp case.default.0x56eea9
or dword [esp + 0x18], 0x800
jmp case.default.0x56eea9
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0057a6d0
add esp, 0x14
test al, al
je 0x56ef2f
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x56eea4
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c8]
test ecx, ecx
jne 0x56ef3e
cmp dword [esi + 0x3dc], ebp
je 0x56f548
mov eax, dword [esi + 0x3dc]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x30], edx
xor ebx, ebx
mov dword [esp + 0x38], eax
xor esi, esi
jmp 0x56ef66
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x56fceb
mov eax, dword [esi + 0x3dc]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x30], edx
xor ebx, ebx
mov dword [esp + 0x28], edx
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x56ef80
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
jmp 0x56f154
push ecx
call fcn.00599dd3
mov esi, eax
add esp, 4
test esi, esi
je case.0x56fc9d.2146893056
push 0x5c
push esi
call fcn.0058a6c0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x56efb1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x56f121
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56efd2
mov edi, 0x10000
jmp 0x56f090
push edi
push str.LocalMachine
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56efef
mov edi, 0x20000
jmp 0x56f090
push edi
push str.CurrentService
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f00c
mov edi, 0x40000
jmp 0x56f090
push edi
push str.Services
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f026
mov edi, 0x50000
jmp 0x56f090
push edi
push str.Users
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f040
mov edi, 0x60000
jmp 0x56f090
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f05a
mov edi, 0x70000
jmp 0x56f090
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f074
mov edi, 0x80000
jmp 0x56f090
push edi
push str.LocalMachineEnterprise
push esi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56f117
mov edi, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.0058a6c0
mov edx, eax
add esp, 8
mov dword [esp + 0x3c], edx
test edx, edx
jne 0x56f0b0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x56f121
lea eax, [edx + 1]
mov ecx, eax
mov dword [esp + 0x30], eax
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56f0c0
sub ecx, dword [esp + 0x20]
cmp ecx, 0x28
je 0x56f0da
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x56f121
push ebx
mov byte [edx], 0
call dword [0x636030]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], ebx
mov byte [eax], 0x5c
test ebx, ebx
jne 0x56f10a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x18], ecx
jmp 0x56f129
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x56f1b2
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x3a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c8]
cmp byte [eax], 0
je 0x56fcaf
push 0x5ba1f4
push eax
call fcn.0056c940
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x56fcaf
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x408]
test eax, eax
je 0x56f19a
push 0x5bde74
push eax
call fcn.0056ba30
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x56f19a
cmp dword [esp + 0x38], eax
mov eax, str._memory_blob_
jne 0x56f189
mov eax, dword [ecx + 0x3c8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.0055c320
add esp, 0xc
jmp 0x56f1ef
mov eax, dword [esp + 0x38]
test ebx, ebx
jne 0x56f2b3
test eax, eax
jne 0x56f2b3
mov ebx, dword [esp + 0x44]
push ebx
mov eax, edi
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.crypt32.dll_CertOpenStore]
mov ebp, eax
test ebp, ebp
jne 0x56f20a
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push ebx
push edi
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push ecx
call fcn.0055c320
push ebx
call dword [0x636028]
add esp, 0x18
test esi, esi
je 0x56f4eb
push esi
call fcn.0058c4ce
add esp, 4
mov eax, 0x3a
jmp 0x56fcf8
push ebx
call dword [0x636028]
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 + 0x48]
call dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x56f26a
test esi, esi
je 0x56f257
push esi
call fcn.0058c4ce
add esp, 4
push 0
push ebp
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x56fcf8
push 0
lea eax, [esp + 0x58]
push eax
push 0x10000
push 0
push 0x10001
push ebp
call dword [sym.imp.crypt32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test esi, esi
je 0x56f299
push esi
call fcn.0058c4ce
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x56f540
push eax
push ebp
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x56fcf8
xor edi, edi
test eax, eax
je 0x56f2c3
mov dword [esp + 0x20], str._memory_blob_
jmp 0x56f2cd
mov eax, dword [ecx + 0x3c8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x56f2da
push esi
call fcn.0058c4ce
add esp, 4
test ebx, ebx
je 0x56f34f
push 2
xor esi, esi
push esi
push ebx
call fcn.0058cbe3
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x56f3f4
push ebx
call fcn.0058e547
mov esi, eax
add esp, 4
test esi, esi
jns 0x56f3f0
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test esi, esi
je 0x56f43b
push ebx
push 1
push eax
push esi
call fcn.0058c6d8
add esp, 0x10
cmp eax, 1
jne 0x56f43b
push ebx
call fcn.0058d77d
add esp, 4
cmp byte [esp + 0x13], 0
je 0x56f444
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x418]
mov dword [esp + 0x40], ebx
test eax, eax
je 0x56f37b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x56f372
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x636024]
mov esi, eax
add esp, 4
test esi, esi
je 0x56f498
test edi, edi
je 0x56f46d
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x418]
push 8
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jns 0x56f46f
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.0057a6d0
add esp, 0x14
test al, al
lea eax, [esp + 0x3c]
je 0x56f482
push 0x8000
jmp 0x56f484
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x2c], eax
test cl, cl
je 0x56f432
push 0
push 0
push ebx
call fcn.0058cbe3
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x56f315
lea eax, [esi + 1]
push eax
call dword [0x636024]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x56f319
mov esi, dword [esp + 0x28]
jmp 0x56f31d
push ebx
call fcn.0058d77d
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.0055c320
push esi
call dword [0x636028]
add esp, 0x10
mov eax, 0x3a
jmp 0x56fcf8
xor eax, eax
cmp eax, edi
jg 0x56f3c3
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x56f3c8
push 0
push esi
push eax
call dword [sym.imp.crypt32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x636028]
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x56f4a9
push ebx
call dword [0x636028]
add esp, 4
test ebp, ebp
jne 0x56f4f5
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x56
jne 0x56f4d5
push dword [esp + 0x20]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.0055c320
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x56fcf8
push eax
push dword [esp + 0x24]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.0055c320
add esp, 0x10
mov eax, 0x3a
jmp 0x56fcf8
push 0
push 0
push 0
push 0
push 0x10001
push ebp
call dword [sym.imp.crypt32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x56f540
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push dword [esp + 0x24]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.0055c320
add esp, 0x10
push 0
push ebp
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x56fcf8
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x636034]
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x56f593
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.0055c320
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x56f57c
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x56fc9d.2146893056
push 0
push ebp
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x56fcf8
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebp
call fcn.0057a6d0
add esp, 0x14
test al, al
je 0x56fa96
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00588b30
push 0x70
xorps xmm0, xmm0
lea eax, [esp + 0xdc]
push 0
push eax
movups xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
call fcn.00588b30
mov edi, dword [ebx + 0x14]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x3c], xmm0
xor ebp, ebp
movlpd qword [esp + 0x30], xmm0
test edi, edi
je 0x56fa1b
mov al, 1
mov byte [esp + 0x15], 1
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], al
nop dword [eax + eax]
cmp byte [edi], 0
je 0x56f87a
cmp ebp, 5
jge 0x56f87a
push 0x3a
push edi
call fcn.0058a6c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x56f669
mov esi, ebx
sub esi, edi
jmp 0x56f679
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x56f670
sub esi, ecx
cmp esi, 0x1f
ja 0x56f862
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.0058d120
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x56f6e8
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f6d0
test dl, dl
je 0x56f6cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f6d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f6b0
xor eax, eax
jmp 0x56f6d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x56f6e8
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x56f82a
cmp byte [esp + 0x14], 0
je 0x56f73c
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 0x56f720
test dl, dl
je 0x56f71c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f720
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f700
xor eax, eax
jmp 0x56f725
sbb eax, eax
or eax, 1
test eax, eax
jne 0x56f73c
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x56f82e
cmp byte [esp + 0x16], 0
je 0x56f790
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f770
test dl, dl
je 0x56f76c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f770
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f750
xor eax, eax
jmp 0x56f775
sbb eax, eax
or eax, 1
test eax, eax
jne 0x56f790
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x56f832
cmp byte [esp + 0x17], 0
je 0x56f7e4
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f7c3
test dl, dl
je 0x56f7bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f7c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f7a3
xor eax, eax
jmp 0x56f7c8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x56f7e4
mov al, byte [esp + 0x13]
xor dl, dl
mov cl, byte [esp + 0x15]
mov ah, byte [esp + 0x16]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x17], dl
jmp 0x56f836
cmp byte [esp + 0x13], 0
je 0x56f84a
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x56f817
test dl, dl
je 0x56f813
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56f817
add eax, 2
add ecx, 2
test dl, dl
jne 0x56f7f7
xor eax, eax
jmp 0x56f81c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x56f84a
mov cl, byte [esp + 0x15]
xor al, al
mov byte [esp + 0x13], al
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov edi, ebx
test ebx, ebx
je 0x56f83f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x56f640
jmp 0x56f88a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.0055c320
mov eax, 0x3b
jmp 0x56fcf5
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.0055c320
mov eax, 0x3b
jmp 0x56fcf5
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x56f8b6
test ch, ch
je 0x56f8b6
test ah, ah
je 0x56f8b6
test dl, dl
je 0x56f8ba
test al, al
je 0x56f8c2
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.0055c320
mov eax, 0x3b
jmp 0x56fcf5
test dl, dl
jne 0x56f8c2
test al, al
je 0x56f935
mov dword [esp + 0x3c], 0x200020
lea esi, [esp + 0x3c]
mov dword [esp + 0x40], 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], 0x5be134
cmp dl, al
je 0x56f92e
test dl, dl
je 0x56f923
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x56f937
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x56f937
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x56f95f
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], ah
mov dword [esp + 0x18], ecx
test al, al
je 0x56f9ec
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x30], 0x200020
sub edx, ebp
mov dword [esp + 0x34], str.ChainingModeGCM
cmp cl, ch
je 0x56f98d
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x56f992
mov esi, 0x5be134
mov bl, byte [esp + 0x14]
xor eax, eax
cmp cl, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp byte [esp + 0x15], bl
setne al
add eax, 2
inc ebp
mov dword [esp + edx*4 + 0xcc], eax
lea eax, [esp + 0x30]
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 ah, byte [esp + 0x16]
mov dword [esp + edx*4 + 0xd8], 1
test ah, ah
je 0x56fa1b
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 + 0x24], 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 0x56fa83
lea eax, [esp + 0x24]
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 0x56fc28
mov edi, dword [ebx + 0x10]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call fcn.00588b30
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 0x56fbf6
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp byte [edi], 0
je 0x56fbcd
cmp ebx, 0x2f
jge 0x56fbcd
push 0
push 0
push edi
call fcn.0058f20f
add esp, 0xc
test eax, eax
jne 0x56fba7
push 0x3a
push edi
call fcn.0058a6c0
mov esi, eax
add esp, 8
test esi, esi
je 0x56fb0f
sub esi, edi
jmp 0x56fb1d
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x56fb14
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x56fb6a
nop dword [eax]
mov eax, edx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56fb35
sub eax, ebp
cmp esi, eax
jne 0x56fb51
push esi
push edi
push edx
call fcn.0058d5e0
add esp, 0xc
test eax, eax
je 0x56fb5f
mov edx, dword [ebx*8 + 0x5bd828]
inc ebx
test edx, edx
jne 0x56fb30
jmp 0x56fb6a
mov eax, dword [ebx*8 + 0x5bd824]
test eax, eax
jne 0x56fba3
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
je 0x56fb92
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.0058d5e0
add esp, 0xc
test eax, eax
jne 0x56fbde
or dword [esp + 0x8c], 0x400000
mov ebx, dword [esp + 0x30]
jmp 0x56fbb3
mov ebx, dword [esp + 0x30]
mov dword [esp + ebx*4 + 0xcc], eax
inc ebx
mov dword [esp + 0x30], ebx
push 0x3a
push edi
call fcn.0058a6c0
mov edi, eax
add esp, 8
test edi, edi
je 0x56fbcd
add edi, 1
jne 0x56fad3
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
jmp 0x56fc03
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.0055c320
mov eax, 0x3b
jmp 0x56fcf5
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x24], 0
je 0x56fc1a
lea eax, [esp + 0x24]
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 [0x637280]
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 + 0x24]
test eax, eax
je 0x56fc54
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test esi, esi
je 0x56fcab
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.0054df00
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.0055c320
push dword [ebx]
call dword [0x636028]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x56fc9d.2146893055
movzx eax, byte [esi + 0x56fd40]
jmp dword [eax*4 + 0x56fd34]
mov eax, 0x23
jmp 0x56fcf8
xor eax, eax
jmp 0x56fcf8
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.0055c320
push esi
call fcn.0058c4ce
mov eax, dword [esp + 0x30]
add esp, 0x10
jmp 0x56fcf8
push str.SSL_versions_not_supported
push esi
call fcn.0055c320
mov eax, 4
jmp 0x56fcf5
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.0055c320
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058774b
add esp, 0x1c0
ret