Function at 0x47fe6e
Capabilities:
Check for time delay via gettickcount
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, ecx
call fcn.0047dc20
lea ecx, [ebp - 0x14]
call fcn.0049c9ec
mov ecx, dword [ebp + 8]
call fcn.0040cb36
push esi
lea ecx, [ebp - 0x28]
test al, al
jne 0x47fea8
push 0x88da70
call fcn.0049ca5c
jmp 0x47feae
push esi
call fcn.0049ca27
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
xor edi, edi
inc edi
push edi
push 0
push edi
call fcn.0040cb36
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
mov ecx, ebx
call fcn.0047f197
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x47fefa
mov esi, dword [ebx]
push 0
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, ebx
call dword [esi + 0xc]
jmp 0x4800a3
mov si, word [ebp + 0xc]
test si, si
jbe 0x47ff07
mov word [ebp - 4], si
mov ecx, 0x88ce28
call fcn.0040e0b5
mov edx, 0x88ce28
test al, al
jne 0x47ff2b
push 5
pop ecx
mov esi, edx
lea edi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov si, word [ebp + 0xc]
xor edi, edi
inc edi
mov ecx, edx
call fcn.0040e0b5
test al, al
je 0x47ff3f
test si, si
jbe 0x47ffc9
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0xffff
push dword [ebx + 4]
mov dword [ebp + 0xc], edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x47ff89
call sub.msvcrt.dll__errno
mov esi, eax
call sub.msvcrt.dll__errno
push dword [esi]
mov dword [ebp + 8], eax
call sub.msvcrt.dll_strerror
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebx + 4]
call fcn.00466ca2
add esp, 0x10
jmp 0x47fee4
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0047d526
cmp eax, 0xffffffff
jne 0x47ffc9
call sub.msvcrt.dll__errno
mov esi, eax
call sub.msvcrt.dll__errno
push dword [esi]
mov dword [ebp + 8], eax
call sub.msvcrt.dll_strerror
push eax
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call fcn.00466ca2
add esp, 0x14
jmp 0x47fee4
mov word [ebx + 0xe4], si
mov esi, dword [ebp + 8]
push 5
pop ecx
lea edi, [ebx + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x100], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004729f6
push dword [ebp + 0xc]
or byte [ebx + 0x14], 1
lea eax, [ebp - 0xa8]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x480061
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x480045
cmp eax, 0x2734
je 0x480045
mov edx, dword [ebx]
xor esi, esi
push 0
inc esi
push esi
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov dword [ebx + 0x100], esi
jmp 0x480098
lea ecx, [ebx + 0xd0]
mov byte [ebx + 0x18], 3
mov byte [ebx + 0x19], 6
call fcn.0047deb6
or byte [ebx + 0xfc], 2
jmp 0x480098
mov byte [ebx + 0x18], 6
call esi
sub eax, dword [ebx + 0x100]
cmp eax, 0xffffffff
jbe 0x480075
or eax, 0xffffffff
xor esi, esi
inc esi
cmp eax, esi
jae 0x48007e
mov eax, esi
push esi
push 0x40
mov ecx, ebx
mov dword [ebx + 0x100], eax
call fcn.0047ca72
push esi
push 0x40
mov ecx, ebx
call fcn.0047ca53
push 1
push 0x40
mov ecx, ebx
call fcn.0047ca53
pop edi
pop esi
pop ebx
leave
ret 8