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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6598a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov al, byte [0x782628]
and eax, 1
test eax, eax
jne 0x41c98c
mov cl, byte [0x782628]
or cl, 1
mov byte [0x782628], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x78262c], eax
mov edx, dword [0x782640]
add edx, dword [ebp + 0xc]
mov dword [0x782640], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x78262c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e8
jb 0x41c9ec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x78262c], eax
mov eax, dword [0x782640]
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x782640], 0
mov dword [ebp - 0x18], 0x8000
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004027e8
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0040241f
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41ca38
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00402655
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2050]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x41cb2b
push 0x18
call fcn.0061d6a5
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x41ca6a
push 2
mov ecx, dword [ebp - 0x2c]
call fcn.0041db30
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
jmp 0x41ca71
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
push 3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x30]
call dword [eax + 4]
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0040274a
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x204c], edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0040241f
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x2048], ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2048
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0x2048
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41cb1a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41cb1a
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0041cc08
jmp 0x41cb22
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