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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x508040]
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.0046c8d0
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x58], ebx
call fcn.0046c8b0
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 0x487382
cmp byte [edx + 0x63], 0
mov cl, byte [eax + 0x48]
je 0x48735a
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x487387
cmp byte [edx + 0x65], 0
je 0x487371
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x487387
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x487387
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.004728b0
mov eax, dword [ebx]
add esp, 8
cmp eax, 7
ja case.default.0x4873d1
movzx eax, byte [eax + 0x488224]
jmp dword [eax*4 + 0x48821c]
push edi
call fcn.0046c8d0
add esp, 4
mov edi, dword [eax + 4]
mov esi, dword [eax]
test edi, edi
je 0x4873f2
cmp edi, 0x10000
jne 0x487416
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0049ec30
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x487473
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x487425
jmp dword [esi*4 + 0x48822c]
or dword [esp + 0x18], 0x80
jmp case.default.0x487425
or dword [esp + 0x18], 0x200
jmp case.default.0x487425
or dword [esp + 0x18], 0x800
jmp case.default.0x487425
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0049ec30
add esp, 0x14
test al, al
je 0x4874ab
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x487420
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3f8]
test ecx, ecx
jne 0x4874ba
cmp dword [esi + 0x40c], ebp
je 0x487ac8
mov eax, dword [esi + 0x40c]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x3c], edx
xor ebx, ebx
mov dword [esp + 0x30], eax
xor esi, esi
jmp 0x4874e2
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x4881f5
mov eax, dword [esi + 0x40c]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x3c], edx
xor ebx, ebx
mov dword [esp + 0x28], edx
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x4874fc
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 0x4876d4
push ecx
call fcn.004c7b2c
mov esi, eax
add esp, 4
test esi, esi
je case.0x4881a7.2146893056
push 0x5c
push esi
call fcn.004b23d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x48752d
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x4876a1
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x48754e
mov edi, 0x10000
jmp 0x48760c
push edi
push str.LocalMachine
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x48756b
mov edi, 0x20000
jmp 0x48760c
push edi
push str.CurrentService
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x487588
mov edi, 0x40000
jmp 0x48760c
push edi
push str.Services
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x4875a2
mov edi, 0x50000
jmp 0x48760c
push edi
push str.Users
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x4875bc
mov edi, 0x60000
jmp 0x48760c
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x4875d6
mov edi, 0x70000
jmp 0x48760c
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x4875f0
mov edi, 0x80000
jmp 0x48760c
push edi
push str.LocalMachineEnterprise
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x487697
mov edi, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.004b23d0
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x48762c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x4876a1
lea eax, [edx + 1]
mov ecx, eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487640
sub ecx, dword [esp + 0x20]
cmp ecx, 0x28
je 0x48765a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x4876a1
push ebx
mov byte [edx], 0
call dword [0x50800c]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov byte [eax], 0x5c
test ebx, ebx
jne 0x48768a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x18], ecx
jmp 0x4876a9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x487732
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 + 0x3f8]
cmp byte [eax], 0
je 0x4881b9
push 0x4f58d4
push eax
call fcn.004841d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4881b9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x430]
test eax, eax
je 0x48771a
push 0x4e6538
push eax
call fcn.00478c70
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x48771a
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x487709
mov eax, dword [ecx + 0x3f8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.004727e0
add esp, 0xc
jmp 0x48776f
mov eax, dword [esp + 0x30]
test ebx, ebx
jne 0x487833
test eax, eax
jne 0x487833
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 0x48778a
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.004727e0
push ebx
call dword [0x508004]
add esp, 0x18
test esi, esi
je 0x487a6b
push esi
call fcn.004ba650
add esp, 4
mov eax, 0x3a
jmp 0x488202
push ebx
call dword [0x508004]
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 + 0x54]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4877ea
test esi, esi
je 0x4877d7
push esi
call fcn.004ba650
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x488202
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 0x487819
push esi
call fcn.004ba650
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x487ac0
push eax
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x488202
xor edi, edi
test eax, eax
je 0x487843
mov dword [esp + 0x20], str._memory_blob_
jmp 0x48784d
mov eax, dword [ecx + 0x3f8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x48785a
push esi
call fcn.004ba650
add esp, 4
test ebx, ebx
je 0x4878cf
push 2
xor esi, esi
push esi
push ebx
call fcn.004b6e4f
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x487974
push ebx
call fcn.004b62fb
mov esi, eax
add esp, 4
test esi, esi
jns 0x487970
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test esi, esi
je 0x4879bb
push ebx
push 1
push eax
push esi
call fcn.004ba829
add esp, 0x10
cmp eax, 1
jne 0x4879bb
push ebx
call fcn.004b6af4
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4879c4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x440]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x4878fb
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4878f2
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x487a18
test edi, edi
je 0x4879ed
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 0x4879ef
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.0049ec30
add esp, 0x14
test al, al
lea eax, [esp + 0x34]
je 0x487a02
push 0x8000
jmp 0x487a04
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x2c], eax
test cl, cl
je 0x4879b2
push 0
push 0
push ebx
call fcn.004b6e4f
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x487895
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x487899
mov esi, dword [esp + 0x28]
jmp 0x48789d
push ebx
call fcn.004b6af4
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.004727e0
push esi
call dword [0x508004]
add esp, 0x10
mov eax, 0x3a
jmp 0x488202
xor eax, eax
cmp eax, edi
jg 0x487943
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x487948
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x508004]
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x487a29
push ebx
call dword [0x508004]
add esp, 4
test ebp, ebp
jne 0x487a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x487a55
push dword [esp + 0x20]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.004727e0
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x488202
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.004727e0
add esp, 0x10
mov eax, 0x3a
jmp 0x488202
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 0x487ac0
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.004727e0
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x488202
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x508010]
mov edi, dword [esp + 0x50]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x487b13
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.004727e0
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x487afc
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x4881a7.2146893056
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x488202
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [edi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebp
call fcn.0049ec30
add esp, 0x14
test al, al
je 0x488016
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004b25e0
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.004b25e0
mov edi, dword [ebx + 0x1c]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x34], xmm0
xor ebp, ebp
movlpd qword [esp + 0x3c], xmm0
test edi, edi
je 0x487f9b
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 0x487dfa
cmp ebp, 5
jge 0x487dfa
push 0x3a
push edi
call fcn.004b23d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x487be9
mov esi, ebx
sub esi, edi
jmp 0x487bf9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x487bf0
sub esi, ecx
cmp esi, 0x1f
ja 0x487de2
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.004ba090
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x487c68
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487c50
test dl, dl
je 0x487c4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487c50
add eax, 2
add ecx, 2
test dl, dl
jne 0x487c30
xor eax, eax
jmp 0x487c55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487c68
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x487daa
cmp byte [esp + 0x14], 0
je 0x487cbc
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 0x487ca0
test dl, dl
je 0x487c9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487ca0
add eax, 2
add ecx, 2
test dl, dl
jne 0x487c80
xor eax, eax
jmp 0x487ca5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487cbc
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x487dae
cmp byte [esp + 0x16], 0
je 0x487d10
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487cf0
test dl, dl
je 0x487cec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487cf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x487cd0
xor eax, eax
jmp 0x487cf5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487d10
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x487db2
cmp byte [esp + 0x17], 0
je 0x487d64
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487d43
test dl, dl
je 0x487d3f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487d43
add eax, 2
add ecx, 2
test dl, dl
jne 0x487d23
xor eax, eax
jmp 0x487d48
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487d64
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 0x487db6
cmp byte [esp + 0x13], 0
je 0x487dca
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487d97
test dl, dl
je 0x487d93
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487d97
add eax, 2
add ecx, 2
test dl, dl
jne 0x487d77
xor eax, eax
jmp 0x487d9c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x487dca
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 0x487dbf
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x487bc0
jmp 0x487e0a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.004727e0
mov eax, 0x3b
jmp 0x4881ff
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.004727e0
mov eax, 0x3b
jmp 0x4881ff
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x487e36
test ch, ch
je 0x487e36
test ah, ah
je 0x487e36
test dl, dl
je 0x487e3a
test al, al
je 0x487e42
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.004727e0
mov eax, 0x3b
jmp 0x4881ff
test dl, dl
jne 0x487e42
test al, al
je 0x487eb5
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], 0x4e67f4
cmp dl, al
je 0x487eae
test dl, dl
je 0x487ea3
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x487eb7
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x487eb7
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x487edf
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 0x487f6c
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x3c], 0x200020
sub edx, ebp
mov dword [esp + 0x40], str.ChainingModeGCM
cmp cl, ch
je 0x487f0d
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x487f12
mov esi, 0x4e67f4
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 + 0x3c]
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 0x487f9b
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 0x488003
lea eax, [esp + 0x24]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x48]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x488132
mov esi, dword [ebx + 0x18]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call fcn.004b25e0
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 esi, esi
je 0x488104
xor edi, edi
nop
cmp byte [esi], 0
je 0x4880d7
cmp edi, 0x2f
jge 0x4880d7
push 0
push 0
push esi
call fcn.004c0d67
add esp, 0xc
test eax, eax
jne 0x4880b5
push esi
call fcn.00486510
add esp, 4
test eax, eax
jne 0x4880b5
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
je 0x4880a8
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.004bf420
add esp, 0xc
test eax, eax
jne 0x4880ec
or dword [esp + 0x8c], 0x400000
jmp 0x4880bd
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call fcn.004b23d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4880d7
add esi, 1
jne 0x488050
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x78], eax
jmp 0x488111
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.004727e0
mov eax, 0x3b
jmp 0x4881ff
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x24], 0
je 0x488128
lea eax, [esp + 0x24]
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 [0x57dc80]
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 0x48815e
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x4881b5
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.0045e1d0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.004727e0
push dword [edi]
call dword [0x508004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x4881a7.2146893055
movzx eax, byte [esi + 0x488248]
jmp dword [eax*4 + 0x48823c]
mov eax, 0x23
jmp 0x488202
xor eax, eax
jmp 0x488202
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.004727e0
push esi
call fcn.004ba650
mov eax, dword [esp + 0x30]
add esp, 0x10
jmp 0x488202
push str.SSL_versions_not_supported
push esi
call fcn.004727e0
mov eax, 4
jmp 0x4881ff
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.004727e0
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004af2b0
add esp, 0x1c0
ret