Function at 0x425d53
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
push esi
push edi
call fcn.00425b80
test eax, eax
jge 0x425da9
push 0x3e8
push 2
push 6
call fcn.0042be4a
add esp, 0xc
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jae 0x425d9a
mov eax, 0x3f
jmp 0x4263db
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00425b95
add esp, 4
push 1
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
test eax, eax
je 0x425dcb
mov eax, 0x41
jmp 0x4263db
cmp dword [0x44d99c], 0
je 0x425ecf
push 0x453c00
call fcn.0042c47d
add esp, 4
push 0xe
call fcn.00430255
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x425e1c
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
mov eax, 0x40
jmp 0x4263db
push 0xe
push 0
mov eax, dword [ebp - 0x148]
push eax
call fcn.0042f0a0
add esp, 0xc
mov eax, dword [ebp - 0x148]
mov word [eax], 6
call fcn.00425baf
push eax
call fcn.0042c09e
add esp, 4
mov ecx, dword [ebp - 0x148]
mov word [ecx + 0xc], ax
push 4
push 0
mov eax, dword [ebp - 0x148]
add eax, 2
push eax
call fcn.0042f0a0
add esp, 0xc
push 6
push 0xff
mov eax, dword [ebp - 0x148]
add eax, 6
push eax
call fcn.0042f0a0
add esp, 0xc
mov eax, dword [ebp - 0x148]
push eax
push 0x453c00
call fcn.0042c491
add esp, 8
mov eax, dword [0x453c00]
push eax
call fcn.0042c400
add esp, 4
test eax, eax
je 0x425ec5
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
mov eax, 0x41
jmp 0x4263db
mov dword [0x44d99c], 0
push 0
call fcn.00431563
add esp, 4
test eax, eax
jge 0x425eeb
mov eax, 0x4a
jmp 0x4263db
push 0
call fcn.00431563
add esp, 4
cdq
xor eax, edx
sub eax, edx
and eax, 0x1fff
xor eax, edx
sub eax, edx
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x48c], 0xffffffff
mov dword [ebp - 0x498], 0x3d
mov dword [ebp - 0x490], 0
push 0x190
push 0
lea eax, [ebp - 0x488]
push eax
call fcn.0042f0a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.004307e0
add esp, 4
inc eax
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.0042ff20
add esp, 0xc
mov dword [ebp - 0x49c], 0
mov eax, dword [0x453c00]
mov dword [ebp - 0x150], eax
jmp 0x425f8d
mov eax, dword [ebp - 0x150]
push eax
call fcn.0042c451
add esp, 4
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
push eax
call fcn.0042c400
add esp, 4
test eax, eax
jne 0x4260d9
mov eax, dword [ebp - 0x150]
push eax
call fcn.0042c426
add esp, 4
mov dword [ebp - 0x158], eax
push 0x10
mov eax, dword [ebp - 0x158]
push eax
call fcn.00425b80
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x425fe9
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.connect_failed_with__d
call fcn.004263e0
add esp, 8
push 0
push 0x1a0
lea eax, [ebp - 0x498]
push eax
call fcn.00425b80
push eax
call sub.WSOCK32.dll_send
cmp eax, 0x1a0
jne 0x426018
inc dword [ebp - 0x49c]
jmp 0x4260d4
mov dword [ebp - 0x4a0], 0xe
push 0x10
call fcn.00430255
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x426059
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
mov eax, 1
jmp 0x4263db
mov eax, dword [ebp - 0x11c]
mov word [eax], 6
call fcn.00425baf
push eax
call fcn.0042c09e
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov word [ecx + 0xc], ax
mov dword [ebp - 0x4a0], 0x10
lea eax, [ebp - 0x4a0]
push eax
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00425b80
push eax
call sub.WSOCK32.dll_getsockname
test eax, eax
je 0x4260c0
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004306be
add esp, 4
mov eax, 1
jmp 0x4263db
mov eax, dword [ebp - 0x11c]
push eax
push 0x453da8
call fcn.0042c491
add esp, 8
jmp 0x425f78
cmp dword [ebp - 0x49c], 0
jne 0x426100
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
mov eax, 0x3e
jmp 0x4263db
push 0
call fcn.00431563
add esp, 4
mov ecx, dword [ebp + 0x10]
add ecx, eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0
jne 0x4263c4
mov dword [ebp - 0x12c], 0
mov ebx, dword [ebp - 0x118]
push 0
call fcn.00431563
add esp, 4
sub ebx, eax
mov dword [ebp - 0x130], ebx
cmp dword [ebp - 0x130], 0
jge 0x426165
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x40
jae 0x426194
call fcn.00425b80
mov ecx, dword [ebp - 0x114]
mov dword [ebp + ecx*4 - 0x110], eax
inc dword [ebp - 0x114]
lea eax, [ebp - 0x130]
push eax
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00425b80
inc eax
push eax
call fcn.0042be9a
add esp, 0x14
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x4a8], eax
jmp 0x4263a0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2714
je 0x426209
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
jle 0x4261ff
xor eax, eax
jmp 0x426204
mov eax, 1
jmp 0x4263db
jmp 0x4263bf
mov dword [ebp - 0x144], 1
jmp 0x4263bf
mov dword [ebp - 0x120], 0xe
push 0
push 0x1a0
lea eax, [ebp - 0x2f8]
push eax
call fcn.00425b80
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0x1a0
je 0x42625b
jmp 0x4263bf
mov dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00425b80
push eax
call sub.WSOCK32.dll_getpeername
cmp eax, 0xffffffff
jne 0x426297
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.getpeername_returned__d
call fcn.004263e0
add esp, 8
lea eax, [ebp - 0x2e8]
push eax
mov eax, dword [ebp - 0x2ec]
push eax
mov eax, dword [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042b649
add esp, 4
push eax
mov eax, dword [ebp - 0x4a4]
push eax
push str.VLM_broadcast_text______recv___returned__d._nsenders_address_is__s._nGetFrame_sequence_no____ld__nGetFrame_client_pid_no____d__nGetFrame.info_is_n_s
call fcn.004263e0
add esp, 0x18
mov eax, dword [ebp - 0x494]
cmp dword [ebp - 0x2f4], eax
jne 0x4262f1
mov eax, dword [ebp - 0x48c]
cmp dword [ebp - 0x2ec], eax
je 0x42632c
mov eax, dword [ebp - 0x494]
push eax
mov eax, dword [ebp - 0x2f4]
push eax
push 0x44da80
call fcn.004263e0
add esp, 0xc
mov eax, dword [ebp - 0x48c]
push eax
mov eax, dword [ebp - 0x2ec]
push eax
push 0x44dabc
call fcn.004263e0
add esp, 0xc
jmp 0x4263bf
lea eax, [ebp - 0x140]
push eax
call fcn.0042b649
add esp, 4
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x124]
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004263f2
add esp, 0x18
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x40
jne 0x426384
mov eax, 0x40
jmp 0x4263db
cmp dword [ebp - 0x128], 0
jne 0x42639b
mov dword [ebp - 0x144], 1
jmp 0x4263bf
cmp dword [ebp - 0x4a8], 0xffffffff
je 0x4261cc
cmp dword [ebp - 0x4a8], 0
je 0x42620e
jmp 0x42621d
jmp 0x42611f
push 0
call fcn.00425b80
push eax
call fcn.0042763c
add esp, 8
xor eax, eax
jmp 0x4263db
pop edi
pop esi
pop ebx
leave
ret