Function at 0x4384d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
mov ecx, 0x220
push edi
mov edi, dword [esp + 0x98]
mov ebx, 0x210
shl edi, 4
mov ebp, dword [esi]
add edi, esi
cmp dword [esi + 0xf0], 2
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
jne 0x438530
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x438530
mov eax, dword [esi + 0xe4]
jmp 0x438536
mov eax, dword [esi + 0xa0]
push dword [esi + 0x100]
mov dword [esp + 0x18], eax
push eax
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_1_3__n
push ebp
call fcn.0041c9b0
push 1
push 2
push 1
push 5
call fcn.00437ce0
add esp, 0x20
test al, al
je 0x43856e
push str.schannel:_WinSSL_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
push ebp
call fcn.0041c9b0
add esp, 8
mov eax, dword [edi + 0x1f8]
mov byte [eax + 0x46], 0
mov eax, dword [edi + 0x1f8]
mov dword [eax], 0
cmp dword [esi + 0xf0], 2
jne 0x4385ac
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
mov ecx, 0x220
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x4385ac
mov al, byte [ebp + 0x463]
jmp 0x4385b2
mov al, byte [ebp + 0x40f]
test al, al
je 0x43861b
push esi
call fcn.00425580
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push 0
push eax
push esi
call fcn.00424ff0
add esp, 0x14
test al, al
jne 0x438612
mov ecx, dword [edi + 0x1f8]
mov eax, dword [esp + 0x10]
push str.schannel:_re_using_existing_credential_handle_n
push ebp
mov dword [ecx], eax
call fcn.0041c9b0
mov eax, dword [edi + 0x1f8]
mov eax, dword [eax]
inc dword [eax + 0x10]
mov eax, dword [edi + 0x1f8]
mov eax, dword [eax]
push dword [eax + 0x10]
push str.schannel:_incremented_credential_handle_refcount___d_n
push ebp
call fcn.0041c9b0
add esp, 0x14
push esi
call fcn.004255a0
add esp, 4
mov eax, dword [edi + 0x1f8]
cmp dword [eax], 0
jne 0x438891
push 0x38
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00457f20
add esp, 0xc
mov dword [esp + 0x58], 4
cmp byte [esi + 0x238], 0
je 0x43867d
cmp byte [ebp + 0x429], 0
mov ecx, 0x1820
mov eax, 0x220
cmovne eax, ecx
mov ecx, str.schannel:_disabled_server_certificate_revocation_checks_n
mov dword [esp + 0x88], eax
mov eax, str.schannel:_checking_server_certificate_revocation_n
cmp byte [ebp + 0x429], 0
cmovne eax, ecx
jmp 0x43868d
mov dword [esp + 0x88], 0x1808
mov eax, str.schannel:_disabled_server_certificate_revocation_checks_n
push eax
push ebp
call fcn.0041c9b0
add esp, 8
cmp byte [esi + 0x239], 0
jne 0x4386b6
or dword [esp + 0x88], 4
push str.schannel:_verifyhost_setting_prevents_Schannel_from_comparing_the_supplied_target_name_with_the_subject_names_in_server_certificates._n
push ebp
call fcn.0041c9b0
add esp, 8
mov edx, dword [esi + 0x230]
cmp edx, 7
ja case.default.0x4386c5
jmp dword [edx*4 + 0x438ac8]
mov dword [esp + 0x78], 0xa80
jmp 0x4387b6
mov ecx, dword [esi + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ecx, 2
jne 0x438727
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
cmovne eax, dword [esp + 0x1c]
cmp dword [eax + esi], ecx
je 0x438705
mov edx, dword [esi + 0x254]
jmp 0x43870a
cmp ecx, 2
jne 0x438727
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, 0x220
cmovne ebx, eax
cmp dword [ebx + esi], 2
je 0x438727
mov ebx, dword [esi + 0x258]
jmp 0x43872d
mov ebx, dword [esi + 0x234]
test ebx, ebx
je 0x438740
cmp ebx, 0x10000
jne 0x438745
mov ebx, 0x60000
jmp 0x438745
mov ebx, edx
shl ebx, 0x10
sar ebx, 0x10
cmp edx, ebx
jg 0x4387b6
mov ecx, dword [esp + 0x78]
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x438758
jmp dword [edx*4 + 0x438ae8]
or ecx, 0x80
jmp 0x438775
or ecx, 0x200
jmp 0x438775
or ecx, 0x800
mov dword [esp + 0x78], ecx
inc edx
lea eax, [edx + 4]
cmp eax, ebx
jle 0x438753
jmp 0x4387b6
push str.Schannel:_TLS_1.3_is_not_yet_supported
push dword [esp + 0x24]
call fcn.0041c880
add esp, 8
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov dword [esp + 0x78], 0x20
jmp 0x4387b6
mov dword [esp + 0x78], 8
push 0x18
call dword [section..data]
mov ecx, dword [edi + 0x1f8]
add esp, 4
mov dword [ecx], eax
mov eax, dword [edi + 0x1f8]
mov eax, dword [eax]
test eax, eax
je 0x438945
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov eax, dword [edi + 0x1f8]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
mov eax, dword [edi + 0x1f8]
mov ecx, dword [eax]
lea eax, [ecx + 8]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x68]
push eax
mov eax, dword [0x4a0090]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x438891
push ebx
push esi
call fcn.00418550
mov edx, str.schannel:_AcquireCredentialsHandle_failed:__s
cmp ebx, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push ebp
call fcn.0041c880
mov eax, dword [edi + 0x1f8]
push dword [eax]
call dword [0x49f004]
mov eax, dword [edi + 0x1f8]
add esp, 0x18
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 0x23
pop ebx
add esp, 0x80
ret
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push ebp
call fcn.0041c880
add esp, 8
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ebx
push 2
call fcn.004375a0
add esp, 0xc
test eax, eax
je 0x4388b7
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push ebp
call fcn.0041c9b0
add esp, 8
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x1f8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
push 0x10
mov dword [eax + 0x38], 0x811c
call dword [section..data]
mov ecx, dword [edi + 0x1f8]
add esp, 4
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x1f8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x438963
push str.schannel:_unable_to_allocate_memory
push ebp
call fcn.0041c880
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x80
ret
xorps xmm0, xmm0
movups xmmword [eax], xmm0
test ebx, ebx
je 0x438953
mov edx, dword [edi + 0x1f8]
mov ecx, dword [edx + 4]
lea eax, [ecx + 8]
push eax
lea eax, [edx + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
push ecx
xor ecx, ecx
lea eax, [esp + 0x5c]
cmp byte [edx + 0x46], cl
push 0
cmove eax, ecx
push eax
mov eax, dword [0x4a0090]
push ecx
push ecx
push dword [edx + 0x38]
mov eax, dword [eax + 0x18]
push ebx
push ecx
push dword [edx]
call eax
mov ebx, eax
cmp ebx, 0x90312
je 0x438a01
push ebx
push esi
call fcn.00418550
mov edx, str.schannel:_initial_InitializeSecurityContext_failed:__s
cmp ebx, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push ebp
call fcn.0041c880
mov eax, dword [edi + 0x1f8]
push dword [eax + 4]
call dword [0x49f004]
mov eax, dword [edi + 0x1f8]
add esp, 0x18
pop edi
pop esi
pop ebp
mov dword [eax + 4], 0
mov eax, 0x23
pop ebx
add esp, 0x80
ret
push dword [esp + 0x28]
push str.schannel:_sending_initial_handshake_data:_sending__lu_bytes..._n
push ebp
call fcn.0041c9b0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0xac]
push dword [esp + 0x44]
push dword [esi + eax*4 + 0x1a8]
push esi
call fcn.0041d070
mov ecx, dword [0x4a0090]
add esp, 0x20
mov esi, eax
push dword [esp + 0x30]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
test esi, esi
jne 0x438aa6
cmp ecx, eax
jne 0x438aa6
push eax
push str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
push ebp
call fcn.0041c9b0
mov eax, dword [edi + 0x1f8]
add esp, 0xc
mov dword [eax + 0x40], 0
mov eax, dword [edi + 0x1f8]
mov byte [eax + 0x44], 0
mov eax, dword [edi + 0x1f8]
mov byte [eax + 0x45], 0
mov eax, dword [edi + 0x1f8]
mov byte [eax + 0x34], 0
xor eax, eax
mov dword [edi + 0x1f4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push ebp
call fcn.0041c880
add esp, 0x10
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret