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

Disassembly:
sub esp, 0x25c
mov eax, dword [0x10139040]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x268]
mov ecx, 0x1d0
push ebx
push ebp
mov ebp, dword [esp + 0x26c]
lea ebx, [eax + 0x1a]
mov dword [esp + 0x38], eax
shl ebx, 4
push esi
add ebx, ebp
mov dword [esp + 0x40], 0xffffffff
cmp dword [ebp + 0xc0], 2
mov esi, 0x1c0
push edi
mov edi, dword [esp + 0x270]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
jne 0x100e74f6
cmp dword [ebp + 0x15c], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + ebp], 2
je 0x100e74f6
mov eax, dword [ebp + 0xb4]
jmp 0x100e74f9
mov eax, dword [ebp + 0x6c]
push 1
push 2
push 1
push 5
mov dword [esp + 0x4c], eax
call fcn.100fd930
add esp, 0x10
test al, al
je 0x100e751f
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.100d2d50
add esp, 8
cmp byte [ebp + 0x26c], 0
je 0x100e755b
push str.wine_get_version
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100e755b
push 3
push 2
push 3
push 6
call fcn.100fd930
add esp, 0x10
test al, al
je 0x100e755b
mov cl, 1
jmp 0x100e755d
xor cl, cl
mov eax, dword [ebx + 8]
mov byte [eax + 0x46], cl
cmp dword [ebp + 0xc0], 2
jne 0x100e758b
cmp dword [ebp + 0x15c], 0xffffffff
mov eax, esi
mov ecx, 0x1d0
cmovne eax, ecx
cmp dword [eax + ebp], 2
je 0x100e758b
mov eax, dword [ebp + 0x224]
jmp 0x100e7591
mov eax, dword [ebp + 0x1f0]
test eax, eax
je 0x100e75ca
push 3
push 2
push 1
push 6
call fcn.100fd930
add esp, 0x10
test al, al
je 0x100e75b2
mov eax, dword [ebx + 8]
mov byte [eax + 0x47], 1
jmp 0x100e75d1
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push edi
call fcn.100d2c90
add esp, 8
mov eax, 0x4d
jmp 0x100e8246
mov eax, dword [ebx + 8]
mov byte [eax + 0x47], 0
mov eax, dword [ebx + 8]
mov dword [eax], 0
cmp dword [ebp + 0xc0], 2
jne 0x100e7602
cmp dword [ebp + 0x15c], 0xffffffff
mov eax, esi
mov ecx, 0x1d0
cmovne eax, ecx
cmp dword [eax + ebp], 2
je 0x100e7602
mov al, byte [edi + 0x49b]
jmp 0x100e7608
mov al, byte [edi + 0x433]
test al, al
je 0x100e7645
push edi
call fcn.100cdf40
push dword [esp + 0x44]
lea eax, [esp + 0x3c]
push 0
push eax
push ebp
push edi
call fcn.100cd9a0
add esp, 0x18
test al, al
jne 0x100e763c
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax]
inc dword [eax + 0x10]
push edi
call fcn.100cdf70
add esp, 4
mov esi, dword [ebx + 8]
cmp dword [esi], 0
jne 0x100e7f73
push 0x38
lea eax, [esp + 0x80]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x7c], 4
cmp byte [ebp + 0x214], 0
je 0x100e76ae
cmp byte [esi + 0x47], 0
mov eax, 0x20
mov ecx, 8
cmovne eax, ecx
cmp byte [edi + 0x463], 0
je 0x100e7697
or eax, 0x1800
jmp 0x100e76b3
cmp byte [edi + 0x465], 0
je 0x100e76a7
or eax, 0x1a00
jmp 0x100e76b3
or eax, 0x200
jmp 0x100e76b3
mov eax, 0x1808
cmp byte [ebp + 0x215], 0
mov dword [esp + 0xac], eax
jne 0x100e76cd
or eax, 4
mov dword [esp + 0xac], eax
mov edx, dword [ebp + 0x1e4]
cmp edx, 7
ja case.default.0x100e76dc
jmp dword [edx*4 + 0x100e8260]
mov ecx, dword [ebp + 0xc0]
cmp ecx, 2
jne 0x100e7738
cmp dword [ebp + 0x15c], 0xffffffff
mov esi, 0x1c0
mov eax, esi
cmovne eax, dword [esp + 0x30]
cmp dword [eax + ebp], ecx
je 0x100e7714
mov edx, dword [ebp + 0x218]
mov esi, dword [ebp + 0x21c]
jmp 0x100e773e
cmp ecx, 2
jne 0x100e7738
cmp dword [ebp + 0x15c], 0xffffffff
mov eax, esi
mov ecx, 0x1d0
cmovne eax, ecx
cmp dword [eax + ebp], 2
je 0x100e7738
mov esi, dword [ebp + 0x21c]
jmp 0x100e773e
mov esi, dword [ebp + 0x1e8]
test esi, esi
je 0x100e774a
cmp esi, 0x10000
jne 0x100e774f
mov esi, 0x60000
sar esi, 0x10
cmp edx, esi
jg 0x100e77c3
mov ecx, dword [esp + 0x9c]
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x100e7765
jmp dword [edx*4 + 0x100e8280]
or ecx, 0x80
jmp 0x100e7782
or ecx, 0x200
jmp 0x100e7782
or ecx, 0x800
mov dword [esp + 0x9c], ecx
inc edx
lea eax, [edx + 4]
cmp eax, esi
jle 0x100e7760
jmp 0x100e77c3
push str.schannel:_TLS_1.3_is_not_yet_supported
push edi
call fcn.100d2c90
add esp, 8
mov eax, 0x23
jmp 0x100e8246
mov dword [esp + 0x9c], 0x20
jmp 0x100e77c3
mov dword [esp + 0x9c], 8
mov ecx, dword [ebp + 0xc0]
mov edx, 0x1c0
lea esi, [edx + 0x10]
cmp ecx, 2
jne 0x100e77ef
cmp dword [ebp + 0x15c], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + ebp], ecx
je 0x100e77ef
mov eax, dword [ebp + 0x234]
jmp 0x100e77f5
mov eax, dword [ebp + 0x200]
test eax, eax
je 0x100e7881
cmp ecx, 2
jne 0x100e7819
cmp dword [ebp + 0x15c], 0xffffffff
cmovne edx, esi
cmp dword [edx + ebp], ecx
je 0x100e7819
mov esi, dword [ebp + 0x234]
jmp 0x100e781f
mov esi, dword [ebp + 0x200]
xor ebx, ebx
test esi, esi
je 0x100e786b
cmp byte [esi], 0
je 0x100e786b
cmp ebx, 0x2d
jge 0x100e786b
push 0
push 0
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
add esp, 0xc
test eax, eax
jne 0x100e784d
push esi
call fcn.100e6450
add esp, 4
test eax, eax
je 0x100e78c7
push 0x3a
mov dword [ebx*4 + 0x101568c0], eax
inc ebx
push esi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x100e786b
add esi, 1
jne 0x100e7825
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x98], 0x101568c0
mov esi, dword [edi + 0x410]
test esi, esi
jne 0x100e78df
cmp dword [edi + 0x428], esi
je 0x100e7e60
mov eax, dword [edi + 0x428]
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x100e7aba
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push edi
call fcn.100d2c90
add esp, 8
mov eax, 0x3b
jmp 0x100e8246
mov eax, dword [edi + 0x428]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100e7927
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x100e7aba
test esi, esi
je case.0x100e7f39.2146893056
push 0x5c
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x100e7a8e
mov ebx, eax
sub ebx, esi
push ebx
push str.CurrentUser
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e796a
mov dword [esp + 0x14], 0x10000
jmp 0x100e7a39
push ebx
push str.LocalMachine
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e798a
mov dword [esp + 0x14], 0x20000
jmp 0x100e7a39
push ebx
push str.CurrentService
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e79aa
mov dword [esp + 0x14], 0x40000
jmp 0x100e7a39
push ebx
push str.Services
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e79c7
mov dword [esp + 0x14], 0x50000
jmp 0x100e7a39
push ebx
push str.Users
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e79e4
mov dword [esp + 0x14], 0x60000
jmp 0x100e7a39
push ebx
push str.CurrentUserGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e7a01
mov dword [esp + 0x14], 0x70000
jmp 0x100e7a39
push ebx
push str.LocalMachineGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e7a1e
mov dword [esp + 0x14], 0x80000
jmp 0x100e7a39
push ebx
push str.LocalMachineEnterprise
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100e7a8e
mov dword [esp + 0x14], 0x90000
mov ebx, dword [esp + 0x60]
inc ebx
push 0x5c
push ebx
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x100e7a8e
lea eax, [esi + 1]
mov ecx, eax
mov dword [esp + 0x28], eax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e7a60
sub ecx, edx
cmp ecx, 0x28
jne 0x100e7a8e
push ebx
mov byte [esi], al
call dword [0x1013900c]
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esi], 0x5c
test eax, eax
jne 0x100e7b18
lea esi, [eax + 0x1b]
jmp 0x100e7a93
mov esi, 0x3a
mov eax, dword [edi + 0x410]
cmp byte [eax], 0
je 0x100e7f40
push 0x1011ba5c
push eax
call fcn.100e4970
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100e7f40
mov eax, dword [edi + 0x44c]
test eax, eax
je 0x100e7b00
push 0x1011fa18
push eax
call fcn.100d7cf0
add esp, 8
test eax, eax
jne 0x100e7b00
cmp dword [esp + 0x2c], eax
mov eax, str._memory_blob_
jne 0x100e7ae7
mov eax, dword [edi + 0x410]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.100d2c90
add esp, 0xc
mov eax, 0x3a
jmp 0x100e8246
mov eax, dword [esp + 0x2c]
test ebx, ebx
jne 0x100e7bdf
test eax, eax
jne 0x100e7bdf
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
mov eax, esi
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 0x100e7b63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x18]
push eax
push ebx
push esi
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push edi
call fcn.100d2c90
push ebx
call dword [0x10139004]
add esp, 0x18
mov eax, 0x3a
jmp 0x100e8246
push dword [esp + 0x18]
call dword [0x10139004]
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 + 0x40]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x100e7bcc
push 0
lea eax, [esp + 0x78]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100e7e3d
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x100e8246
xor esi, esi
test eax, eax
je 0x100e7bef
mov dword [esp + 0x18], str._memory_blob_
jmp 0x100e7bf9
mov eax, dword [edi + 0x410]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x100e7c74
xor eax, eax
push 2
push eax
push ebx
mov dword [esp + 0x34], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x100e7d46
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jns 0x100e7d4a
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x100e7d95
push ebx
push 1
push edx
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x100e7d95
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
cmp byte [esp + 0x13], 0
je 0x100e7d9e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x45c]
test eax, eax
je 0x100e7c9c
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100e7c93
sub esi, ecx
lea eax, [esi*2 + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100e7cfd
test esi, esi
je 0x100e7dc3
lea ecx, [esi + 1]
push ecx
push ebx
push esi
push dword [edi + 0x45c]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x100e7dc5
xor eax, eax
mov word [ebx], ax
push 0
push ebx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push ebx
mov dword [esp + 0x34], eax
call dword [0x10139004]
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x100e7d11
push dword [esp + 0x1c]
call dword [0x10139004]
add esp, 4
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x100e7df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x100e7dd8
push dword [esp + 0x18]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push edi
call fcn.100d2c90
add esp, 0xc
lea eax, [ebx + 0x3a]
jmp 0x100e8246
xor eax, eax
jmp 0x100e7d4e
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x20], edx
test cl, cl
je 0x100e7d8c
push 0
push 0
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x100e7c3a
mov eax, dword [esp + 0x28]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x100e7c3e
mov eax, dword [esp + 0x1c]
jmp 0x100e7c42
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
push dword [edi + 0x410]
push str.schannel:_Failed_to_read_cert_file__s
push edi
call fcn.100d2c90
push dword [esp + 0x28]
call dword [0x10139004]
mov eax, 0x3a
jmp 0x100e8243
xor eax, eax
cmp eax, esi
jg 0x100e7cdc
xor ecx, ecx
mov word [ebx + eax*2], cx
jmp 0x100e7ce1
push eax
push dword [esp + 0x1c]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push edi
call fcn.100d2c90
add esp, 0x10
mov eax, 0x3a
jmp 0x100e8246
push 0
push 0
push 0
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100e7e3d
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.100d2c90
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x100e8246
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x84], 1
push ebx
mov dword [esp + 0x8c], eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov ebx, dword [esp + 0x38]
push 0x18
push 1
call dword [0x10139010]
mov ecx, dword [ebx + 8]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax]
test eax, eax
jne 0x100e7ea6
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.100d2c90
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je case.0x100e7f39.2146893056
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x100e8246
mov dword [eax + 0x10], 1
mov eax, dword [ebx + 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 [0x10156978]
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 0x100e7ee9
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x100e7f73
push pe_nt_image_headers32
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.100bfa70
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push edi
call fcn.100d2c90
mov eax, dword [ebx + 8]
push dword [eax]
call dword [0x10139004]
mov eax, dword [ebx + 8]
add esi, 0x7ff6fd00
add esp, 0x1c
mov dword [eax], 0
cmp esi, 0xe
ja case.0x100e7f39.2146893055
movzx eax, byte [esi + 0x100e829c]
jmp dword [eax*4 + 0x100e8290]
push dword [edi + 0x410]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push edi
call fcn.100d2c90
add esp, 0xc
mov eax, esi
jmp 0x100e8246
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push edi
call fcn.100d2c90
add esp, 8
mov eax, 0x23
jmp 0x100e8246
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xc0]
push eax
push esi
push 2
call fcn.100e4b70
add esp, 0xc
test eax, eax
jne 0x100e7fa5
lea eax, [esp + 0xc4]
push eax
push esi
push 0x17
call fcn.100e4b70
add esp, 0xc
test eax, eax
je 0x100e7fb3
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push edi
call fcn.100d2d50
add esp, 8
mov eax, dword [ebx + 8]
cmp byte [eax + 0x46], 0
je 0x100e8040
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.100d2d50
push 9
call fcn.100d54e0
mov word [esp + 0x100], ax
add esp, 0x10
movzx eax, ax
add eax, 6
mov dword [esp + 0x48], 0x13
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], 0x12
jmp 0x100e8060
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 1
push 0x10
mov dword [esp + 0x6c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], 1
push 1
mov dword [eax + 0x38], 0x811c
call dword [0x10139010]
mov ecx, dword [ebx + 8]
add esp, 8
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x100e80e5
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.100d2c90
add esp, 8
mov eax, 0x1b
jmp 0x100e8246
test esi, esi
je case.0x100e7f39.2146893056
lea eax, [edx + 8]
push eax
lea eax, [ecx + 0x3c]
push eax
lea eax, [esp + 0xbc]
push eax
push edx
xor edx, edx
lea eax, [esp + 0x78]
cmp byte [ecx + 0x46], dl
push 0
cmove eax, edx
push eax
mov eax, dword [0x10156978]
push edx
push edx
push dword [ecx + 0x38]
mov eax, dword [eax + 0x18]
push esi
push edx
push dword [ecx]
call eax
mov esi, eax
cmp esi, 0x90312
je 0x100e81c5
mov ecx, dword [ebx + 8]
push dword [ecx + 4]
call dword [0x10139004]
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x16c]
add esp, 4
mov dword [ecx + 4], 0
push pe_nt_image_headers32
push eax
cmp esi, 0x80090300
je 0x100e81a2
cmp esi, 0x80090322
je 0x100e817f
push esi
call fcn.100bfa70
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.100d2c90
add esp, 0x18
mov eax, 0x23
jmp 0x100e8246
push 0x80090322
call fcn.100bfa70
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push edi
call fcn.100d2c90
add esp, 0x18
mov eax, 0x3c
jmp 0x100e8246
push 0x80090300
call fcn.100bfa70
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push edi
call fcn.100d2c90
add esp, 0x18
mov eax, 0x1b
jmp 0x100e8246
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x48]
push dword [esp + 0x64]
push dword [ebp + eax*4 + 0x158]
push edi
call fcn.100d3260
mov ecx, dword [0x10156978]
add esp, 0x14
mov esi, eax
push dword [esp + 0x5c]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
test esi, esi
jne 0x100e8231
cmp ecx, eax
jne 0x100e8231
mov eax, dword [ebx + 8]
mov dword [eax + 0x40], 0
mov eax, dword [ebx + 8]
mov byte [eax + 0x44], 0
mov eax, dword [ebx + 8]
mov byte [eax + 0x45], 0
mov eax, dword [ebx + 8]
mov byte [eax + 0x34], 0
xor eax, eax
mov dword [ebx + 4], 1
jmp 0x100e8246
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push edi
call fcn.100d2c90
mov eax, 0x23
add esp, 0x10
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010b45c
add esp, 0x25c
ret