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

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x4a237c]
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.004144c0
push ebx
push edi
mov dword [esp + 0x3c], eax
call fcn.004144a0
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 0x42f004
cmp byte [ebx + 0x63], 0
mov dl, byte [eax + 0x48]
je 0x42efdc
test dl, dl
mov ecx, 0x1808
mov eax, 0x1820
cmove ecx, eax
jmp 0x42f009
cmp byte [ebx + 0x65], 0
je 0x42eff3
test dl, dl
mov ecx, 0x1a08
mov eax, 0x1a20
cmove ecx, eax
jmp 0x42f009
test dl, dl
mov ecx, 0x208
mov eax, 0x220
cmove ecx, eax
jmp 0x42f009
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.0041a5f0
mov ebx, dword [esp + 0x38]
add esp, 8
movzx eax, byte [ebx + 0x38]
cmp eax, 7
ja case.default.0x42f059
movzx eax, byte [eax + 0x42fe68]
jmp dword [eax*4 + 0x42fe60]
push edi
call fcn.004144c0
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x42f07c
cmp edi, 0x10000
jne 0x42f0a0
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0044ac90
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x42f103
add esi, 0xfffffffc
nop word [eax + eax]
cmp esi, 3
ja case.default.0x42f0b5
jmp dword [esi*4 + 0x42fe70]
or dword [esp + 0x1c], 0x80
jmp case.default.0x42f0b5
or dword [esp + 0x1c], 0x200
jmp case.default.0x42f0b5
or dword [esp + 0x1c], 0x800
jmp case.default.0x42f0b5
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.0044ac90
add esp, 0x14
test al, al
je 0x42f155
or dword [esp + 0x1c], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x42f0b0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x3d8]
test eax, eax
jne 0x42f11d
cmp dword [edx + 0x3ec], ebp
je 0x42f6f1
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 0x42f171
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
jmp 0x42f346
mov ecx, dword [esp + 0x18]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
call fcn.0041a520
add esp, 8
mov eax, 0x23
jmp 0x42fe46
push eax
call fcn.0042b900
mov esi, eax
add esp, 4
test esi, esi
je 0x42f735
push 0x5c
push esi
call fcn.0045d3f3
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x42f2dd
mov edi, eax
sub edi, esi
sar edi, 1
push edi
push str.CurrentUser
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f1be
mov ebx, 0x10000
jmp 0x42f278
push edi
push str.LocalMachine
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f1db
mov ebx, 0x20000
jmp 0x42f278
push edi
push str.CurrentService
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f1f8
mov ebx, 0x40000
jmp 0x42f278
push edi
push str.Services
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f212
mov ebx, 0x50000
jmp 0x42f278
push edi
push str.Users
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f22c
mov ebx, 0x60000
jmp 0x42f278
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f246
mov ebx, 0x70000
jmp 0x42f278
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f260
mov ebx, 0x80000
jmp 0x42f278
push edi
push str.LocalMachineEnterprise
push esi
call fcn.0046a7ab
add esp, 0xc
test eax, eax
jne 0x42f2dd
mov ebx, 0x90000
mov eax, dword [esp + 0x28]
add eax, 2
push 0x5c
push eax
mov dword [esp + 0x30], eax
call fcn.0045d3f3
mov edi, eax
add esp, 8
test edi, edi
je 0x42f2dd
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 0x42f2a0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x28
jne 0x42f2dd
push dword [esp + 0x28]
xor eax, eax
mov word [edi], ax
call dword [0x4a2014]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], edx
mov eax, 0x5c
mov word [edi], ax
test edx, edx
jne 0x42f32e
lea edi, [edx + 0x1b]
jmp 0x42f2e2
mov edi, 0x3a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3d8]
cmp byte [eax], 0
je 0x42f309
push 0x480920
push eax
call fcn.0042ba20
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x42f330
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.0041a520
push esi
call fcn.0045fbca
add esp, 0x10
mov eax, edi
jmp 0x42fe46
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x42f5fb
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x418]
test eax, eax
je 0x42f38f
push 0x486408
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x42f38b
mov eax, str._memory_blob_
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x48], ebp
jne 0x42f377
mov eax, dword [ecx + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.0041a520
add esp, 0xc
jmp 0x42f63b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test edi, edi
jne 0x42f39f
test eax, eax
je 0x42f5fb
xor edi, edi
test eax, eax
je 0x42f3af
mov dword [esp + 0x24], str._memory_blob_
jmp 0x42f3b9
mov eax, dword [edx + 0x3d8]
mov dword [esp + 0x24], eax
test esi, esi
je 0x42f3c6
push esi
call fcn.0045fbca
add esp, 4
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x42f49a
push 2
push 0
push ebx
call fcn.00461d77
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x17], cl
test eax, eax
jne 0x42f3fb
push ebx
call fcn.00462e24
mov cl, byte [esp + 0x1b]
add esp, 4
jmp 0x42f3fd
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 0x42f43e
push 0
push 0
push dword [esp + 0x34]
call fcn.00461d77
add esp, 0xc
test eax, eax
sete bl
test bl, bl
je 0x42f43e
lea eax, [esi + 1]
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x42f442
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42f45b
push dword [esp + 0x2c]
push 1
push esi
push eax
call fcn.00461716
add esp, 0x10
cmp eax, 1
je 0x42f45d
xor bl, bl
push dword [esp + 0x2c]
call fcn.00461edf
add esp, 4
test bl, bl
jne 0x42f49e
mov eax, dword [esp + 0x18]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.0041a520
mov ebx, dword [esp + 0x44]
push ebx
call dword [0x4a2004]
add esp, 0x10
mov eax, 0x3a
jmp 0x42fe46
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 0x42f4c9
mov edi, eax
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x42f4c0
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x42f54f
test edi, edi
je 0x42f52b
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 0x42f52d
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.0044ac90
add esp, 0x14
test al, al
lea eax, [esp + 0x40]
je 0x42f539
push 0x8000
jmp 0x42f53b
xor eax, eax
cmp eax, edi
jg 0x42f505
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42f50a
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x4a2004]
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x42f560
push ebx
call dword [0x4a2004]
add esp, 4
test ebp, ebp
jne 0x42f5ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x42f58c
push dword [esp + 0x24]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x20]
call fcn.0041a520
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x42fe46
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.0041a520
add esp, 0x10
mov eax, 0x3a
jmp 0x42fe46
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 0x42f6ed
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.0041a520
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42fe46
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 0x42f652
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.0041a520
push edi
call dword [0x4a2004]
add esp, 0x18
test esi, esi
je 0x42f648
push esi
call fcn.0045fbca
add esp, 4
mov eax, 0x3a
jmp 0x42fe46
push edi
call dword [0x4a2004]
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 0x42f6b6
test esi, esi
je 0x42f5e8
push esi
call fcn.0045fbca
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42fe46
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 0x42f6e5
push esi
call fcn.0045fbca
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x42f5e8
mov ebx, dword [esp + 0x30]
push 0x20
push 1
call dword [0x4a2010]
mov esi, dword [esp + 0x44]
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x42f73f
push str.schannel:_unable_to_allocate_memory
push dword [esp + 0x1c]
call fcn.0041a520
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42f728
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je 0x42f735
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x42fe46
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.0044ac90
add esp, 0x14
test al, al
je 0x42fc12
push 0x2c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0045c350
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.0045c350
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 0x42fb9e
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 0x42fa1a
cmp ebp, 5
jge 0x42fa1a
push 0x3a
push edi
call fcn.0045c4b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42f80d
mov esi, ebx
sub esi, edi
jmp 0x42f81b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42f812
sub esi, ecx
cmp esi, 0x1f
ja 0x42fa02
push esi
lea eax, [esp + 0xac]
push edi
push eax
call fcn.00462700
add esp, 0xc
mov byte [esp + esi + 0xa8], 0
cmp byte [esp + 0x13], 0
je 0x42f889
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f871
test dl, dl
je 0x42f86d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f871
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f851
xor eax, eax
jmp 0x42f876
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f889
mov al, byte [esp + 0x17]
xor ah, ah
mov byte [esp + 0x13], ah
jmp 0x42f9ca
cmp byte [esp + 0x14], 0
je 0x42f8dc
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f8c0
test dl, dl
je 0x42f8bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f8c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f8a0
xor eax, eax
jmp 0x42f8c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f8dc
mov al, byte [esp + 0x17]
xor ch, ch
mov ah, byte [esp + 0x13]
mov byte [esp + 0x14], ch
jmp 0x42f9ce
cmp byte [esp + 0x15], 0
je 0x42f930
lea ecx, [esp + 0xa8]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f910
test dl, dl
je 0x42f90c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f910
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f8f0
xor eax, eax
jmp 0x42f915
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f930
mov al, byte [esp + 0x17]
xor dl, dl
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x13]
mov byte [esp + 0x15], dl
jmp 0x42f9d2
cmp byte [esp + 0x16], 0
je 0x42f984
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f963
test dl, dl
je 0x42f95f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f963
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f943
xor eax, eax
jmp 0x42f968
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f984
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 0x42f9d6
cmp byte [esp + 0x17], 0
je 0x42f9ea
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f9b7
test dl, dl
je 0x42f9b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f9b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f997
xor eax, eax
jmp 0x42f9bc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f9ea
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 0x42f9df
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x42f7e4
jmp 0x42fa2a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x1c]
call fcn.0041a520
mov eax, 0x3b
jmp 0x42fe43
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x1c]
call fcn.0041a520
mov eax, 0x3b
jmp 0x42fe43
mov dl, byte [esp + 0x15]
mov ah, byte [esp + 0x13]
mov ch, byte [esp + 0x14]
mov cl, byte [esp + 0x16]
test ah, ah
je 0x42fa56
test ch, ch
je 0x42fa56
test dl, dl
je 0x42fa56
test cl, cl
je 0x42fa5a
test al, al
je 0x42fa56
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x1c]
call fcn.0041a520
mov eax, 0x3b
jmp 0x42fe43
test cl, cl
jne 0x42fa5e
test al, al
je 0x42fad1
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], 0x4866c4
cmp cl, al
je 0x42faca
test cl, cl
je 0x42fabf
mov dword [esp + 0xdc], 0x80
mov ebp, 1
jmp 0x42fad3
mov dword [esp + 0xe0], 0x40
mov ebp, 1
jmp 0x42fad3
xor ebp, ebp
test ah, ah
jne 0x42fadf
test ch, ch
je 0x42fb68
lea edx, [ebp*8]
mov dword [esp + 0x30], 0x200020
sub edx, ebp
mov dword [esp + 0x34], str.ChainingModeGCM
cmp ah, ch
je 0x42fb0d
test ah, ah
mov esi, str.SHA384
mov edi, str.SHA256
cmove esi, edi
jmp 0x42fb12
mov esi, 0x4866c4
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 0x42fb9e
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 0x42fc03
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 0x42fda3
mov edi, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push 0x38
push 0
push eax
call fcn.0045c350
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 0x42fd75
xor ebx, ebx
mov dword [esp + 0x30], ebx
nop
cmp byte [edi], 0
je 0x42fd48
cmp ebx, 0x2f
jge 0x42fd48
push 0
push 0
push edi
call fcn.00463a24
add esp, 0xc
test eax, eax
jne 0x42fd22
push 0x3a
push edi
call fcn.0045c4b0
mov esi, eax
add esp, 8
test esi, esi
je 0x42fc8c
sub esi, edi
jmp 0x42fc9a
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42fc91
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x42fce5
mov eax, edx
lea ebp, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fcb0
sub eax, ebp
cmp esi, eax
jne 0x42fccc
push esi
push edi
push edx
call fcn.00461df0
add esp, 0xc
test eax, eax
je 0x42fcda
mov edx, dword [ebx*8 + 0x485d40]
inc ebx
test edx, edx
jne 0x42fca6
jmp 0x42fce5
mov eax, dword [ebx*8 + 0x485d3c]
test eax, eax
jne 0x42fd1e
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.00461df0
add esp, 0xc
test eax, eax
je 0x42fd0d
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.00461df0
add esp, 0xc
test eax, eax
jne 0x42fd5d
or dword [esp + 0x88], 0x400000
mov ebx, dword [esp + 0x30]
jmp 0x42fd2e
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.0045c4b0
mov edi, eax
add esp, 8
test edi, edi
je 0x42fd48
add edi, 1
jne 0x42fc50
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xc8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
jmp 0x42fd82
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x1c]
call fcn.0041a520
mov eax, 0x3b
jmp 0x42fe43
or ecx, 0x400000
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x42fd99
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 [0x4a3258]
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 0x42fdcf
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x42fe1d
push 0x100
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.0042bb10
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x2c]
call fcn.0041a520
mov edi, dword [esp + 0x54]
push dword [edi]
call dword [0x4a2004]
add esp, 0x1c
mov dword [edi], 0
cmp esi, 0x80090300
je 0x42f735
mov eax, 0x23
jmp 0x42fe46
xor eax, eax
jmp 0x42fe46
push str.SSL_versions_not_supported
push esi
call fcn.0041a520
mov eax, 4
jmp 0x42fe43
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.0041a520
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045a753
add esp, 0x1bc
ret