Function at 0x4b5a6c
Capabilities:
Create tcp socket
Create udp socket
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406988
xor eax, eax
push ebp
push 0x4b5cd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b5444
xor eax, eax
push ebp
push 0x4b5caa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b5c77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
mov word [eax + 0xa], dx
push 0
push 0
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateIoCompletionPort
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
jne 0x4b5b09
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x44]
call fcn.0041eb98
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x4b27e0]
call fcn.0041fad0
call fcn.00405fe4
push 1
push 0
push 0
push 0
push 1
push 2
call sub.ws2_32.dll_WSASocketW
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4b5b4a
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x48]
call fcn.0041eb98
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x4b27e0]
call fcn.0041fad0
call fcn.00405fe4
mov eax, dword [ebp - 4]
add eax, 0x10
xor ecx, ecx
mov edx, 0x1e
call fcn.00404870
mov eax, dword [ebp - 4]
mov word [eax + 0x10], 2
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
push eax
call sub.ws2_32.dll_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x12], ax
mov eax, dword [ebp - 0xc]
call fcn.004b4b10
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x1e
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.ws2_32.dll_bind
mov edx, 0x4b5cf0
call fcn.004b474c
mov cl, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00405114
push 0x7fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.ws2_32.dll_listen
mov edx, 0x4b5d08
call fcn.004b474c
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*2]
dec eax
test eax, eax
jl 0x4b5c21
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b46b0]
call fcn.004b680c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0x14]
call fcn.00439e68
mov eax, dword [ebp - 0x14]
call fcn.00446118
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4b5bf1
mov eax, dword [ebp - 0x2c]
add eax, eax
dec eax
test eax, eax
jl 0x4b5c66
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b4614]
call fcn.004b680c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x18]
call fcn.00439e68
mov eax, dword [ebp - 0x18]
call fcn.00446118
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4b5c36
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b5c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5cb1
mov eax, dword [ebp - 4]
call fcn.004b5450
ret