Function at 0x479a0c
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479d4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x66], 0
je 0x479a61
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x479d30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx], 0
je 0x479d30
mov eax, dword [ebp - 4]
cmp byte [eax + 0x65], 0
je 0x479a83
cmp byte [ebp + 8], 0
jne 0x479a83
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0xc]
cmp dword [eax + edx*4], 0
jne 0x479d30
mov eax, dword [ebp - 4]
cmp byte [eax + 0x65], 0
je 0x479a98
cmp byte [ebp + 0xc], 0
je 0x479a98
cmp byte [ebp + 8], 0
jne 0x479aee
mov eax, dword [ebp - 4]
cmp word [eax + 0x32], 0
je 0x479ae3
xor eax, eax
push ebp
push 0x479acd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479aee
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404b50
mov eax, dword [ebp - 4]
cmp byte [eax + 0x65], 0
je 0x479b39
mov dword [ebp - 0x20], 0x80000
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x65]
and al, byte [ebp + 8]
je 0x479b47
cmp byte [ebp + 0xc], 0
jne 0x479b23
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x14]
call fcn.00404d80
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4]
call fcn.00404b50
jmp 0x479b47
mov dword [ebp - 0x20], 0x1000
push ebp
call fcn.00479970
pop ecx
xor eax, eax
push ebp
push 0x479d29
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x479ce2
mov eax, dword [ebp - 0x14]
call fcn.00404d78
cmp eax, dword [ebp - 0x20]
jle 0x479b7d
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404fd8
jmp 0x479b88
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404b50
mov eax, dword [ebp - 0x18]
call fcn.00404d78
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, 1
call fcn.00405018
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x66], 0
je 0x479beb
push 0x10
mov eax, dword [ebp - 0xc]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
lea eax, [edx + eax*8]
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
push eax
call sub.wsock32.dll_sendto
mov dword [ebp - 0x24], eax
jmp 0x479c0f
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_sendto
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
setne byte [ebp - 0xd]
cmp dword [ebp - 0x24], 0
jle 0x479c45
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jge 0x479c3d
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov edx, 1
call fcn.00405018
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x28], eax
jmp 0x479c45
lea eax, [ebp - 0x18]
call fcn.00404ab8
cmp byte [ebp - 0xd], 0
je 0x479c62
cmp dword [ebp - 0x18], 0
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x479cb2
mov dword [ebp - 0x1c], 0x2733
jmp 0x479cb2
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2733
jne 0x479cb2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x66], 0
je 0x479c89
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00479d60
jmp 0x479c93
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00479d60
mov eax, dword [ebp - 4]
cmp byte [eax + 0x65], 0
je 0x479ca4
cmp byte [ebp + 8], 0
jne 0x479cdc
jmp 0x479cab
push ebp
call fcn.00479970
pop ecx
push 5
call sub.kernel32.dll_Sleep_1
cmp byte [ebp - 0xd], 0
jne 0x479cdc
cmp dword [ebp - 0x1c], 0x2733
jne 0x479cdc
cmp dword [ebp + 0x1c], 0
jle 0x479bab
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x1c]
jl 0x479bab
cmp byte [ebp - 0xd], 0
je 0x479cec
cmp dword [ebp - 0x14], 0
jne 0x479b5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479d30
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x65]
and al, byte [ebp + 8]
je 0x479d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404dc4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x65], 0
je 0x479d28
mov byte [ebp - 0xd], 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479d52
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404adc
ret