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

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x100ce350]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1d0]
push edi
mov dword [esp + 0x1c], ebx
mov esi, dword [edi + 8]
call fcn.10038590
push ebx
push edi
mov dword [esp + 0x3c], eax
call fcn.10038570
mov dword [esp + 0x2c], 0
mov ebx, eax
mov eax, dword [esi + 0x18]
xor ebp, ebp
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], eax
cmp byte [esi + 0x39], 0
je 0x100530c4
cmp byte [ebx + 0x63], 0
mov dl, byte [eax + 0x48]
je 0x1005309c
test dl, dl
mov ecx, 0x1808
mov eax, 0x1820
cmove ecx, eax
jmp 0x100530c9
cmp byte [ebx + 0x65], 0
je 0x100530b3
test dl, dl
mov ecx, 0x1a08
mov eax, 0x1a20
cmove ecx, eax
jmp 0x100530c9
test dl, dl
mov ecx, 0x208
mov eax, 0x220
cmove ecx, eax
jmp 0x100530c9
mov ecx, 0x1808
mov eax, ecx
or eax, 4
cmp byte [esi + 0x3a], 0
mov esi, dword [esp + 0x18]
cmovne eax, ecx
mov cl, byte [ebx + 0x67]
mov edx, eax
or edx, 0x10
test cl, cl
cmovne edx, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [esp + 0x4c], edx
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, edx
push eax
push esi
call fcn.1003e6b0
mov ebx, dword [esp + 0x38]
add esp, 8
movzx eax, byte [ebx + 0x38]
cmp eax, 7
ja case.default.0x10053119
movzx eax, byte [eax + 0x10053f28]
jmp dword [eax*4 + 0x10053f20]
push edi
call fcn.10038590
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x1005313c
cmp edi, 0x10000
jne 0x10053160
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1006ed20
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x100531c3
add esi, 0xfffffffc
nop word [eax + eax]
cmp esi, 3
ja case.default.0x10053175
jmp dword [esi*4 + 0x10053f30]
or dword [esp + 0x1c], 0x80
jmp case.default.0x10053175
or dword [esp + 0x1c], 0x200
jmp case.default.0x10053175
or dword [esp + 0x1c], 0x800
jmp case.default.0x10053175
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1006ed20
add esp, 0x14
test al, al
je 0x10053215
or dword [esp + 0x1c], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x10053170
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x3d8]
test eax, eax
jne 0x100531dd
cmp dword [edx + 0x3ec], ebp
je 0x100537b1
mov ecx, dword [edx + 0x3ec]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x24], ebx
xor ebp, ebp
mov dword [esp + 0x40], ebx
xor esi, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x10053231
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
jmp 0x10053406
mov ecx, dword [esp + 0x18]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
call fcn.1003e5e0
add esp, 8
mov eax, 0x23
jmp 0x10053f06
push eax
call fcn.1004f9c0
mov esi, eax
add esp, 4
test esi, esi
je 0x100537f5
push 0x5c
push esi
call fcn.1007f0cb
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x1005339d
mov edi, eax
sub edi, esi
sar edi, 1
push edi
push str.CurrentUser
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x1005327e
mov ebx, 0x10000
jmp 0x10053338
push edi
push str.LocalMachine
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x1005329b
mov ebx, 0x20000
jmp 0x10053338
push edi
push str.CurrentService
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x100532b8
mov ebx, 0x40000
jmp 0x10053338
push edi
push str.Services
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x100532d2
mov ebx, 0x50000
jmp 0x10053338
push edi
push str.Users
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x100532ec
mov ebx, 0x60000
jmp 0x10053338
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x10053306
mov ebx, 0x70000
jmp 0x10053338
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x10053320
mov ebx, 0x80000
jmp 0x10053338
push edi
push str.LocalMachineEnterprise
push esi
call fcn.1008ec93
add esp, 0xc
test eax, eax
jne 0x1005339d
mov ebx, 0x90000
mov eax, dword [esp + 0x28]
add eax, 2
push 0x5c
push eax
mov dword [esp + 0x30], eax
call fcn.1007f0cb
mov edi, eax
add esp, 8
test edi, edi
je 0x1005339d
lea eax, [edi + 2]
mov ecx, eax
mov dword [esp + 0x40], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053360
sub ecx, edx
sar ecx, 1
cmp ecx, 0x28
jne 0x1005339d
push dword [esp + 0x28]
xor eax, eax
mov word [edi], ax
call dword [0x100ce014]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], edx
mov eax, 0x5c
mov word [edi], ax
test edx, edx
jne 0x100533ee
lea edi, [edx + 0x1b]
jmp 0x100533a2
mov edi, 0x3a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3d8]
cmp byte [eax], 0
je 0x100533c9
push 0x100a842c
push eax
call fcn.1004fae0
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x100533f0
mov eax, dword [esp + 0x18]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.1003e5e0
push esi
call fcn.10081d23
add esp, 0x10
mov eax, edi
jmp 0x10053f06
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x100536bb
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x418]
test eax, eax
je 0x1005344f
push 0x100b2928
push eax
call fcn.100421b0
add esp, 8
test eax, eax
jne 0x1005344b
mov eax, str._memory_blob_
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x48], ebp
jne 0x10053437
mov eax, dword [ecx + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.1003e5e0
add esp, 0xc
jmp 0x100536fb
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test edi, edi
jne 0x1005345f
test eax, eax
je 0x100536bb
xor edi, edi
test eax, eax
je 0x1005346f
mov dword [esp + 0x24], str._memory_blob_
jmp 0x10053479
mov eax, dword [edx + 0x3d8]
mov dword [esp + 0x24], eax
test esi, esi
je 0x10053486
push esi
call fcn.10081d23
add esp, 4
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x1005355a
push 2
push 0
push ebx
call fcn.10082b3a
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x17], cl
test eax, eax
jne 0x100534bb
push ebx
call fcn.10089cb1
mov cl, byte [esp + 0x1b]
add esp, 4
jmp 0x100534bd
xor eax, eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
test eax, eax
movzx ecx, cl
cmovns ebx, ecx
cmovns esi, eax
test bl, bl
je 0x100534fe
push 0
push 0
push dword [esp + 0x34]
call fcn.10082b3a
add esp, 0xc
test eax, eax
sete bl
test bl, bl
je 0x100534fe
lea eax, [esi + 1]
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x10053502
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1005351b
push dword [esp + 0x2c]
push 1
push esi
push eax
call fcn.10083018
add esp, 0x10
cmp eax, 1
je 0x1005351d
xor bl, bl
push dword [esp + 0x2c]
call fcn.1008335c
add esp, 4
test bl, bl
jne 0x1005355e
mov eax, dword [esp + 0x18]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.1003e5e0
mov ebx, dword [esp + 0x44]
push ebx
call dword [0x100ce004]
add esp, 0x10
mov eax, 0x3a
jmp 0x10053f06
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov eax, dword [ecx + 0x428]
test eax, eax
je 0x10053589
mov edi, eax
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10053580
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x1005360f
test edi, edi
je 0x100535eb
mov eax, dword [esp + 0x18]
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 0x100535ed
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.1006ed20
add esp, 0x14
test al, al
lea eax, [esp + 0x40]
je 0x100535f9
push 0x8000
jmp 0x100535fb
xor eax, eax
cmp eax, edi
jg 0x100535c5
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100535ca
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x100ce004]
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x10053620
push ebx
call dword [0x100ce004]
add esp, 4
test ebp, ebp
jne 0x1005366c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x1005364c
push dword [esp + 0x24]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x20]
call fcn.1003e5e0
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x10053f06
push eax
push dword [esp + 0x28]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x24]
call fcn.1003e5e0
add esp, 0x10
mov eax, 0x3a
jmp 0x10053f06
push 0
push 0
push 0
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100537ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x28]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x24]
call fcn.1003e5e0
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10053f06
mov edi, dword [esp + 0x24]
mov eax, ebx
push edi
or eax, 0x4000
push eax
push 0
push 0
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebp, eax
test ebp, ebp
jne 0x10053712
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.1003e5e0
push edi
call dword [0x100ce004]
add esp, 0x18
test esi, esi
je 0x10053708
push esi
call fcn.10081d23
add esp, 4
mov eax, 0x3a
jmp 0x10053f06
push edi
call dword [0x100ce004]
add esp, 4
mov dword [esp + 0x50], 0x14
lea eax, [esp + 0x90]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push 0
push 0
push eax
lea eax, [esp + 0x9c]
push eax
push 4
push 0x28
push dword [esp + 0x58]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x10053776
test esi, esi
je 0x100536a8
push esi
call fcn.10081d23
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10053f06
push 0
lea eax, [esp + 0x54]
push eax
push 0x10000
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test esi, esi
je 0x100537a5
push esi
call fcn.10081d23
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x100536a8
mov ebx, dword [esp + 0x30]
push 0x20
push 1
call dword [0x100ce010]
mov esi, dword [esp + 0x44]
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x100537ff
push str.schannel:_unable_to_allocate_memory
push dword [esp + 0x1c]
call fcn.1003e5e0
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x100537e8
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je 0x100537f5
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x10053f06
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [esi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebp
call fcn.1006ed20
add esp, 0x14
test al, al
je 0x10053cd2
push 0x2c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1007eb10
push 0x70
xorps xmm0, xmm0
lea eax, [esp + 0xd8]
push 0
push eax
movups xmmword [esp + 0xa8], xmm0
movq qword [esp + 0xb8], xmm0
call fcn.1007eb10
mov edi, dword [ebx + 0x14]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x40], xmm0
xor ebp, ebp
movlpd qword [esp + 0x30], xmm0
test edi, edi
je 0x10053c5e
mov al, 1
mov byte [esp + 0x13], 1
movups xmmword [esp + 0xa8], xmm0
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xb8], xmm0
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], al
cmp byte [edi], 0
je 0x10053ada
cmp ebp, 5
jge 0x10053ada
push 0x3a
push edi
call fcn.1007e970
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100538cd
mov esi, ebx
sub esi, edi
jmp 0x100538db
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100538d2
sub esi, ecx
cmp esi, 0x1f
ja 0x10053ac2
push esi
lea eax, [esp + 0xac]
push edi
push eax
call fcn.1008b240
add esp, 0xc
mov byte [esp + esi + 0xa8], 0
cmp byte [esp + 0x13], 0
je 0x10053949
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053931
test dl, dl
je 0x1005392d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053931
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053911
xor eax, eax
jmp 0x10053936
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10053949
mov al, byte [esp + 0x17]
xor ah, ah
mov byte [esp + 0x13], ah
jmp 0x10053a8a
cmp byte [esp + 0x14], 0
je 0x1005399c
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053980
test dl, dl
je 0x1005397c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053980
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053960
xor eax, eax
jmp 0x10053985
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005399c
mov al, byte [esp + 0x17]
xor ch, ch
mov ah, byte [esp + 0x13]
mov byte [esp + 0x14], ch
jmp 0x10053a8e
cmp byte [esp + 0x15], 0
je 0x100539f0
lea ecx, [esp + 0xa8]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100539d0
test dl, dl
je 0x100539cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100539d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100539b0
xor eax, eax
jmp 0x100539d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100539f0
mov al, byte [esp + 0x17]
xor dl, dl
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x13]
mov byte [esp + 0x15], dl
jmp 0x10053a92
cmp byte [esp + 0x16], 0
je 0x10053a44
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053a23
test dl, dl
je 0x10053a1f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053a23
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053a03
xor eax, eax
jmp 0x10053a28
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10053a44
mov al, byte [esp + 0x17]
xor cl, cl
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x13]
mov dl, byte [esp + 0x15]
mov byte [esp + 0x16], cl
jmp 0x10053a96
cmp byte [esp + 0x17], 0
je 0x10053aaa
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053a77
test dl, dl
je 0x10053a73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053a77
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053a57
xor eax, eax
jmp 0x10053a7c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10053aaa
mov ah, byte [esp + 0x13]
xor al, al
mov byte [esp + 0x17], al
mov ch, byte [esp + 0x14]
mov dl, byte [esp + 0x15]
mov cl, byte [esp + 0x16]
mov edi, ebx
test ebx, ebx
je 0x10053a9f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x100538a4
jmp 0x10053aea
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x1c]
call fcn.1003e5e0
mov eax, 0x3b
jmp 0x10053f03
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x1c]
call fcn.1003e5e0
mov eax, 0x3b
jmp 0x10053f03
mov dl, byte [esp + 0x15]
mov ah, byte [esp + 0x13]
mov ch, byte [esp + 0x14]
mov cl, byte [esp + 0x16]
test ah, ah
je 0x10053b16
test ch, ch
je 0x10053b16
test dl, dl
je 0x10053b16
test cl, cl
je 0x10053b1a
test al, al
je 0x10053b16
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x1c]
call fcn.1003e5e0
mov eax, 0x3b
jmp 0x10053f03
test cl, cl
jne 0x10053b1e
test al, al
je 0x10053b91
mov dword [esp + 0x40], 0x200020
lea edx, [esp + 0x40]
mov dword [esp + 0x44], str.ChainingModeCCM
mov dword [esp + 0xc8], 2
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd4], 1
mov dword [esp + 0xcc], 0x80008
mov dword [esp + 0xd0], 0x100b2be4
cmp cl, al
je 0x10053b8a
test cl, cl
je 0x10053b7f
mov dword [esp + 0xdc], 0x80
mov ebp, 1
jmp 0x10053b93
mov dword [esp + 0xe0], 0x40
mov ebp, 1
jmp 0x10053b93
xor ebp, ebp
test ah, ah
jne 0x10053b9f
test ch, ch
je 0x10053c28
lea edx, [ebp*8]
mov dword [esp + 0x30], 0x200020
sub edx, ebp
mov dword [esp + 0x34], str.ChainingModeGCM
cmp ah, ch
je 0x10053bcd
test ah, ah
mov esi, str.SHA384
mov edi, str.SHA256
cmove esi, edi
jmp 0x10053bd2
mov esi, 0x100b2be4
mov bl, byte [esp + 0x13]
xor eax, eax
cmp bl, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp bl, byte [esp + 0x14]
setne al
add eax, 2
inc ebp
mov dword [esp + edx*4 + 0xc8], eax
lea eax, [esp + 0x30]
mov word [esp + edx*4 + 0xcc], cx
mov word [esp + edx*4 + 0xce], cx
mov dword [esp + edx*4 + 0xd0], esi
mov dword [esp + edx*4 + 0xd8], eax
mov dword [esp + edx*4 + 0xd4], 1
cmp byte [esp + 0x15], 0
mov esi, dword [esp + 0x3c]
je 0x10053c5e
lea eax, [ebp*8]
sub eax, ebp
inc ebp
mov dword [esp + eax*4 + 0xc8], 2
mov dword [esp + eax*4 + 0xcc], 0x240024
mov dword [esp + eax*4 + 0xd0], str.CHACHA20_POLY1305
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xc8]
mov dword [esp + 0xa0], eax
or ecx, 0x400000
cmp dword [esp + 0x20], 0
lea eax, [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
not eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x7c], 1
mov dword [esp + 0x58], 5
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], eax
je 0x10053cc3
lea eax, [esp + 0x20]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov ecx, dword [esi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x5c]
jmp 0x10053e63
mov edi, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push 0x38
push 0
push eax
call fcn.1007eb10
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], 4
mov dword [esp + 0x88], ecx
mov dword [esp + 0x78], eax
test edi, edi
je 0x10053e35
xor ebx, ebx
mov dword [esp + 0x30], ebx
nop
cmp byte [edi], 0
je 0x10053e08
cmp ebx, 0x2f
jge 0x10053e08
push 0
push 0
push edi
call fcn.10085ff4
add esp, 0xc
test eax, eax
jne 0x10053de2
push 0x3a
push edi
call fcn.1007e970
mov esi, eax
add esp, 8
test esi, esi
je 0x10053d4c
sub esi, edi
jmp 0x10053d5a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10053d51
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x10053da5
mov eax, edx
lea ebp, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053d70
sub eax, ebp
cmp esi, eax
jne 0x10053d8c
push esi
push edi
push edx
call fcn.10089e70
add esp, 0xc
test eax, eax
je 0x10053d9a
mov edx, dword [ebx*8 + 0x100b2260]
inc ebx
test edx, edx
jne 0x10053d66
jmp 0x10053da5
mov eax, dword [ebx*8 + 0x100b225c]
test eax, eax
jne 0x10053dde
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.10089e70
add esp, 0xc
test eax, eax
je 0x10053dcd
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.10089e70
add esp, 0xc
test eax, eax
jne 0x10053e1d
or dword [esp + 0x88], 0x400000
mov ebx, dword [esp + 0x30]
jmp 0x10053dee
mov ebx, dword [esp + 0x30]
mov dword [esp + ebx*4 + 0xc8], eax
inc ebx
mov dword [esp + 0x30], ebx
push 0x3a
push edi
call fcn.1007e970
mov edi, eax
add esp, 8
test edi, edi
je 0x10053e08
add edi, 1
jne 0x10053d10
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xc8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
jmp 0x10053e42
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x1c]
call fcn.1003e5e0
mov eax, 0x3b
jmp 0x10053f03
or ecx, 0x400000
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x10053e59
lea eax, [esp + 0x20]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], eax
mov ecx, dword [esi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x5c]
push ecx
push 0
push 0
push eax
mov eax, dword [0x100e3008]
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 0x10053e8f
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x10053edd
push 0x100
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.1004fbd0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x2c]
call fcn.1003e5e0
mov edi, dword [esp + 0x54]
push dword [edi]
call dword [0x100ce004]
add esp, 0x1c
mov dword [edi], 0
cmp esi, 0x80090300
je 0x100537f5
mov eax, 0x23
jmp 0x10053f06
xor eax, eax
jmp 0x10053f06
push str.SSL_versions_not_supported
push esi
call fcn.1003e5e0
mov eax, 4
jmp 0x10053f03
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.1003e5e0
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007c2ab
add esp, 0x1bc
ret