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

Disassembly:
sub esp, 0x25c
mov eax, dword [0x1008602c]
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 0x1002e1e0
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1002e1e0
mov eax, dword [ebx + 0xac]
jmp 0x1002e1e3
mov eax, dword [ebx + 0x64]
push 1
push 2
push 1
push 5
mov dword [esp + 0x54], eax
call fcn.10044ac0
add esp, 0x10
test al, al
je 0x1002e209
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.10017c70
add esp, 8
cmp byte [ebx + 0x264], 0
je 0x1002e245
push str.wine_get_version
push 0x100775ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1002e245
push 3
push 2
push 3
push 6
call fcn.10044ac0
add esp, 0x10
test al, al
je 0x1002e245
mov cl, 1
jmp 0x1002e247
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 0x1002e276
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x1002e276
mov eax, dword [ebx + 0x218]
jmp 0x1002e27c
mov eax, dword [ebx + 0x1e0]
test eax, eax
jne 0x1002e2b1
cmp ecx, 2
jne 0x1002e29e
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, edx
cmp dword [eax + ebx], ecx
je 0x1002e29e
mov eax, dword [ebx + 0x238]
jmp 0x1002e2a4
mov eax, dword [ebx + 0x200]
test eax, eax
jne 0x1002e2b1
mov eax, dword [ebp + 8]
mov byte [eax + 0x47], 0
jmp 0x1002e2d0
push 3
push 2
push 1
push 6
call fcn.10044ac0
add esp, 0x10
test al, al
je 0x1002f130
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 0x1002e301
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1002e301
mov al, byte [edi + 0x4a3]
jmp 0x1002e307
mov al, byte [edi + 0x437]
test al, al
je 0x1002e375
push edi
call fcn.10012300
add esp, 4
cmp dword [ebx + 0xb8], 2
jne 0x1002e339
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 0x1002e33e
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.10011d10
add esp, 0x18
test al, al
jne 0x1002e36c
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.10012320
add esp, 4
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x1002edf6
push 0x38
lea eax, [esp + 0x80]
push 0
push eax
call fcn.10053e30
add esp, 0xc
mov dword [esp + 0x7c], 4
cmp byte [ebx + 0x208], 0
je 0x1002e434
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 0x1002e3e7
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ebp
cmp dword [eax + ebx], edx
je 0x1002e3e7
mov al, byte [edi + 0x4d3]
jmp 0x1002e3ed
mov al, byte [edi + 0x467]
test al, al
je 0x1002e3f9
or ecx, 0x1800
jmp 0x1002e439
cmp edx, 2
jne 0x1002e41a
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ebp
cmp dword [eax + ebx], edx
je 0x1002e41a
mov al, byte [edi + 0x4d5]
jmp 0x1002e420
mov al, byte [edi + 0x469]
test al, al
je 0x1002e42c
or ecx, 0x1a00
jmp 0x1002e439
or ecx, 0x200
jmp 0x1002e439
mov ecx, 0x1808
cmp byte [ebx + 0x209], 0
mov dword [esp + 0xac], ecx
jne 0x1002e453
or ecx, 4
mov dword [esp + 0xac], ecx
cmp dword [ebx + 0xb8], 2
mov esi, 0x1b0
jne 0x1002e480
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov edx, 0x1c0
cmovne eax, edx
cmp dword [eax + ebx], 2
je 0x1002e480
mov al, byte [edi + 0x4d7]
jmp 0x1002e486
mov al, byte [edi + 0x46b]
test al, al
jne 0x1002e49e
and ecx, 0xffffffbf
mov eax, str.schannel:_disabled_automatic_use_of_client_certificate_n
or ecx, 0x10
mov dword [esp + 0xac], ecx
jmp 0x1002e4a3
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate_n
push eax
push edi
call fcn.10017c70
mov edx, dword [ebx + 0x1d4]
add esp, 8
cmp edx, 7
ja case.default.0x1002e4c3
movzx eax, byte [edx + 0x1002f164]
jmp dword [eax*4 + 0x1002f15c]
mov ebp, dword [ebx + 0xb8]
cmp ebp, 2
jne 0x1002e517
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x1002e4f9
mov edx, dword [ebx + 0x20c]
mov esi, dword [ebx + 0x210]
jmp 0x1002e51d
cmp ebp, 2
jne 0x1002e517
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x1002e517
mov esi, dword [ebx + 0x210]
jmp 0x1002e51d
mov esi, dword [ebx + 0x1d8]
test esi, esi
je 0x1002e529
cmp esi, 0x10000
jne 0x1002e52e
mov esi, 0x60000
sar esi, 0x10
cmp edx, esi
jg 0x1002e571
mov ecx, dword [esp + 0x9c]
add edx, 0xfffffffc
nop
cmp edx, 3
ja case.default.0x1002e545
jmp dword [edx*4 + 0x1002f16c]
or ecx, 0x80
jmp 0x1002e562
or ecx, 0x200
jmp 0x1002e562
or ecx, 0x800
mov dword [esp + 0x9c], ecx
inc edx
lea eax, [edx + 4]
cmp eax, esi
jle 0x1002e540
mov ecx, 0x1c0
cmp ebp, 2
jne 0x1002e5af
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x1002e5af
mov eax, dword [ebx + 0x228]
jmp 0x1002e5b5
push str.schannel:_TLS_1.3_is_not_yet_supported
push edi
call fcn.10017bb0
add esp, 8
mov eax, 0x23
jmp 0x1002f143
mov eax, dword [ebx + 0x1f0]
test eax, eax
je 0x1002e689
cmp ebp, 2
jne 0x1002e5de
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
cmovne eax, ecx
cmp dword [eax + ebx], ebp
je 0x1002e5de
mov esi, dword [ebx + 0x228]
jmp 0x1002e5e4
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 0x1002e677
cmp byte [esi], 0
je 0x1002e677
cmp ebp, 0x2d
jge 0x1002e677
push 0
push 0
push esi
call fcn.1005e7db
add esp, 0xc
test eax, eax
jne 0x1002e659
push esi
call fcn.1002d140
add esp, 4
test eax, eax
jne 0x1002e659
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
je 0x1002e64c
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e6d1
or dword [esp + 0xac], 0x400000
jmp 0x1002e661
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebp*4], eax
inc ebp
push 0x3a
push esi
call fcn.10054510
mov esi, eax
add esp, 8
test esi, esi
je 0x1002e677
add esi, 1
jne 0x1002e5f8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebp
mov ecx, dword [edi + 0x410]
test ecx, ecx
jne 0x1002e6e6
cmp dword [edi + 0x428], ecx
je 0x1002ea50
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 0x1002e8dd
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push edi
call fcn.10017bb0
mov eax, 0x3b
jmp 0x1002f140
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 0x1002e730
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
jmp 0x1002e8dd
push ecx
call fcn.10062892
mov esi, eax
add esp, 4
test esi, esi
je 0x1002f09f
push 0x5c
push esi
call fcn.10054510
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002e8aa
mov ebp, eax
sub ebp, esi
push ebp
push str.CurrentUser
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e77e
mov dword [esp + 0x1c], 0x10000
jmp 0x1002e84d
push ebp
push str.LocalMachine
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e79e
mov dword [esp + 0x1c], 0x20000
jmp 0x1002e84d
push ebp
push str.CurrentService
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e7be
mov dword [esp + 0x1c], 0x40000
jmp 0x1002e84d
push ebp
push str.Services
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e7db
mov dword [esp + 0x1c], 0x50000
jmp 0x1002e84d
push ebp
push str.Users
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e7f8
mov dword [esp + 0x1c], 0x60000
jmp 0x1002e84d
push ebp
push str.CurrentUserGroupPolicy
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e815
mov dword [esp + 0x1c], 0x70000
jmp 0x1002e84d
push ebp
push str.LocalMachineGroupPolicy
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e832
mov dword [esp + 0x1c], 0x80000
jmp 0x1002e84d
push ebp
push str.LocalMachineEnterprise
push esi
call fcn.10057ed0
add esp, 0xc
test eax, eax
jne 0x1002e8aa
mov dword [esp + 0x1c], 0x90000
mov eax, dword [esp + 0x14]
inc eax
push 0x5c
push eax
call fcn.10054510
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1002e8aa
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 0x1002e870
sub ecx, edx
cmp ecx, 0x28
jne 0x1002e8aa
mov byte [ebp], al
mov eax, dword [esp + 0x14]
inc eax
push eax
call dword [0x1008600c]
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [ebp], 0x5c
test eax, eax
jne 0x1002e933
mov dword [esp + 0x18], 0x1b
jmp 0x1002e8b2
mov dword [esp + 0x18], 0x3a
mov eax, dword [edi + 0x410]
cmp byte [eax], 0
je 0x1002eda9
push 0x10071b84
push eax
call fcn.1002b3f0
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x1002eda9
mov eax, dword [edi + 0x450]
test eax, eax
je 0x1002e91b
push 0x10077794
push eax
call fcn.1001c150
add esp, 8
test eax, eax
jne 0x1002e91b
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x1002e90a
mov eax, dword [edi + 0x410]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.10017bb0
add esp, 0xc
jmp 0x1002e978
mov eax, dword [esp + 0x30]
test ebp, ebp
jne 0x1002ea9e
test eax, eax
jne 0x1002ea9e
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 0x1002e993
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.10017bb0
push ebx
call dword [0x10086004]
add esp, 0x18
test esi, esi
je 0x1002ecbc
push esi
call fcn.100577ad
add esp, 4
mov eax, 0x3a
jmp 0x1002f143
push dword [esp + 0x2c]
call dword [0x10086004]
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 0x1002e9fa
test esi, esi
je 0x1002e9e3
push esi
call fcn.100577ad
add esp, 4
mov ebp, dword [esp + 0x18]
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1002f143
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 0x1002ea2d
push esi
call fcn.100577ad
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x1002e9e7
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 [0x10086010]
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 0x1002ed12
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.10017bb0
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x1002f09f
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x1002f143
xor ebp, ebp
test eax, eax
je 0x1002eaae
mov dword [esp + 0x18], str._memory_blob_
jmp 0x1002eab8
mov eax, dword [edi + 0x410]
mov dword [esp + 0x18], eax
test esi, esi
je 0x1002eac5
push esi
call fcn.100577ad
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1002eb44
xor eax, eax
push 2
push eax
push esi
mov dword [esp + 0x20], eax
call fcn.1005d322
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x1002ebd5
push esi
call fcn.1005da5c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jns 0x1002ebd9
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
je 0x1002ec24
push esi
push 1
push edx
push eax
call fcn.10057b10
add esp, 0x10
cmp eax, 1
jne 0x1002ec24
push esi
call fcn.10057fbf
add esp, 4
cmp byte [esp + 0x13], 0
je 0x1002ec2d
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 0x1002eb6d
mov ebp, eax
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x1002eb63
sub ebp, ecx
lea eax, [ebp*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x1002ec6a
test ebp, ebp
je 0x1002ec55
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 0x1002ec57
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 [0x10086004]
add esp, 4
jmp 0x1002ec6c
xor eax, eax
jmp 0x1002ebdd
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x28], edx
test cl, cl
je 0x1002ec1b
push 0
push 0
push esi
call fcn.1005d322
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x1002eb0a
mov eax, dword [esp + 0x14]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x1002eb0e
mov eax, dword [esp + 0x20]
jmp 0x1002eb12
push esi
call fcn.10057fbf
add esp, 4
push dword [edi + 0x410]
push str.schannel:_Failed_to_read_cert_file__s
push edi
call fcn.10017bb0
push dword [esp + 0x2c]
call dword [0x10086004]
add esp, 0x10
mov eax, 0x3a
jmp 0x1002f143
xor eax, eax
cmp eax, ebp
jg 0x1002ebb1
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x1002ebb6
xor ebp, ebp
cmp dword [esp + 0x30], 0
jne 0x1002ec80
push dword [esp + 0x20]
call dword [0x10086004]
add esp, 4
test ebp, ebp
jne 0x1002ecc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x1002eca9
push dword [esp + 0x18]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push edi
call fcn.10017bb0
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x1002f143
push eax
push dword [esp + 0x1c]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push edi
call fcn.10017bb0
add esp, 0x10
mov eax, 0x3a
jmp 0x1002f143
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 0x1002ea31
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.10017bb0
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1002f143
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 [0x10086c9c]
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 0x1002ed55
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1002edf6
push 0x100
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.1002a360
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push edi
call fcn.10017bb0
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x10086004]
mov eax, dword [ebp + 8]
add esp, 0x1c
mov dword [eax], 0
cmp esi, 0x80090300
je 0x1002f09f
mov eax, 0x23
jmp 0x1002f143
push dword [edi + 0x410]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push edi
call fcn.10017bb0
push esi
call fcn.100577ad
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x1002f143
push str.SSL_versions_not_supported
push edi
call fcn.10017bb0
mov eax, 4
jmp 0x1002f140
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push edi
call fcn.10017bb0
mov eax, 0x23
jmp 0x1002f140
mov esi, dword [esp + 0x44]
lea eax, [esp + 0xc0]
push eax
push esi
push 2
call fcn.1002b610
add esp, 0xc
test eax, eax
jne 0x1002ee28
lea eax, [esp + 0xc4]
push eax
push esi
push 0x17
call fcn.1002b610
add esp, 0xc
test eax, eax
je 0x1002ee36
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push edi
call fcn.10017c70
add esp, 8
mov eax, dword [ebp + 8]
cmp byte [eax + 0x46], 0
je 0x1002eec3
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.10017c70
push 9
call fcn.1001a450
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 0x1002eee3
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 0x1002ef5e
cmp dword [ebx + 0x14c], 0xffffffff
mov eax, 0x1b0
mov ecx, 0x1c0
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1002ef5e
mov al, byte [edi + 0x4d7]
jmp 0x1002ef64
mov al, byte [edi + 0x46b]
test al, al
jne 0x1002ef72
mov eax, dword [ebp + 8]
or dword [eax + 0x38], 0x80
push 0x10
push 1
call dword [0x10086010]
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x1002efa3
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.10017bb0
mov eax, 0x1b
jmp 0x1002f140
push esi
call fcn.10062892
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1002f09f
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 [0x10086c9c]
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.100577ad
add esp, 4
cmp esi, 0x90312
je 0x1002f0a9
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 8]
push dword [ecx + 4]
call dword [0x10086004]
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 0x1002f086
cmp esi, 0x80090322
je 0x1002f063
push esi
call fcn.1002a360
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.10017bb0
add esp, 0x18
mov eax, 0x23
jmp 0x1002f143
push 0x80090322
call fcn.1002a360
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edi
call fcn.10017bb0
add esp, 0x18
mov eax, 0x3c
jmp 0x1002f143
push 0x80090300
call fcn.1002a360
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.10017bb0
add esp, 0x18
mov eax, 0x1b
jmp 0x1002f143
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.10018180
mov ecx, dword [0x10086c9c]
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 0x1002f119
cmp ecx, eax
jne 0x1002f119
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 0x1002f143
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push edi
call fcn.10017bb0
add esp, 0x10
mov eax, 0x23
jmp 0x1002f143
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push edi
call fcn.10017bb0
mov eax, 0x4d
add esp, 8
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10052640
add esp, 0x25c
ret