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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd66
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x4c6300
cmp dword [esi + 0x20c], 5
je 0x4c60bd
call fcn.004c8040
jmp 0x4c6300
mov ecx, dword [esi + 0x224]
push 0
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
sub edx, eax
mov ecx, dword [ecx + 4]
push edx
add ecx, eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
test ebx, ebx
je 0x4c62e3
jns 0x4c6163
cmp edi, 0x2733
je 0x4c6300
cmp edi, 0x8c
je 0x4c6300
cmp edi, 0xb
je 0x4c6300
cmp edi, 0x2734
je 0x4c6300
cmp edi, 0x70
je 0x4c6300
cmp edi, 0x2735
je 0x4c6300
cmp edi, 0x67
je 0x4c6300
cmp edi, 4
je 0x4c6300
jmp 0x4c62e3
mov eax, dword [esi + 0x224]
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 4]
mov byte [ecx + eax], 0
mov ecx, esi
call fcn.004c7010
test eax, eax
jne 0x4c6248
movzx edx, word [esi + 0x1e8]
lea ecx, [ebp - 0x13]
inc edx
call fcn.00409ed0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp eax, ecx
je 0x4c61c3
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402bc0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
mov edx, str.Socket_
lea ecx, [ebp - 0xa4]
call fcn.0040b090
push 0x55a5d0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0040ca30
sub esp, 0x10
mov byte [ebp - 4], 2
mov ecx, esp
mov edx, eax
push str._SSLHandShake_ended_Successfully
call fcn.0040ca30
add esp, 4
mov ecx, esi
push 1
call fcn.004c8a80
lea ecx, [ebp - 0x8c]
call fcn.004028f0
lea ecx, [ebp - 0xa4]
call fcn.004028f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.004028f0
push 6
mov ecx, esi
call fcn.004c8620
jmp 0x4c6300
cmp eax, 2
jne 0x4c6300
movzx edx, word [esi + 0x1e8]
lea ecx, [ebp - 0x2b]
inc edx
call fcn.00409ed0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp eax, ecx
je 0x4c628d
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00402bc0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push eax
mov edx, str.SSLHandShake_Failed_for_Socket__
lea ecx, [ebp - 0xbc]
call fcn.0040b090
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
mov edx, eax
push 0x560594
call fcn.0040ca30
add esp, 4
mov ecx, esi
push 1
call fcn.004c8a80
lea ecx, [ebp - 0xbc]
call fcn.004028f0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.004028f0
sub esp, 0x18
mov ecx, esp
push str.SSL_HandShake_Error.
call fcn.00409680
mov ecx, dword [esi + 0x204]
push 0
push esi
call fcn.004bfd60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret