Function at 0x42df9d
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 0x59a510
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 0x42e321
cmp byte [esi + 0x60], 0
jne 0x42e321
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 0x42e2ff
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 0x42e241
mov ecx, dword [esi + 0xf0]
add ecx, eax
mov dword [esi + 0xf0], ecx
cmp byte [esi + 0xe8], bl
je 0x42e1e6
mov edi, ebx
cmp dword [esi + 0xf0], 5
jge 0x42e063
mov dword [esp + 0x14], ebx
jmp 0x42e094
mov eax, dword [esi + 0xf8]
mov edi, dword [eax]
cmp edi, dword [esi + 0xec]
jg 0x42e08c
cmp edi, 1
jl 0x42e08c
xor ecx, ecx
lea eax, [edi + 4]
cmp dword [esi + 0xf0], eax
setge cl
mov dword [esp + 0x14], ecx
jmp 0x42e094
mov dword [esp + 0x14], 2
lea ecx, [esp + 0x50]
call fcn.00404e82
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa8], ebx
dec eax
je 0x42e141
dec eax
jne 0x42e1c2
mov edx, edi
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], 1
call fcn.00404a5c
push eax
mov edx, 0x5e5678
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x24]
call fcn.00404bcb
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00407101
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.004040cf
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.004040cf
cmp byte [esi + 0x61], 0
jne 0x42e1c2
cmp dword [esi + 0x14], ebx
je 0x42e1c2
sub esp, 0x24
lea eax, [esp + 0x74]
mov ecx, esp
push eax
call fcn.004053ac
push esi
call dword [esi + 0x14]
add esp, 0x28
jmp 0x42e1c2
cmp byte [esi + 0x68], 0
je 0x42e186
lea ecx, [esi + 0x6c]
cmp dword [ecx + 0x14], 0x10
jb 0x42e152
mov ecx, dword [ecx]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x42e160
mov edx, dword [edx]
mov eax, dword [esi + 0xf8]
push edi
push dword [esi + 0xfc]
add eax, 4
push eax
call fcn.0041de48
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42e197
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 0x42e1c2
mov ecx, dword [esi + 0xf8]
push eax
lea eax, [ecx + 4]
add eax, edi
push eax
push ecx
call fcn.005599e0
add esp, 0xc
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.004040cf
cmp dword [esp + 0x14], 1
je 0x42e054
jmp 0x42e317
cmp byte [esi + 0x68], bl
je 0x42e228
lea eax, [esi + 0x6c]
cmp dword [eax + 0x14], 0x10
jb 0x42e1f6
mov eax, dword [eax]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x42e204
mov edx, dword [edx]
push ecx
push dword [esi + 0xfc]
mov ecx, eax
push dword [esi + 0xf8]
call fcn.0041de48
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42e236
push ecx
push dword [esi + 0xf8]
push esi
call dword [esi + 8]
add esp, 0xc
mov dword [esi + 0xf0], ebx
jmp 0x42e317
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x42e317
lea ecx, [esp + 0x74]
call fcn.00404e82
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.00404a5c
push eax
mov edx, str.recv_error:
mov byte [esp + 0xac], 3
lea ecx, [esp + 0x3c]
call fcn.00404bcb
pop ecx
push eax
lea ecx, [esp + 0x84]
call fcn.00407101
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.004040cf
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 2
call fcn.004040cf
cmp byte [esi + 0x61], 0
jne 0x42e2ee
cmp dword [esi + 0x14], ebx
je 0x42e2ee
sub esp, 0x24
lea eax, [esp + 0x98]
mov ecx, esp
push eax
call fcn.004053ac
push esi
call dword [esi + 0x14]
add esp, 0x28
push ebx
push 1
lea ecx, [esp + 0x88]
call fcn.004040cf
jmp 0x42e317
jne 0x42e317
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.005597ea
mov esp, ebp
pop ebp
ret