Function at 0x489ff6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x661540]
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 + 0x20], ebx
mov esi, dword [edi + 8]
call fcn.00402cf7
mov ebp, eax
push ebx
push edi
mov dword [esp + 0x54], ebp
call fcn.00405218
xor ebx, ebx
mov dword [esp + 0x2c], 0
add esp, 0xc
mov dword [esp + 0x18], ebx
mov edx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x44], eax
cmp byte [ebp + 0x39], bl
je 0x489f9f
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x489f78
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x489fa4
cmp byte [edx + 0x65], bl
je 0x489f8e
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x489fa4
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x489fa4
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 + 0x4c], esi
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.0040365c
movzx eax, byte [ebp + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x489fef
movzx eax, byte [eax + 0x48ae64]
jmp dword [eax*4 + 0x48ae5c]
push edi
call fcn.00402cf7
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x48a012
cmp edi, 0x10000
jne 0x48a036
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00406479
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x48a093
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x48a045
jmp dword [esi*4 + 0x48ae6c]
or dword [esp + 0x18], 0x80
jmp case.default.0x48a045
or dword [esp + 0x18], 0x200
jmp case.default.0x48a045
or dword [esp + 0x18], 0x800
jmp case.default.0x48a045
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00406479
add esp, 0x14
test al, al
je 0x48a0f3
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x48a040
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3e0]
test ecx, ecx
jne 0x48a0ad
cmp dword [esi + 0x3f4], ebx
je 0x48a6a3
mov edx, dword [esi + 0x3f4]
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], ebx
xor ebp, ebp
mov dword [esp + 0x40], edi
xor ebx, ebx
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], edx
test edx, edx
je 0x48a102
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x48a2be
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x48ae34
push ecx
call fcn.004040fc
mov esi, eax
add esp, 4
test esi, esi
je case.0x48ade8.2146893056
push 0x5c
push esi
call fcn.0040259a
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x48a133
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x48a28a
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a154
mov ebp, 0x10000
jmp 0x48a20e
push edi
push str.LocalMachine
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a171
mov ebp, 0x20000
jmp 0x48a20e
push edi
push str.CurrentService
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a18e
mov ebp, 0x40000
jmp 0x48a20e
push edi
push str.Services
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a1a8
mov ebp, 0x50000
jmp 0x48a20e
push edi
push str.Users
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a1c2
mov ebp, 0x60000
jmp 0x48a20e
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a1dc
mov ebp, 0x70000
jmp 0x48a20e
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a1f6
mov ebp, 0x80000
jmp 0x48a20e
push edi
push str.LocalMachineEnterprise
push esi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48a282
mov ebp, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.0040259a
mov edi, eax
add esp, 8
test edi, edi
jne 0x48a22a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x48a28a
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 0x48a236
sub ecx, edx
cmp ecx, 0x28
je 0x48a24e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x48a28a
push ebx
mov byte [edi], 0
call dword [0x661018]
mov byte [edi], 0x5c
add esp, 4
mov edi, eax
mov dword [esp + 0x40], eax
test edi, edi
jne 0x48a275
mov ecx, dword [esp + 0x18]
lea edi, [eax + 0x1b]
mov dword [esp + 0x18], ecx
jmp 0x48a28f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x48a318
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edi, 0x3a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3e0]
cmp byte [eax], 0
je 0x48adfa
push 0x613e8c
push eax
call fcn.004073dd
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48adfa
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x420]
test eax, eax
je 0x48a304
push 0x61acc8
push eax
call fcn.00405e5c
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x48a304
cmp dword [esp + 0x3c], eax
mov eax, str._memory_blob_
jne 0x48a2f3
mov eax, dword [ecx + 0x3e0]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.00407be9
add esp, 0xc
jmp 0x48a355
mov eax, dword [esp + 0x3c]
test ebx, ebx
jne 0x48a41a
test eax, eax
jne 0x48a41a
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 0x48a370
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.00407be9
push edi
call dword [0x661010]
add esp, 0x18
test esi, esi
je 0x48a649
push esi
call fcn.0040570e
add esp, 4
mov eax, 0x3a
jmp 0x48ae41
push edi
call dword [0x661010]
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 + 0x4c]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x48a3d0
test esi, esi
je 0x48a407
push esi
call fcn.0040570e
add esp, 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x48ae41
push 0
lea eax, [esp + 0x54]
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 0x48a3ff
push esi
call fcn.0040570e
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x48a69b
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x48ae41
xor edi, edi
mov ebp, str._memory_blob_
test eax, eax
jne 0x48a42b
mov ebp, dword [ecx + 0x3e0]
test esi, esi
je 0x48a438
push esi
call fcn.0040570e
add esp, 4
test ebx, ebx
je 0x48a4ad
push 2
xor esi, esi
push esi
push ebx
call fcn.00406271
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x48a552
push ebx
call fcn.0040650a
mov esi, eax
add esp, 4
test esi, esi
jns 0x48a54e
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x48a599
push ebx
push 1
push eax
push esi
call fcn.0040752c
add esp, 0x10
cmp eax, 1
jne 0x48a599
push ebx
call fcn.00403526
add esp, 4
cmp byte [esp + 0x13], 0
je 0x48a5a2
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x430]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x48a4d9
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x48a4d0
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x66100c]
mov esi, eax
add esp, 4
test esi, esi
je 0x48a5f8
test edi, edi
je 0x48a5cb
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x430]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x48a5cd
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00406479
add esp, 0x14
test al, al
lea eax, [esp + 0x34]
je 0x48a5e0
push 0x8000
jmp 0x48a5e2
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x28], eax
test cl, cl
je 0x48a590
push 0
push 0
push ebx
call fcn.00406271
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x48a473
lea eax, [esi + 1]
push eax
call dword [0x66100c]
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
jmp 0x48a477
mov esi, dword [esp + 0x24]
jmp 0x48a47b
push ebx
call fcn.00403526
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3e0]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00407be9
push esi
call dword [0x661010]
add esp, 0x10
mov eax, 0x3a
jmp 0x48ae41
xor eax, eax
cmp eax, edi
jg 0x48a521
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x48a526
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov dword [esp + 0x30], eax
call dword [0x661010]
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x48a609
push ebx
call dword [0x661010]
add esp, 4
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x48a653
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x48a636
push ebp
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.00407be9
add esp, 0xc
lea eax, [ebx + 0x3a]
jmp 0x48ae41
push eax
push ebp
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.00407be9
add esp, 0x10
mov eax, 0x3a
jmp 0x48ae41
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 0x48a69b
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.00407be9
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x48ae41
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x66101c]
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x48a6ee
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.00407be9
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x48a6d7
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x48ade8.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x48ae41
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [ecx]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.00406479
add esp, 0x14
test al, al
je 0x48abe3
push 0x2c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00404007
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.00404007
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x34], xmm0
xor ebp, ebp
movlpd qword [esp + 0x2c], xmm0
test edi, edi
je 0x48ab6b
mov al, 1
mov byte [esp + 0x15], 1
movups xmmword [esp + 0xa8], xmm0
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xb8], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], al
cmp byte [edi], 0
je 0x48a9ca
cmp ebp, 5
jge 0x48a9ca
push 0x3a
push edi
call fcn.0040259a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48a7bc
mov esi, ebx
sub esi, edi
jmp 0x48a7ca
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x48a7c1
sub esi, ecx
cmp esi, 0x1f
ja 0x48a9b2
push esi
lea eax, [esp + 0xac]
push edi
push eax
call fcn.00407022
add esp, 0xc
mov byte [esp + esi + 0xa8], 0
cmp byte [esp + 0x15], 0
je 0x48a838
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a820
test dl, dl
je 0x48a81c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a820
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a800
xor eax, eax
jmp 0x48a825
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48a838
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x48a97a
cmp byte [esp + 0x14], 0
je 0x48a88c
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a870
test dl, dl
je 0x48a86c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a870
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a850
xor eax, eax
jmp 0x48a875
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48a88c
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x48a97e
cmp byte [esp + 0x16], 0
je 0x48a8e0
lea ecx, [esp + 0xa8]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a8c0
test dl, dl
je 0x48a8bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a8c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a8a0
xor eax, eax
jmp 0x48a8c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48a8e0
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x48a982
cmp byte [esp + 0x17], 0
je 0x48a934
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a913
test dl, dl
je 0x48a90f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a913
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a8f3
xor eax, eax
jmp 0x48a918
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48a934
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 0x48a986
cmp byte [esp + 0x13], 0
je 0x48a99a
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48a967
test dl, dl
je 0x48a963
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48a967
add eax, 2
add ecx, 2
test dl, dl
jne 0x48a947
xor eax, eax
jmp 0x48a96c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48a99a
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 0x48a98f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x48a793
jmp 0x48a9da
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.00407be9
mov eax, 0x3b
jmp 0x48ae3e
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.00407be9
mov eax, 0x3b
jmp 0x48ae3e
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x48aa06
test ch, ch
je 0x48aa06
test ah, ah
je 0x48aa06
test dl, dl
je 0x48aa0a
test al, al
je 0x48aa12
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.00407be9
mov eax, 0x3b
jmp 0x48ae3e
test dl, dl
jne 0x48aa12
test al, al
je 0x48aa85
mov dword [esp + 0x34], 0x200020
lea esi, [esp + 0x34]
mov dword [esp + 0x38], str.ChainingModeCCM
mov dword [esp + 0xc8], 2
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], 1
mov dword [esp + 0xcc], 0x80008
mov dword [esp + 0xd0], 0x61affc
cmp dl, al
je 0x48aa7e
test dl, dl
je 0x48aa73
mov dword [esp + 0xdc], 0x80
mov ebp, 1
jmp 0x48aa87
mov dword [esp + 0xe0], 0x40
mov ebp, 1
jmp 0x48aa87
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x48aaaf
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 0x48ab3c
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x2c], 0x200020
sub edx, ebp
mov dword [esp + 0x30], str.ChainingModeGCM
cmp cl, ch
je 0x48aadd
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x48aae2
mov esi, 0x61affc
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 + 0xc8], eax
lea eax, [esp + 0x2c]
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 ah, byte [esp + 0x16]
mov dword [esp + edx*4 + 0xd4], 1
test ah, ah
je 0x48ab6b
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 + 0x18]
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 0x48abd0
lea eax, [esp + 0x20]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x5c]
jmp 0x48ad73
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x58]
push 0x38
push 0
push eax
call fcn.00404007
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 4
mov dword [esp + 0x88], ecx
mov dword [esp + 0x78], eax
test edi, edi
je 0x48ad41
xor ebx, ebx
mov dword [esp + 0x2c], ebx
cmp byte [edi], 0
je 0x48ad18
cmp ebx, 0x2f
jge 0x48ad18
push 0
push 0
push edi
call fcn.004062b2
add esp, 0xc
test eax, eax
jne 0x48acf2
push 0x3a
push edi
call fcn.0040259a
mov esi, eax
add esp, 8
test esi, esi
je 0x48ac5c
sub esi, edi
jmp 0x48ac6a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x48ac61
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x48acb5
mov eax, edx
lea ebp, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48ac80
sub eax, ebp
cmp esi, eax
jne 0x48ac9c
push esi
push edi
push edx
call fcn.0040902f
add esp, 0xc
test eax, eax
je 0x48acaa
mov edx, dword [ebx*8 + 0x61a598]
inc ebx
test edx, edx
jne 0x48ac76
jmp 0x48acb5
mov eax, dword [ebx*8 + 0x61a594]
test eax, eax
jne 0x48acee
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.0040902f
add esp, 0xc
test eax, eax
je 0x48acdd
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.0040902f
add esp, 0xc
test eax, eax
jne 0x48ad29
or dword [esp + 0x88], 0x400000
mov ebx, dword [esp + 0x2c]
jmp 0x48acfe
mov ebx, dword [esp + 0x2c]
mov dword [esp + ebx*4 + 0xc8], eax
inc ebx
mov dword [esp + 0x2c], ebx
push 0x3a
push edi
call fcn.0040259a
mov edi, eax
add esp, 8
test edi, edi
je 0x48ad18
add edi, 1
jne 0x48ac20
lea eax, [esp + 0xc8]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
jmp 0x48ad4e
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.00407be9
mov eax, 0x3b
jmp 0x48ae3e
or ecx, 0x400000
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x48ad65
lea eax, [esp + 0x20]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebx]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x5c]
push ecx
push 0
push 0
push eax
mov eax, dword [0x664a28]
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 0x48ad9f
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x48adf6
push 0x100
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.00403387
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.00407be9
push dword [ebx]
call dword [0x661010]
add esi, 0x7ff6fd00
mov dword [ebx], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x48ade8.2146893055
movzx eax, byte [esi + 0x48ae88]
jmp dword [eax*4 + 0x48ae7c]
mov eax, 0x23
jmp 0x48ae41
xor eax, eax
jmp 0x48ae41
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3e0]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.00407be9
push esi
call fcn.0040570e
add esp, 0x10
mov eax, edi
jmp 0x48ae41
push str.SSL_versions_not_supported
push esi
call fcn.00407be9
mov eax, 4
jmp 0x48ae3e
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.00407be9
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403eb3
add esp, 0x1bc
ret