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

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x4a0368]
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.004130b0
push ebx
push edi
mov dword [esp + 0x3c], eax
call fcn.00413090
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 0x42dc14
cmp byte [ebx + 0x63], 0
mov dl, byte [eax + 0x48]
je 0x42dbec
test dl, dl
mov ecx, 0x1808
mov eax, 0x1820
cmove ecx, eax
jmp 0x42dc19
cmp byte [ebx + 0x65], 0
je 0x42dc03
test dl, dl
mov ecx, 0x1a08
mov eax, 0x1a20
cmove ecx, eax
jmp 0x42dc19
test dl, dl
mov ecx, 0x208
mov eax, 0x220
cmove ecx, eax
jmp 0x42dc19
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.004191d0
mov ebx, dword [esp + 0x38]
add esp, 8
movzx eax, byte [ebx + 0x38]
cmp eax, 7
ja case.default.0x42dc69
movzx eax, byte [eax + 0x42ea78]
jmp dword [eax*4 + 0x42ea70]
push edi
call fcn.004130b0
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x42dc8c
cmp edi, 0x10000
jne 0x42dcb0
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004498b0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x42dd13
add esi, 0xfffffffc
nop word [eax + eax]
cmp esi, 3
ja case.default.0x42dcc5
jmp dword [esi*4 + 0x42ea80]
or dword [esp + 0x1c], 0x80
jmp case.default.0x42dcc5
or dword [esp + 0x1c], 0x200
jmp case.default.0x42dcc5
or dword [esp + 0x1c], 0x800
jmp case.default.0x42dcc5
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.004498b0
add esp, 0x14
test al, al
je 0x42dd65
or dword [esp + 0x1c], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x42dcc0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x3d8]
test eax, eax
jne 0x42dd2d
cmp dword [edx + 0x3ec], ebp
je 0x42e301
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 0x42dd81
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
jmp 0x42df56
mov ecx, dword [esp + 0x18]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
call fcn.00419100
add esp, 8
mov eax, 0x23
jmp 0x42ea56
push eax
call fcn.0042a500
mov esi, eax
add esp, 4
test esi, esi
je 0x42e345
push 0x5c
push esi
call fcn.0045bb93
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x42deed
mov edi, eax
sub edi, esi
sar edi, 1
push edi
push str.CurrentUser
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42ddce
mov ebx, 0x10000
jmp 0x42de88
push edi
push str.LocalMachine
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42ddeb
mov ebx, 0x20000
jmp 0x42de88
push edi
push str.CurrentService
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42de08
mov ebx, 0x40000
jmp 0x42de88
push edi
push str.Services
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42de22
mov ebx, 0x50000
jmp 0x42de88
push edi
push str.Users
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42de3c
mov ebx, 0x60000
jmp 0x42de88
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42de56
mov ebx, 0x70000
jmp 0x42de88
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42de70
mov ebx, 0x80000
jmp 0x42de88
push edi
push str.LocalMachineEnterprise
push esi
call fcn.00468f58
add esp, 0xc
test eax, eax
jne 0x42deed
mov ebx, 0x90000
mov eax, dword [esp + 0x28]
add eax, 2
push 0x5c
push eax
mov dword [esp + 0x30], eax
call fcn.0045bb93
mov edi, eax
add esp, 8
test edi, edi
je 0x42deed
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 0x42deb0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x28
jne 0x42deed
push dword [esp + 0x28]
xor eax, eax
mov word [edi], ax
call dword [0x4a0014]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], edx
mov eax, 0x5c
mov word [edi], ax
test edx, edx
jne 0x42df3e
lea edi, [edx + 0x1b]
jmp 0x42def2
mov edi, 0x3a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3d8]
cmp byte [eax], 0
je 0x42df19
push 0x47f8d0
push eax
call fcn.0042a620
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x42df40
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.00419100
push esi
call fcn.0045e37a
add esp, 0x10
mov eax, edi
jmp 0x42ea56
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x42e20b
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x418]
test eax, eax
je 0x42df9f
push 0x4853c0
push eax
call fcn.0041ccd0
add esp, 8
test eax, eax
jne 0x42df9b
mov eax, str._memory_blob_
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x48], ebp
jne 0x42df87
mov eax, dword [ecx + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.00419100
add esp, 0xc
jmp 0x42e24b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test edi, edi
jne 0x42dfaf
test eax, eax
je 0x42e20b
xor edi, edi
test eax, eax
je 0x42dfbf
mov dword [esp + 0x24], str._memory_blob_
jmp 0x42dfc9
mov eax, dword [edx + 0x3d8]
mov dword [esp + 0x24], eax
test esi, esi
je 0x42dfd6
push esi
call fcn.0045e37a
add esp, 4
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x42e0aa
push 2
push 0
push ebx
call fcn.0045f26f
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x17], cl
test eax, eax
jne 0x42e00b
push ebx
call fcn.00460314
mov cl, byte [esp + 0x1b]
add esp, 4
jmp 0x42e00d
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 0x42e04e
push 0
push 0
push dword [esp + 0x34]
call fcn.0045f26f
add esp, 0xc
test eax, eax
sete bl
test bl, bl
je 0x42e04e
lea eax, [esi + 1]
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x42e052
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42e06b
push dword [esp + 0x2c]
push 1
push esi
push eax
call fcn.0045ec0e
add esp, 0x10
cmp eax, 1
je 0x42e06d
xor bl, bl
push dword [esp + 0x2c]
call fcn.0045f3cf
add esp, 4
test bl, bl
jne 0x42e0ae
mov eax, dword [esp + 0x18]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00419100
mov ebx, dword [esp + 0x44]
push ebx
call dword [0x4a0004]
add esp, 0x10
mov eax, 0x3a
jmp 0x42ea56
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 0x42e0d9
mov edi, eax
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x42e0d0
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x42e15f
test edi, edi
je 0x42e13b
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 0x42e13d
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.004498b0
add esp, 0x14
test al, al
lea eax, [esp + 0x40]
je 0x42e149
push 0x8000
jmp 0x42e14b
xor eax, eax
cmp eax, edi
jg 0x42e115
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42e11a
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x4a0004]
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x42e170
push ebx
call dword [0x4a0004]
add esp, 4
test ebp, ebp
jne 0x42e1bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x42e19c
push dword [esp + 0x24]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x20]
call fcn.00419100
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x42ea56
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.00419100
add esp, 0x10
mov eax, 0x3a
jmp 0x42ea56
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 0x42e2fd
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.00419100
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42ea56
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 0x42e262
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.00419100
push edi
call dword [0x4a0004]
add esp, 0x18
test esi, esi
je 0x42e258
push esi
call fcn.0045e37a
add esp, 4
mov eax, 0x3a
jmp 0x42ea56
push edi
call dword [0x4a0004]
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 0x42e2c6
test esi, esi
je 0x42e1f8
push esi
call fcn.0045e37a
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42ea56
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 0x42e2f5
push esi
call fcn.0045e37a
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x42e1f8
mov ebx, dword [esp + 0x30]
push 0x20
push 1
call dword [0x4a0010]
mov esi, dword [esp + 0x44]
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x42e34f
push str.schannel:_unable_to_allocate_memory
push dword [esp + 0x1c]
call fcn.00419100
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42e338
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je 0x42e345
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x42ea56
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.004498b0
add esp, 0x14
test al, al
je 0x42e822
push 0x2c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0045a9b0
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.0045a9b0
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 0x42e7ae
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 0x42e62a
cmp ebp, 5
jge 0x42e62a
push 0x3a
push edi
call fcn.0045ab10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e41d
mov esi, ebx
sub esi, edi
jmp 0x42e42b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42e422
sub esi, ecx
cmp esi, 0x1f
ja 0x42e612
push esi
lea eax, [esp + 0xac]
push edi
push eax
call fcn.0045fbf0
add esp, 0xc
mov byte [esp + esi + 0xa8], 0
cmp byte [esp + 0x13], 0
je 0x42e499
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e481
test dl, dl
je 0x42e47d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e481
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e461
xor eax, eax
jmp 0x42e486
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e499
mov al, byte [esp + 0x17]
xor ah, ah
mov byte [esp + 0x13], ah
jmp 0x42e5da
cmp byte [esp + 0x14], 0
je 0x42e4ec
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e4d0
test dl, dl
je 0x42e4cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e4d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e4b0
xor eax, eax
jmp 0x42e4d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e4ec
mov al, byte [esp + 0x17]
xor ch, ch
mov ah, byte [esp + 0x13]
mov byte [esp + 0x14], ch
jmp 0x42e5de
cmp byte [esp + 0x15], 0
je 0x42e540
lea ecx, [esp + 0xa8]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e520
test dl, dl
je 0x42e51c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e520
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e500
xor eax, eax
jmp 0x42e525
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e540
mov al, byte [esp + 0x17]
xor dl, dl
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x13]
mov byte [esp + 0x15], dl
jmp 0x42e5e2
cmp byte [esp + 0x16], 0
je 0x42e594
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e573
test dl, dl
je 0x42e56f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e573
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e553
xor eax, eax
jmp 0x42e578
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e594
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 0x42e5e6
cmp byte [esp + 0x17], 0
je 0x42e5fa
lea ecx, [esp + 0xa8]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42e5c7
test dl, dl
je 0x42e5c3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42e5c7
add eax, 2
add ecx, 2
test dl, dl
jne 0x42e5a7
xor eax, eax
jmp 0x42e5cc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42e5fa
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 0x42e5ef
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x42e3f4
jmp 0x42e63a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x1c]
call fcn.00419100
mov eax, 0x3b
jmp 0x42ea53
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x1c]
call fcn.00419100
mov eax, 0x3b
jmp 0x42ea53
mov dl, byte [esp + 0x15]
mov ah, byte [esp + 0x13]
mov ch, byte [esp + 0x14]
mov cl, byte [esp + 0x16]
test ah, ah
je 0x42e666
test ch, ch
je 0x42e666
test dl, dl
je 0x42e666
test cl, cl
je 0x42e66a
test al, al
je 0x42e666
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x1c]
call fcn.00419100
mov eax, 0x3b
jmp 0x42ea53
test cl, cl
jne 0x42e66e
test al, al
je 0x42e6e1
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], 0x48567c
cmp cl, al
je 0x42e6da
test cl, cl
je 0x42e6cf
mov dword [esp + 0xdc], 0x80
mov ebp, 1
jmp 0x42e6e3
mov dword [esp + 0xe0], 0x40
mov ebp, 1
jmp 0x42e6e3
xor ebp, ebp
test ah, ah
jne 0x42e6ef
test ch, ch
je 0x42e778
lea edx, [ebp*8]
mov dword [esp + 0x30], 0x200020
sub edx, ebp
mov dword [esp + 0x34], str.ChainingModeGCM
cmp ah, ch
je 0x42e71d
test ah, ah
mov esi, str.SHA384
mov edi, str.SHA256
cmove esi, edi
jmp 0x42e722
mov esi, 0x48567c
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 0x42e7ae
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 0x42e813
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 0x42e9b3
mov edi, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push 0x38
push 0
push eax
call fcn.0045a9b0
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 0x42e985
xor ebx, ebx
mov dword [esp + 0x30], ebx
nop
cmp byte [edi], 0
je 0x42e958
cmp ebx, 0x2f
jge 0x42e958
push 0
push 0
push edi
call fcn.00460f2f
add esp, 0xc
test eax, eax
jne 0x42e932
push 0x3a
push edi
call fcn.0045ab10
mov esi, eax
add esp, 8
test esi, esi
je 0x42e89c
sub esi, edi
jmp 0x42e8aa
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42e8a1
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x42e8f5
mov eax, edx
lea ebp, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e8c0
sub eax, ebp
cmp esi, eax
jne 0x42e8dc
push esi
push edi
push edx
call fcn.0045f2e0
add esp, 0xc
test eax, eax
je 0x42e8ea
mov edx, dword [ebx*8 + 0x484cf8]
inc ebx
test edx, edx
jne 0x42e8b6
jmp 0x42e8f5
mov eax, dword [ebx*8 + 0x484cf4]
test eax, eax
jne 0x42e92e
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call fcn.0045f2e0
add esp, 0xc
test eax, eax
je 0x42e91d
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call fcn.0045f2e0
add esp, 0xc
test eax, eax
jne 0x42e96d
or dword [esp + 0x88], 0x400000
mov ebx, dword [esp + 0x30]
jmp 0x42e93e
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.0045ab10
mov edi, eax
add esp, 8
test edi, edi
je 0x42e958
add edi, 1
jne 0x42e860
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xc8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
jmp 0x42e992
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x1c]
call fcn.00419100
mov eax, 0x3b
jmp 0x42ea53
or ecx, 0x400000
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x42e9a9
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 [0x4a1230]
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 0x42e9df
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x42ea2d
push 0x100
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.0042a710
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x2c]
call fcn.00419100
mov edi, dword [esp + 0x54]
push dword [edi]
call dword [0x4a0004]
add esp, 0x1c
mov dword [edi], 0
cmp esi, 0x80090300
je 0x42e345
mov eax, 0x23
jmp 0x42ea56
xor eax, eax
jmp 0x42ea56
push str.SSL_versions_not_supported
push esi
call fcn.00419100
mov eax, 4
jmp 0x42ea53
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.00419100
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459004
add esp, 0x1bc
ret