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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f9c26
mov ebx, eax
test ebx, ebx
je 0x4fb485
cmp dword [ebx + 0xe4], 2
jne 0x4fb485
mov eax, esi
shr eax, 0x10
and ax, 0xffff
test ax, ax
je 0x4fb1f0
movzx edx, ax
mov dword [ebx + 0x11c], edx
cmp dword [0x558a48], 0
je 0x4fb1d7
cmp si, 0x20
jne 0x4fb1ae
push 3
push 0x39
push ebx
push 0x559c6c
call fcn.004f9ce3
jmp 0x4fb1d7
cmp dword [ebx + 0xf0], 0
je 0x4fb1c8
push 3
push 0x41
push ebx
push 0x559c77
call fcn.004f9ce3
jmp 0x4fb1d7
push 3
push 0x3c
push ebx
push 0x559c80
call fcn.004f9ce3
push ebx
call fcn.004f9bb3
test eax, eax
je 0x4fb485
push ebx
call fcn.004f9ad5
jmp 0x4fb485
push 0
call fcn.00548d28
pop ecx
mov dword [ebx + 0x118], eax
push 0
push 0
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
mov eax, 0x1001
sub eax, dword [ebx + 0xd4]
cmp eax, 1
jle 0x4fb3cb
cmp dword [ebx + 0xf0], 0
je 0x4fb27c
mov dword [ebp - 4], 0x10
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0x14]
push ecx
push 0
dec eax
push eax
push 0x5882b0
push dword [ebx + 0x120]
call sub.WSOCK32.dll_recvfrom
mov esi, eax
cmp dword [ebp - 4], 0
jle 0x4fb292
push dword [ebp - 0x10]
call sub.WSOCK32.dll_htonl
mov dword [ebx + 0x100], eax
mov ax, word [ebp - 0x12]
push eax
call sub.WSOCK32.dll_ntohs
mov word [ebx + 0x104], ax
jmp 0x4fb292
push 0
dec eax
push eax
push 0x5882b0
push dword [ebx + 0x120]
call sub.WSOCK32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fb2d0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4fb2c0
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fb485
mov dword [ebx + 0x11c], eax
mov esi, 3
jmp 0x4fb45e
test esi, esi
jle 0x4fb45c
cmp dword [0x558a48], 0
jne 0x4fb31f
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4fb2f2
push eax
call fcn.00545938
pop ecx
xor edx, edx
mov dword [ebx + 0xd0], edx
xor ecx, ecx
mov dword [ebx + 0xd4], ecx
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fb485
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4fb367
mov edx, dword [ebx + 0xd4]
add edx, esi
add edx, 5
push edx
push eax
call fcn.00545f18
add esp, 8
test eax, eax
jne 0x4fb35f
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fb485
mov dword [ebx + 0xd0], eax
jmp 0x4fb39a
lea ecx, [esi + 0xa]
push ecx
call fcn.00545a4c
pop ecx
mov edi, eax
mov dword [ebx + 0xd0], edi
test edi, edi
jne 0x4fb39a
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fb485
push esi
push 0x5882b0
mov eax, dword [ebx + 0xd0]
add eax, dword [ebx + 0xd4]
push eax
call fcn.005393c8
add esp, 0xc
add dword [ebx + 0xd4], esi
mov edx, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
mov byte [edx + ecx], 0
xor eax, eax
mov dword [ebx + 0xe8], eax
cmp dword [ebx + 0xf0], 0
je 0x4fb3ed
push 0
push 0x41
push ebx
push str.UDPREAD
call fcn.004f9ce3
jmp 0x4fb3fc
push 0
push 0x3c
push ebx
push str.SOCKREAD
call fcn.004f9ce3
push ebx
call fcn.004f9bb3
test eax, eax
je 0x4fb485
cmp dword [ebx + 0xe8], 0
jne 0x4fb44a
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4fb420
push eax
call fcn.00545938
pop ecx
xor edx, edx
mov dword [ebx + 0xd0], edx
xor ecx, ecx
mov dword [ebx + 0xd4], ecx
push 0x23
push 0x438
push dword [0x55b3c8]
push dword [ebx + 0x120]
call sub.WSOCK32.dll_WSAAsyncSelect
jmp 0x4fb485
cmp dword [ebx + 0xe8], 2
je 0x4fb3cb
jmp 0x4fb213
xor esi, esi
cmp dword [0x558a48], 0
je 0x4fb47f
push esi
push 0x39
push ebx
push str.SOCKCLOSE
call fcn.004f9ce3
push ebx
call fcn.004f9bb3
test eax, eax
je 0x4fb485
push ebx
call fcn.004f9ad5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8