Function at 0x469010
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 0x4d1bb1
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x513b94]
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
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x469064
push 0x4ed164
call fcn.0049c580
push eax
push 0x4ed164
jmp 0x46916b
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 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 - 0x124], xmm0
mov cx, word [eax + 8]
mov word [ebp - 0x124], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x120]
push eax
call fcn.004a4660
add esp, 0xc
push 0x5ab3
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x122], ax
lea eax, [ebp - 0x124]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x4690f5
push 0x4ed194
call fcn.0049c580
push eax
push 0x4ed194
jmp 0x46916b
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0x10
push eax
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x46912a
push 0x4ed1c0
call fcn.0049c580
push eax
push 0x4ed1c0
jmp 0x46916b
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 [0x51349c], eax
cmp eax, 0xffffffff
jne 0x46915a
push 0x4ed1f4
call fcn.0049c580
push eax
push 0x4ed1f4
jmp 0x46916b
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call fcn.0049c580
push eax
push 0
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.0049c770
test eax, eax
je 0x46923e
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
push 0x4ed4d0
push eax
call fcn.0049c140
mov esi, eax
push 0x4e0504
mov byte [ebp - 4], 1
call fcn.0049c580
push eax
push 0x4e0504
call fcn.0049c710
add esp, 0x18
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.0049c250
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0049c120
push eax
call fcn.00405010
add esp, 4
mov ecx, dword [ebp - 0x138]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x46920f
call fcn.0049c750
mov ecx, dword [ebp - 0x134]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x469222
call fcn.0049c750
mov ecx, dword [ebp - 0x130]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x469318
call fcn.0049c750
jmp 0x469318
push 0
call fcn.004684d0
add esp, 4
test eax, eax
je 0x46927c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 4
mov edx, 0x4ed580
mov ecx, 0x4ed530
cmovne ecx, edx
push ecx
call fcn.00405010
add esp, 4
push dword [0x51349c]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x469318
mov ecx, dword [0x513498]
mov dword [0x51872c], 3
cmp ecx, 0xffffffff
je 0x46930b
mov eax, dword [0x5134c0]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push 8
lea eax, [ebp - 0x13c]
mov dword [0x513188], 9
push eax
push ecx
mov dword [ebp - 0x13c], 0
call sub.FLTLIB.DLL_FilterSendMessage
push 0
test eax, eax
jne 0x4692fa
push 1
call fcn.0046c040
push 1
mov byte [0x518730], 1
call fcn.0046aa20
add esp, 0xc
push 0xffffffffffffffff
push dword [0x5186d8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
jmp 0x46931a
push 0
call fcn.0046c040
add esp, 8
mov byte [0x518730], 0
push 0x4ed49c
call fcn.00405010
add esp, 4
xor al, al
mov byte [ebp - 0x125], al
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x46933c
call fcn.0049c750
mov al, byte [ebp - 0x125]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret