Function at 0x44afd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ecx]
push esi
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
lea esi, [edx + edx*8]
mov eax, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x40], eax
or eax, 0xffffffff
push str.schannel:_client_wants_to_read__zu_bytes_n
push ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], edi
call fcn.00428020
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [eax], edi
cmp dword [edx + esi*8 + 0x1b4], edi
jne 0x44b070
push 0x1000
mov dword [edx + esi*8 + 0x1ac], edi
mov dword [edx + esi*8 + 0x1a4], 0x1000
call dword [0x4d75c4]
mov edx, dword [ebp - 0x3c]
add esp, 4
mov dword [edx + esi*8 + 0x1b4], eax
test eax, eax
jne 0x44b070
push str.schannel:_unable_to_allocate_memory
jmp 0x44b0ba
mov ecx, dword [edx + esi*8 + 0x1a0]
mov eax, ecx
sub eax, dword [edx + esi*8 + 0x1a8]
cmp eax, 0x400
jb 0x44b08c
cmp ecx, dword [ebp + 0x14]
jae 0x44b0e0
lea eax, [ecx + ecx]
push eax
push dword [edx + esi*8 + 0x1b0]
mov dword [edx + esi*8 + 0x1a0], eax
call dword [0x4d75d0]
mov edx, dword [ebp - 0x3c]
add esp, 8
mov dword [edx + esi*8 + 0x1b0], eax
test eax, eax
jne 0x44b070
push str.schannel:_unable_to_re_allocate_memory
push ebx
call fcn.004280e0
mov eax, dword [ebp - 0x40]
mov dword [eax], 0x1b
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
push ecx
push dword [edx + esi*8 + 0x1a8]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x3c]
add esp, 0x10
mov ecx, dword [eax + esi*8 + 0x1a0]
mov edx, dword [eax + esi*8 + 0x1a8]
sub ecx, edx
je 0x44b17f
mov eax, dword [eax + esi*8 + 0x1b0]
push 0
push ecx
mov ecx, dword [ebp - 0x3c]
add eax, edx
push eax
mov eax, dword [ebp - 0x4c]
push dword [ecx + eax*4 + 0x150]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
mov dword [ebp - 0x44], ecx
cmp ecx, 0xffffffff
jne 0x44b15a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov ecx, 0x38
mov eax, dword [ebp - 0x40]
mov edx, 0x51
cmove ecx, edx
mov dword [eax], ecx
or ecx, 0xffffffff
mov dword [ebp - 0x44], ecx
jmp 0x44b16d
mov eax, dword [ebp - 0x40]
mov dword [eax], edi
test ecx, ecx
jle 0x44b16d
mov eax, dword [ebp - 0x3c]
add dword [eax + esi*8 + 0x1a8], ecx
push ecx
push str.schannel:_encrypted_data_got__zd_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x3c]
add esp, 0xc
push dword [eax + esi*8 + 0x1a0]
push dword [eax + esi*8 + 0x1a8]
push str.schannel:_encrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00428020
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
cmp dword [ecx + esi*8 + 0x1a8], edi
jbe 0x44b486
jmp 0x44b1b0
test edi, edi
mov edi, dword [ebp - 0x3c]
jne 0x44b488
mov eax, dword [ebp + 0x14]
cmp dword [edi + esi*8 + 0x1ac], eax
jae 0x44b488
mov eax, dword [edi + esi*8 + 0x1a8]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + esi*8 + 0x1b0]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push 0
push eax
mov eax, dword [0x4dcddc]
push dword [edi + esi*8 + 0x184]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 4
mov eax, dword [eax + 0x68]
call eax
mov ecx, eax
mov dword [ebp - 0x48], ecx
cmp ecx, 0x80090318
je 0x44b46d
test ecx, ecx
je 0x44b27b
cmp ecx, 0x90321
je 0x44b27b
cmp ecx, 0x90317
jne 0x44b3cf
cmp dword [ebp - 0x28], 1
jne 0x44b351
push dword [ebp - 0x2c]
push str.schannel:_decrypted_data_length:__lu_n
push ebx
call fcn.00428020
mov edx, dword [ebp - 0x3c]
mov edi, 0x400
add esp, 0xc
cmp dword [ebp - 0x2c], edi
cmova edi, dword [ebp - 0x2c]
jmp 0x44b2b0
mov ecx, dword [edx + esi*8 + 0x1a4]
mov eax, ecx
sub eax, dword [edx + esi*8 + 0x1ac]
cmp eax, edi
jb 0x44b2c9
cmp ecx, dword [ebp + 0x14]
jae 0x44b2f7
lea eax, [ecx + ecx]
push eax
push dword [edx + esi*8 + 0x1b4]
mov dword [edx + esi*8 + 0x1a4], eax
call dword [0x4d75d0]
mov edx, dword [ebp - 0x3c]
add esp, 8
mov dword [edx + esi*8 + 0x1b4], eax
test eax, eax
jne 0x44b2b0
jmp 0x44b0b5
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x44b323
mov eax, dword [edx + esi*8 + 0x1b4]
add eax, dword [edx + esi*8 + 0x1ac]
push edi
push dword [ebp - 0x24]
push eax
call fcn.0048d4b0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
add dword [eax + esi*8 + 0x1ac], edi
push edi
push str.schannel:_decrypted_data_added:__zu_n
push ebx
call fcn.00428020
mov edi, dword [ebp - 0x3c]
add esp, 0xc
push dword [edi + esi*8 + 0x1a4]
push dword [edi + esi*8 + 0x1ac]
push str.schannel:_decrypted_data_cached:_offset__zu_length__zu_n
push ebx
call fcn.00428020
add esp, 0x10
cmp dword [ebp - 0x10], 5
jne 0x44b3c4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44b3c4
push eax
push str.schannel:_encrypted_data_length:__lu_n
push ebx
call fcn.00428020
mov edi, dword [edi + esi*8 + 0x1a8]
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edi, edx
jbe 0x44b3a3
mov eax, dword [ebp - 0x3c]
push edx
mov ecx, dword [eax + esi*8 + 0x1b0]
mov eax, ecx
sub eax, edx
add eax, edi
push eax
push ecx
call fcn.004883d0
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ecx + esi*8 + 0x1a8], eax
mov eax, dword [ebp - 0x3c]
push dword [eax + esi*8 + 0x1a0]
push dword [eax + esi*8 + 0x1a8]
push str.schannel:_encrypted_data_cached:_offset__zu_length__zu_n
push ebx
call fcn.00428020
add esp, 0x10
jmp 0x44b3cf
mov dword [edi + esi*8 + 0x1a8], 0
mov edi, dword [ebp - 0x48]
cmp edi, 0x90321
jne 0x44b425
push str.schannel:_remote_party_requests_SSL_TLS_renegotiation_n
push ebx
call fcn.00428020
push str.schannel:_renegotiating_SSL_TLS_connection_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
push ecx
push 0
mov ecx, eax
mov dword [eax + esi*8 + 0x17c], 1
mov dword [eax + esi*8 + 0x19c], 3
call fcn.0044a930
add esp, 0x18
test eax, eax
je 0x44b43a
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + esi*8 + 0x1a8], 0
ja 0x44b1b0
mov edi, eax
jmp 0x44b488
push str.schannel:_SSL_TLS_connection_renegotiated_n
push ebx
call fcn.00428020
push dword [ebp - 0x40]
push dword [ebp + 0x14]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
call fcn.0044afd0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
push str.schannel:_failed_to_decrypt_data__need_more_data_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x40]
mov dword [eax], 0x51
jmp 0x44b0c9
mov edi, ecx
push dword [edi + esi*8 + 0x1a4]
push dword [edi + esi*8 + 0x1ac]
push str.schannel:_decrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00428020
mov edi, dword [edi + esi*8 + 0x1ac]
add esp, 0x10
cmp dword [ebp + 0x14], edi
cmovb edi, dword [ebp + 0x14]
test edi, edi
je 0x44b52a
mov eax, dword [ebp - 0x3c]
push edi
push dword [eax + esi*8 + 0x1b4]
push dword [ebp - 0x50]
call fcn.0048d4b0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x44], edi
mov ecx, dword [eax + esi*8 + 0x1b4]
mov eax, dword [eax + esi*8 + 0x1ac]
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.004883d0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
sub dword [eax + esi*8 + 0x1ac], edi
push edi
push str.schannel:_decrypted_data_returned__zd_n
push ebx
call fcn.00428020
mov edi, dword [ebp - 0x3c]
add esp, 0xc
push dword [edi + esi*8 + 0x1a4]
push dword [edi + esi*8 + 0x1ac]
push str.schannel:_decrypted_data_buffer:_offset__zu_length__zu_n
push ebx
call fcn.00428020
add esp, 0x10
jmp 0x44b52d
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test ecx, ecx
jg 0x44b584
cmp edx, 0x90317
je 0x44b558
test edx, edx
jne 0x44b582
cmp dword [edi + esi*8 + 0x1a8], edx
jbe 0x44b582
mov eax, dword [edi + esi*8 + 0x1b0]
cmp byte [eax], 0x15
jne 0x44b582
push str.schannel:_server_closed_the_connection_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x40]
add esp, 8
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x44b5bd
test edx, edx
je 0x44b5bd
mov ecx, edi
call fcn.00449520
push eax
push str.schannel:_failed_to_read_data_from_server:__s_n
push ebx
call fcn.00428020
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [eax], 0x38
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488366
mov esp, ebp
pop ebp
ret