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

Disassembly:
push ebp
push edi
imul edi, edx, 0x54
push esi
push ebx
sub esp, 0xdc
add edi, eax
cmp dword [edi + 0x180], 2
je 0x410952
mov ebp, eax
mov eax, dword [eax]
mov esi, dword [edi + 0x1a0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], eax
lea eax, [ebp + edx*4]
test esi, esi
mov dword [esp + 0x58], eax
mov eax, dword [eax + 0x154]
mov dword [esp + 0x54], eax
je 0x410731
imul edx, dword [esp + 0x5c], 0x54
lea eax, [esi - 1]
lea ebx, [ebp + edx]
mov dword [esp + 0x50], edx
lea esi, [esi]
cmp eax, 2
ja 0x410a00
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004064d0
test eax, eax
js 0x410998
mov esi, dword [ebx + 0x1a0]
lea edx, [esi - 2]
cmp edx, 1
jbe 0x410590
mov eax, dword [ebp + 0xb4]
mov edi, dword [ebp]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 4], str.schannel:_SSL_TLS_connection_with__s_port__hu__step_2_3__n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0041b5c0
mov eax, dword [ebx + 0x184]
test eax, eax
je 0x4105e3
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x4105e3
mov eax, dword [ebx + 0x1b8]
test eax, eax
je 0x4106b0
mov eax, dword [ebx + 0x1b4]
test eax, eax
je 0x410700
mov edx, dword [ebx + 0x1a4]
mov eax, dword [ebx + 0x1ac]
mov ecx, edx
sub ecx, eax
cmp ecx, 0x3ff
jbe 0x410630
cmp esi, 3
je 0x4101f8
lea ecx, [esp + 0x60]
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
add eax, dword [ebx + 0x1b4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x154]
mov dword [esp], eax
call fcn.0041b2f0
cmp eax, 0x51
je 0x410cf3
test eax, eax
jne 0x410a60
mov eax, dword [esp + 0x60]
test eax, eax
je 0x410a60
add eax, dword [ebx + 0x1ac]
mov edx, dword [ebx + 0x1a4]
mov dword [ebx + 0x1ac], eax
lea esi, [esp + 0x98]
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
mov dword [esp], eax
call fcn.0041b5c0
mov eax, dword [ebx + 0x1ac]
mov dword [esp], eax
call fcn.0040daa0
mov esi, eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp], eax
call dword [0x4ea020]
mov edi, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 2
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x94], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 2
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x11
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], 3
je 0x410a7a
mov edx, dword [ebx + 0x1b4]
mov ecx, dword [ebx + 0x1ac]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x98]
test eax, eax
je 0x4106ef
mov edx, dword [ebx + 0x188]
mov edi, dword [esp + 0x50]
lea esi, [ebx + 0x1bc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea ecx, [edx + 8]
mov dword [esp + 0x2c], ecx
lea ecx, [ebp + edi + 0x1c0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x1bc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
mov eax, dword [0x54507c]
call dword [eax + 0x18]
sub esp, 0x30
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call dword [0x4ea01c]
cmp edi, 0x80090318
mov dword [esp + 0x88], 0
je 0x410a83
cmp dword [esp + 0x38], 0x90320
je 0x4105f3
mov eax, dword [esp + 0x38]
cmp eax, 0x90312
je 0x410412
test eax, eax
jne 0x411118
mov esi, dword [esp + 0x40]
xor edi, edi
cmp dword [esi + 4], 2
je 0x410500
mov eax, dword [esi + 8]
test eax, eax
je 0x410437
mov dword [esp], eax
mov eax, dword [0x54507c]
call dword [eax + 0x40]
sub esp, 4
add edi, 1
add esi, 0xc
cmp edi, 3
jne 0x410418
cmp dword [esp + 0x90], 5
jne 0x4109c0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4109c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], str.schannel:_encrypted_data_length:__lu_n
mov dword [esp], eax
call fcn.0041b5c0
mov eax, dword [ebx + 0x1ac]
mov edx, dword [esp + 0x8c]
cmp eax, edx
jbe 0x410aaf
mov ecx, dword [ebx + 0x1b4]
sub eax, edx
mov dword [esp + 8], edx
add eax, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
cmp dword [esp + 0x38], 0x90312
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x1ac], eax
je 0x410670
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x410680
mov esi, dword [ebx + 0x1a0]
lea eax, [esi - 1]
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4100d0
cmp eax, 2
ja 0x4100d0
xor eax, eax
jmp 0x4105e8
mov eax, dword [esi]
test eax, eax
je 0x410422
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
mov dword [esp], eax
call fcn.0041b5c0
lea eax, [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x154]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0041b7c0
test eax, eax
jne 0x410e42
mov ecx, dword [esi]
mov eax, dword [esp + 0x64]
cmp ecx, eax
je 0x410422
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
mov dword [esp], edi
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
mov edi, dword [esp + 0x54]
cmp esi, 3
mov esi, dword [esp + 0x44]
mov edx, 0xffffffff
mov dword [esp + 4], 0xffffffff
mov ecx, edi
cmove ecx, edx
cmove edx, edi
test esi, esi
mov esi, 0
mov dword [esp + 8], edx
mov dword [esp], ecx
cmovne eax, esi
mov dword [esp + 0xc], eax
call fcn.0040c5d0
test eax, eax
js 0x410ab8
je 0x41098c
mov esi, dword [ebx + 0x1a0]
jmp 0x41010f
mov eax, 0x23
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
mov edi, dword [esp + 0x3c]
test al, 0x80
je 0x410e5b
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040b880
mov dword [esp + 4], str.schannel:_next_InitializeSecurityContext_failed:__s
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
lea edx, [eax + 0x400]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x1b4]
mov dword [esp + 0x38], edx
mov dword [esp], eax
call dword [0x4ea018]
test eax, eax
mov edx, dword [esp + 0x38]
je 0x410a40
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1a4], edx
mov eax, dword [ebx + 0x1ac]
jmp 0x41019a
mov edx, dword [ebx + 0x1a4]
jmp 0x410212
mov dword [ebx + 0x1a0], 4
mov dword [esp + 4], str.schannel:_SSL_TLS_handshake_complete_n
mov dword [esp], edi
call fcn.0041b5c0
mov esi, dword [ebx + 0x1a0]
lea eax, [esi - 1]
jmp 0x4104da
mov dword [ebx + 0x1b0], 0
mov dword [ebx + 0x1a8], 0x1000
mov dword [esp], 0x1000
call dword [0x4ea020]
test eax, eax
mov dword [ebx + 0x1b8], eax
jne 0x410170
mov dword [esp + 4], str.schannel:_unable_to_allocate_memory
mov dword [esp], edi
call fcn.0041b640
add esp, 0xdc
mov eax, 0x1b
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1a4], 0x1000
mov dword [esp], 0x1000
call dword [0x4ea020]
test eax, eax
mov dword [ebx + 0x1b4], eax
jne 0x41017e
jmp 0x4106df
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004064d0
test eax, eax
js 0x41096c
mov eax, dword [ebp + 0xb4]
mov ebx, dword [ebp]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 4], str.schannel:_SSL_TLS_connection_with__s_port__hu__step_1_3__n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b5c0
lea eax, [esp + 0x64]
mov dword [esp + 8], 0
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040f2b0
test eax, eax
jne 0x410ae0
mov eax, dword [esp + 0x64]
mov dword [edi + 0x184], eax
mov dword [esp + 4], str.schannel:_re_using_existing_credential_handle_n
mov dword [esp], ebx
call fcn.0041b5c0
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x98]
mov dword [esp], 2
mov dword [esp + 4], eax
call fcn.0040b0c0
test eax, eax
jne 0x410e87
imul edi, dword [esp + 0x5c], 0x54
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], 1
lea esi, [ebp + edi]
mov dword [esi + 0x1bc], 0x811c
mov dword [esp], 0x10
call dword [0x4ea020]
test eax, eax
mov dword [esi + 0x188], eax
je 0x410e28
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, 0x1b
mov edx, dword [ebp + 0x98]
test edx, edx
je 0x4105e8
mov ecx, dword [esi + 0x188]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea eax, [ecx + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
lea eax, [ebp + edi + 0x1c0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1bc]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x184]
mov dword [esp], eax
mov eax, dword [0x54507c]
call dword [eax + 0x18]
sub esp, 0x30
cmp eax, 0x90312
je 0x411046
cmp eax, 0x80090322
je 0x410f9f
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0040b880
mov dword [esp + 4], str.schannel:_initial_InitializeSecurityContext_failed:__s
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0041b640
imul ebx, dword [esp + 0x5c], 0x54
add ebx, ebp
mov eax, dword [ebx + 0x188]
mov dword [esp], eax
call dword [0x4ea01c]
mov dword [ebx + 0x188], 0
mov eax, 0x23
jmp 0x4105e8
mov eax, dword [esp + 0xf0]
mov dword [eax], 1
add esp, 0xdc
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
mov dword [esp + 4], str.SSL_TLS_connection_timeout
call fcn.0041b640
add esp, 0xdc
mov eax, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x410b65
mov eax, dword [esp + 0x48]
mov dword [esp + 4], str.SSL_TLS_connection_timeout
mov dword [esp], eax
call fcn.0041b640
add esp, 0xdc
mov eax, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x1ac], 0
cmp dword [esp + 0x38], 0x90312
jne 0x4104c5
mov edi, dword [esp + 0x44]
mov dword [ebx + 0x1a0], 2
test edi, edi
je 0x4100d9
xor eax, eax
jmp 0x4105e8
cmp esi, 4
je 0x410ebc
cmp esi, 5
je 0x410dee
mov eax, dword [esp + 0xf0]
mov dword [eax], 0
imul eax, dword [esp + 0x5c], 0x54
mov dword [ebp + eax + 0x1a0], 0
add esp, 0xdc
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
mov dword [esp + 4], str.schannel:_unable_to_re_allocate_memory
call fcn.0041b640
add esp, 0xdc
mov eax, 0x1b
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
mov dword [esp], edi
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
mov edi, dword [esp + 0x3c]
jmp 0x4106df
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x1a0], 2
mov dword [esp + 4], str.schannel:_received_incomplete_message__need_more_data_n
mov dword [esp], edi
call fcn.0041b5c0
mov esi, dword [ebx + 0x1a0]
lea eax, [esi - 1]
jmp 0x4104da
mov edi, dword [esp + 0x3c]
jmp 0x4109ce
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], str.select_poll_on_SSL_TLS_socket__errno:__d
mov dword [esp], eax
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
lea edi, [esp + 0x98]
mov eax, esi
mov ecx, 0xe
mov dword [esp + 0x38], edi
rep stosd dword es:[edi], eax
mov dword [esp + 0x98], 4
mov eax, dword [ebx + 0x268]
test eax, eax
je 0x410b79
mov dword [esp + 0xc8], 0x20
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x410e9c
mov dword [esp + 4], str.schannel:_disabled_server_certificate_revocation_checks_n
mov dword [esp], ebx
mov dword [esp + 0xc8], 0x1820
call fcn.0041b5c0
mov edi, dword [ebx + 0x26c]
test edi, edi
je 0x410f59
cmp dword [ebx + 0x260], 6
ja case.0x410b5e.0
mov eax, dword [ebx + 0x260]
jmp dword [eax*4 + 0x4eeff0]
mov eax, dword [esp + 0xf0]
mov dword [eax], 0
xor eax, eax
jmp 0x4105e8
mov dword [esp + 4], str.schannel:_disabled_server_certificate_revocation_checks_n
mov dword [esp], ebx
mov dword [esp + 0xc8], 0x1808
call fcn.0041b5c0
jmp 0x410b3d
mov dword [esp + 0xb8], 0x800
mov dword [esp], 0x18
call dword [0x4ea020]
imul edx, dword [esp + 0x5c], 0x54
test eax, eax
mov dword [ebp + edx + 0x184], eax
je 0x410e28
lea edx, [eax + 4]
mov dword [eax], 0
mov dword [eax + 0x14], 0
xor ecx, ecx
and edx, 0xfffffffc
sub eax, edx
add eax, 0x18
and eax, 0xfffffffc
mov dword [edx + ecx], 0
add ecx, 4
cmp ecx, eax
jb 0x410bdf
imul eax, dword [esp + 0x5c], 0x54
mov eax, dword [ebp + eax + 0x184]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], str.Microsoft_Unified_Security_Protocol_Provider
lea edx, [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x54507c]
call dword [eax + 0xc]
sub esp, 0x24
test eax, eax
je 0x4107c6
cmp eax, 0x80090322
je 0x410f76
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0040b880
mov dword [esp + 4], str.schannel:_AcquireCredentialsHandle_failed:__s
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0041b640
imul ebx, dword [esp + 0x5c], 0x54
add ebx, ebp
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
call dword [0x4ea01c]
mov dword [ebx + 0x184], 0
mov eax, 0x23
jmp 0x4105e8
mov dword [esp + 0xb8], 0x200
jmp 0x410ba1
mov dword [esp + 0xb8], pe_nt_image_headers32
jmp 0x410ba1
mov dword [esp + 0xb8], 0x20
jmp 0x410ba1
mov dword [esp + 0xb8], 8
jmp 0x410ba1
mov dword [esp + 0xb8], 0xa80
jmp 0x410ba1
cmp dword [ebx + 0x1a0], 3
je 0x410d06
mov dword [ebx + 0x1a0], 2
mov dword [esp + 4], str.schannel:_failed_to_receive_handshake__need_more_data_n
mov dword [esp], edi
call fcn.0041b5c0
mov esi, dword [ebx + 0x1a0]
lea eax, [esi - 1]
jmp 0x4104da
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x410d4f
add dword [edx + 0x10], 1
mov eax, dword [esi + 0x184]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], str.schannel:_incremented_credential_handle_refcount___d_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b5c0
lea eax, [esp + 0x98]
mov dword [esp + 8], 0
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040f2b0
test eax, eax
jne 0x410da6
imul eax, dword [esp + 0x5c], 0x54
mov edx, dword [esp + 0x98]
cmp dword [ebp + eax + 0x184], edx
je 0x410dee
mov dword [esp + 4], str.schannel:_old_credential_handle_is_stale__removing_n
mov dword [esp], ebx
call fcn.0041b5c0
mov eax, dword [esp + 0x98]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040f470
imul edi, dword [esp + 0x5c], 0x54
mov dword [esp + 8], 0x18
add edi, ebp
mov eax, dword [edi + 0x184]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040f530
test eax, eax
mov esi, eax
jne 0x411158
mov eax, dword [edi + 0x184]
mov dword [eax + 0x14], 1
mov dword [esp + 4], str.schannel:_stored_credential_handle_in_session_cache_n
mov dword [esp], ebx
call fcn.0041b5c0
imul eax, dword [esp + 0x5c], 0x54
mov dword [ebp + eax + 0x180], 2
mov eax, dword [esp + 0x58]
mov dword [eax + 0x16c], 0x411170
mov dword [eax + 0x174], 0x40fd20
mov eax, dword [esp + 0xf0]
mov dword [eax], 1
jmp 0x410a1f
mov dword [esp + 4], str.schannel:_unable_to_allocate_memory
mov dword [esp], ebx
call fcn.0041b640
mov eax, 0x1b
jmp 0x4105e8
mov edx, edi
mov edi, dword [esp + 0x3c]
lea eax, [edx + edx*2]
mov ecx, dword [esp + eax*4 + 0x98]
mov eax, dword [esp + 0x64]
jmp 0x410567
or al, 0x80
mov dword [esi], eax
mov dword [ebx + 0x1a0], 3
mov dword [esp + 4], str.schannel:_a_client_certificate_has_been_requested_n
mov dword [esp], edi
call fcn.0041b5c0
mov esi, dword [ebx + 0x1a0]
lea eax, [esi - 1]
jmp 0x4104da
mov dword [esp + 4], str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
mov dword [esp], ebx
call fcn.0041b5c0
jmp 0x4107ec
mov dword [esp + 4], str.schannel:_checking_server_certificate_revocation_n
mov dword [esp], ebx
mov dword [esp + 0xc8], 0x220
call fcn.0041b5c0
jmp 0x410b3d
mov eax, dword [ebp + 0xb4]
mov ebx, dword [ebp]
mov dword [esp + 0x98], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 4], str.schannel:_SSL_TLS_connection_with__s_port__hu__step_3_3__n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b5c0
imul esi, dword [esp + 0x5c], 0x54
add esi, ebp
mov edx, dword [esi + 0x184]
test edx, edx
je 0x4105e3
mov eax, dword [esi + 0x1c0]
cmp eax, dword [esi + 0x1bc]
je 0x410d24
test al, 8
je 0x41102b
test al, 4
je 0x41100a
test al, 0x10
je 0x410fe9
test ah, 1
je 0x410fc8
test ah, 0x80
jne 0x4105e3
mov dword [esp + 4], str.schannel:_failed_to_setup_stream_orientation
mov dword [esp], ebx
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
mov dword [esp + 4], str.schannel:_verifyhost_setting_prevents_Schannel_from_comparing_the_supplied_target_name_with_the_subject_names_in_server_certificates._Also_disables_SNI._n
mov dword [esp], ebx
or dword [esp + 0xc8], 4
call fcn.0041b5c0
jmp 0x410b4b
mov dword [esp + 4], 0x80090322
mov dword [esp], ebp
call fcn.0040b880
mov dword [esp + 4], str.schannel:_SNI_or_certificate_check_failed:__s
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0041b640
jmp 0x410c79
mov dword [esp + 4], 0x80090322
mov dword [esp], ebp
call fcn.0040b880
mov dword [esp + 4], str.schannel:_SNI_or_certificate_check_failed:__s
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0041b640
jmp 0x410928
mov dword [esp + 4], str.schannel:_failed_to_setup_memory_allocation
mov dword [esp], ebx
call fcn.0041b640
imul eax, dword [esp + 0x5c], 0x54
mov eax, dword [ebp + eax + 0x1c0]
jmp 0x410f36
mov dword [esp + 4], str.schannel:_failed_to_setup_confidentiality
mov dword [esp], ebx
call fcn.0041b640
imul eax, dword [esp + 0x5c], 0x54
mov eax, dword [ebp + eax + 0x1c0]
jmp 0x410f2d
mov dword [esp + 4], str.schannel:_failed_to_setup_replay_detection
mov dword [esp], ebx
call fcn.0041b640
imul eax, dword [esp + 0x5c], 0x54
mov eax, dword [ebp + eax + 0x1c0]
jmp 0x410f25
mov dword [esp + 4], str.schannel:_failed_to_setup_sequence_detection
mov dword [esp], ebx
call fcn.0041b640
mov eax, dword [esi + 0x1c0]
jmp 0x410f1d
mov eax, dword [esp + 0x74]
mov dword [esp + 4], str.schannel:_sending_initial_handshake_data:_sending__lu_bytes..._n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b5c0
lea eax, [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x154]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0041b7c0
mov edi, eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [0x54507c]
call dword [eax + 0x40]
sub esp, 4
test edi, edi
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
jne 0x4110b0
cmp eax, edx
je 0x4110d2
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov dword [esp], ebx
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
mov dword [esp + 8], eax
mov dword [esp + 4], str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
mov dword [esp], ebx
call fcn.0041b5c0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1a0], 1
mov esi, 1
jmp 0x4100bc
cmp dword [esp + 0x38], 0x80090322
mov edi, dword [esp + 0x3c]
jne 0x410601
mov dword [esp + 4], 0x80090322
mov dword [esp], ebp
call fcn.0040b880
mov dword [esp + 4], str.schannel:_SNI_or_certificate_check_failed:__s
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041b640
mov eax, 0x23
jmp 0x4105e8
mov dword [esp + 4], str.schannel:_failed_to_store_credential_handle
mov dword [esp], ebx
call fcn.0041b640
mov eax, esi
jmp 0x4105e8