Function at 0x26299b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push 0x103
lea eax, [ebp - 0x1e7]
push 0
push eax
mov dword [ebp - 8], 1
mov byte [ebp - 0x1e8], 0
call sub.MSVCRT.dll_memset
push 0x103
lea ecx, [ebp - 0x2eb]
push 0
push ecx
mov byte [ebp - 0x2ec], 0
call sub.MSVCRT.dll_memset
add esp, 0x18
lea edx, [ebp - 0x47c]
push edx
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x2629c55
push esi
lea eax, [ebp + 8]
push edi
push eax
call fcn.02629300
add esp, 4
mov ecx, 2
push 0x50
mov esi, eax
mov word [ebp - 0x1c], cx
call sub.WS2_32.dll_htons
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x18], esi
call edi
mov esi, dword [ebp + 0x20c]
imul esi, esi, 0xea60
add esi, eax
mov dword [ebp - 0xc], esi
call edi
cmp eax, esi
jae 0x2629c53
push ebx
jmp 0x2629a66
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x2635b7c], 0
jne 0x2629c52
xor esi, esi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp + esi*4 - 0xe4], eax
cmp eax, 0xffffffff
je 0x2629a9b
lea edx, [ebp - 8]
push edx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
inc esi
cmp esi, 0x32
jl 0x2629a75
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0xe4]
push 0x10
lea eax, [ebp - 0x1c]
push eax
push ecx
call sub.WS2_32.dll_connect
inc esi
cmp esi, 0x32
jl 0x2629aa3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov edx, dword [ebp + 0x208]
mov ecx, dword [ebp + 0x210]
imul edx, edx, 0xea60
add eax, edx
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push ecx
call fcn.02629580
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
push str.X_a:_b_r_n
lea edx, [ebp - 0x1e8]
push edx
mov edi, eax
call esi
push str.Connection:_Close_r_n_r_n
lea eax, [ebp - 0x2ec]
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
xor esi, esi
lea esp, [esp]
mov eax, dword [0x266a29c]
push 0
push ebx
push edi
test eax, eax
je 0x2629b39
mov ecx, dword [ebp + esi*4 - 0xe4]
push ecx
call eax
jmp 0x2629b46
mov edx, dword [ebp + esi*4 - 0xe4]
push edx
call sub.WS2_32.dll_send
inc esi
cmp esi, 0x32
jl 0x2629b20
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jae 0x2629bdd
cmp dword [0x2635b7c], 0
jne 0x2629bdd
push 0x9c4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x32
xor esi, esi
lea esp, [esp]
mov eax, dword [0x266a29c]
push 0
push ebx
test eax, eax
je 0x2629baf
mov edx, dword [ebp + esi*4 - 0xe4]
lea ecx, [ebp - 0x1e8]
push ecx
push edx
call eax
jmp 0x2629bc3
mov ecx, dword [ebp + esi*4 - 0xe4]
lea eax, [ebp - 0x1e8]
push eax
push ecx
call sub.WS2_32.dll_send
test eax, eax
jg 0x2629bc8
dec edi
inc esi
cmp esi, 0x32
jl 0x2629b90
test edi, edi
je 0x2629bdd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x2629b71
lea edx, [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
xor esi, esi
mov edi, edi
mov eax, dword [0x266a29c]
push 0
push edi
test eax, eax
je 0x2629c0f
mov edx, dword [ebp + esi*4 - 0xe4]
lea ecx, [ebp - 0x2ec]
push ecx
push edx
call eax
jmp 0x2629c23
mov ecx, dword [ebp + esi*4 - 0xe4]
lea eax, [ebp - 0x2ec]
push eax
push ecx
call sub.WS2_32.dll_send
inc esi
cmp esi, 0x32
jl 0x2629bf0
xor esi, esi
jmp 0x2629c30
mov edx, dword [ebp + esi*4 - 0xe4]
push edx
call sub.WS2_32.dll_closesocket
inc esi
cmp esi, 0x32
jl 0x2629c30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0xc]
jb 0x2629a60
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret