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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x84dfc0]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push ebp
push esi
push edi
xor edi, edi
mov esi, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edi
lea ebp, [esp + 0x40]
mov dword [esp + 0x14], edi
cmp esi, edi
je 0x4bb758
cmp dword [esi], 0xbab1e
jne 0x4bb758
cmp dword [esi + 0xec], edi
je 0x4bb421
lea eax, [edi + 8]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0048d1f2
add esp, 0xc8
ret
cmp dword [esp + 0xe0], edi
jge 0x4bb447
pop edi
pop esi
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0048d1f2
add esp, 0xc8
ret
mov eax, dword [esi + 4]
push ebx
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4bb49c
lea edx, [esp + 0x30]
call fcn.004ba270
xor ecx, ecx
mov esi, 1
or edx, 0xffffffff
test eax, esi
je 0x4bb46f
mov edx, dword [esp + ecx*4 + 0x30]
inc edi
mov ebx, esi
rol ebx, 0x10
test eax, ebx
je 0x4bb47d
mov edx, dword [esp + ecx*4 + 0x30]
inc edi
cmp edx, 0xffffffff
je 0x4bb48a
inc ecx
rol esi, 1
cmp ecx, 5
jb 0x4bb463
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4bb453
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov ebx, esi
call fcn.004bab50
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jl 0x4bb4c3
cmp eax, dword [esp + 0xe4]
jge 0x4bb4c3
mov dword [esp + 0xe4], eax
cmp dword [esp + 0xec], 0
mov ebx, dword [esp + 0xe0]
lea eax, [edi + ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
je 0x4bb4e9
cmp dword [esi + 0xdc], 0xffffffff
je 0x4bb4e9
inc eax
cmp eax, 0xa
jbe 0x4bb529
lea ecx, [eax*8]
push ecx
call dword [0x84f470]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4bb521
lea eax, [ebp + 3]
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0048d1f2
add esp, 0xc8
ret
mov dword [esp + 0x18], 1
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x4bb5b4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4bb5b4
lea edx, [esp + 0x30]
call fcn.004ba270
xor ecx, ecx
mov edi, 1
or edx, 0xffffffff
test eax, edi
je 0x4bb572
mov edx, dword [esp + ecx*4 + 0x30]
mov dword [ebp + esi*8], edx
mov edx, 1
mov word [ebp + esi*8 + 4], dx
mov edx, dword [esp + ecx*4 + 0x30]
inc esi
mov ebx, edi
rol ebx, 0x10
test eax, ebx
je 0x4bb592
mov edx, dword [esp + ecx*4 + 0x30]
mov dword [ebp + esi*8], edx
mov edx, 4
mov word [ebp + esi*8 + 4], dx
mov edx, dword [esp + ecx*4 + 0x30]
inc esi
cmp edx, 0xffffffff
je 0x4bb59f
inc ecx
rol edi, 1
cmp ecx, 5
jb 0x4bb554
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4bb544
mov ebx, dword [esp + 0xe0]
test ebx, ebx
jbe 0x4bb5fc
mov ecx, dword [esp + 0x24]
lea eax, [ebp + esi*8 + 4]
add ecx, 4
mov edx, ebx
add esi, ebx
mov edi, dword [ecx - 4]
mov dword [eax - 4], edi
xor edi, edi
mov word [eax], di
test byte [ecx], 1
je 0x4bb5df
mov edi, 1
mov word [eax], di
test byte [ecx], 2
je 0x4bb5e8
or word [eax], 2
test byte [ecx], 4
je 0x4bb5f1
or word [eax], 4
add eax, 8
add ecx, 8
sub edx, 1
jne 0x4bb5c7
cmp dword [esp + 0xec], 0
je 0x4bb624
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xdc]
cmp eax, 0xffffffff
je 0x4bb624
mov edx, 1
mov dword [ebp + esi*8], eax
mov word [ebp + esi*8 + 4], dx
inc esi
test esi, esi
je 0x4bb6e6
mov eax, dword [esp + 0xe4]
cdq
push edx
push eax
push esi
push ebp
call fcn.004e45c0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4bb6e6
mov dword [esp + 0x20], eax
test ebx, ebx
jbe 0x4bb690
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add edi, 6
lea edx, [ebp + eax*8 + 6]
movsx ecx, word [edx]
xor eax, eax
test cl, 1
je 0x4bb672
mov eax, 1
test cl, 4
je 0x4bb67a
or eax, 4
test cl, 2
je 0x4bb682
or eax, 2
mov word [edi], ax
add edx, 8
add edi, 8
sub ebx, 1
jne 0x4bb663
cmp dword [esp + 0xec], 0
je 0x4bb6e6
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xdc], 0xffffffff
je 0x4bb6e6
mov edx, dword [esp + 0x28]
test byte [ebp + edx*8 + 6], 1
je 0x4bb6e6
mov edi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4bb6c0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xdc]
push 0
push 0x40
lea eax, [esp + 0x9c]
push eax
push edx
call edi
test eax, eax
jg 0x4bb6c0
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], 0
je 0x4bb6f7
push ebp
call dword [0x84f474]
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bb705
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
cmp dword [esp + 0xe8], 0
je 0x4bb751
test esi, esi
jne 0x4bb751
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], esi
call fcn.004bac80
add esp, 8
test eax, eax
jne 0x4bb751
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4bb751
mov ecx, dword [esp + 0xe4]
cmp eax, ecx
jg 0x4bb744
test eax, eax
jge 0x4bb746
mov eax, ecx
cdq
push edx
push eax
call fcn.004e4450
add esp, 8
xor eax, eax
jmp 0x4bb508
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0048d1f2
add esp, 0xc8
ret