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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x100b2040]
xor eax, esp
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1cc]
mov edx, dword [esp + 0x1c4]
add eax, 0x18
push ebx
mov ebx, dword [esp + 0x1cc]
add eax, eax
push ebp
push esi
push edi
mov eax, dword [ebx + eax*8]
lea edi, [ebx + 0x134]
mov cl, byte [ebx + 0xb0]
xor ebp, ebp
cmp byte [ebx + 0x1f5], 0
mov esi, 0x198
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], 0x1a8
je 0x10045600
mov dl, byte [eax + 0x48]
cmp cl, 2
jne 0x1004557d
cmp dword [edi], 0xffffffff
mov eax, esi
cmovne eax, dword [esp + 0x20]
cmp dword [eax + ebx], 2
je 0x1004557d
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x4af]
jmp 0x1004558b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov al, byte [eax + 0x447]
test al, al
je 0x100455a5
test dl, dl
mov dword [esp + 0x20], 0x1820
mov eax, 0x1808
cmove eax, dword [esp + 0x20]
jmp 0x10045609
cmp cl, 2
jne 0x100455c6
cmp dword [edi], 0xffffffff
mov eax, esi
cmovne eax, dword [esp + 0x20]
cmp dword [eax + ebx], 2
je 0x100455c6
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x4b1]
jmp 0x100455d0
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x449]
test al, al
je 0x100455ea
test dl, dl
mov dword [esp + 0x20], 0x1a20
mov eax, 0x1a08
cmove eax, dword [esp + 0x20]
jmp 0x10045609
test dl, dl
mov dword [esp + 0x20], 0x220
mov eax, 0x208
cmove eax, dword [esp + 0x20]
jmp 0x10045609
mov eax, 0x1808
mov dword [esp + 0x3c], edi
mov edx, eax
or edx, 4
cmp byte [ebx + 0x1f6], 0
cmovne edx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
cmp cl, 2
jne 0x10045640
cmp dword [edi], 0xffffffff
mov eax, esi
mov ecx, 0x1a8
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x10045640
mov cl, byte [edx + 0x4b3]
jmp 0x10045646
mov cl, byte [edx + 0x44b]
mov esi, dword [esp + 0x40]
mov eax, esi
or eax, 0x10
test cl, cl
cmove esi, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [esp + 0x40], esi
mov esi, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, esi
push eax
push edx
call fcn.1002f920
mov esi, dword [ebx + 0x1bc]
add esp, 8
cmp esi, 7
ja case.default.0x10045685
movzx eax, byte [esi + 0x10046534]
jmp dword [eax*4 + 0x1004652c]
cmp byte [ebx + 0xb0], 2
jne 0x100456b9
cmp dword [edi], 0xffffffff
mov eax, 0x198
mov ecx, 0x1a8
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x100456b9
mov esi, dword [ebx + 0x1fc]
mov edi, dword [ebx + 0x200]
jmp 0x100456bf
mov edi, dword [ebx + 0x1c0]
test edi, edi
je 0x100456cb
cmp edi, 0x10000
jne 0x100456ef
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1005d9f0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x10045753
add esi, 0xfffffffc
nop dword [eax]
cmp esi, 3
ja case.default.0x10045705
jmp dword [esi*4 + 0x1004653c]
or dword [esp + 0x18], 0x80
jmp case.default.0x10045705
or dword [esp + 0x18], 0x200
jmp case.default.0x10045705
or dword [esp + 0x18], 0x800
jmp case.default.0x10045705
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1005d9f0
add esp, 0x14
test al, al
je 0x1004578d
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x10045700
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x3f8]
test ecx, ecx
jne 0x10045797
cmp dword [edi + 0x40c], ebp
je 0x10045d87
mov eax, dword [edi + 0x40c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x48], edx
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edx
xor esi, esi
mov dword [esp + 0x38], eax
jmp 0x100457c1
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x10046501
mov eax, dword [edi + 0x40c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x48], edx
xor ebx, ebx
mov dword [esp + 0x20], edx
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x100457db
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 0x10045998
push ecx
call fcn.100818c5
mov esi, eax
add esp, 4
test esi, esi
je case.0x100464b3.2146893056
push 0x5c
push esi
call fcn.1006e570
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1004580c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10045964
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x1004582d
mov ebp, 0x10000
jmp 0x100458e7
push edi
push str.LocalMachine
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x1004584a
mov ebp, 0x20000
jmp 0x100458e7
push edi
push str.CurrentService
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x10045867
mov ebp, 0x40000
jmp 0x100458e7
push edi
push str.Services
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x10045881
mov ebp, 0x50000
jmp 0x100458e7
push edi
push str.Users
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x1004589b
mov ebp, 0x60000
jmp 0x100458e7
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x100458b5
mov ebp, 0x70000
jmp 0x100458e7
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x100458cf
mov ebp, 0x80000
jmp 0x100458e7
push edi
push str.LocalMachineEnterprise
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x1004595c
mov ebp, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.1006e570
mov edi, eax
add esp, 8
test edi, edi
jne 0x10045903
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10045964
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x20], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045910
sub ecx, edx
cmp ecx, 0x28
je 0x10045928
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10045964
push ebx
mov byte [edi], 0
call dword [0x100b200c]
mov ebx, eax
mov byte [edi], 0x5c
add esp, 4
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x1004594f
mov ecx, dword [esp + 0x18]
lea edi, [eax + 0x1b]
mov dword [esp + 0x18], ecx
jmp 0x10045969
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x100459ee
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edi, 0x3a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x3f8]
cmp byte [eax], 0
je 0x100464c5
push 0x10097a30
push eax
call fcn.10042b80
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100464c5
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x430]
test eax, eax
je 0x100459d6
push 0x1009bf38
push eax
call fcn.10035610
add esp, 8
test eax, eax
jne 0x100459d6
cmp dword [esp + 0x38], eax
mov eax, str._memory_blob_
jne 0x100459c5
mov eax, dword [edi + 0x3f8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.1002f850
add esp, 0xc
jmp 0x10045a2e
mov eax, dword [esp + 0x38]
test ebx, ebx
jne 0x10045af2
test eax, eax
jne 0x10045af2
mov ebx, dword [esp + 0x48]
push ebx
mov eax, ebp
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
jne 0x10045a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push ebp
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [esp + 0x2c]
call fcn.1002f850
push ebx
call dword [0x100b2004]
add esp, 0x18
test esi, esi
je 0x10045d29
push esi
call fcn.10078327
add esp, 4
mov eax, 0x3a
jmp 0x10046512
push ebx
call dword [0x100b2004]
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 + 0x38]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x10045aa9
test esi, esi
je 0x10045a96
push esi
call fcn.10078327
add esp, 4
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10046512
push 0
lea eax, [esp + 0x58]
push eax
push 0x10000
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x28], eax
test esi, esi
je 0x10045ad8
push esi
call fcn.10078327
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x10045d7b
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10046512
xor edi, edi
test eax, eax
je 0x10045aff
mov ebp, str._memory_blob_
jmp 0x10045b09
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x3f8]
test esi, esi
je 0x10045b16
push esi
call fcn.10078327
add esp, 4
test ebx, ebx
je 0x10045b8b
push 2
xor esi, esi
push esi
push ebx
call fcn.1007b7f6
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x10045c32
push ebx
call fcn.1007be09
mov esi, eax
add esp, 4
test esi, esi
jns 0x10045c2e
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
test esi, esi
je 0x10045c79
push ebx
push 1
push eax
push esi
call fcn.10078d66
add esp, 0x10
cmp eax, 1
jne 0x10045c79
push ebx
call fcn.1007919f
add esp, 4
cmp byte [esp + 0x13], 0
je 0x10045c82
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0x440]
test eax, eax
je 0x10045bb9
mov edi, eax
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10045bb0
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x10045cd8
test edi, edi
je 0x10045cab
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x440]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x10045cad
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.1005d9f0
add esp, 0x14
test al, al
lea eax, [esp + 0x20]
je 0x10045cc0
push 0x8000
jmp 0x10045cc2
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x30], eax
test cl, cl
je 0x10045c70
push 0
push 0
push ebx
call fcn.1007b7f6
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x10045b51
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
jmp 0x10045b55
mov esi, dword [esp + 0x2c]
jmp 0x10045b59
push ebx
call fcn.1007919f
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3f8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.1002f850
push esi
call dword [0x100b2004]
add esp, 0x10
mov eax, 0x3a
jmp 0x10046512
xor eax, eax
cmp eax, edi
jg 0x10045c01
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x10045c06
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov dword [esp + 0x38], eax
call dword [0x100b2004]
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x10045ce9
push ebx
call dword [0x100b2004]
add esp, 4
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x10045d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x10045d16
push ebp
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.1002f850
add esp, 0xc
lea eax, [edi + 0x3a]
jmp 0x10046512
push eax
push ebp
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.1002f850
add esp, 0x10
mov eax, 0x3a
jmp 0x10046512
push 0
push 0
push 0
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10045d7b
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.1002f850
add esp, 0x10
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10046512
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x100b2010]
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x10045dd2
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.1002f850
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x10045dbb
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x100464b3.2146893056
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x10046512
push 3
mov edi, ecx
mov dword [eax + 0x18], 1
push 2
push 0x4563
push 0
mov eax, dword [edi]
push 0xa
mov dword [eax + 0x14], ebp
call fcn.1005d9f0
add esp, 0x14
test al, al
je 0x10046301
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.1006e410
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.1006e410
xorps xmm0, xmm0
add esp, 0x18
xor ebp, ebp
movlpd qword [esp + 0x20], xmm0
cmp byte [ebx + 0xb0], 2
movlpd qword [esp + 0x48], xmm0
jne 0x10045e6f
mov eax, dword [esp + 0x3c]
mov ecx, 0x1a8
cmp dword [eax], 0xffffffff
mov eax, 0x198
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x10045e6f
mov edi, dword [ebx + 0x218]
jmp 0x10045e75
mov edi, dword [ebx + 0x1d8]
test edi, edi
je 0x10046287
mov al, 1
mov byte [esp + 0x15], 1
xor ebp, ebp
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x16], 1
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], al
nop dword [eax]
cmp byte [edi], 0
je 0x100460ea
cmp ebp, 5
jge 0x100460ea
push 0x3a
push edi
call fcn.1006e570
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10045ed9
mov esi, ebx
sub esi, edi
jmp 0x10045ee9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10045ee0
sub esi, ecx
cmp esi, 0x1f
ja 0x100460d2
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.100786d0
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x10045f58
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10045f40
test dl, dl
je 0x10045f3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10045f40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10045f20
xor eax, eax
jmp 0x10045f45
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10045f58
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x1004609a
cmp byte [esp + 0x14], 0
je 0x10045fac
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 0x10045f90
test dl, dl
je 0x10045f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10045f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10045f70
xor eax, eax
jmp 0x10045f95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10045fac
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x1004609e
cmp byte [esp + 0x16], 0
je 0x10046000
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10045fe0
test dl, dl
je 0x10045fdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10045fe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10045fc0
xor eax, eax
jmp 0x10045fe5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10046000
mov al, byte [esp + 0x13]
xor dl, dl
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], dl
jmp 0x100460a2
cmp byte [esp + 0x17], 0
je 0x10046054
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046033
test dl, dl
je 0x1004602f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046033
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046013
xor eax, eax
jmp 0x10046038
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10046054
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov dl, byte [esp + 0x16]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x17], ah
jmp 0x100460a6
cmp byte [esp + 0x13], 0
je 0x100460ba
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046087
test dl, dl
je 0x10046083
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046087
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046067
xor eax, eax
jmp 0x1004608c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100460ba
mov cl, byte [esp + 0x15]
xor al, al
mov byte [esp + 0x13], al
mov ch, byte [esp + 0x14]
mov dl, byte [esp + 0x16]
mov ah, byte [esp + 0x17]
mov edi, ebx
test ebx, ebx
je 0x100460af
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x10045eb0
jmp 0x100460fa
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 0x3b
jmp 0x1004650f
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 0x3b
jmp 0x1004650f
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x17]
mov dl, byte [esp + 0x16]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x10046126
test ch, ch
je 0x10046126
test dl, dl
je 0x10046126
test ah, ah
je 0x1004612a
test al, al
je 0x1004612e
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 0x3b
jmp 0x1004650f
test ah, ah
jne 0x1004612e
test al, al
je 0x100461a1
mov dword [esp + 0x20], 0x200020
lea esi, [esp + 0x20]
mov dword [esp + 0x24], 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], 0x1009c1f4
cmp ah, al
je 0x1004619a
test ah, ah
je 0x1004618f
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x100461a3
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x100461a3
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x100461cb
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], dl
mov dword [esp + 0x18], ecx
test al, al
je 0x10046258
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x48], 0x200020
sub edx, ebp
mov dword [esp + 0x4c], str.ChainingModeGCM
cmp cl, ch
je 0x100461f9
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x100461fe
mov esi, 0x1009c1f4
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 + 0x48]
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
mov dl, byte [esp + 0x16]
test dl, dl
je 0x10046287
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
lea eax, [esp + 0xcc]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
or eax, 0x400000
mov dword [esp + 0x80], 1
cmp dword [esp + 0x28], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
not eax
mov dword [esp + 0x5c], 5
mov dword [esp + 0x9c], eax
je 0x100462ee
lea eax, [esp + 0x28]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x44]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x1004643e
cmp byte [ebx + 0xb0], 2
jne 0x1004632c
mov eax, dword [esp + 0x3c]
mov ecx, 0x1a8
cmp dword [eax], 0xffffffff
mov eax, 0x198
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1004632c
mov esi, dword [ebx + 0x214]
jmp 0x10046332
mov esi, dword [ebx + 0x1d4]
push 0x38
lea eax, [esp + 0x60]
push 0
push eax
call fcn.1006e410
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
test esi, esi
je 0x10046410
xor edi, edi
cmp byte [esi], 0
je 0x100463e3
cmp edi, 0x2f
jge 0x100463e3
push 0
push 0
push esi
call fcn.1007610f
add esp, 0xc
test eax, eax
jne 0x100463c5
push esi
call fcn.10044710
add esp, 4
test eax, eax
jne 0x100463c5
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
je 0x100463b8
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.100790b0
add esp, 0xc
test eax, eax
jne 0x100463f8
or dword [esp + 0x8c], 0x400000
jmp 0x100463cd
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call fcn.1006e570
mov esi, eax
add esp, 8
test esi, esi
je 0x100463e3
add esi, 1
jne 0x10046368
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x78], eax
jmp 0x1004641d
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 0x3b
jmp 0x1004650f
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x28], 0
je 0x10046434
lea eax, [esp + 0x28]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
push ecx
push 0
push 0
push eax
mov eax, dword [0x100b34a0]
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 + 0x28]
test eax, eax
je 0x1004646a
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x100464c1
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.1001b220
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.1002f850
push dword [edi]
call dword [0x100b2004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x100464b3.2146893055
movzx eax, byte [esi + 0x10046558]
jmp dword [eax*4 + 0x1004654c]
mov eax, 0x23
jmp 0x10046512
xor eax, eax
jmp 0x10046512
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3f8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.1002f850
push esi
call fcn.10078327
add esp, 0x10
mov eax, edi
jmp 0x10046512
push str.SSL_versions_not_supported
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 4
jmp 0x1004650f
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [esp + 0x20]
call fcn.1002f850
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006cacc
add esp, 0x1c0
ret