Function at 0x104aaa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x10ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x144], ebx
mov esi, dword [edi + 8]
call fcn.01031110
push ebx
push edi
mov dword [ebp - 0x16c], eax
call fcn.010310e0
mov dword [ebp - 0x150], 0
mov edx, eax
mov eax, dword [esi + 0x18]
xor ebx, ebx
mov esi, dword [ebp - 0x16c]
add esp, 0xc
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], eax
cmp byte [esi + 0x39], bl
je 0x104ab5e
mov cl, byte [eax + 0x48]
cmp byte [edx + 0x63], bl
je 0x104ab25
test cl, cl
mov dword [ebp - 0x15c], 0x1820
mov eax, 0x1808
cmove eax, dword [ebp - 0x15c]
jmp 0x104ab63
cmp byte [edx + 0x65], bl
je 0x104ab44
test cl, cl
mov dword [ebp - 0x15c], 0x1a20
mov eax, 0x1a08
cmove eax, dword [ebp - 0x15c]
jmp 0x104ab63
test cl, cl
mov dword [ebp - 0x15c], 0x220
mov eax, 0x208
cmove eax, dword [ebp - 0x15c]
jmp 0x104ab63
mov eax, 0x1808
mov ecx, eax
or ecx, 4
cmp byte [esi + 0x3a], bl
cmovne ecx, eax
mov dword [ebp - 0x174], ecx
mov cl, byte [edx + 0x67]
mov edx, dword [ebp - 0x174]
mov eax, edx
or eax, 0x10
test cl, cl
cmove edx, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [ebp - 0x174], edx
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, edx
push eax
push dword [ebp - 0x144]
call fcn.01036ed0
movzx eax, byte [esi + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x104abbd
movzx eax, byte [eax + 0x104b8f0]
jmp dword [eax*4 + 0x104b8e8]
push dword [ebp - 0x144]
lea eax, [ebp - 0x17c]
push edi
push eax
call fcn.0104cb30
add esp, 0xc
test eax, eax
jne 0x104b8d6
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x3c8]
test eax, eax
jne 0x104abfe
cmp dword [edx + 0x3dc], ebx
je 0x104b188
mov ecx, dword [edx + 0x3dc]
xor edi, edi
mov dword [ebp - 0x164], ebx
xor esi, esi
mov dword [ebp - 0x15c], ebx
xor ebx, ebx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x170], ecx
test ecx, ecx
je 0x104ac4b
mov eax, dword [ecx]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14c], eax
jmp 0x104acc2
push eax
call fcn.01046490
mov esi, eax
add esp, 4
test esi, esi
je case.0x104b865.2146893056
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x164]
push eax
push esi
call fcn.0104a7a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x104b07f
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 0x3c8]
cmp byte [ecx], bl
je 0x104b052
push 0x10c9f2c
push ecx
call fcn.010465d0
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x104b04c
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x408]
test eax, eax
je 0x104ad18
push 0x10cf798
push eax
call fcn.0103a810
add esp, 8
test eax, eax
jne 0x104ad12
cmp dword [ebp - 0x170], ebx
je 0x104aced
mov eax, str._memory_blob_
jmp 0x104acf9
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x3c8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 0xc
jmp 0x104b0cc
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], ebx
jne 0x104ad2e
test eax, eax
je 0x104b085
xor edi, edi
test eax, eax
je 0x104ad40
mov dword [ebp - 0x158], str._memory_blob_
jmp 0x104ad4c
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x158], eax
test esi, esi
je 0x104ad59
push esi
call fcn.01076e94
add esp, 4
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x104adea
xor eax, eax
push 2
push eax
push esi
mov dword [ebp - 0x164], eax
call fcn.01083d72
add esp, 0xc
test eax, eax
sete cl
mov byte [ebp - 0x13d], cl
test eax, eax
jne 0x104ae9c
push esi
call fcn.010869e3
add esp, 4
mov dword [ebp - 0x164], eax
test eax, eax
jns 0x104aea0
mov byte [ebp - 0x13d], bl
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
test eax, eax
je 0x104aef7
push esi
push 1
push edx
push eax
call fcn.010836db
add esp, 0x10
cmp eax, 1
jne 0x104aef7
push esi
call fcn.01083f4d
add esp, 4
cmp byte [ebp - 0x13d], bl
je 0x104af00
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x418]
test eax, eax
je 0x104ae20
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x104ae17
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x10ec098]
mov esi, eax
add esp, 4
test esi, esi
je 0x104af67
test edi, edi
je 0x104af3c
mov eax, dword [ebp - 0x144]
lea ecx, [edi + 1]
push ecx
push esi
push edi
lfence
push dword [eax + 0x418]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x104af3e
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.010681a0
add esp, 0x14
test al, al
lea eax, [ebp - 0x160]
je 0x104af51
push 0x8000
jmp 0x104af53
xor eax, eax
jmp 0x104aea6
mov cl, byte [ebp - 0x13d]
mov edx, eax
mov dword [ebp - 0x14c], edx
test cl, cl
je 0x104aeec
push 0
push 0
push esi
call fcn.01083d72
add esp, 0xc
test eax, eax
sete byte [ebp - 0x13d]
test eax, eax
jne 0x104adab
mov eax, dword [ebp - 0x164]
inc eax
push eax
call dword [0x10ec098]
add esp, 4
mov dword [ebp - 0x154], eax
jmp 0x104adb1
mov eax, dword [ebp - 0x154]
jmp 0x104adb7
push esi
call fcn.01083f4d
add esp, 4
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.01036e10
push dword [ebp - 0x154]
call dword [0x10ec09c]
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, edi
jg 0x104ae6d
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x104ae72
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebx, eax
call dword [0x10ec09c]
add esp, 4
cmp dword [ebp - 0x170], 0
jne 0x104af7f
push dword [ebp - 0x154]
call dword [0x10ec09c]
add esp, 4
test ebx, ebx
jne 0x104afeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x104afbb
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 0xc
lea eax, [ebx + 0x3a]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x158]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 0x10
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x150], eax
test eax, eax
jne 0x104b182
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x158]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 0x10
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x144]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.01036e10
push esi
call fcn.01076e94
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x164]
push edi
or eax, 0x4000
push eax
push 0
push 0
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebx, eax
test ebx, ebx
jne 0x104b0ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x164]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x144]
call fcn.01036e10
push edi
call dword [0x10ec09c]
add esp, 0x18
test esi, esi
je 0x104b0d9
push esi
call fcn.01076e94
add esp, 4
pop edi
pop esi
mov eax, 0x3a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10ec09c]
add esp, 4
mov dword [ebp - 0x188], 0x14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x15c]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x104b145
test esi, esi
je 0x104b02d
push esi
call fcn.01076e94
add esp, 4
jmp 0x104b02d
push 0
lea eax, [ebp - 0x188]
push eax
push 0x10000
push 0
push 0x10001
push ebx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x150], eax
test esi, esi
je 0x104b17a
push esi
call fcn.01076e94
mov eax, dword [ebp - 0x150]
add esp, 4
test eax, eax
je 0x104b02d
mov esi, dword [ebp - 0x16c]
push 0x20
push 1
call dword [0x10ec0a8]
mov edi, dword [ebp - 0x180]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x104b1e8
push str.schannel:_unable_to_allocate_memory
push dword [ebp - 0x144]
call fcn.01036e10
mov eax, dword [ebp - 0x150]
add esp, 8
test eax, eax
je 0x104b1c5
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je case.0x104b865.2146893056
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [edi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.010681a0
add esp, 0x14
test al, al
je 0x104b737
push 0x2c
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.01073330
push 0x70
xorps xmm0, xmm0
lea eax, [ebp - 0xac]
push 0
push eax
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.01073330
mov edi, dword [esi + 0x14]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x160], xmm0
add esp, 0x18
movlpd qword [ebp - 0x168], xmm0
mov dword [ebp - 0x14c], eax
test edi, edi
je 0x104b6bc
mov dh, 1
xor ecx, ecx
mov al, dh
mov dword [ebp - 0x16c], ecx
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x146], dh
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x13e], dh
mov byte [ebp - 0x145], dh
mov byte [ebp - 0x13f], dh
mov byte [ebp - 0x13d], al
nop dword [eax + eax]
cmp byte [edi], 0
je 0x104b4ff
cmp ecx, 5
jge 0x104b4ff
push 0x3a
push edi
call fcn.01075a00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x104b2c9
mov esi, ebx
sub esi, edi
jmp 0x104b2d9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x104b2d0
sub esi, ecx
cmp esi, 0x1f
ja 0x104b4d6
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
lfence
call fcn.0107a070
mov dh, byte [ebp - 0x146]
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
test dh, dh
je 0x104b34c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_256_GCM_SHA384
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x104b330
test dl, dl
je 0x104b32c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x104b330
add eax, 2
add ecx, 2
test dl, dl
jne 0x104b310
xor eax, eax
jmp 0x104b335
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104b34c
mov al, byte [ebp - 0x13d]
xor dh, dh
mov byte [ebp - 0x146], dh
jmp 0x104b481
cmp byte [ebp - 0x13e], 0
je 0x104b39c
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x104b380
test dl, dl
je 0x104b37c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x104b380
add eax, 2
add ecx, 2
test dl, dl
jne 0x104b360
xor eax, eax
jmp 0x104b385
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104b39c
mov al, byte [ebp - 0x13d]
xor ah, ah
mov byte [ebp - 0x13e], ah
jmp 0x104b487
cmp byte [ebp - 0x145], 0
je 0x104b3ea
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x104b3d0
test dl, dl
je 0x104b3cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x104b3d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x104b3b0
xor eax, eax
jmp 0x104b3d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104b3ea
mov byte [ebp - 0x145], al
mov al, byte [ebp - 0x13d]
jmp 0x104b481
cmp byte [ebp - 0x13f], 0
je 0x104b43f
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_8_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x104b420
test dl, dl
je 0x104b41c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x104b420
add eax, 2
add ecx, 2
test dl, dl
jne 0x104b400
xor eax, eax
jmp 0x104b425
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104b43f
mov al, byte [ebp - 0x13d]
xor dl, dl
mov ah, byte [ebp - 0x13e]
mov byte [ebp - 0x13f], dl
jmp 0x104b48d
cmp byte [ebp - 0x13d], 0
je 0x104b4ad
lea ecx, [ebp - 0x3c]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x104b470
test dl, dl
je 0x104b46c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x104b470
add eax, 2
add ecx, 2
test dl, dl
jne 0x104b450
xor eax, eax
jmp 0x104b475
sbb eax, eax
or eax, 1
test eax, eax
jne 0x104b4ad
xor al, al
mov byte [ebp - 0x13d], al
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
mov edi, ebx
test ebx, ebx
je 0x104b496
lea edi, [ebx + 1]
mov ecx, dword [ebp - 0x16c]
inc ecx
mov dword [ebp - 0x16c], ecx
test edi, edi
jne 0x104b2a0
jmp 0x104b50b
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push str.Cipher_name_too_long__not_checked.
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
mov ah, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13f]
test dh, dh
je 0x104b54d
test ah, ah
je 0x104b54d
cmp byte [ebp - 0x145], 0
je 0x104b54d
test dl, dl
je 0x104b551
test al, al
je 0x104b555
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 8
mov eax, 0x3b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x104b555
test al, al
je 0x104b5d3
mov dword [ebp - 0x160], 0x200020
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x15c], str.ChainingModeCCM
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 0x80008
mov dword [ebp - 0xa4], 0x10cfa54
cmp dl, al
je 0x104b5c6
test dl, dl
je 0x104b5bc
mov edi, 1
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x14c], edi
jmp 0x104b5d5
mov dword [ebp - 0x94], 0x40
mov edi, 1
mov dword [ebp - 0x14c], edi
jmp 0x104b5d5
xor edi, edi
test dh, dh
jne 0x104b5e1
test ah, ah
je 0x104b67c
mov bh, byte [ebp - 0x146]
lea edx, [edi*8]
sub edx, edi
mov dword [ebp - 0x168], 0x200020
mov dword [ebp - 0x164], str.ChainingModeGCM
cmp bh, ah
je 0x104b619
test bh, bh
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x104b61e
mov esi, 0x10cfa54
mov bl, byte [ebp - 0x13e]
xor eax, eax
cmp bh, bl
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp bh, bl
setne al
add eax, 2
inc edi
mov dword [ebp + edx*4 - 0xac], eax
lea eax, [ebp - 0x168]
mov word [ebp + edx*4 - 0xa8], cx
mov word [ebp + edx*4 - 0xa6], cx
mov dword [ebp + edx*4 - 0xa4], esi
mov dword [ebp + edx*4 - 0x9c], eax
mov dword [ebp + edx*4 - 0xa0], 1
mov dword [ebp - 0x14c], edi
cmp byte [ebp - 0x145], 0
je 0x104b6b6
lea eax, [edi*8]
sub eax, edi
inc edi
mov dword [ebp - 0x14c], edi
mov dword [ebp + eax*4 - 0xac], 2
mov dword [ebp + eax*4 - 0xa8], 0x240024
mov dword [ebp + eax*4 - 0xa4], str.CHACHA20_POLY1305
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x174]
or eax, 0x400000
mov dword [ebp - 0x190], 1
cmp dword [ebp - 0x150], 0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x17c]
not eax
mov dword [ebp - 0x1b4], 5
mov dword [ebp - 0x14], eax
je 0x104b720
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x1a8], eax
mov edi, dword [ebp - 0x180]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1b4]
jmp 0x104b7ed
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x1c0]
push 0x38
push 0
push eax
call fcn.01073330
mov ecx, dword [ebp - 0x174]
add esp, 0xc
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c0], 4
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a0], eax
test esi, esi
je 0x104b7b6
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c0]
push esi
push eax
call fcn.0104ca80
mov esi, eax
add esp, 0xc
test esi, esi
je 0x104b7c2
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
or ecx, 0x400000
mov dword [ebp - 0x190], ecx
cmp dword [ebp - 0x150], 0
je 0x104b7e1
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], eax
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x1c0]
push ecx
push 0
push 0
push eax
mov eax, dword [0x10f0b68]
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 [ebp - 0x150]
test eax, eax
je 0x104b81b
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x104b882
push 0x100
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.010466e0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x144]
call fcn.01036e10
push dword [edi]
call dword [0x10ec09c]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x104b865.2146893055
movzx eax, byte [esi + 0x104b904]
jmp dword [eax*4 + 0x104b8f8]
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push str.SSL_versions_not_supported
push dword [ebp - 0x144]
call fcn.01036e10
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01021d6d
mov esp, ebp
pop ebp
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x144]
call fcn.01036e10
mov eax, 0x23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01021d6d
mov esp, ebp
pop ebp
ret