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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x4f7040]
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.00460d60
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x58], ebx
call fcn.00460d40
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 0x47b832
cmp byte [edx + 0x63], 0
mov cl, byte [eax + 0x48]
je 0x47b80a
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x47b837
cmp byte [edx + 0x65], 0
je 0x47b821
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x47b837
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x47b837
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.00466d40
mov eax, dword [ebx]
add esp, 8
cmp eax, 7
ja case.default.0x47b881
movzx eax, byte [eax + 0x47c6d4]
jmp dword [eax*4 + 0x47c6cc]
push edi
call fcn.00460d60
add esp, 4
mov edi, dword [eax + 4]
mov esi, dword [eax]
test edi, edi
je 0x47b8a2
cmp edi, 0x10000
jne 0x47b8c6
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004930e0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x47b923
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x47b8d5
jmp dword [esi*4 + 0x47c6dc]
or dword [esp + 0x18], 0x80
jmp case.default.0x47b8d5
or dword [esp + 0x18], 0x200
jmp case.default.0x47b8d5
or dword [esp + 0x18], 0x800
jmp case.default.0x47b8d5
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004930e0
add esp, 0x14
test al, al
je 0x47b95b
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x47b8d0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3f8]
test ecx, ecx
jne 0x47b96a
cmp dword [esi + 0x40c], ebp
je 0x47bf78
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 0x47b992
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x47c6a5
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 0x47b9ac
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 0x47bb84
push ecx
call fcn.004bb618
mov esi, eax
add esp, 4
test esi, esi
je case.0x47c657.2146893056
push 0x5c
push esi
call fcn.004a6500
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47b9dd
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x47bb51
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47b9fe
mov edi, 0x10000
jmp 0x47babc
push edi
push str.LocalMachine
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47ba1b
mov edi, 0x20000
jmp 0x47babc
push edi
push str.CurrentService
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47ba38
mov edi, 0x40000
jmp 0x47babc
push edi
push str.Services
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47ba52
mov edi, 0x50000
jmp 0x47babc
push edi
push str.Users
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47ba6c
mov edi, 0x60000
jmp 0x47babc
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47ba86
mov edi, 0x70000
jmp 0x47babc
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47baa0
mov edi, 0x80000
jmp 0x47babc
push edi
push str.LocalMachineEnterprise
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47bb47
mov edi, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.004a6500
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x47badc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x47bb51
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 0x47baf0
sub ecx, dword [esp + 0x20]
cmp ecx, 0x28
je 0x47bb0a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x47bb51
push ebx
mov byte [edx], 0
call dword [0x4f700c]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov byte [eax], 0x5c
test ebx, ebx
jne 0x47bb3a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x18], ecx
jmp 0x47bb59
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x47bbe2
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 0x47c669
push 0x4e7d8c
push eax
call fcn.00478680
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47c669
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x430]
test eax, eax
je 0x47bbca
push 0x4d84c0
push eax
call fcn.0046d120
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x47bbca
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x47bbb9
mov eax, dword [ecx + 0x3f8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.00466c70
add esp, 0xc
jmp 0x47bc1f
mov eax, dword [esp + 0x30]
test ebx, ebx
jne 0x47bce3
test eax, eax
jne 0x47bce3
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 0x47bc3a
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.00466c70
push ebx
call dword [0x4f7004]
add esp, 0x18
test esi, esi
je 0x47bf1b
push esi
call fcn.004ae469
add esp, 4
mov eax, 0x3a
jmp 0x47c6b2
push ebx
call dword [0x4f7004]
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 0x47bc9a
test esi, esi
je 0x47bc87
push esi
call fcn.004ae469
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x47c6b2
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 0x47bcc9
push esi
call fcn.004ae469
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x47bf70
push eax
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x47c6b2
xor edi, edi
test eax, eax
je 0x47bcf3
mov dword [esp + 0x20], str._memory_blob_
jmp 0x47bcfd
mov eax, dword [ecx + 0x3f8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x47bd0a
push esi
call fcn.004ae469
add esp, 4
test ebx, ebx
je 0x47bd7f
push 2
xor esi, esi
push esi
push ebx
call fcn.004aad71
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x47be24
push ebx
call fcn.004aa3d4
mov esi, eax
add esp, 4
test esi, esi
jns 0x47be20
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test esi, esi
je 0x47be6b
push ebx
push 1
push eax
push esi
call fcn.004ae65d
add esp, 0x10
cmp eax, 1
jne 0x47be6b
push ebx
call fcn.004aaa1e
add esp, 4
cmp byte [esp + 0x13], 0
je 0x47be74
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 0x47bdab
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x47bda2
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x47bec8
test edi, edi
je 0x47be9d
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 0x47be9f
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.004930e0
add esp, 0x14
test al, al
lea eax, [esp + 0x34]
je 0x47beb2
push 0x8000
jmp 0x47beb4
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x2c], eax
test cl, cl
je 0x47be62
push 0
push 0
push ebx
call fcn.004aad71
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x47bd45
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x47bd49
mov esi, dword [esp + 0x28]
jmp 0x47bd4d
push ebx
call fcn.004aaa1e
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.00466c70
push esi
call dword [0x4f7004]
add esp, 0x10
mov eax, 0x3a
jmp 0x47c6b2
xor eax, eax
cmp eax, edi
jg 0x47bdf3
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x47bdf8
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x4f7004]
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x47bed9
push ebx
call dword [0x4f7004]
add esp, 4
test ebp, ebp
jne 0x47bf25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x47bf05
push dword [esp + 0x20]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.00466c70
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x47c6b2
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.00466c70
add esp, 0x10
mov eax, 0x3a
jmp 0x47c6b2
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 0x47bf70
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.00466c70
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x47c6b2
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x4f7010]
mov edi, dword [esp + 0x50]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x47bfc3
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.00466c70
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x47bfac
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x47c657.2146893056
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x47c6b2
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.004930e0
add esp, 0x14
test al, al
je 0x47c4c6
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004a6710
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.004a6710
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 0x47c44b
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 0x47c2aa
cmp ebp, 5
jge 0x47c2aa
push 0x3a
push edi
call fcn.004a6500
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47c099
mov esi, ebx
sub esi, edi
jmp 0x47c0a9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x47c0a0
sub esi, ecx
cmp esi, 0x1f
ja 0x47c292
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.004adea0
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x47c118
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47c100
test dl, dl
je 0x47c0fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47c100
add eax, 2
add ecx, 2
test dl, dl
jne 0x47c0e0
xor eax, eax
jmp 0x47c105
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47c118
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x47c25a
cmp byte [esp + 0x14], 0
je 0x47c16c
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 0x47c150
test dl, dl
je 0x47c14c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47c150
add eax, 2
add ecx, 2
test dl, dl
jne 0x47c130
xor eax, eax
jmp 0x47c155
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47c16c
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x47c25e
cmp byte [esp + 0x16], 0
je 0x47c1c0
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47c1a0
test dl, dl
je 0x47c19c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47c1a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x47c180
xor eax, eax
jmp 0x47c1a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47c1c0
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x47c262
cmp byte [esp + 0x17], 0
je 0x47c214
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47c1f3
test dl, dl
je 0x47c1ef
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47c1f3
add eax, 2
add ecx, 2
test dl, dl
jne 0x47c1d3
xor eax, eax
jmp 0x47c1f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47c214
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 0x47c266
cmp byte [esp + 0x13], 0
je 0x47c27a
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47c247
test dl, dl
je 0x47c243
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47c247
add eax, 2
add ecx, 2
test dl, dl
jne 0x47c227
xor eax, eax
jmp 0x47c24c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47c27a
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 0x47c26f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x47c070
jmp 0x47c2ba
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.00466c70
mov eax, 0x3b
jmp 0x47c6af
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.00466c70
mov eax, 0x3b
jmp 0x47c6af
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x47c2e6
test ch, ch
je 0x47c2e6
test ah, ah
je 0x47c2e6
test dl, dl
je 0x47c2ea
test al, al
je 0x47c2f2
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.00466c70
mov eax, 0x3b
jmp 0x47c6af
test dl, dl
jne 0x47c2f2
test al, al
je 0x47c365
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], 0x4d877c
cmp dl, al
je 0x47c35e
test dl, dl
je 0x47c353
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x47c367
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x47c367
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x47c38f
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 0x47c41c
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 0x47c3bd
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x47c3c2
mov esi, 0x4d877c
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 0x47c44b
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 0x47c4b3
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 0x47c5e2
mov esi, dword [ebx + 0x18]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call fcn.004a6710
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 0x47c5b4
xor edi, edi
nop
cmp byte [esi], 0
je 0x47c587
cmp edi, 0x2f
jge 0x47c587
push 0
push 0
push esi
call fcn.004b4a2d
add esp, 0xc
test eax, eax
jne 0x47c565
push esi
call fcn.0047a9c0
add esp, 4
test eax, eax
jne 0x47c565
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
je 0x47c558
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.004b32f0
add esp, 0xc
test eax, eax
jne 0x47c59c
or dword [esp + 0x8c], 0x400000
jmp 0x47c56d
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call fcn.004a6500
mov esi, eax
add esp, 8
test esi, esi
je 0x47c587
add esi, 1
jne 0x47c500
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x78], eax
jmp 0x47c5c1
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.00466c70
mov eax, 0x3b
jmp 0x47c6af
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x24], 0
je 0x47c5d8
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 [0x535870]
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 0x47c60e
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x47c665
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.00452650
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.00466c70
push dword [edi]
call dword [0x4f7004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x47c657.2146893055
movzx eax, byte [esi + 0x47c6f8]
jmp dword [eax*4 + 0x47c6ec]
mov eax, 0x23
jmp 0x47c6b2
xor eax, eax
jmp 0x47c6b2
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.00466c70
push esi
call fcn.004ae469
mov eax, dword [esp + 0x30]
add esp, 0x10
jmp 0x47c6b2
push str.SSL_versions_not_supported
push esi
call fcn.00466c70
mov eax, 4
jmp 0x47c6af
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.00466c70
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a3760
add esp, 0x1c0
ret