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

Disassembly:
sub esp, 0x25c
mov eax, dword [0x47602c]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x268]
push ebx
mov ebx, dword [esp + 0x268]
push ebp
push esi
lea ebp, [eax + 0x19]
mov dword [esp + 0x44], eax
shl ebp, 4
mov esi, 0x1b0
add ebp, ebx
mov dword [esp + 0x48], 0xffffffff
cmp dword [ebx + 0xb8], 2
push edi
mov edi, dword [esp + 0x270]
lea ecx, [esi + 0x10]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], 0
jne 0x41f610
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x41f610
mov eax, dword [ebx + 0xac]
jmp 0x41f613
mov eax, dword [ebx + 0x64]
push 1
push 2
push 1
push 5
mov dword [esp + 0x54], eax
call fcn.00435790
add esp, 0x10
test al, al
je 0x41f639
push str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
push edi
call fcn.0040a1e0
add esp, 8
cmp byte [ebx + 0x264], 0
je 0x41f675
push str.wine_get_version
push 0x46729c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41f675
push 3
push 2
push 3
push 6
call fcn.00435790
add esp, 0x10
test al, al
je 0x41f675
mov cl, 1
jmp 0x41f677
xor cl, cl
mov eax, dword [ebp + 8]
mov edx, 0x1c0
mov byte [eax + 0x46], cl
mov ecx, dword [ebx + 0xb8]
cmp ecx, 2
jne 0x41f6a6
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x41f6a6
mov eax, dword [ebx + 0x218]
jmp 0x41f6ac
mov eax, dword [ebx + 0x1e0]
test eax, eax
jne 0x41f6e1
cmp ecx, 2
jne 0x41f6ce
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x41f6ce
mov eax, dword [ebx + 0x238]
jmp 0x41f6d4
mov eax, dword [ebx + 0x200]
test eax, eax
jne 0x41f6e1
mov eax, dword [ebp + 8]
mov byte [eax + 0x47], 0
jmp 0x41f700
push 3
push 2
push 1
push 6
call fcn.00435790
add esp, 0x10
test al, al
je 0x420567
mov eax, dword [ebp + 8]
mov byte [eax + 0x47], 1
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebx + 0xb8], 2
jne 0x41f731
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x41f731
mov al, byte [edi + 0x4a3]
jmp 0x41f737
mov al, byte [edi + 0x437]
test al, al
je 0x41f7a5
push edi
call fcn.00408c60
add esp, 4
cmp dword [ebx + 0xb8], 2
jne 0x41f769
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov ecx, 0x1c0
mov byte [esp + 0x14], 1
cmovne eax, ecx
cmp dword [eax + ebx], 2
jne 0x41f76e
mov byte [esp + 0x14], 0
push dword [esp + 0x48]
lea eax, [esp + 0x44]
push 0
push eax
push dword [esp + 0x20]
push ebx
push edi
call fcn.004086c0
add esp, 0x18
test al, al
jne 0x41f79c
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
inc dword [eax + 0x10]
push edi
call fcn.00408c80
add esp, 4
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x42022d
push 0x38
lea eax, [esp + 0x80]
push 0
push eax
call fcn.004445a0
add esp, 0xc
mov dword [esp + 0x7c], 4
cmp byte [ebx + 0x208], 0
je 0x41f864
cmp byte [esi + 0x47], 0
mov ecx, 0x20
mov edx, dword [ebx + 0xb8]
mov eax, 8
cmovne ecx, eax
mov ebp, 0x1c0
cmp edx, 2
jne 0x41f817
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ebp
cmp dword [eax + ebx], edx
je 0x41f817
mov al, byte [edi + 0x4d3]
jmp 0x41f81d
mov al, byte [edi + 0x467]
test al, al
je 0x41f829
or ecx, 0x1800
jmp 0x41f869
cmp edx, 2
jne 0x41f84a
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ebp
cmp dword [eax + ebx], edx
je 0x41f84a
mov al, byte [edi + 0x4d5]
jmp 0x41f850
mov al, byte [edi + 0x469]
test al, al
je 0x41f85c
or ecx, 0x1a00
jmp 0x41f869
or ecx, 0x200
jmp 0x41f869
mov ecx, 0x1808
cmp byte [ebx + 0x209], 0
mov dword [esp + 0xac], ecx
jne 0x41f883
or ecx, 4
mov dword [esp + 0xac], ecx
cmp dword [ebx + 0xb8], 2
mov esi, 0x1b0
jne 0x41f8b0
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov edx, 0x1c0
cmovne eax, edx
cmp dword [eax + ebx], 2
je 0x41f8b0
mov al, byte [edi + 0x4d7]
jmp 0x41f8b6
mov al, byte [edi + 0x46b]
test al, al
jne 0x41f8ce
and ecx, 0xffffffbf
mov eax, str.schannel:_disabled_automatic_use_of_client_certificate_n
or ecx, 0x10
mov dword [esp + 0xac], ecx
jmp 0x41f8d3
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate_n
push eax
push edi
call fcn.0040a1e0
mov edx, dword [ebx + 0x1d4]
add esp, 8
cmp edx, 7
ja case.default.0x41f8f3
movzx eax, byte [edx + 0x42059c]
jmp dword [eax*4 + 0x420594]
mov ebp, dword [ebx + 0xb8]
cmp ebp, 2
jne 0x41f947
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x41f929
mov edx, dword [ebx + 0x20c]
mov esi, dword [ebx + 0x210]
jmp 0x41f94d
cmp ebp, 2
jne 0x41f947
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x41f947
mov esi, dword [ebx + 0x210]
jmp 0x41f94d
mov esi, dword [ebx + 0x1d8]
test esi, esi
je 0x41f959
cmp esi, 0x10000
jne 0x41f95e
mov esi, 0x60000
sar esi, 0x10
cmp edx, esi
jg 0x41f9a1
mov ecx, dword [esp + 0x9c]
add edx, 0xfffffffc
nop
cmp edx, 3
ja case.default.0x41f975
jmp dword [edx*4 + 0x4205a4]
or ecx, 0x80
jmp 0x41f992
or ecx, 0x200
jmp 0x41f992
or ecx, 0x800
mov dword [esp + 0x9c], ecx
inc edx
lea eax, [edx + 4]
cmp eax, esi
jle 0x41f970
mov ecx, 0x1c0
cmp ebp, 2
jne 0x41f9df
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x41f9df
mov eax, dword [ebx + 0x228]
jmp 0x41f9e5
push str.schannel:_TLS_1.3_is_not_yet_supported
push edi
call fcn.0040a120
add esp, 8
mov eax, 0x23
jmp 0x42057a
mov eax, dword [ebx + 0x1f0]
test eax, eax
je 0x41fab9
cmp ebp, 2
jne 0x41fa0e
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x41fa0e
mov esi, dword [ebx + 0x228]
jmp 0x41fa14
mov esi, dword [ebx + 0x1f0]
mov edx, dword [esp + 0x34]
mov ebp, dword [edx + 8]
add ebp, 0x48
mov dword [esp + 0x14], ebp
xor ebp, ebp
test esi, esi
je 0x41faa7
cmp byte [esi], 0
je 0x41faa7
cmp ebp, 0x2d
jge 0x41faa7
push 0
push 0
push esi
call fcn.0044dfb8
add esp, 0xc
test eax, eax
jne 0x41fa89
push esi
call fcn.0041e570
add esp, 4
test eax, eax
jne 0x41fa89
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
je 0x41fa7c
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fb01
or dword [esp + 0xac], 0x400000
jmp 0x41fa91
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebp*4], eax
inc ebp
push 0x3a
push esi
call fcn.00444c80
mov esi, eax
add esp, 8
test esi, esi
je 0x41faa7
add esi, 1
jne 0x41fa28
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebp
mov ecx, dword [edi + 0x410]
test ecx, ecx
jne 0x41fb16
cmp dword [edi + 0x428], ecx
je 0x41fe80
mov eax, dword [edi + 0x428]
xor ebp, ebp
mov dword [esp + 0x1c], ecx
xor edx, edx
mov dword [esp + 0x2c], ecx
xor esi, esi
mov dword [esp + 0x38], ecx
mov ecx, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
jmp 0x41fd0d
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push edi
call fcn.0040a120
mov eax, 0x3b
jmp 0x420577
mov eax, dword [edi + 0x428]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x1c], 0
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x41fb60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
jmp 0x41fd0d
push ecx
call fcn.0045374c
mov esi, eax
add esp, 4
test esi, esi
je case.0x4201d9.2146893056
push 0x5c
push esi
call fcn.00444c80
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x41fcda
mov ebp, eax
sub ebp, esi
push ebp
push str.CurrentUser
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fbae
mov dword [esp + 0x1c], 0x10000
jmp 0x41fc7d
push ebp
push str.LocalMachine
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fbce
mov dword [esp + 0x1c], 0x20000
jmp 0x41fc7d
push ebp
push str.CurrentService
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fbee
mov dword [esp + 0x1c], 0x40000
jmp 0x41fc7d
push ebp
push str.Services
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fc0b
mov dword [esp + 0x1c], 0x50000
jmp 0x41fc7d
push ebp
push str.Users
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fc28
mov dword [esp + 0x1c], 0x60000
jmp 0x41fc7d
push ebp
push str.CurrentUserGroupPolicy
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fc45
mov dword [esp + 0x1c], 0x70000
jmp 0x41fc7d
push ebp
push str.LocalMachineGroupPolicy
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fc62
mov dword [esp + 0x1c], 0x80000
jmp 0x41fc7d
push ebp
push str.LocalMachineEnterprise
push esi
call fcn.00446e60
add esp, 0xc
test eax, eax
jne 0x41fcda
mov dword [esp + 0x1c], 0x90000
mov eax, dword [esp + 0x14]
inc eax
push 0x5c
push eax
call fcn.00444c80
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41fcda
lea eax, [ebp + 1]
mov ecx, eax
mov dword [esp + 0x38], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fca0
sub ecx, edx
cmp ecx, 0x28
jne 0x41fcda
mov byte [ebp], al
mov eax, dword [esp + 0x14]
inc eax
push eax
call dword [0x47600c]
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [ebp], 0x5c
test eax, eax
jne 0x41fd63
mov dword [esp + 0x18], 0x1b
jmp 0x41fce2
mov dword [esp + 0x18], 0x3a
mov eax, dword [edi + 0x410]
cmp byte [eax], 0
je 0x4201e0
push 0x4629a4
push eax
call fcn.0041c970
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4201e0
mov eax, dword [edi + 0x450]
test eax, eax
je 0x41fd4b
push 0x467444
push eax
call fcn.0041b660
add esp, 8
test eax, eax
jne 0x41fd4b
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x41fd3a
mov eax, dword [edi + 0x410]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.0040a120
add esp, 0xc
jmp 0x41fda8
mov eax, dword [esp + 0x30]
test ebp, ebp
jne 0x41fece
test eax, eax
jne 0x41fece
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
push eax
mov eax, ebp
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
jne 0x41fdc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
push ebp
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push edi
call fcn.0040a120
push ebx
call dword [0x476004]
add esp, 0x18
test esi, esi
je 0x4200ec
push esi
call fcn.00446e2d
add esp, 4
mov eax, 0x3a
jmp 0x42057a
push dword [esp + 0x2c]
call dword [0x476004]
add esp, 4
mov dword [esp + 0x74], 0x14
lea eax, [esp + 0xd4]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push 0
push 0
push eax
lea eax, [esp + 0xe0]
push eax
push 4
push 0x28
push dword [esp + 0x50]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41fe2a
test esi, esi
je 0x41fe13
push esi
call fcn.00446e2d
add esp, 4
mov ebp, dword [esp + 0x18]
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42057a
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x74]
push 0
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 0x41fe5d
push esi
call fcn.00446e2d
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x41fe17
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x84], 1
push ebp
mov dword [esp + 0x8c], eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
push 0x18
push 1
call dword [0x476010]
mov ebp, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x420142
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.0040a120
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je case.0x4201d9.2146893056
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x42057a
xor ebp, ebp
test eax, eax
je 0x41fede
mov dword [esp + 0x18], str._memory_blob_
jmp 0x41fee8
mov eax, dword [edi + 0x410]
mov dword [esp + 0x18], eax
test esi, esi
je 0x41fef5
push esi
call fcn.00446e2d
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41ff74
xor eax, eax
push 2
push eax
push esi
mov dword [esp + 0x20], eax
call fcn.0044c862
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x420005
push esi
call fcn.0044cf9c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jns 0x420009
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
je 0x420054
push esi
push 1
push edx
push eax
call fcn.0044c4ec
add esp, 0x10
cmp eax, 1
jne 0x420054
push esi
call fcn.0044709b
add esp, 4
cmp byte [esp + 0x13], 0
je 0x42005d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x460]
test eax, eax
je 0x41ff9d
mov ebp, eax
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x41ff93
sub ebp, ecx
lea eax, [ebp*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x42009a
test ebp, ebp
je 0x420085
lea ecx, [ebp + 1]
push ecx
push esi
push ebp
push dword [edi + 0x460]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x420087
xor eax, eax
mov word [esi], ax
push 0
push esi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x476004]
add esp, 4
jmp 0x42009c
xor eax, eax
jmp 0x42000d
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x28], edx
test cl, cl
je 0x42004b
push 0
push 0
push esi
call fcn.0044c862
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x41ff3a
mov eax, dword [esp + 0x14]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x41ff3e
mov eax, dword [esp + 0x20]
jmp 0x41ff42
push esi
call fcn.0044709b
add esp, 4
push dword [edi + 0x410]
push str.schannel:_Failed_to_read_cert_file__s
push edi
call fcn.0040a120
push dword [esp + 0x2c]
call dword [0x476004]
add esp, 0x10
mov eax, 0x3a
jmp 0x42057a
xor eax, eax
cmp eax, ebp
jg 0x41ffe1
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x41ffe6
xor ebp, ebp
cmp dword [esp + 0x30], 0
jne 0x4200b0
push dword [esp + 0x20]
call dword [0x476004]
add esp, 4
test ebp, ebp
jne 0x4200f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x4200d9
push dword [esp + 0x18]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push edi
call fcn.0040a120
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x42057a
push eax
push dword [esp + 0x1c]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push edi
call fcn.0040a120
add esp, 0x10
mov eax, 0x3a
jmp 0x42057a
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 0x41fe61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x1c]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push edi
call fcn.0040a120
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x42057a
mov dword [eax + 0x10], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea eax, [ecx + 8]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [0x476bdc]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov ecx, dword [esp + 0x24]
mov esi, eax
test ecx, ecx
je 0x420185
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x42022d
push 0x100
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.0041b8e0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push edi
call fcn.0040a120
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x476004]
mov eax, dword [ebp + 8]
add esp, 0x1c
mov dword [eax], 0
lea eax, [esi + 0x7ff6fd00]
cmp eax, 0xe
ja case.0x4201d9.2146893055
movzx eax, byte [eax + 0x4205c0]
jmp dword [eax*4 + 0x4205b4]
push dword [edi + 0x410]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push edi
call fcn.0040a120
push esi
call fcn.00446e2d
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x42057a
push str.SSL_versions_not_supported
push edi
call fcn.0040a120
mov eax, 4
jmp 0x420577
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push edi
call fcn.0040a120
mov eax, 0x23
jmp 0x420577
mov esi, dword [esp + 0x44]
lea eax, [esp + 0xc0]
push eax
push esi
push 2
call fcn.0041cb90
add esp, 0xc
test eax, eax
jne 0x42025f
lea eax, [esp + 0xc4]
push eax
push esi
push 0x17
call fcn.0041cb90
add esp, 0xc
test eax, eax
je 0x42026d
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push edi
call fcn.0040a1e0
add esp, 8
mov eax, dword [ebp + 8]
cmp byte [eax + 0x46], 0
je 0x4202fa
push str.http_1.1
push str.schannel:_ALPN__offering__s_n
push edi
mov dword [esp + 0xf8], 2
mov byte [esp + 0xfe], 8
mov dword [esp + 0xff], 0x70747468
mov dword [esp + 0x103], 0x312e312f
call fcn.0040a1e0
push 9
call fcn.0040c750
mov word [esp + 0x100], ax
add esp, 0x10
movzx eax, ax
add eax, 6
mov dword [esp + 0x50], 0x13
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], 0x12
jmp 0x42031a
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], 1
mov dword [eax + 0x38], 0x811c
cmp dword [ebx + 0xb8], 2
jne 0x420395
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x420395
mov al, byte [edi + 0x4d7]
jmp 0x42039b
mov al, byte [edi + 0x46b]
test al, al
jne 0x4203a9
mov eax, dword [ebp + 8]
or dword [eax + 0x38], 0x80
push 0x10
push 1
call dword [0x476010]
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x4203da
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.0040a120
mov eax, 0x1b
jmp 0x420577
push esi
call fcn.0045374c
mov ebp, eax
add esp, 4
test ebp, ebp
je case.0x4201d9.2146893056
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 8]
mov ecx, dword [edx + 4]
lea eax, [ecx + 8]
push eax
lea eax, [edx + 0x3c]
push eax
lea eax, [esp + 0xbc]
push eax
push ecx
xor ecx, ecx
lea eax, [esp + 0x78]
cmp byte [edx + 0x46], cl
push 0
cmove eax, ecx
push eax
mov eax, dword [0x476bdc]
push ecx
push ecx
push dword [edx + 0x38]
mov eax, dword [eax + 0x18]
push ebp
push ecx
push dword [edx]
call eax
push ebp
mov esi, eax
call fcn.00446e2d
add esp, 4
cmp esi, 0x90312
je 0x4204e0
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 8]
push dword [ecx + 4]
call dword [0x476004]
mov eax, dword [ebx + 8]
add esp, 4
mov dword [eax + 4], 0
lea eax, [esp + 0x168]
push 0x100
push eax
cmp esi, 0x80090300
je 0x4204bd
cmp esi, 0x80090322
je 0x42049a
push esi
call fcn.0041b8e0
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.0040a120
add esp, 0x18
mov eax, 0x23
jmp 0x42057a
push 0x80090322
call fcn.0041b8e0
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edi
call fcn.0040a120
add esp, 0x18
mov eax, 0x3c
jmp 0x42057a
push 0x80090300
call fcn.0041b8e0
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.0040a120
add esp, 0x18
mov eax, 0x1b
jmp 0x42057a
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x50]
push dword [esp + 0x6c]
push dword [ebx + eax*4 + 0x148]
push edi
call fcn.0040a6f0
mov ecx, dword [0x476bdc]
add esp, 0x14
mov esi, eax
push dword [esp + 0x64]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
test esi, esi
jne 0x420550
cmp ecx, eax
jne 0x420550
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
mov dword [eax + 0x40], 0
mov eax, dword [ecx + 8]
mov byte [eax + 0x44], 0
mov eax, dword [ecx + 8]
mov byte [eax + 0x45], 0
mov eax, dword [ecx + 8]
mov byte [eax + 0x34], 0
xor eax, eax
mov dword [ecx + 4], 1
jmp 0x42057a
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push edi
call fcn.0040a120
add esp, 0x10
mov eax, 0x23
jmp 0x42057a
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push edi
call fcn.0040a120
mov eax, 0x4d
add esp, 8
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004435c6
add esp, 0x25c
ret