Function at 0x41da90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x447393
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebp
push esi
push edi
mov eax, dword [0x4555b4]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
lea ebp, [ebx + 0x450]
mov ecx, dword [ebp + 4]
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x41df22
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41df22
cmp byte [ebx + 0x490], 0
jne 0x41dc2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41db2a
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41db2f
call fcn.0042ab0d
movzx ecx, word [ebx + 0x47c]
mov esi, dword [ebp + 4]
lea eax, [edi*4]
push ecx
mov dword [esp + 0x20], eax
add esi, eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
lea ecx, [ebx + 0x48c]
push eax
push edx
call fcn.0041b5f0
test al, al
jne 0x41dbd8
mov al, byte [ebx + 0x444]
test al, al
je 0x41df04
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41db81
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41db86
call fcn.0042ab0d
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx]
lea esi, [esp + 0x4c]
call fcn.0041b4f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x64], 0x10
jb 0x41dbb3
mov eax, dword [esp + 0x50]
push eax
call fcn.00429c36
add esp, 4
mov ecx, dword [ebx + 0x440]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41df04
add edi, 1
jmp 0x41dae5
mov dl, byte [ebx + 0x444]
test dl, dl
je 0x41df04
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x41dbf9
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41dbfe
call fcn.0042ab0d
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x1c]
lea esi, [esp + 0x68]
mov eax, dword [eax]
call fcn.0041b4f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x80], 0x10
jb 0x41dc2d
mov eax, dword [esp + 0x6c]
push eax
call fcn.00429c36
add esp, 4
mov ecx, dword [esp + 0x38]
add ecx, 0x14
lea edi, [ebx + 0x48c]
push ecx
mov esi, edi
mov dword [esp + 0x24], 1
call fcn.0041b8c0
test al, al
je 0x41dd40
lea esi, [esp + 0x84]
call fcn.0041b540
xor esi, esi
mov dword [esp + 0xc4], esi
cmp dword [esp + 0x84], esi
je 0x41dd8f
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x88]
push eax
push edi
mov word [esp + 0x32], si
mov word [esp + 0x34], 1
mov word [esp + 0x36], si
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov word [esp + 0x40], si
mov word [esp + 0x42], si
mov word [esp + 0x30], 0xd85d
call fcn.0041b940
test al, al
jne 0x41ddc5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x41dccb
add dword [esp + 0x18], 1
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41dcd9
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x18], 3
mov dword [edi], 0xffffffff
mov byte [edi + 4], 0
jg 0x41dedd
mov cl, byte [ebx + 0x444]
test cl, cl
je 0x41def4
mov edx, dword [ebx + 0x440]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41df0b
mov dword [esp + 0xc4], 0xffffffff
mov eax, dword [esp + 0x84]
push eax
call fcn.00429fae
mov edi, dword [esp + 0x18]
add esp, 4
add edi, 1
jmp 0x41dae5
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41dd4e
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], 0xffffffff
mov byte [edi + 4], 0
mov cl, byte [ebx + 0x444]
test cl, cl
je 0x41df04
mov edx, dword [ebx + 0x440]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41df04
mov edi, dword [esp + 0x14]
add edi, 1
jmp 0x41dae5
mov eax, dword [ebx + 0x48c]
cmp eax, 0xffffffff
je 0x41dda1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
mov dword [ebx + 0x48c], 0xffffffff
mov byte [ebx + 0x490], 0
call fcn.00429fae
add esp, 4
mov eax, 7
jmp 0x41df39
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0xc4], 1
movzx eax, word [esp + 0x36]
sub eax, esi
je 0x41de85
sub eax, 2
mov eax, dword [ebx + 0x48c]
je 0x41de35
cmp eax, 0xffffffff
je 0x41de01
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
mov dword [ebx + 0x48c], 0xffffffff
mov byte [ebx + 0x490], 0
call fcn.00429fae
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00429fae
add esp, 4
mov eax, 4
jmp 0x41df39
cmp eax, 0xffffffff
je 0x41de41
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 0x48c], 0xffffffff
mov byte [ebx + 0x490], 0
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x41de67
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x41de6c
call fcn.0042ab0d
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
push eax
lea edi, [ecx + edx*4]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi], eax
jmp 0x41dec0
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x41de9a
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x41de9f
call fcn.0042ab0d
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
lea edx, [ebx + 0x460]
push edx
mov edx, dword [eax + ecx*4]
push edx
push ebp
lea eax, [esp + 0x90]
push eax
push ebx
call fcn.0041e320
push esi
call fcn.00429fae
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00429fae
add esp, 4
xor eax, eax
jmp 0x41df39
mov edx, dword [esp + 0x84]
push edx
call fcn.00429fae
add esp, 4
mov eax, 4
jmp 0x41df39
mov eax, dword [esp + 0x84]
push eax
call fcn.00429fae
add esp, 4
mov eax, 6
jmp 0x41df39
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00429fae
add esp, 4
mov eax, 6
jmp 0x41df39
cmp dword [esp + 0x18], 3
jge 0x41de2b
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
add eax, 2
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00429d78
add esp, 0xb8
ret 4