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

Disassembly:
sub esp, 0x118
mov eax, dword [0x4bb0c4]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x120]
mov ecx, 0x2c8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
lea ebx, [eax + eax*4]
shl ebx, 4
mov ebp, 0x278
add ebx, esi
mov dword [esp + 0x14], eax
push edi
cmp dword [esi + 0xe8], 2
mov edi, dword [esi]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], ecx
jne 0x4292b5
cmp dword [esi + 0x194], 0xffffffff
mov eax, ebp
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x4292b5
mov eax, dword [esi + 0xdc]
jmp 0x4292bb
mov eax, dword [esi + 0x98]
push dword [esi + 0xf8]
mov dword [esp + 0x18], eax
push eax
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_1_3__n
push edi
call fcn.00426850
push 1
push 2
push 1
push 5
call fcn.00434810
add esp, 0x20
test al, al
je 0x4292f3
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 edi
call fcn.00426850
add esp, 8
cmp byte [esi + 0x384], 0
je 0x42932f
push str.wine_get_version
push 0x497624
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42932f
push 3
push 2
push 3
push 6
call fcn.00434810
add esp, 0x10
test al, al
je 0x42932f
mov al, 1
jmp 0x429331
xor al, al
mov byte [ebx + 0x222], al
mov dword [ebx + 0x1e0], 0
cmp dword [esi + 0xe8], 2
jne 0x429369
cmp dword [esi + 0x194], 0xffffffff
mov eax, ebp
mov ecx, 0x2c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x429369
mov al, byte [edi + 0x2cc]
jmp 0x42936f
mov al, byte [edi + 0x274]
test al, al
je 0x4293dc
push esi
call fcn.00417dc0
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0
push eax
push esi
call fcn.00417860
add esp, 0x14
test al, al
jne 0x4293c6
mov eax, dword [esp + 0x10]
push str.schannel:_re_using_existing_credential_handle_n
push edi
mov dword [ebx + 0x1e0], eax
call fcn.00426850
mov eax, dword [ebx + 0x1e0]
inc dword [eax + 0x10]
mov eax, dword [ebx + 0x1e0]
push dword [eax + 0x10]
push str.schannel:_incremented_credential_handle_refcount___d_n
push edi
call fcn.00426850
add esp, 0x14
push esi
call fcn.00417de0
add esp, 4
cmp dword [ebx + 0x1e0], 0
jne 0x429616
push 0x38
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0046b280
add esp, 0xc
mov dword [esp + 0x58], 4
cmp byte [esi + 0x31c], 0
je 0x42943a
mov dword [esp + 0x88], 0x20
mov ecx, 0x1820
cmp byte [edi + 0x279], 0
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 [edi + 0x279], 0
cmovne eax, ecx
jmp 0x42944a
mov dword [esp + 0x88], 0x1808
mov eax, str.schannel:_disabled_server_certificate_revocation_checks_n
push eax
push edi
call fcn.00426850
add esp, 8
cmp byte [esi + 0x31d], 0
jne 0x429473
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 edi
call fcn.00426850
add esp, 8
mov edx, dword [esi + 0x314]
cmp edx, 7
ja case.default.0x429482
jmp dword [edx*4 + 0x4298c4]
mov dword [esp + 0x78], 0xa80
jmp 0x429560
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi]
mov dword [esp + 0x48], eax
cmp ecx, 2
jne 0x4294e4
cmp dword [esi + 0x194], 0xffffffff
mov eax, ebp
cmovne eax, dword [esp + 0x44]
cmp dword [eax + esi], ecx
je 0x4294c2
mov edx, dword [esi + 0x33c]
jmp 0x4294c7
cmp ecx, 2
jne 0x4294e4
cmp dword [esi + 0x194], 0xffffffff
mov eax, 0x2c8
cmovne ebp, eax
cmp dword [esi + ebp], 2
je 0x4294e4
mov ebp, dword [esi + 0x340]
jmp 0x4294ea
mov ebp, dword [esi + 0x318]
test ebp, ebp
je 0x4294fd
cmp ebp, 0x10000
jne 0x429502
mov ebp, 0x60000
jmp 0x429502
mov ebp, edx
shl ebp, 0x10
sar ebp, 0x10
cmp edx, ebp
jg 0x429560
mov ecx, dword [esp + 0x78]
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x429515
jmp dword [edx*4 + 0x4298e4]
or ecx, 0x80
jmp 0x429532
or ecx, 0x200
jmp 0x429532
or ecx, 0x800
mov dword [esp + 0x78], ecx
inc edx
lea eax, [edx + 4]
cmp eax, ebp
jle 0x429510
jmp 0x429560
push str.Schannel:_TLS_1.3_is_not_yet_supported
push dword [esp + 0x4c]
jmp 0x42989b
mov dword [esp + 0x78], 0x20
jmp 0x429560
mov dword [esp + 0x78], 8
push 0x18
call dword [0x4bb038]
add esp, 4
mov dword [ebx + 0x1e0], eax
test eax, eax
jne 0x42958a
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.00426770
mov eax, 0x1b
jmp 0x4298a5
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov eax, dword [ebx + 0x1e0]
mov dword [eax + 0x10], 1
mov ecx, dword [ebx + 0x1e0]
lea eax, [ecx + 8]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x68]
push eax
mov eax, dword [0x4bd728]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov ebp, eax
test ebp, ebp
je 0x429616
push ebp
push esi
call fcn.00414b70
mov edx, str.schannel:_AcquireCredentialsHandle_failed:__s
cmp ebp, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push edi
call fcn.00426770
push dword [ebx + 0x1e0]
call dword [0x4bb03c]
add esp, 0x18
mov dword [ebx + 0x1e0], 0
mov eax, 0x23
jmp 0x4298a8
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
push ebp
push 2
call fcn.004343c0
add esp, 0xc
test eax, eax
jne 0x429648
lea eax, [esp + 0x94]
push eax
push ebp
push 0x17
call fcn.004343c0
add esp, 0xc
test eax, eax
je 0x429656
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push edi
call fcn.00426850
add esp, 8
cmp byte [ebx + 0x222], 0
je 0x4296d6
mov eax, dword [str.http_1.1]
push str.http_1.1
mov dword [esp + 0xb3], eax
mov eax, dword [0x4978bc]
push str.schannel:_ALPN__offering__s_n
push edi
mov dword [esp + 0xb4], 2
mov byte [esp + 0xba], 8
mov dword [esp + 0xbf], eax
call fcn.00426850
push 9
call fcn.00415a10
mov word [esp + 0xbc], ax
add esp, 0x10
movzx eax, ax
add eax, 6
mov dword [esp + 0x2c], 0x13
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x30], 0x12
mov dword [esp + 0x34], eax
jmp 0x4296ee
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
push 0x10
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], 1
mov dword [ebx + 0x214], 0x811c
call dword [0x4bb038]
add esp, 4
mov dword [ebx + 0x1e4], eax
test eax, eax
je 0x429575
xorps xmm0, xmm0
movups xmmword [eax], xmm0
test ebp, ebp
jne 0x42976b
lea eax, [ebp + 0x1b]
jmp 0x4298a8
mov ecx, dword [ebx + 0x1e4]
lea eax, [ecx + 8]
push eax
lea eax, [ebx + 0x218]
push eax
lea eax, [esp + 0x54]
push eax
push ecx
xor ecx, ecx
lea eax, [esp + 0x48]
cmp byte [ebx + 0x222], cl
push 0
cmove eax, ecx
push eax
mov eax, dword [0x4bd728]
push ecx
push ecx
push dword [ebx + 0x214]
mov eax, dword [eax + 0x18]
push ebp
push ecx
push dword [ebx + 0x1e0]
call eax
mov ebp, eax
cmp ebp, 0x90312
je 0x4297fd
push ebp
push esi
call fcn.00414b70
mov edx, str.schannel:_initial_InitializeSecurityContext_failed:__s
cmp ebp, 0x80090322
mov ecx, str.schannel:_SNI_or_certificate_check_failed:__s
push eax
cmovne ecx, edx
push ecx
push edi
call fcn.00426770
push dword [ebx + 0x1e4]
call dword [0x4bb03c]
add esp, 0x18
mov dword [ebx + 0x1e4], 0
mov eax, 0x23
jmp 0x4298a8
push dword [esp + 0x20]
push str.schannel:_sending_initial_handshake_data:_sending__lu_bytes..._n
push edi
call fcn.00426850
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x3c]
push dword [esi + eax*4 + 0x190]
push esi
call fcn.00426f20
mov ecx, dword [0x4bd728]
add esp, 0x20
mov esi, eax
push dword [esp + 0x28]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test esi, esi
jne 0x42987e
cmp ecx, eax
jne 0x42987e
push eax
push str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
push edi
call fcn.00426850
add esp, 0xc
mov dword [ebx + 0x21c], 0
mov word [ebx + 0x220], 0
xor eax, eax
mov dword [ebx + 0x1dc], 1
jmp 0x4298a8
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push edi
call fcn.00426770
add esp, 0x10
mov eax, 0x23
jmp 0x4298a8
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push edi
call fcn.00426770
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453227
add esp, 0x118
ret