Function at 0x46eb80
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns
Start tcp server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7331
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 1
push 2
mov dword [ebp - 0x118], 0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46ebde
push 0x4f422c
call fcn.004a27e0
push eax
push 0x4f422c
jmp 0x46ece5
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
xorps xmm0, xmm0
movups xmmword [ebp - 0x13c], xmm0
mov cx, word [eax + 8]
mov word [ebp - 0x13c], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x138]
push eax
call fcn.004aaaa0
add esp, 0xc
push 0x5ab3
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x13a], ax
lea eax, [ebp - 0x13c]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x46ec6f
push 0x4f425c
call fcn.004a27e0
push eax
push 0x4f425c
jmp 0x46ece5
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x10
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x46eca4
push 0x4f4288
call fcn.004a27e0
push eax
push 0x4f4288
jmp 0x46ece5
push 0
push esi
call dword [sym.imp.WS2_32.dll_listen]
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [0x517484], eax
cmp eax, 0xffffffff
jne 0x46ecd4
push 0x4f42bc
call fcn.004a27e0
push eax
push 0x4f42bc
jmp 0x46ece5
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call fcn.004a27e0
push eax
push 0
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.004a2a40
test eax, eax
je 0x46edb8
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push 0x4f4598
push eax
call fcn.004a23a0
mov esi, eax
push 0x4e70e4
mov byte [ebp - 4], 1
call fcn.004a27e0
push eax
push 0x4e70e4
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.004a24b0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004a2380
push eax
call fcn.00405a40
add esp, 4
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x46ed89
call fcn.004a2a20
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x46ed9c
call fcn.004a2a20
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x46ee92
call fcn.004a2a20
jmp 0x46ee92
push 0
call fcn.0046e030
add esp, 4
test eax, eax
je 0x46edf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 4
mov edx, 0x4f45f8
mov ecx, 0x4f4648
cmove ecx, edx
push ecx
call fcn.00405a40
add esp, 4
push dword [0x517484]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x46ee92
mov ecx, dword [0x517480]
mov dword [0x52e024], 3
cmp ecx, 0xffffffff
je 0x46ee85
mov eax, dword [0x5174a8]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 8
lea eax, [ebp - 0x124]
mov dword [0x5171a0], 9
push eax
push ecx
mov dword [ebp - 0x124], 0
call sub.FLTLIB.DLL_FilterSendMessage
push 0
test eax, eax
jne 0x46ee74
push 1
call fcn.00471c90
push 1
mov byte [0x52e028], 1
call fcn.00470600
add esp, 0xc
push 0xffffffffffffffff
push dword [0x52dfd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
jmp 0x46ee94
push 0
call fcn.00471c90
add esp, 8
mov byte [0x52e028], 0
push 0x4f4564
call fcn.00405a40
add esp, 4
xor al, al
mov byte [ebp - 0x13d], al
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x46eeb6
call fcn.004a2a20
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret