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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
push edi
mov edi, dword [eax]
xor ebp, ebp
mov eax, dword [esp + 0x64]
push ebx
push str.schannel:_client_wants_to_read__zu_bytes_n
push edi
mov dword [esp + 0x24], 0
lea esi, [eax + eax*8]
mov dword [esp + 0x28], edi
mov byte [esp + 0x1f], 0
call fcn.00430870
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [eax], ebp
mov eax, dword [esp + 0x60]
cmp dword [eax + esi*8 + 0x1a4], ebp
jne 0x443e21
push 0x1000
mov dword [eax + esi*8 + 0x19c], ebp
mov dword [eax + esi*8 + 0x194], 0x1000
call dword [0xa1822c]
mov ecx, dword [esp + 0x64]
add esp, 4
mov dword [ecx + esi*8 + 0x1a4], eax
test eax, eax
jne 0x443e1f
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.004307a0
mov eax, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
mov dword [eax], 0x1b
or eax, 0xffffffff
pop ebx
add esp, 0x4c
ret
mov eax, ecx
mov ecx, dword [eax + esi*8 + 0x190]
mov edx, dword [eax + esi*8 + 0x198]
mov eax, ecx
sub eax, edx
cmp eax, 0x400
jb 0x443e3e
cmp ecx, ebx
jae 0x443e8a
lea eax, [edx + 0x400]
mov dword [esp + 0x14], eax
cmp eax, ebx
jae 0x443e52
mov eax, ebx
mov dword [esp + 0x14], ebx
push eax
mov eax, dword [esp + 0x64]
push dword [eax + esi*8 + 0x1a0]
call dword [0xa18234]
add esp, 8
test eax, eax
jne 0x443e72
push str.schannel:_unable_to_re_allocate_memory
jmp 0x443e01
mov ecx, dword [esp + 0x60]
mov dword [ecx + esi*8 + 0x1a0], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + esi*8 + 0x190], eax
jmp 0x443e8e
mov ecx, dword [esp + 0x60]
push dword [ecx + esi*8 + 0x190]
push dword [ecx + esi*8 + 0x198]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push edi
call fcn.00430870
mov edx, dword [esp + 0x70]
add esp, 0x10
mov eax, dword [edx + esi*8 + 0x190]
mov ecx, dword [edx + esi*8 + 0x198]
sub eax, ecx
je 0x443f1f
lea ebx, [esp + 0x18]
push ebx
push eax
mov eax, dword [edx + esi*8 + 0x1a0]
add eax, ecx
push eax
mov eax, dword [esp + 0x70]
push dword [edx + eax*4 + 0x144]
call fcn.00430a50
mov ecx, dword [esp + 0x80]
add esp, 0x10
mov dword [ecx], eax
test eax, eax
je 0x443ef5
or eax, 0xffffffff
jmp 0x443f08
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x443f08
mov ecx, dword [esp + 0x60]
add dword [ecx + esi*8 + 0x198], eax
push eax
push str.schannel:_encrypted_data_got__zd_n
push edi
call fcn.00430870
mov ebx, dword [esp + 0x78]
add esp, 0xc
mov edx, dword [esp + 0x60]
push dword [edx + esi*8 + 0x190]
push dword [edx + esi*8 + 0x198]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x70]
add esp, 0x10
cmp dword [eax + esi*8 + 0x198], ebp
jbe 0x444202
lea esp, [esp]
test ebp, ebp
jne 0x444202
cmp dword [eax + esi*8 + 0x19c], ebx
jae 0x444202
push dword [eax + esi*8 + 0x198]
call fcn.0043f2f0
mov ecx, dword [esp + 0x64]
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], ebp
mov eax, dword [ecx + esi*8 + 0x1a0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push ebp
push eax
mov eax, dword [0xa1a584]
push dword [ecx + esi*8 + 0x174]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 4
mov eax, dword [eax + 0x68]
call eax
mov ebp, eax
cmp ebp, 0x80090318
je 0x4442d8
test ebp, ebp
je 0x444005
cmp ebp, 0x90321
je 0x444005
cmp ebp, 0x90317
jne 0x444196
cmp dword [esp + 0x3c], 1
jne 0x444107
push dword [esp + 0x38]
push str.schannel:_decrypted_data_length:__lu_n
push edi
call fcn.00430870
mov ebx, dword [esp + 0x44]
add esp, 0xc
mov ecx, ebx
cmp ebx, 0x400
ja 0x444035
mov ecx, 0x400
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x60]
mov edx, dword [eax + esi*8 + 0x194]
mov eax, edx
sub eax, dword [edi + esi*8 + 0x19c]
mov edi, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x6c]
jb 0x44405d
cmp edx, eax
jae 0x4440a5
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + esi*8 + 0x19c]
add ebx, ecx
cmp ebx, eax
jae 0x444070
mov ebx, eax
mov eax, dword [esp + 0x60]
push ebx
push dword [eax + esi*8 + 0x1a4]
call dword [0xa18234]
add esp, 8
test eax, eax
je 0x443e6b
mov ecx, dword [esp + 0x60]
mov dword [ecx + esi*8 + 0x194], ebx
mov ebx, dword [esp + 0x38]
mov dword [ecx + esi*8 + 0x1a4], eax
jmp 0x4440a9
mov ecx, dword [esp + 0x60]
test ebx, ebx
je 0x4440d4
mov eax, dword [ecx + esi*8 + 0x1a4]
add eax, dword [ecx + esi*8 + 0x19c]
push ebx
push dword [esp + 0x44]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x6c]
add esp, 0xc
add dword [eax + esi*8 + 0x19c], ebx
push ebx
push str.schannel:_decrypted_data_added:__zu_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x6c]
push dword [eax + esi*8 + 0x194]
push dword [eax + esi*8 + 0x19c]
push str.schannel:_decrypted_data_cached:_offset__zu_length__zu_n
push edi
call fcn.00430870
mov ebx, dword [esp + 0x88]
add esp, 0x1c
cmp dword [esp + 0x54], 5
jne 0x444187
mov eax, dword [esp + 0x50]
test eax, eax
je 0x444187
push eax
push str.schannel:_encrypted_data_length:__lu_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov edx, dword [esp + 0x50]
cmp dword [eax + esi*8 + 0x198], edx
jbe 0x444169
mov ecx, dword [eax + esi*8 + 0x1a0]
mov eax, ecx
push edx
sub eax, edx
mov edx, dword [esp + 0x64]
add eax, dword [edx + esi*8 + 0x198]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov dword [ecx + esi*8 + 0x198], eax
mov eax, ecx
push dword [eax + esi*8 + 0x190]
push dword [eax + esi*8 + 0x198]
push str.schannel:_encrypted_data_cached:_offset__zu_length__zu_n
push edi
call fcn.00430870
add esp, 0x10
jmp 0x444196
mov eax, dword [esp + 0x60]
mov dword [eax + esi*8 + 0x198], 0
cmp ebp, 0x90321
jne 0x4441f0
push str.schannel:_remote_party_requests_SSL_TLS_renegotiation_n
push edi
call fcn.00430870
push str.schannel:_renegotiating_SSL_TLS_connection_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x23]
push ecx
push 0
push dword [esp + 0x7c]
mov dword [eax + esi*8 + 0x16c], 1
push eax
mov dword [eax + esi*8 + 0x18c], 3
call fcn.00443220
add esp, 0x20
test eax, eax
je 0x4442ac
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
cmp dword [eax + esi*8 + 0x198], 0
ja 0x443f50
push dword [eax + esi*8 + 0x194]
push dword [eax + esi*8 + 0x19c]
push str.schannel:_decrypted_data_buffer:_offset__zu_length__zu_n
push edi
call fcn.00430870
mov ecx, dword [esp + 0x70]
add esp, 0x10
mov eax, dword [ecx + esi*8 + 0x19c]
cmp ebx, eax
jb 0x44422f
mov ebx, eax
test ebx, ebx
je 0x4442fb
push ebx
push dword [ecx + esi*8 + 0x1a4]
push dword [esp + 0x70]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + esi*8 + 0x1a4]
mov eax, dword [eax + esi*8 + 0x19c]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esp + 0x78]
push ebx
push str.schannel:_decrypted_data_returned__zd_n
push edi
sub dword [eax + esi*8 + 0x19c], ebx
call fcn.00430870
mov eax, dword [esp + 0x84]
push dword [eax + esi*8 + 0x194]
push dword [eax + esi*8 + 0x19c]
push str.schannel:_decrypted_data_buffer:_offset__zu_length__zu_n
push edi
call fcn.00430870
add esp, 0x34
test ebx, ebx
jg 0x444320
mov ecx, dword [esp + 0x60]
jmp 0x4442fd
push str.schannel:_SSL_TLS_connection_renegotiated_n
push edi
call fcn.00430870
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.00443d80
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push str.schannel:_failed_to_decrypt_data__need_more_data_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
mov dword [eax], 0x51
or eax, 0xffffffff
pop ebx
add esp, 0x4c
ret
xor ebx, ebx
cmp ebp, 0x90317
je 0x444361
test ebp, ebp
jne 0x44431e
cmp dword [ecx + esi*8 + 0x198], ebp
jbe 0x44431e
mov eax, dword [ecx + esi*8 + 0x1a0]
cmp byte [eax], 0x15
je 0x444361
test ebx, ebx
jns 0x444357
test ebp, ebp
je 0x444357
push ebp
push dword [esp + 0x64]
call fcn.00444aa0
push eax
push str.schannel:_failed_to_read_data_from_server:__s_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x84]
add esp, 0x14
pop edi
pop esi
pop ebp
mov dword [eax], 0x38
or eax, 0xffffffff
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret
push str.schannel:_server_closed_the_connection_n
push edi
call fcn.00430870
mov eax, dword [esp + 0x78]
add esp, 8
pop edi
pop esi
pop ebp
mov dword [eax], 0
xor eax, eax
pop ebx
add esp, 0x4c
ret