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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5696a1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1880
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1860], ecx
call fcn.00460e70
test eax, eax
je 0x484902
call fcn.00461150
test eax, eax
jne 0x484a1c
lea eax, [ebp - 0x1844]
push eax
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x1864], eax
mov ecx, dword [ebp - 0x1864]
mov dword [ebp - 0x1868], ecx
mov dword [ebp - 4], 0
push 0x583498
mov edx, dword [ebp - 0x1868]
push edx
lea eax, [ebp - 0x1848]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x186c], eax
mov ecx, dword [ebp - 0x186c]
call fcn.00415f60
push eax
push 0x5834b4
push str.RegCode
push 0x5834c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x1848]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1844]
call fcn.00415e20
lea ecx, [ebp - 0x184c]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x1870], eax
mov edx, dword [ebp - 0x1870]
mov dword [ebp - 0x1874], edx
mov dword [ebp - 4], 1
push 0x5834d8
mov eax, dword [ebp - 0x1874]
push eax
lea ecx, [ebp - 0x1850]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x1878], eax
mov ecx, dword [ebp - 0x1878]
call fcn.00415f60
push eax
push 0x5834f4
push 0x5834f8
push 0x58350c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x1850]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184c]
call fcn.00415e20
call fcn.0043c150
xor eax, eax
jmp 0x484e08
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov ecx, 0x5c8578
call fcn.0044e330
test eax, eax
jne 0x484a3d
xor eax, eax
jmp 0x484e08
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x1830], eax
mov byte [ebp - 0x1828], 0
push 0x1000
push 0
lea ecx, [ebp - 0x1827]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x828], 0
push str.CCProxy_Telnet_CCProxy_Telnet_Service_Ready._r_nCCProxy_Telnet_
lea edx, [ebp - 0x1828]
push edx
call fcn.0052a310
add esp, 8
lea eax, [ebp - 0x1828]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x1828]
push ecx
mov edx, dword [ebp - 0x1830]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x1860]
call fcn.004c7f70
mov dword [ebp - 0x187c], eax
cmp dword [ebp - 0x187c], 0
jne 0x484ad3
mov eax, 1
jmp 0x484e08
mov dword [ebp - 0x420], 0x400
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x820], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x81f]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x182c], 0xc
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea edx, [ebp - 0x417]
push edx
call fcn.005281f0
add esp, 0xc
mov eax, dword [ebp - 0x1860]
cmp dword [eax + 0x210], 0
je 0x484ddf
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x484ddf
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x182c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1830]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x1860]
call fcn.00484e50
mov dword [ebp - 0x1880], eax
cmp dword [ebp - 0x1880], 0
jne 0x484b9a
mov dword [ebp - 0x1854], 0
push 0x5b15cc
lea ecx, [ebp - 0x1854]
push ecx
call fcn.005286d1
mov edx, dword [ebp - 0x182c]
mov dword [ebp - 0x1884], edx
cmp dword [ebp - 0x1884], 7
ja case.0x484bb9.4
mov eax, dword [ebp - 0x1884]
jmp dword [eax*4 + 0x484e28]
push 0x58355c
lea ecx, [ebp - 0x820]
push ecx
call fcn.00420b60
add esp, 8
mov dword [ebp - 0x1888], eax
mov edx, dword [ebp - 0x1888]
mov dword [ebp - 0x1838], edx
cmp dword [ebp - 0x1838], 0
je 0x484c0f
mov eax, dword [ebp - 0x1838]
push eax
call fcn.0052a6f6
add esp, 4
mov dword [ebp - 0x1834], eax
mov ecx, dword [ebp - 0x1838]
mov byte [ecx], 0
jmp 0x484c19
mov dword [ebp - 0x1834], 0x17
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0052a310
add esp, 8
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x183c], eax
mov ecx, dword [ebp - 0x1834]
push ecx
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x183c]
push eax
mov ecx, dword [ebp - 0x1830]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1860]
call fcn.00485060
cmp dword [ebp - 0x183c], 0
je 0x484c93
push 2
mov ecx, dword [ebp - 0x183c]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x183c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x583560
mov eax, dword [ebp - 0x1830]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x1860]
call fcn.004c81b0
jmp 0x484dda
lea edx, [ebp - 0x820]
push edx
lea ecx, [ebp - 0x1840]
call fcn.0046e6f0
mov dword [ebp - 0x188c], eax
mov byte [ebp - 4], 3
push 0x583574
lea ecx, [ebp - 0x1840]
call fcn.00485820
lea ecx, [ebp - 0x1840]
call fcn.00412150
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x820]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.0052a310
add esp, 8
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x1830]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x1860]
call fcn.00485450
push str._r_nCCProxy_Telnet_
mov eax, dword [ebp - 0x1830]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x1860]
call fcn.004c81b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1840]
call fcn.00412130
jmp 0x484dda
push str.CCProxy_Telnet_Bye__r_n
mov edx, dword [ebp - 0x1830]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x1860]
call fcn.004c81b0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1858], 0
push 0x5b15cc
lea ecx, [ebp - 0x1858]
push ecx
call fcn.005286d1
jmp 0x484dda
push str.Commands_may_be_abbreviated._Supported_commands_are:_r_n_r_no_t__open_hostname__port__t_tconnect_to_hostname__default_port_23__r_np_t__ping_hostname_t_t_tping_hostname_r_nq_t__quit_t_t_t_texit_telnet_r_nCCProxy_Telnet_
mov edx, dword [ebp - 0x1830]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x1860]
call fcn.004c81b0
mov dword [ebp - 0x1890], eax
cmp dword [ebp - 0x1890], 0
jne 0x484dda
mov dword [ebp - 0x185c], 0
push 0x5b15cc
lea ecx, [ebp - 0x185c]
push ecx
call fcn.005286d1
jmp 0x484b2b
jmp 0x484dee
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x5c8578
call fcn.00451040
mov eax, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 4