Function at 0x42ddb5
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59a312
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x60f490]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x60f490]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x61], 0
jne 0x42e139
cmp byte [esi + 0x60], 0
jne 0x42e139
lea eax, [esi + 0x9c]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xf0]
sub eax, ecx
test eax, eax
jle 0x42e117
xor ebx, ebx
push ebx
push eax
mov eax, dword [esi + 0xf8]
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x42e059
mov ecx, dword [esi + 0xf0]
add ecx, eax
mov dword [esi + 0xf0], ecx
cmp byte [esi + 0xe8], bl
je 0x42dffe
mov edi, ebx
cmp dword [esi + 0xf0], 5
jge 0x42de7b
mov dword [esp + 0x14], ebx
jmp 0x42deac
mov eax, dword [esi + 0xf8]
mov edi, dword [eax]
cmp edi, dword [esi + 0xec]
jg 0x42dea4
cmp edi, 1
jl 0x42dea4
xor ecx, ecx
lea eax, [edi + 4]
cmp dword [esi + 0xf0], eax
setge cl
mov dword [esp + 0x14], ecx
jmp 0x42deac
mov dword [esp + 0x14], 2
lea ecx, [esp + 0x50]
call fcn.00404eb5
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa8], ebx
dec eax
je 0x42df59
dec eax
jne 0x42dfda
mov edx, edi
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], 1
call fcn.00404a8f
push eax
mov edx, 0x5e56b0
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x24]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00407134
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00404102
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.00404102
cmp byte [esi + 0x61], 0
jne 0x42dfda
cmp dword [esi + 0x14], ebx
je 0x42dfda
sub esp, 0x24
lea eax, [esp + 0x74]
mov ecx, esp
push eax
call fcn.004053df
push esi
call dword [esi + 0x14]
add esp, 0x28
jmp 0x42dfda
cmp byte [esi + 0x68], 0
je 0x42df9e
lea ecx, [esi + 0x6c]
cmp dword [ecx + 0x14], 0x10
jb 0x42df6a
mov ecx, dword [ecx]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x42df78
mov edx, dword [edx]
mov eax, dword [esi + 0xf8]
push edi
push dword [esi + 0xfc]
add eax, 4
push eax
call fcn.0041e028
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42dfaf
lea eax, [edi + 4]
push eax
push dword [esi + 0xf8]
push esi
call dword [esi + 8]
add esp, 0xc
push 0xfffffffffffffffc
pop eax
sub eax, edi
add dword [esi + 0xf0], eax
mov eax, dword [esi + 0xf0]
test eax, eax
jle 0x42dfda
mov ecx, dword [esi + 0xf8]
push eax
lea eax, [ecx + 4]
add eax, edi
push eax
push ecx
call fcn.00559810
add esp, 0xc
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.00404102
cmp dword [esp + 0x14], 1
je 0x42de6c
jmp 0x42e12f
cmp byte [esi + 0x68], bl
je 0x42e040
lea eax, [esi + 0x6c]
cmp dword [eax + 0x14], 0x10
jb 0x42e00e
mov eax, dword [eax]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x42e01c
mov edx, dword [edx]
push ecx
push dword [esi + 0xfc]
mov ecx, eax
push dword [esi + 0xf8]
call fcn.0041e028
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42e04e
push ecx
push dword [esi + 0xf8]
push esi
call dword [esi + 8]
add esp, 0xc
mov dword [esi + 0xf0], ebx
jmp 0x42e12f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x42e12f
lea ecx, [esp + 0x74]
call fcn.00404eb5
mov dword [esp + 0xa8], 2
lea ecx, [esp + 0x20]
mov edx, edi
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], 1
call fcn.00404a8f
push eax
mov edx, str.recv_error:
mov byte [esp + 0xac], 3
lea ecx, [esp + 0x3c]
call fcn.00404bfe
pop ecx
push eax
lea ecx, [esp + 0x84]
call fcn.00407134
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00404102
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 2
call fcn.00404102
cmp byte [esi + 0x61], 0
jne 0x42e106
cmp dword [esi + 0x14], ebx
je 0x42e106
sub esp, 0x24
lea eax, [esp + 0x98]
mov ecx, esp
push eax
call fcn.004053df
push esi
call dword [esi + 0x14]
add esp, 0x28
push ebx
push 1
lea ecx, [esp + 0x88]
call fcn.00404102
jmp 0x42e12f
jne 0x42e12f
mov eax, dword [esi + 0xf8]
xor ebx, ebx
push ebx
push ebx
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00559612
mov esp, ebp
pop ebp
ret