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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x45e380]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
mov ebx, edx
push esi
mov dword [esp + 0x14], ebx
call fcn.004106b0
mov ebp, eax
push ebx
push esi
mov dword [esp + 0x48], ebp
call fcn.00410690
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ecx
cmp dword [ebp + 0x3c], ebx
je 0x436c2f
mov edx, ecx
mov ecx, dword [edx + 0x54]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffe8
add ecx, 0x20
cmp dword [eax + 0x78], ebx
je 0x436c0f
or ecx, 0x1800
mov dword [esp + 0x28], ecx
jmp 0x436c3b
cmp dword [eax + 0x80], ebx
je 0x436c23
or ecx, 0x1a00
mov dword [esp + 0x28], ecx
jmp 0x436c3b
or ecx, 0x200
mov dword [esp + 0x28], ecx
jmp 0x436c3b
mov dword [esp + 0x28], 0x1808
mov ecx, dword [esp + 0x28]
cmp dword [ebp + 0x40], ebx
jne 0x436c47
or ecx, 4
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x10]
cmp dword [eax + 0x88], ebx
jne 0x436c64
and ecx, 0xffffffbf
or ecx, 0x10
mov dword [esp + 0x28], ecx
push str.schannel:_disabled_automatic_use_of_client_certificate
jmp 0x436c69
push str.schannel:_enabled_automatic_use_of_client_certificate
push edi
call fcn.004141d0
movzx eax, byte [ebp + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x436c86
movzx eax, byte [eax + 0x4378b4]
jmp dword [eax*4 + 0x4378ac]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, esi
lea edi, [esp + 0x50]
call fcn.00436820
add esp, 4
test eax, eax
jne 0x437893
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x3f8]
mov esi, 1
test eax, eax
jne 0x436cc7
cmp dword [edi + 0x40c], ebx
je 0x437190
mov ecx, dword [esp + 0x10]
xor esi, esi
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp dword [ecx + 0x40c], esi
mov dword [esp + 0x34], esi
setne bl
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], ebx
cmp ebx, esi
je 0x436d14
mov eax, dword [ecx + 0x40c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x436d9d
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
mov esi, eax
add esp, 4
test esi, esi
je 0x4371d0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, esi
call fcn.00436a30
mov edi, eax
add esp, 0xc
mov dword [esp + 0x50], edi
test edi, edi
je 0x436e24
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x3f8]
cmp byte [eax], 0
je 0x436d76
push 0x451668
push eax
call sub.MSVCR100.dll_fopen
mov edi, eax
add esp, 8
test edi, edi
jne 0x436d99
mov edi, dword [esp + 0x50]
mov ecx, dword [ebp + 0x3f8]
push ecx
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push ebp
call fcn.00414090
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x10
mov eax, edi
jmp 0x437893
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x444]
test eax, eax
je 0x436dfd
push 0x456e8c
push eax
call fcn.0040c5d0
add esp, 8
test eax, eax
jne 0x436dfd
test ebx, ebx
je 0x436dc8
mov eax, str._memory_blob_
jmp 0x436dd2
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x3f8]
mov ecx, dword [esp + 0x10]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.00414090
add esp, 0xc
test esi, esi
je 0x436df3
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, 0x3a
jmp 0x437893
test edi, edi
jne 0x436e05
test ebx, ebx
je 0x436e28
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], eax
cmp ebx, eax
je 0x436f1e
mov dword [esp + 0x14], str._memory_blob_
jmp 0x436f2c
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
push ebp
mov edx, ebx
or edx, 0x4000
push edx
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x436e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x14]
push ebp
push ebx
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push eax
call fcn.00414090
push ebp
call dword [0x45e004]
add esp, 0x18
jmp 0x436de5
push ebp
call dword [0x45e004]
add esp, 4
push 0
push 0
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x5c]
push edx
mov eax, ecx
push eax
push 4
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
push 0x28
push ecx
mov dword [esp + 0x70], 0x14
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x436ed0
test esi, esi
je 0x436ebd
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x437893
push 0
lea edx, [esp + 0x58]
push edx
push 0x10000
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test esi, esi
je 0x436efc
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x43717f
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x437893
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x3f8]
mov dword [esp + 0x14], edx
cmp esi, eax
je 0x436f3a
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test edi, edi
je 0x436ff8
mov ebx, dword [sym.imp.MSVCR100.dll_fseek]
push 2
xor ebp, ebp
push ebp
push edi
call ebx
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x436f70
push edi
call dword [sym.imp.MSVCR100.dll_ftell]
mov ebp, eax
add esp, 4
test ebp, ebp
jns 0x436f70
xor esi, esi
jmp 0x436f9a
mov dword [esp + 0x20], ebp
test esi, esi
je 0x436f9a
push 0
push 0
push edi
call ebx
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x436f9a
inc ebp
push ebp
call dword [section..data]
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x436fbc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
push 1
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x436fbe
xor esi, esi
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
test esi, esi
jne 0x436ff8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x3f8]
push edx
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.00414090
mov eax, dword [esp + 0x28]
push eax
call dword [0x45e004]
add esp, 0x10
lea eax, [esi + 0x3a]
jmp 0x437893
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x454]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ecx
test eax, eax
je 0x43702d
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437020
sub eax, edx
mov edi, eax
jmp 0x437031
mov edi, dword [esp + 0x50]
lea edx, [edi + edi + 2]
push edx
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x4370d9
test edi, edi
je 0x4370a9
mov ecx, dword [ebx + 0x454]
lea eax, [edi + 1]
push eax
push esi
push edi
push ecx
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x4370ad
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.0043a770
add esp, 0x14
test eax, eax
je 0x4370b9
push 0x8000
push esi
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call dword [0x45e004]
add esp, 4
jmp 0x4370dd
mov eax, dword [esp + 0x2c]
cmp eax, edi
jg 0x43706b
xor edx, edx
mov word [esi + eax*2], dx
jmp 0x437070
push 0
push esi
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov edi, eax
mov dword [esp + 0x1c], eax
call dword [0x45e004]
add esp, 4
jmp 0x4370dd
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x44], 0
jne 0x4370ee
push ebp
call dword [0x45e004]
add esp, 4
test edi, edi
jne 0x437136
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x437118
mov eax, dword [esp + 0x14]
push eax
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push ebx
call fcn.00414090
add esp, 0xc
lea eax, [edi + 0x3a]
jmp 0x437893
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push ebx
call fcn.00414090
add esp, 0x10
mov eax, 0x3a
jmp 0x437893
push 0
push 0
push 0
push 0
push 0x10001
push edi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x43717f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push edx
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push ebx
call fcn.00414090
add esp, 0x10
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x437893
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov esi, 1
push 0x20
push esi
call dword [0x45e010]
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x4371da
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00414090
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x4371c3
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebx, ebx
je 0x4371d0
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x437893
push 3
push 2
push 0x4563
mov dword [eax + 0x18], esi
mov eax, dword [ecx]
push 0
push 0xa
mov dword [eax + 0x14], ebx
call fcn.0043a770
add esp, 0x14
test eax, eax
je 0x437756
xor eax, eax
xor ebx, ebx
push 0x6c
lea ecx, [esp + 0xd4]
push ebx
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ebx
call sub.MSVCR100.dll_memset
mov edi, dword [ebp + 0x14]
xor eax, eax
xor edx, edx
add esp, 0xc
mov word [esp + 0x3c], dx
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
mov word [esp + 0x44], ax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
mov dword [esp + 0x2c], ebx
cmp edi, ebx
je 0x4376c8
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x94], al
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov word [esp + 0xb1], ax
mov byte [esp + 0xb3], al
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov ebx, esi
mov edi, edi
cmp byte [edi], 0
je 0x4374d7
cmp dword [esp + 0x1c], 5
jge 0x4374d7
push 0x3a
push edi
call dword [sym.imp.MSVCR100.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43733c
mov esi, ebp
sub esi, edi
jmp 0x43734c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437341
sub eax, edx
mov esi, eax
cmp esi, 0x1f
ja 0x437517
push esi
lea ecx, [esp + 0x98]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov byte [esp + esi + 0xa0], 0
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x34], esi
je 0x4373b6
lea ecx, [esp + 0x94]
mov eax, str.TLS_AES_256_GCM_SHA384
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4373a4
test dl, dl
je 0x4373a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4373a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x437384
xor eax, eax
jmp 0x4373a9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4373b6
mov dword [esp + 0x34], esi
jmp 0x4374c2
cmp dword [esp + 0x14], esi
je 0x4373fa
lea ecx, [esp + 0x94]
mov eax, str.TLS_AES_128_GCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4373e8
test dl, dl
je 0x4373e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4373e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4373c8
xor eax, eax
jmp 0x4373ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x4373fa
mov dword [esp + 0x14], esi
jmp 0x4374c2
cmp dword [esp + 0x20], esi
je 0x437442
lea ecx, [esp + 0x94]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437430
test dl, dl
je 0x43742c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437430
add eax, 2
add ecx, 2
test dl, dl
jne 0x437410
xor eax, eax
jmp 0x437435
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x437442
mov dword [esp + 0x20], esi
jmp 0x4374c2
cmp dword [esp + 0x18], esi
je 0x437483
lea ecx, [esp + 0x94]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437474
test dl, dl
je 0x437470
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437474
add eax, 2
add ecx, 2
test dl, dl
jne 0x437454
xor eax, eax
jmp 0x437479
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x437483
mov dword [esp + 0x18], esi
jmp 0x4374c2
cmp ebx, esi
je 0x437530
lea ecx, [esp + 0x94]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4374b7
test dl, dl
je 0x4374b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4374b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x437497
xor eax, eax
jmp 0x4374bc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x437530
xor ebx, ebx
mov edi, ebp
cmp ebp, esi
je 0x4374cb
lea edi, [ebp + 1]
inc dword [esp + 0x1c]
cmp edi, esi
jne 0x437310
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ecx, 0x456c68
test ebp, ebp
je 0x437549
test eax, eax
je 0x437549
cmp dword [esp + 0x20], 0
je 0x437549
cmp dword [esp + 0x18], 0
je 0x437550
test ebx, ebx
je 0x437549
mov ecx, dword [esp + 0x10]
push str.All_available_TLS_1.3_ciphers_were_disabled.
push ecx
call fcn.00414090
mov eax, 0x3b
jmp 0x437890
mov edx, dword [esp + 0x10]
push str.Cipher_name_too_long__not_checked.
push edx
call fcn.00414090
mov eax, 0x3b
jmp 0x437890
mov eax, dword [esp + 0x10]
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push eax
call fcn.00414090
mov eax, 0x3b
jmp 0x437890
cmp dword [esp + 0x18], 0
jne 0x437558
test ebx, ebx
je 0x4375d8
mov edi, 8
mov edx, 0x20
lea esi, [esp + 0x3c]
mov word [esp + 0xd0], di
mov word [esp + 0xd2], di
mov edi, dword [esp + 0x18]
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], dx
mov dword [esp + 0xdc], esi
mov edx, 2
mov esi, 1
mov dword [esp + 0x40], str.ChainingModeCCM
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ecx
cmp edi, ebx
je 0x4375d4
test edi, edi
je 0x4375c9
mov dword [esp + 0xe0], 0x80
mov edi, esi
jmp 0x4375e4
mov dword [esp + 0xe4], 0x40
mov edi, esi
jmp 0x4375e4
mov edi, dword [esp + 0x2c]
mov edx, 2
lea esi, [edx - 1]
test ebp, ebp
jne 0x4375f0
test eax, eax
je 0x437685
mov ebx, 0x20
cmp ebp, eax
mov word [esp + 0x44], bx
mov word [esp + 0x46], bx
mov dword [esp + 0x48], str.ChainingModeGCM
lea eax, [edi*8]
je 0x437648
sub eax, edi
add eax, eax
add eax, eax
mov ecx, 4
mov word [esp + eax + 0xd0], cx
mov word [esp + eax + 0xd2], cx
mov dword [esp + eax + 0xcc], 3
mov ecx, str.SHA384
test ebp, ebp
jne 0x43766a
mov ecx, str.SHA256
jmp 0x43766a
sub eax, edi
add eax, eax
add eax, eax
mov ebx, 8
mov dword [esp + eax + 0xcc], edx
mov word [esp + eax + 0xd0], bx
mov word [esp + eax + 0xd2], bx
mov dword [esp + eax + 0xd4], ecx
lea ecx, [esp + 0x44]
mov dword [esp + eax + 0xdc], ecx
mov dword [esp + eax + 0xd8], esi
add edi, esi
cmp dword [esp + 0x20], 0
je 0x4376c4
lea eax, [edi*8]
sub eax, edi
add eax, eax
add eax, eax
mov dword [esp + eax + 0xcc], edx
mov edx, 0x24
mov ecx, edx
mov word [esp + eax + 0xd0], dx
mov word [esp + eax + 0xd2], cx
mov dword [esp + eax + 0xd4], str.CHACHA20_POLY1305
add edi, esi
xor ebx, ebx
jmp 0x4376ca
mov edi, eax
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xb4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x28]
or eax, 0x400000
lea edx, [esp + 0xcc]
not ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x5c], 5
mov dword [esp + 0x7c], eax
mov dword [esp + 0xbc], ecx
cmp dword [esp + 0x24], ebx
je 0x437728
lea edx, [esp + 0x24]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
lea ecx, [eax + 8]
push ecx
push eax
mov eax, dword [0x45ea08]
mov ecx, dword [eax + 0xc]
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
call ecx
jmp 0x43780c
mov esi, dword [ebp + 0x10]
push 0x34
lea edx, [esp + 0x64]
push 0
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x5c], 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], ecx
test esi, esi
je 0x4377bc
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x60]
push eax
mov eax, esi
call fcn.004368f0
mov esi, eax
add esp, 8
test esi, esi
je 0x4377c8
mov ecx, dword [esp + 0x10]
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push ecx
call fcn.00414090
mov eax, esi
jmp 0x437890
or eax, 0x400000
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x24], 0
je 0x4377df
lea edx, [esp + 0x24]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
lea ecx, [eax + 8]
push ecx
push eax
mov eax, dword [0x45ea08]
mov ecx, dword [eax + 0xc]
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
call ecx
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43781d
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x43786a
push 0x100
lea edx, [esp + 0xd0]
push edx
push esi
call fcn.0040b150
push eax
mov eax, dword [esp + 0x20]
push str.schannel:_AcquireCredentialsHandle_failed:__s
push eax
call fcn.00414090
mov ecx, dword [edi]
push ecx
call dword [0x45e004]
xor eax, eax
add esp, 0x1c
cmp esi, 0x80090300
setne al
mov dword [edi], 0
lea eax, [eax*8 + 0x1b]
jmp 0x437893
xor eax, eax
jmp 0x437893
push str.SSL_versions_not_supported
push edi
call fcn.00414090
mov eax, 4
jmp 0x437890
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push edi
call fcn.00414090
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044c8e4
add esp, 0x1c0
ret