Function at 0x419cf0
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9f33
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1d8], edi
push 0
push 0x4f6751
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00403090
mov dword [ebp - 4], 0
call fcn.00416050
mov esi, eax
mov dword [ebp - 0x1e8], esi
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.UDPBroadcast
mov byte [ecx], 0
call fcn.00403090
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push 0x13
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.FindServerBroadcast
mov byte [ecx], 0
call fcn.00403090
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00415540
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.UDPBroadcast
mov byte [ecx], 0
call fcn.00403090
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
mov ecx, esp
push 8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ServerId
mov byte [ecx], 0
call fcn.00403090
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00415710
cmp dword [ebp - 0x1e0], 0
je 0x41a405
lea eax, [edi + 0x1c]
mov edi, dword [eax]
mov ecx, eax
mov byte [ebp - 4], 4
push dword [edi + 4]
call fcn.0041b600
mov ecx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0x1c]
mov dword [eax + 4], edi
mov eax, dword [ecx + 0x1c]
mov dword [eax], edi
mov eax, dword [ecx + 0x1c]
mov dword [eax + 8], edi
mov edi, ecx
mov dword [edi + 0x20], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
push 0x11
push 2
push 2
mov dword [ebp - 0x1dc], eax
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [edi + 0x18], eax
test eax, eax
je 0x41a3fe
cmp eax, 0xffffffff
je 0x41a3fe
push dword [ebp - 0x1dc]
mov eax, 2
mov word [ebp - 0x80], ax
call dword [sym.imp.WSOCK32.dll_htons]
push 0
mov word [ebp - 0x7e], ax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push 0x10
push eax
push dword [edi + 0x18]
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
js 0x41a405
cmp dword [edi + 4], 2
jne 0x419f05
lea eax, [edi + 0xc]
mov dword [edi + 0x10], 1
push eax
push 0
push edi
push 0x419b30
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
je 0x419f05
mov dword [edi + 4], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1e4], 0
call fcn.00410da0
push 1
sub esp, 0x18
mov byte [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x70]
push ecx
push 0x4f8014
push eax
call fcn.0040fde0
mov ecx, dword [ebp - 0x1d8]
add esp, 0xc
call fcn.0040b340
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 1
call fcn.004115b0
lea eax, [ebp - 0x1e4]
push eax
push 0
call fcn.00415e10
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00410c30
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x130], 0
add esp, 0x10
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp eax, ecx
je 0x419f9d
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00403090
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x2b]
mov byte [ebp - 4], 6
push eax
call fcn.00410c30
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x118], 0
add esp, 8
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp eax, ecx
je 0x419fe4
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00403090
lea eax, [ebp - 0x43]
mov byte [ebp - 4], 7
push 1
push eax
call fcn.00410c30
lea ecx, [ebp - 0x43]
mov dword [ebp - 0x100], 0
add esp, 8
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp eax, ecx
je 0x41a027
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.00403090
push 7
push str._cmd_:
push 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 8
call fcn.0040be70
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 8
push str.__port_:
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.00402f30
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0040fc90
add esp, 0xc
push 0xb
push str.__version_:
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00402f30
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040fc90
add esp, 0xc
push 0xd
push str.__serverId_:_
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00402f30
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0xe
call fcn.00402f30
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 2
push 0x4f8030
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xf
call fcn.00402f30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x17c], xmm0
mov byte [eax], 0
lea ecx, [ebp - 0x98]
call fcn.00401e30
lea ecx, [ebp - 0xb0]
call fcn.00401e30
lea ecx, [ebp - 0x1bc]
call fcn.00401e30
lea ecx, [ebp - 0xc8]
call fcn.00401e30
lea ecx, [ebp - 0x1d4]
call fcn.00401e30
lea ecx, [ebp - 0xe0]
call fcn.00401e30
lea ecx, [ebp - 0xf8]
call fcn.00401e30
lea ecx, [ebp - 0x110]
call fcn.00401e30
lea ecx, [ebp - 0x128]
call fcn.00401e30
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1a
call fcn.00401e30
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x200]
call fcn.00401c50
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp dword [ebp - 0x1ec], 0x10
lea eax, [ebp - 0x200]
push dword [ebp - 0x1f0]
cmovae eax, dword [ebp - 0x200]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x174]
call fcn.00403090
mov ax, word [ebp + 8]
mov ecx, edi
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x174]
push eax
push 0
push 0x411dfb
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414d20
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x41a388
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a37e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a499
push edx
push ecx
call fcn.004ab6c8
add esp, 8
lea ecx, [ebp - 0x174]
call fcn.00411780
mov edx, dword [ebp - 0x1ec]
mov byte [ebp - 4], 0x1a
cmp edx, 0x10
jb 0x41a3d1
mov ecx, dword [ebp - 0x200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a3c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a49e
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov eax, dword [edi]
mov ecx, edi
push 0x7d0
call dword [eax + 8]
mov ecx, edi
call fcn.004199d0
mov ecx, edi
call fcn.0041a4b0
lea ecx, [ebp - 0x18c]
call fcn.00401e30
mov esi, dword [ebp - 0x1e8]
jmp 0x41a405
mov dword [edi + 0x18], 0
test esi, esi
je 0x41a44c
push 0x5348a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5348c4]
test eax, eax
je 0x41a441
sub eax, 1
mov dword [0x5348c4], eax
jne 0x41a441
mov ecx, dword [0x5348c0]
test ecx, ecx
je 0x41a441
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5348c0], 0
push 0x5348a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x41a47c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4a3
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 4
call fcn.004c6d19
call fcn.004c6d19
call fcn.004c6d19
int3