Function at 0x406feb
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
sub esp, 0x50c
push ebx
push esi
push edi
mov esi, ecx
push ebp
push 0
lea edi, [esi + 0x421c]
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], 0
push dword [eax + 8]
push dword [esi + 0xb0]
mov eax, str._x:_x:
jne 0x40701d
mov eax, str._x:_x:_x:
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [ecx + 0x18], 1
mov eax, dword [edi]
mov ecx, dword [esi + 0x38]
cmp dword [eax + 8], 1
sbb ebp, ebp
mov edx, dword [ecx + 0xc]
and ebp, 0xfffffffe
xor ebx, ebx
add ebp, 0x62
lea eax, [edx + 1]
push ebx
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x1c]
push ebx
push eax
push ebp
lea eax, [esp + 0x12c]
push edx
push eax
call fcn.004086e0
mov ecx, dword [edi]
push dword [ecx]
push dword [esi + 0x20]
mov ecx, dword [esi + 0x38]
call fcn.00408d2b
lea ecx, [esp + 0x11c]
push ecx
call fcn.00417f10
lea ecx, [esp + 0x120]
add esp, 4
mov ebp, eax
push ebx
push ecx
call fcn.00417f10
lea ecx, [esp + 0x124]
add esp, 4
mov edx, dword [edi]
push eax
push ecx
mov eax, dword [edx]
push dword [eax + 8]
call sub.WSOCK32.dll_send
cmp ebp, eax
jg 0x4071e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
mov edx, dword [ecx]
mov dword [edx + 0x20], eax
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi]
cmp dword [ecx + 0x70], 0
jne 0x4070df
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x70], edx
mov ebx, dword [edi]
cmp dword [ebx + 8], 0
jne 0x407147
mov ebp, dword [ebx + 4]
add ebx, 0x10
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x40710a
push eax
call fcn.00417e50
add esp, 4
push dword [esp + 0x10]
call fcn.0041a200
add esp, 4
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x14]
lea edx, [ebx + 0x18]
mov dword [ebx + 0x14], eax
lea eax, [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x24], eax
mov edx, dword [ebp + 0x28]
mov dword [ebx + 0x28], edx
mov ecx, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], ecx
push 0x10000
call fcn.00417e70
add esp, 4
mov ecx, dword [edi]
mov dword [ecx + 0x50], eax
mov eax, dword [edi]
xor ecx, ecx
cmp dword [eax + 8], ecx
jne 0x4071b6
cmp dword [eax + 0x2c], ecx
lea edx, [eax + 0x28]
jne 0x4071b6
cmp dword [edx], ecx
jne 0x4071b6
mov ecx, esi
call fcn.00407899
cmp eax, 1
jne 0x40718e
push 1
mov ecx, esi
call fcn.0040733f
mov eax, dword [edi]
mov dword [eax + 0x7c], 8
jmp 0x407197
mov eax, dword [edi]
mov dword [eax + 0x7c], 9
push 0x20
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [esi]
push dword [ecx + 8]
push 0x483
mov ecx, esi
call dword [eax + 0xa0]
mov eax, 1
jmp 0x4071ee
mov dword [eax + 0x58], 0xffffffff
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
push ebx
push esi
push 0x4071f9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [edi]
mov dword [ecx + 0x58], eax
mov ecx, dword [edi]
mov eax, 1
cmp dword [ecx + 0x58], ebx
jne 0x4071ee
push ebx
mov ecx, esi
call fcn.00407ee5
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50c
ret