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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x46a36c]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
mov ebx, dword [esp + 0x1cc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x1c], ebx
mov esi, dword [edi + 8]
call fcn.00412a80
mov ebp, eax
push ebx
push edi
mov dword [esp + 0x58], ebp
call fcn.00412a60
xor ebx, ebx
mov dword [esp + 0x2c], 0
add esp, 0xc
mov dword [esp + 0x14], ebx
mov edx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x30], eax
cmp byte [ebp + 0x39], bl
je 0x42d2af
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x42d288
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x42d2b4
cmp byte [edx + 0x65], bl
je 0x42d29e
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x42d2b4
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x42d2b4
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 [ebp + 0x3a], bl
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 + 0x18]
push eax
push esi
call fcn.00418b60
movzx eax, byte [ebp + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x42d2ff
movzx eax, byte [eax + 0x42e184]
jmp dword [eax*4 + 0x42e17c]
push edi
call fcn.00412a80
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x42d322
cmp edi, 0x10000
jne 0x42d346
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00449a30
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x42d3a3
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x42d355
jmp dword [esi*4 + 0x42e18c]
or dword [esp + 0x14], 0x80
jmp case.default.0x42d355
or dword [esp + 0x14], 0x200
jmp case.default.0x42d355
or dword [esp + 0x14], 0x800
jmp case.default.0x42d355
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.00449a30
add esp, 0x14
test al, al
je 0x42d3e3
or dword [esp + 0x14], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x42d350
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov edx, dword [edi + 0x3d8]
test edx, edx
jne 0x42d3f2
cmp dword [edi + 0x3ec], ebx
je 0x42d9da
mov ecx, dword [edi + 0x3ec]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x34], eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x42d41c
mov eax, dword [esp + 0x18]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push eax
jmp 0x42e156
mov ecx, dword [edi + 0x3ec]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x34], eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x42d436
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x42d5e8
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov esi, eax
add esp, 4
test esi, esi
je case.0x42e109.2146893056
push 0x5c
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x42d46a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x42d5b4
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov edi, eax
sub edi, esi
push edi
push str.CurrentUser
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d48e
mov ebp, 0x10000
jmp 0x42d534
push edi
push str.LocalMachine
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d4a8
mov ebp, 0x20000
jmp 0x42d534
push edi
push str.CurrentService
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d4bf
mov ebp, 0x40000
jmp 0x42d534
push edi
push str.Services
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d4d6
mov ebp, 0x50000
jmp 0x42d534
push edi
push str.Users
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d4ed
mov ebp, 0x60000
jmp 0x42d534
push edi
push str.CurrentUserGroupPolicy
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d504
mov ebp, 0x70000
jmp 0x42d534
push edi
push str.LocalMachineGroupPolicy
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d51b
mov ebp, 0x80000
jmp 0x42d534
push edi
push str.LocalMachineEnterprise
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x42d5ac
mov ebp, 0x90000
mov ebx, dword [esp + 0x44]
inc ebx
push 0x5c
push ebx
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
jne 0x42d554
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x42d5b4
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x1c], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d560
sub ecx, edx
cmp ecx, 0x28
je 0x42d578
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x42d5b4
push ebx
mov byte [edi], 0
call dword [0x46a00c]
mov byte [edi], 0x5c
add esp, 4
mov edi, eax
mov dword [esp + 0x34], eax
test edi, edi
jne 0x42d59f
mov ecx, dword [esp + 0x14]
lea edi, [eax + 0x1b]
mov dword [esp + 0x14], ecx
jmp 0x42d5b9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x42d63e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov edi, 0x3a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3d8]
cmp byte [eax], 0
je 0x42e11b
push 0x459a60
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e11b
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x418]
test eax, eax
je 0x42d626
push 0x45f41c
push eax
call fcn.0041c650
add esp, 8
test eax, eax
jne 0x42d626
cmp dword [esp + 0x2c], eax
mov eax, str._memory_blob_
jne 0x42d615
mov eax, dword [edi + 0x3d8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.00418a90
add esp, 0xc
jmp 0x42d67b
mov eax, dword [esp + 0x2c]
test ebx, ebx
jne 0x42d742
test eax, eax
jne 0x42d742
mov edi, dword [esp + 0x34]
push edi
mov eax, ebp
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebx, eax
test ebx, ebx
jne 0x42d697
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x1c]
push edi
push ebp
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push eax
call fcn.00418a90
push edi
call dword [0x46a004]
add esp, 0x18
test esi, esi
je 0x42d97e
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, 0x3a
jmp 0x42e163
push edi
call dword [0x46a004]
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 + 0x34]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x42d6f8
test esi, esi
je 0x42d6e5
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42e163
push 0
lea eax, [esp + 0x58]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test esi, esi
je 0x42d728
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x42d9d0
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42e163
xor edi, edi
test eax, eax
je 0x42d74f
mov ebp, str._memory_blob_
jmp 0x42d759
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 0x3d8]
test esi, esi
je 0x42d767
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test ebx, ebx
je 0x42d7e0
push 2
xor esi, esi
push esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x11], cl
test eax, eax
jne 0x42d885
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
jns 0x42d881
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x42d8cd
push ebx
push 1
push eax
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x42d8cd
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp byte [esp + 0x11], 0
je 0x42d8d7
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
mov eax, dword [eax + 0x428]
test eax, eax
je 0x42d80c
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42d803
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x42d92d
test edi, edi
je 0x42d900
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 0x42d902
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.00449a30
add esp, 0x14
test al, al
lea eax, [esp + 0x44]
je 0x42d915
push 0x8000
jmp 0x42d917
mov cl, byte [esp + 0x11]
mov eax, esi
mov dword [esp + 0x28], eax
test cl, cl
je 0x42d8c4
push 0
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
sete byte [esp + 0x11]
test eax, eax
jne 0x42d7a4
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
jmp 0x42d7a8
mov esi, dword [esp + 0x24]
jmp 0x42d7ac
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x18]
push dword [eax + 0x3d8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00418a90
push esi
call dword [0x46a004]
add esp, 0x10
mov eax, 0x3a
jmp 0x42e163
xor eax, eax
cmp eax, edi
jg 0x42d854
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x42d859
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov dword [esp + 0x40], eax
call dword [0x46a004]
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x42d93e
push ebx
call dword [0x46a004]
add esp, 4
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x42d988
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x42d96b
push ebp
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x20]
call fcn.00418a90
add esp, 0xc
lea eax, [ebx + 0x3a]
jmp 0x42e163
push eax
push ebp
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x24]
call fcn.00418a90
add esp, 0x10
mov eax, 0x3a
jmp 0x42e163
push 0
push 0
push 0
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x42d9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x24]
call fcn.00418a90
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42e163
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov edi, dword [esp + 0x18]
push 0x20
push 1
call dword [0x46a010]
mov esi, dword [esp + 0x38]
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x42da25
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00418a90
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42da0e
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x42e109.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x42e163
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [esi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.00449a30
add esp, 0x14
test al, al
je 0x42defb
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 [esp + 0x64]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x3c], xmm0
xor ebp, ebp
movlpd qword [esp + 0x34], xmm0
mov edi, dword [edi + 0x14]
test edi, edi
je 0x42de84
mov bh, 1
xor eax, eax
mov dword [esp + 0x1c], eax
mov bl, bh
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x12], bh
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x13], bh
mov byte [esp + 0x11], bh
nop word [eax + eax]
cmp byte [edi], 0
je 0x42dcf3
cmp eax, 5
jge 0x42dcf3
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x42daf9
mov esi, ebp
sub esi, edi
jmp 0x42db09
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x42db00
sub esi, ecx
cmp esi, 0x1f
ja 0x42dcdb
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov byte [esp + esi + 0xac], 0
test bh, bh
je 0x42db70
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42db60
test dl, dl
je 0x42db5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42db60
add eax, 2
add ecx, 2
test dl, dl
jne 0x42db40
xor eax, eax
jmp 0x42db65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42db70
xor bh, bh
jmp 0x42dc9b
cmp byte [esp + 0x12], 0
je 0x42dbb7
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dba3
test dl, dl
je 0x42db9f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dba3
add eax, 2
add ecx, 2
test dl, dl
jne 0x42db83
xor eax, eax
jmp 0x42dba8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dbb7
xor ch, ch
mov byte [esp + 0x12], ch
jmp 0x42dc9f
cmp byte [esp + 0x13], 0
je 0x42dc08
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dbf0
test dl, dl
je 0x42dbec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dbf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dbd0
xor eax, eax
jmp 0x42dbf5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dc08
mov ch, byte [esp + 0x12]
xor dl, dl
mov byte [esp + 0x13], dl
jmp 0x42dca3
cmp byte [esp + 0x11], 0
je 0x42dc59
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dc40
test dl, dl
je 0x42dc3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dc40
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dc20
xor eax, eax
jmp 0x42dc45
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dc59
mov dl, byte [esp + 0x13]
xor cl, cl
mov ch, byte [esp + 0x12]
mov byte [esp + 0x11], cl
jmp 0x42dca7
test bl, bl
je 0x42dcc3
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dc90
test dl, dl
je 0x42dc8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dc90
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dc70
xor eax, eax
jmp 0x42dc95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dcc3
xor bl, bl
mov ch, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
mov cl, byte [esp + 0x11]
mov edi, ebp
test ebp, ebp
je 0x42dcb0
lea edi, [ebp + 1]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x42dad0
jmp 0x42dcff
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x1c]
call fcn.00418a90
mov eax, 0x3b
jmp 0x42e160
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x1c]
call fcn.00418a90
mov eax, 0x3b
jmp 0x42e160
mov ch, byte [esp + 0x12]
mov dl, byte [esp + 0x13]
mov cl, byte [esp + 0x11]
test bh, bh
je 0x42dd2b
test ch, ch
je 0x42dd2b
test dl, dl
je 0x42dd2b
test cl, cl
je 0x42dd2f
test bl, bl
je 0x42dd33
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x1c]
call fcn.00418a90
mov eax, 0x3b
jmp 0x42e160
test cl, cl
jne 0x42dd33
test bl, bl
je 0x42dda6
mov dword [esp + 0x3c], 0x200020
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], str.ChainingModeCCM
mov dword [esp + 0xcc], 2
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], 1
mov dword [esp + 0xd0], 0x80008
mov dword [esp + 0xd4], 0x45f6dc
cmp cl, bl
je 0x42dd9f
test cl, cl
je 0x42dd94
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x42dda8
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x42dda8
xor ebp, ebp
mov al, ch
test bh, bh
jne 0x42ddc8
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], dl
mov dword [esp + 0x14], ecx
test al, al
je 0x42de51
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x34], 0x200020
sub edx, ebp
mov dword [esp + 0x38], str.ChainingModeGCM
cmp bh, ch
je 0x42ddf6
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x42ddfb
mov esi, 0x45f6dc
xor eax, eax
cmp bh, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp bh, byte [esp + 0x12]
setne al
add eax, 2
inc ebp
mov dword [esp + edx*4 + 0xcc], eax
lea eax, [esp + 0x34]
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 dword [esp + edx*4 + 0xd8], 1
mov dl, byte [esp + 0x13]
mov esi, dword [esp + 0x30]
test dl, dl
je 0x42de84
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 + 0x20], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
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 0x42deec
lea eax, [esp + 0x20]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov ecx, dword [esi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x42e090
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
mov edi, dword [edi + 0x10]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
test edi, edi
je 0x42e062
xor ebx, ebx
mov dword [esp + 0x1c], ebx
nop dword [eax]
cmp byte [edi], 0
je 0x42e035
cmp ebx, 0x2f
jge 0x42e035
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
test eax, eax
jne 0x42e00f
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x42df7d
sub esi, edi
jmp 0x42df8b
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42df82
sub esi, ecx
mov edx, dword [str.CALG_MD2]
xor ebx, ebx
test edx, edx
je 0x42dfd8
mov eax, edx
lea ebp, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dfa0
sub eax, ebp
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
cmp esi, eax
jne 0x42dfbf
push esi
push edi
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x42dfcd
mov edx, dword [ebx*8 + 0x45edd0]
inc ebx
test edx, edx
jne 0x42df97
jmp 0x42dfd8
mov eax, dword [ebx*8 + 0x45edcc]
test eax, eax
jne 0x42e00b
push 0x11
push str.USE_STRONG_CRYPTO
push edi
call ebp
add esp, 0xc
test eax, eax
je 0x42dffa
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x42e04a
or dword [esp + 0x8c], 0x400000
mov ebx, dword [esp + 0x1c]
jmp 0x42e01b
mov ebx, dword [esp + 0x1c]
mov dword [esp + ebx*4 + 0xcc], eax
inc ebx
mov dword [esp + 0x1c], ebx
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x42e035
add edi, 1
jne 0x42df40
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xcc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
jmp 0x42e06f
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x1c]
call fcn.00418a90
mov eax, 0x3b
jmp 0x42e160
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x20], 0
je 0x42e086
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 + 0x60]
push ecx
push 0
push 0
push eax
mov eax, dword [0x46a7b0]
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 0x42e0bc
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x42e117
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.00429d20
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x2c]
call fcn.00418a90
mov edi, dword [esp + 0x48]
push dword [edi]
call dword [0x46a004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x42e109.2146893055
movzx eax, byte [esi + 0x42e1a8]
jmp dword [eax*4 + 0x42e19c]
mov eax, 0x23
jmp 0x42e163
xor eax, eax
jmp 0x42e163
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.00418a90
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
mov eax, edi
jmp 0x42e163
push str.SSL_versions_not_supported
push esi
call fcn.00418a90
mov eax, 4
jmp 0x42e160
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.00418a90
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457aa1
add esp, 0x1c0
ret