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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov al, byte [0x606894]
and eax, 1
test eax, eax
jne 0x416874
mov cl, byte [0x606894]
or cl, 1
mov byte [0x606894], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6068d0], eax
mov edx, dword [0x6068e0]
add edx, dword [ebp + 0xc]
mov dword [0x6068e0], edx
push str.InterlockedExchange
push 0x5a95f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x6068d0]
cmp eax, 0x3e8
jb 0x4168d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6068d0], eax
mov eax, dword [0x6068e0]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
push ecx
call dword [ebp - 0x18]
mov dword [0x6068e0], 0
mov dword [ebp - 0x1c], 0x8000
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402510
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x416921
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402710
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2060]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x416a14
push 0x18
call fcn.0057284c
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x416953
push 2
mov ecx, dword [ebp - 0x2c]
call fcn.00417940
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x41695a
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
push 3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x14]
call dword [eax + 4]
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402740
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x205c], edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402510
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x2058], ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2058
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0x2058
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x416a03
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x416a03
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00416b30
jmp 0x416a0b
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8