Function at 0x438270
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 0x4382d0
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x4382d0
mov eax, dword [esi + 0xe4]
jmp 0x4382d6
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.0041c750
push 1
push 2
push 1
push 5
call fcn.00437a80
add esp, 0x20
test al, al
je 0x43830e
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.0041c750
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 0x43834c
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
mov ecx, 0x220
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x43834c
mov al, byte [ebp + 0x463]
jmp 0x438352
mov al, byte [ebp + 0x40f]
test al, al
je 0x4383bb
push esi
call fcn.00425320
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push 0
push eax
push esi
call fcn.00424d90
add esp, 0x14
test al, al
jne 0x4383b2
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.0041c750
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.0041c750
add esp, 0x14
push esi
call fcn.00425340
add esp, 4
mov eax, dword [edi + 0x1f8]
cmp dword [eax], 0
jne 0x438631
push 0x38
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00457cb0
add esp, 0xc
mov dword [esp + 0x58], 4
cmp byte [esi + 0x238], 0
je 0x43841d
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 0x43842d
mov dword [esp + 0x88], 0x1808
mov eax, str.schannel:_disabled_server_certificate_revocation_checks_n
push eax
push ebp
call fcn.0041c750
add esp, 8
cmp byte [esi + 0x239], 0
jne 0x438456
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.0041c750
add esp, 8
mov edx, dword [esi + 0x230]
cmp edx, 7
ja case.default.0x438465
jmp dword [edx*4 + 0x438868]
mov dword [esp + 0x78], 0xa80
jmp 0x438556
mov ecx, dword [esi + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ecx, 2
jne 0x4384c7
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, ebx
cmovne eax, dword [esp + 0x1c]
cmp dword [eax + esi], ecx
je 0x4384a5
mov edx, dword [esi + 0x254]
jmp 0x4384aa
cmp ecx, 2
jne 0x4384c7
cmp dword [esi + 0x1ac], 0xffffffff
mov eax, 0x220
cmovne ebx, eax
cmp dword [ebx + esi], 2
je 0x4384c7
mov ebx, dword [esi + 0x258]
jmp 0x4384cd
mov ebx, dword [esi + 0x234]
test ebx, ebx
je 0x4384e0
cmp ebx, 0x10000
jne 0x4384e5
mov ebx, 0x60000
jmp 0x4384e5
mov ebx, edx
shl ebx, 0x10
sar ebx, 0x10
cmp edx, ebx
jg 0x438556
mov ecx, dword [esp + 0x78]
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x4384f8
jmp dword [edx*4 + 0x438888]
or ecx, 0x80
jmp 0x438515
or ecx, 0x200
jmp 0x438515
or ecx, 0x800
mov dword [esp + 0x78], ecx
inc edx
lea eax, [edx + 4]
cmp eax, ebx
jle 0x4384f3
jmp 0x438556
push str.Schannel:_TLS_1.3_is_not_yet_supported
push dword [esp + 0x24]
call fcn.0041c620
add esp, 8
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov dword [esp + 0x78], 0x20
jmp 0x438556
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 0x4386e5
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 [0x49f090]
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 0x438631
push ebx
push esi
call fcn.004182f0
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.0041c620
mov eax, dword [edi + 0x1f8]
push dword [eax]
call dword [0x49e004]
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.0041c620
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.00437340
add esp, 0xc
test eax, eax
je 0x438657
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push ebp
call fcn.0041c750
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 0x438703
push str.schannel:_unable_to_allocate_memory
push ebp
call fcn.0041c620
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 0x4386f3
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 [0x49f090]
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 0x4387a1
push ebx
push esi
call fcn.004182f0
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.0041c620
mov eax, dword [edi + 0x1f8]
push dword [eax + 4]
call dword [0x49e004]
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.0041c750
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.0041ce10
mov ecx, dword [0x49f090]
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 0x438846
cmp ecx, eax
jne 0x438846
push eax
push str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
push ebp
call fcn.0041c750
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.0041c620
add esp, 0x10
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret