Function at 0x48aad7
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 0x10
call fcn.0053b7c5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.0053b7c5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9d6b0d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], esp
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x48ab74
push 6
call fcn.0053b7dd
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48ab8b
mov eax, 0
jmp 0x48ad71
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 2
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x48abc6
push 6
call fcn.0053b7dd
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_ntohs]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x48abf6
push 6
call fcn.0053b7dd
add esp, 4
mov ebx, dword [ebp - 0xc]
mov word [ebx], ax
mov dword [ebp - 0xc], esp
push 0x10
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.0053b7c5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_bind]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x48ac74
push 6
call fcn.0053b7dd
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0053bc60
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x48accb
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x48acc9
imul eax, dword [edi]
jmp 0x48acbe
mov ecx, eax
cmp ecx, 8
jle 0x48acd5
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48ad01
mov eax, 0
jmp 0x48ad71
mov dword [ebp - 0xc], esp
push bind
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_listen]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x48ad28
push 6
call fcn.0053b7dd
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48ad61
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x48ad57
push 6
call fcn.0053b7dd
add esp, 4
mov eax, 0
jmp 0x48ad71
push dword [ebp - 4]
call fcn.0048ad95
mov eax, dword [ebp - 4]
jmp 0x48ad71
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
call fcn.0053b7cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8