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

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x6c]
push ebx
imul ecx, ecx, 0x58
push ebp
mov ebp, dword [esp + 0x70]
mov ebx, dword [ebp]
push esi
push edi
or eax, 0xffffffff
mov edi, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x78], ebx
lea esi, [ecx + ebp + 0x1d8]
cmp dword [ebp + 0xe8], edi
jne 0x43ec8b
xor edx, edx
cmp dword [ebp + 0x194], eax
setne dl
imul edx, edx, 0x58
cmp dword [edx + ebp + 0x28c], edi
je 0x43ec8b
mov eax, dword [ebp + 0xdc]
mov dword [esp + 0x10], eax
jmp 0x43ec95
mov ecx, dword [ebp + 0x98]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0xf8]
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp dword [esi + 8], 3
push eax
setne dl
push ecx
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_2_3__n
push ebx
mov dword [esp + 0x24], edx
call fcn.00437cb0
add esp, 0x10
cmp dword [esi + 0xc], 0
je 0x43f01a
cmp dword [esi + 0x10], 0
je 0x43f01a
cmp dword [esi + 0x3c], 0
mov edi, 0x1000
jne 0x43ed11
push edi
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], edi
call dword [0x47d1c8]
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x43ed11
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.00437d40
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x64
ret
cmp dword [esi + 0x38], 0
jne 0x43ed32
push edi
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], edi
call dword [0x47d1c8]
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
je 0x43ecf6
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
sub edx, eax
cmp edx, 0x400
jae 0x43ed80
lea edi, [eax + 0x400]
mov eax, dword [esi + 0x38]
push edi
push eax
call dword [0x47d1d0]
add esp, 8
test eax, eax
jne 0x43ed75
push str.schannel:_unable_to_re_allocate_memory
push ebx
call fcn.00437d40
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x64
ret
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], edi
jmp 0x43ed80
cmp dword [esp + 0x14], 0
je 0x43edd2
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x38]
sub edx, eax
push edx
mov edx, dword [esp + 0x84]
add ecx, eax
mov eax, dword [ebp + edx*4 + 0x190]
push ecx
push eax
call fcn.004379d0
add esp, 0x10
cmp eax, 0x51
je 0x43f027
test eax, eax
jne 0x43f04c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f04c
add dword [esi + 0x30], eax
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x30]
push ecx
push edx
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00437cb0
mov eax, dword [esi + 0x30]
push eax
call fcn.0043b920
mov ecx, dword [esi + 0x30]
push ecx
mov edi, eax
call dword [0x47d1c8]
push eax
mov ecx, edi
mov edx, 2
lea eax, [esp + 0x54]
call fcn.0043e630
push 0
xor ecx, ecx
xor edx, edx
lea eax, [esp + 0x64]
call fcn.0043e630
mov edx, 2
lea ecx, [esp + 0x58]
lea eax, [esp + 0x4c]
call fcn.0043e640
push 0
xor ecx, ecx
lea eax, [esp + 0x74]
call fcn.0043e630
xor ecx, ecx
push 0
lea edx, [ecx + 0x11]
lea eax, [esp + 0x84]
call fcn.0043e630
push 0
xor ecx, ecx
xor edx, edx
lea eax, [esp + 0x94]
call fcn.0043e630
add esp, 0x2c
mov edx, 3
lea ecx, [esp + 0x50]
lea eax, [esp + 0x20]
call fcn.0043e640
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43ecf6
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x38]
push edx
push ecx
push eax
call fcn.004147f0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
je 0x43ed04
mov eax, dword [esi + 0x10]
lea edx, [eax + 8]
push edx
lea edx, [esi + 0x44]
push edx
lea edx, [esp + 0x28]
push edx
push 0
push 0
lea edx, [esp + 0x40]
push edx
mov edx, dword [esi + 0x40]
push 0
push 0
push edx
push ecx
mov ecx, dword [0x47fc3c]
mov edx, dword [ecx + 0x18]
push eax
mov eax, dword [esi + 0xc]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x18], edi
call dword [0x47d1cc]
add esp, 4
mov dword [esp + 0x40], 0
cmp edi, 0x80090318
je 0x43f067
cmp edi, 0x90320
je 0x43eff9
cmp edi, 0x90312
je 0x43ef12
test edi, edi
jne 0x43f0ad
xor ebx, ebx
lea edi, [esp + 0x50]
cmp dword [edi + 4], 2
jne 0x43ef6c
mov eax, dword [edi]
test eax, eax
jbe 0x43ef6c
mov ecx, dword [esp + 0x78]
push eax
push str.schannel:_sending_next_handshake_data:_sending__lu_bytes..._n
push ecx
call fcn.00437cb0
mov eax, dword [edi]
mov ecx, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [ebp + edx*4 + 0x190]
push ecx
push eax
push ebp
call fcn.00438290
add esp, 0x20
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x43f0cb
cmp dword [edi], eax
jne 0x43f0cb
mov eax, dword [edi + 8]
test eax, eax
je 0x43ef7f
mov ecx, dword [0x47fc3c]
mov edx, dword [ecx + 0x40]
push eax
call edx
inc ebx
add edi, 0xc
cmp ebx, 3
jl 0x43ef18
cmp dword [esp + 0x48], 5
jne 0x43f0f3
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43f0f3
push eax
mov eax, dword [esp + 0x7c]
push str.schannel:_encrypted_data_length:__lu_n
push eax
call fcn.00437cb0
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x50]
add esp, 0xc
cmp eax, edx
jbe 0x43f0fa
mov ecx, dword [esi + 0x38]
sub eax, edx
push edx
add eax, ecx
push eax
push ecx
call fcn.004187a0
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x14], 0x90312
mov dword [esi + 0x30], ecx
jne 0x43f115
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], 0
jmp 0x43ed80
mov eax, dword [esi + 0x40]
test al, al
jns 0x43f086
push edi
push ebp
call fcn.0043dd10
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ebx
call fcn.00437d40
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
add esp, 0x64
ret
cmp dword [esi + 8], 3
je 0x43f034
mov dword [esi + 8], 2
push str.schannel:_failed_to_receive_handshake__need_more_data_n
push ebx
call fcn.00437cb0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push ebx
call fcn.00437d40
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
add esp, 0x64
ret
push str.schannel:_received_incomplete_message__need_more_data_n
push ebx
mov dword [esi + 8], 2
call fcn.00437cb0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
or eax, 0x80
push str.schannel:_a_client_certificate_has_been_requested_n
push ebx
mov dword [esi + 0x40], eax
mov dword [esi + 8], 3
call fcn.00437cb0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
cmp edi, 0x80090322
jne 0x43f004
push edi
push ebp
call fcn.0043dd10
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
jmp 0x43f011
lea edx, [ebx + ebx*2]
mov ecx, dword [esp + edx*4 + 0x50]
mov edx, dword [esp + 0x78]
push ecx
push eax
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push edx
call fcn.00437d40
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
add esp, 0x64
ret
mov dword [esi + 0x30], 0
cmp dword [esp + 0x14], 0x90312
jne 0x43f115
pop edi
mov dword [esi + 8], 2
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret
cmp dword [esp + 0x14], 0
jne 0x43f135
mov eax, dword [esp + 0x78]
push str.schannel:_SSL_TLS_handshake_complete_n
push eax
mov dword [esi + 8], 4
call fcn.00437cb0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret