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

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x14]
mov dword [esp + 8], edi
cmp eax, edi
jne 0x41d2ae
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 0xc
cmp dword [esi + 0x1c], edi
jne 0x41d2bd
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
cmp ecx, edi
jne 0x41d2d6
xor eax, eax
jmp 0x41d2de
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
push ebx
push ebp
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0041c820
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
jmp 0x41d308
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x41d51c
cmp dword [esi + 0x1c], edi
je 0x41d51c
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], edi
xor ebx, ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41d412
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 4
cmp ebx, edx
jae 0x41d412
cmp dword [edi + eax], 0
jne 0x41d409
mov edx, dword [edi + eax + 0xc]
mov eax, dword [edi + eax + 8]
lea ecx, [esi + 0x34]
push 0x10
push ecx
mov ecx, dword [esi + 0x30]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x41d52a
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov ecx, dword [edi + eax + 4]
mov dword [ebp], ecx
mov al, byte [0x464455]
test al, al
jne 0x41d391
push ebp
call fcn.00418860
add esp, 4
mov eax, dword [esp + 0x14]
add ebp, 4
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41d3ba
push 0x32
call fcn.0041d1e0
add esp, 4
inc ebx
add edi, 0x10
jmp 0x41d324
jbe 0x41d3d7
cmp eax, 5
ja 0x41d3dc
push 0x1f4
call fcn.0041d1e0
add esp, 4
inc ebx
add edi, 0x10
jmp 0x41d324
cmp eax, 5
jb 0x41d3f7
cmp eax, 0xa
ja 0x41d3fc
push 0x3e8
call fcn.0041d1e0
add esp, 4
inc ebx
add edi, 0x10
jmp 0x41d324
cmp eax, 0xa
jb 0x41d409
push 0x5dc
call fcn.0041d1e0
add esp, 4
inc ebx
add edi, 0x10
jmp 0x41d324
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d522
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d522
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41d4d7
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41d4d7
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 2
call ebp
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 4
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041d0e0
xor edi, edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041ce60
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x10], ebx
je 0x41d4a3
mov ecx, 1
mov dword [esp + 0x28], ecx
mov dword [esi + 0x28], ecx
test ebx, ebx
jne 0x41d52e
test eax, eax
jne 0x41d4bd
push 1
call ebp
inc edi
cmp edi, 0x14
jbe 0x41d473
mov eax, dword [esp + 0x18]
test ebx, ebx
jne 0x41d52e
test eax, eax
jne 0x41d4db
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x14
mov dword [esp + 0x24], eax
jbe 0x41d439
mov ebx, dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x70]
mov edi, dword [esp + 0x2c]
sub eax, edi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
shl edx, 3
cmp eax, edx
jae 0x41d52e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41d306
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jae 0x41d52a
jmp 0x41d306
mov dword [esp + 0x10], edi
jmp 0x41d52a
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, esi
push eax
call fcn.0041cbf0
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 0xc