Function at 0x4b91d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53671d
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x58c250]
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 eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x43c], eax
cmp dword [esi + 0x24], ebx
je 0x4b9218
or eax, 0xffffffff
jmp 0x4b9508
xor ecx, ecx
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], cx
mov dword [ebp - 4], ebx
push 0x3ff
lea edx, [ebp - 0x40f]
push ebx
push edx
mov word [ebp - 0x438], 0x124
mov dword [ebp - 0x436], 0x20009206
mov dword [ebp - 0x432], ebx
mov byte [ebp - 0x410], bl
call fcn.004f0550
add esp, 0xc
xor edi, edi
lea ebx, [ebx]
mov ecx, esi
call fcn.004b8e10
test eax, eax
je 0x4b931b
mov ecx, dword [esi + 0x48]
push ebx
push 0xa
lea eax, [ebp - 0x438]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4b9333
mov eax, dword [esi + 0x48]
push ebx
push 0x400
lea edx, [ebp - 0x410]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
or ecx, 0xffffffff
cmp eax, ecx
je 0x4b934b
cmp eax, ebx
jne 0x4b92d6
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x4b9270
or ecx, 0xffffffff
cmp byte [ebp - 0x410], 0x24
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x438], edx
mov dx, word [ebp - 0x408]
mov dword [ebp - 0x434], eax
mov word [ebp - 0x430], dx
je 0x4b9361
mov dword [ebp - 4], ecx
xor eax, eax
mov word [ebp - 0x42c], ax
mov eax, 0xfffffffd
jmp 0x4b94f8
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov word [ebp - 0x42c], cx
lea eax, [ecx - 2]
jmp 0x4b94f8
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov word [ebp - 0x42c], dx
or eax, 0xffffffff
jmp 0x4b94f8
mov dword [ebp - 4], ecx
xor eax, eax
mov word [ebp - 0x42c], ax
mov eax, 0xfffffffe
jmp 0x4b94f8
mov eax, dword [ebp - 0x40a]
cmp eax, ebx
je 0x4b947b
cmp dword [ebp - 0x40e], 0x55aa0000
je 0x4b93f0
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x436]
push ecx
lea edx, [ebp - 0x43c]
push str.Wrong_type_of_block._Type_received:__04Xh.
push edx
call fcn.00401f60
add esp, 0xc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b93d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov word [ebp - 0x42c], cx
lea eax, [ecx - 5]
jmp 0x4b94f8
cmp eax, 0xd
je 0x4b9409
mov dword [ebp - 4], ecx
xor edx, edx
mov word [ebp - 0x42c], dx
lea eax, [edx - 6]
jmp 0x4b94f8
mov eax, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x406]
mov dword [esi + 0x2d14], 0x24
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x402]
mov dword [eax + 0x14], edx
mov dl, byte [ebp - 0x3fe]
mov byte [esi + 0x1e], dl
mov edx, dword [ebp - 0x3fd]
mov dword [esi + 0x20], edx
mov byte [esi + 0x2d10], 1
movzx edx, word [eax + 0x12]
mov word [esi + 0x18], dx
cmp word [esi + 0x18], 5
movzx edx, word [eax + 0x10]
mov word [esi + 0x1a], dx
mov ax, word [eax + 0x16]
mov word [esi + 0x1c], ax
jb 0x4b946d
mov dword [esi + 0x2d14], 0x25
mov dword [ebp - 4], ecx
xor ecx, ecx
mov word [ebp - 0x42c], cx
jmp 0x4b94f6
cmp dword [ebp - 0x40e], 0x55aa0000
je 0x4b94c4
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x436]
push ecx
lea edx, [ebp - 0x43c]
push str.Wrong_type_of_block._Type_received:__04Xh.
push edx
call fcn.00401f60
add esp, 0xc
jmp 0x4b93b3
mov edx, dword [ebp - 0x43c]
push 0x34
push ebx
push edx
mov dword [esi + 0x2d14], 0x10
call fcn.004f0550
add esp, 0xc
mov byte [esi + 0x2d10], bl
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov word [ebp - 0x42c], ax
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
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.004f0194
mov esp, ebp
pop ebp
ret 4