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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x657340]
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.0041b540
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x58], ebx
call fcn.0041b520
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 + 0x18]
mov dword [esp + 0x48], eax
je 0x42bca2
cmp byte [edx + 0x63], 0
mov cl, byte [eax + 0x48]
je 0x42bc7a
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x42bca7
cmp byte [edx + 0x65], 0
je 0x42bc91
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x42bca7
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x42bca7
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.0041dd20
movzx eax, byte [ebx + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x42bcf3
movzx eax, byte [eax + 0x42cb44]
jmp dword [eax*4 + 0x42cb3c]
push edi
call fcn.0041b540
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x42bd16
cmp edi, 0x10000
jne 0x42bd3a
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00447eb0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x42bd97
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x42bd49
jmp dword [esi*4 + 0x42cb4c]
or dword [esp + 0x18], 0x80
jmp case.default.0x42bd49
or dword [esp + 0x18], 0x200
jmp case.default.0x42bd49
or dword [esp + 0x18], 0x800
jmp case.default.0x42bd49
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00447eb0
add esp, 0x14
test al, al
je 0x42bdcf
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x42bd44
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3d8]
test ecx, ecx
jne 0x42bdde
cmp dword [esi + 0x3ec], ebp
je 0x42c3e8
mov eax, dword [esi + 0x3ec]
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 0x42be06
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x42cb15
mov eax, dword [esi + 0x3ec]
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 0x42be20
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 0x42bff4
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov esi, eax
add esp, 4
test esi, esi
je case.0x42cac7.2146893056
push 0x5c
push esi
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42be51
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x42bfc1
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42be72
mov edi, 0x10000
jmp 0x42bf30
push edi
push str.LocalMachine
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42be8f
mov edi, 0x20000
jmp 0x42bf30
push edi
push str.CurrentService
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42beac
mov edi, 0x40000
jmp 0x42bf30
push edi
push str.Services
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42bec6
mov edi, 0x50000
jmp 0x42bf30
push edi
push str.Users
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42bee0
mov edi, 0x60000
jmp 0x42bf30
push edi
push str.CurrentUserGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42befa
mov edi, 0x70000
jmp 0x42bf30
push edi
push str.LocalMachineGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42bf14
mov edi, 0x80000
jmp 0x42bf30
push edi
push str.LocalMachineEnterprise
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42bfb7
mov edi, 0x90000
inc ebx
push 0x5c
push ebx
call sub.VCRUNTIME140.dll_strchr
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x42bf50
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x42bfc1
lea eax, [edx + 1]
mov ecx, eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bf60
sub ecx, dword [esp + 0x20]
cmp ecx, 0x28
je 0x42bf7a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x42bfc1
push ebx
mov byte [edx], 0
call dword [0x65700c]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov byte [eax], 0x5c
test ebx, ebx
jne 0x42bfaa
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x18], ecx
jmp 0x42bfc9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x42c052
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 + 0x3d8]
cmp byte [eax], 0
je 0x42cad9
push 0x45a434
push eax
call fcn.00428c60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42cad9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x418]
test eax, eax
je 0x42c03a
push 0x45cce4
push eax
call fcn.004204a0
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x42c03a
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x42c029
mov eax, dword [ecx + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.0041dc50
add esp, 0xc
jmp 0x42c08f
mov eax, dword [esp + 0x30]
test ebx, ebx
jne 0x42c153
test eax, eax
jne 0x42c153
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 0x42c0aa
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.0041dc50
push ebx
call dword [0x657004]
add esp, 0x18
test esi, esi
je 0x42c38b
push esi
call fcn.004568ae
add esp, 4
mov eax, 0x3a
jmp 0x42cb22
push ebx
call dword [0x657004]
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 0x42c10a
test esi, esi
je 0x42c0f7
push esi
call fcn.004568ae
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42cb22
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 0x42c139
push esi
call fcn.004568ae
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x42c3e0
push eax
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42cb22
xor edi, edi
test eax, eax
je 0x42c163
mov dword [esp + 0x20], str._memory_blob_
jmp 0x42c16d
mov eax, dword [ecx + 0x3d8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x42c17a
push esi
call fcn.004568ae
add esp, 4
test ebx, ebx
je 0x42c1ef
push 2
xor esi, esi
push esi
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x42c294
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov esi, eax
add esp, 4
test esi, esi
jns 0x42c290
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test esi, esi
je 0x42c2db
push ebx
push 1
push eax
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x42c2db
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
cmp byte [esp + 0x13], 0
je 0x42c2e4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x428]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x42c21b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c212
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x42c338
test edi, edi
je 0x42c30d
mov eax, dword [esp + 0x1c]
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 0x42c30f
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00447eb0
add esp, 0x14
test al, al
lea eax, [esp + 0x34]
je 0x42c322
push 0x8000
jmp 0x42c324
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x2c], eax
test cl, cl
je 0x42c2d2
push 0
push 0
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x42c1b5
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x42c1b9
mov esi, dword [esp + 0x28]
jmp 0x42c1bd
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.0041dc50
push esi
call dword [0x657004]
add esp, 0x10
mov eax, 0x3a
jmp 0x42cb22
xor eax, eax
cmp eax, edi
jg 0x42c263
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42c268
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x657004]
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x42c349
push ebx
call dword [0x657004]
add esp, 4
test ebp, ebp
jne 0x42c395
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x42c375
push dword [esp + 0x20]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.0041dc50
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x42cb22
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.0041dc50
add esp, 0x10
mov eax, 0x3a
jmp 0x42cb22
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 0x42c3e0
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.0041dc50
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42cb22
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x657010]
mov edi, dword [esp + 0x50]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x42c433
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.0041dc50
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x42c41c
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x42cac7.2146893056
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x42cb22
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.00447eb0
add esp, 0x14
test al, al
je 0x42c936
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x70
xorps xmm0, xmm0
lea eax, [esp + 0xdc]
push 0
push eax
movups xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebx + 0x14]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x34], xmm0
xor ebp, ebp
movlpd qword [esp + 0x3c], xmm0
test edi, edi
je 0x42c8bb
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 0x42c71a
cmp ebp, 5
jge 0x42c71a
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c509
mov esi, ebx
sub esi, edi
jmp 0x42c519
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x42c510
sub esi, ecx
cmp esi, 0x1f
ja 0x42c702
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x42c588
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c570
test dl, dl
je 0x42c56c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c570
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c550
xor eax, eax
jmp 0x42c575
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c588
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x42c6ca
cmp byte [esp + 0x14], 0
je 0x42c5dc
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 0x42c5c0
test dl, dl
je 0x42c5bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c5c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c5a0
xor eax, eax
jmp 0x42c5c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c5dc
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x42c6ce
cmp byte [esp + 0x16], 0
je 0x42c630
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c610
test dl, dl
je 0x42c60c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c610
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c5f0
xor eax, eax
jmp 0x42c615
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c630
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x42c6d2
cmp byte [esp + 0x17], 0
je 0x42c684
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c663
test dl, dl
je 0x42c65f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c663
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c643
xor eax, eax
jmp 0x42c668
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c684
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 0x42c6d6
cmp byte [esp + 0x13], 0
je 0x42c6ea
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c6b7
test dl, dl
je 0x42c6b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c6b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x42c697
xor eax, eax
jmp 0x42c6bc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c6ea
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 0x42c6df
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x42c4e0
jmp 0x42c72a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.0041dc50
mov eax, 0x3b
jmp 0x42cb1f
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.0041dc50
mov eax, 0x3b
jmp 0x42cb1f
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x42c756
test ch, ch
je 0x42c756
test ah, ah
je 0x42c756
test dl, dl
je 0x42c75a
test al, al
je 0x42c762
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.0041dc50
mov eax, 0x3b
jmp 0x42cb1f
test dl, dl
jne 0x42c762
test al, al
je 0x42c7d5
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], 0x45cfa4
cmp dl, al
je 0x42c7ce
test dl, dl
je 0x42c7c3
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x42c7d7
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x42c7d7
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x42c7ff
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 0x42c88c
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 0x42c82d
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x42c832
mov esi, 0x45cfa4
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 0x42c8bb
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 0x42c923
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 0x42ca52
mov esi, dword [ebx + 0x10]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x42ca24
xor edi, edi
nop
cmp byte [esi], 0
je 0x42c9f7
cmp edi, 0x2f
jge 0x42c9f7
push 0
push 0
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
add esp, 0xc
test eax, eax
jne 0x42c9d5
push esi
call fcn.0042ae30
add esp, 4
test eax, eax
jne 0x42c9d5
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x42c9c8
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x42ca0c
or dword [esp + 0x8c], 0x400000
jmp 0x42c9dd
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x42c9f7
add esi, 1
jne 0x42c970
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x78], eax
jmp 0x42ca31
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.0041dc50
mov eax, 0x3b
jmp 0x42cb1f
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x24], 0
je 0x42ca48
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 [0x6584b0]
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 0x42ca7e
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x42cad5
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.00412540
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.0041dc50
push dword [edi]
call dword [0x657004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x42cac7.2146893055
movzx eax, byte [esi + 0x42cb68]
jmp dword [eax*4 + 0x42cb5c]
mov eax, 0x23
jmp 0x42cb22
xor eax, eax
jmp 0x42cb22
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.0041dc50
push esi
call fcn.004568ae
mov eax, dword [esp + 0x30]
add esp, 0x10
jmp 0x42cb22
push str.SSL_versions_not_supported
push esi
call fcn.0041dc50
mov eax, 4
jmp 0x42cb1f
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.0041dc50
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004554d0
add esp, 0x1c0
ret