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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x5edefc
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x5ee6b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x5ee5b3
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 4], eax
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3c]
mov edx, dword [select]
cmp eax, dword [edx + 0x19e0]
jbe 0x5ee1b3
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x3c], eax
mov edx, dword [edi + 0x54]
mov eax, dword [edi + 0x7c]
cmp edx, dword [eax + 8]
jge 0x5edf7e
call fcn.0041fbf0
mov esi, eax
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x7c]
mov edx, dword [edx + 8]
dec edx
cmp eax, edx
jge 0x5edf91
inc dword [edi + 0x54]
jmp 0x5edf96
xor eax, eax
mov dword [edi + 0x54], eax
test esi, esi
je 0x5ee1b3
cmp byte [esi + 0x54], 0
jne 0x5ee1b3
cmp byte [esi + 0x28], 0
je 0x5ee1b3
mov eax, dword [select]
cmp byte [eax + 0xec], 0
jne 0x5ee1b3
cmp dword [esi + 0x1c], 0
je 0x5edfdb
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x44]
jb 0x5ee0cc
mov byte [esi + 0x74], 0
mov edx, esi
mov eax, edi
call fcn.005ee6e0
mov ebx, eax
mov byte [ebp - 0xe], 1
mov eax, dword [select]
cmp dword [eax + 0x19f0], 0
jg 0x5ee00b
mov eax, dword [select]
mov dword [eax + 0x19f0], 0xa
mov edx, dword [esi + 0x40]
mov eax, 1
call fcn.0048b210
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
mov eax, dword [select]
fild dword [eax + 0x19f0]
fdiv dword [0x5ee6c4]
fdivp st(1)
call fcn.00403560
mov edx, eax
mov eax, 1
call fcn.0048b210
sub eax, ebx
test eax, eax
jge 0x5ee04a
xor eax, eax
test eax, eax
jle 0x5ee05e
push 1
mov ecx, eax
mov edx, esi
mov eax, edi
call fcn.005f04f4
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0
je 0x5ee06c
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x1c], eax
lea edx, [esi + 0x28]
lea eax, [ebp - 0x38]
call fcn.004039c4
mov edx, 0x5ee6c8
lea eax, [ebp - 0x38]
mov cl, 0xf
call fcn.00403994
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x28]
call fcn.004055f8
push dword [ebp - 0x28]
lea edx, [ebp - 0x3c]
mov eax, dword [edi + 0x54]
call fcn.0040a784
push dword [ebp - 0x3c]
push 0x5ee6d4
lea edx, [ebp - 0x40]
mov eax, dword [edi + 0x7c]
mov eax, dword [eax + 8]
call fcn.0040a784
push dword [ebp - 0x40]
mov eax, dword [0x6c1340]
mov edx, 4
call fcn.00405728
jmp 0x5ee1b3
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x44]
sub ebx, eax
test ebx, ebx
jle 0x5ee1b3
cmp dword [esi + 0x78], 0xffffffff
jle 0x5ee112
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
fdiv dword [0x5ee6d8]
call fcn.00403560
mov edx, 1
call fcn.0048b210
mov edx, dword [esi + 0x78]
mov ecx, dword [select]
mov dword [ecx + edx*4 + 0x3024], eax
cmp byte [esi + 0x74], 0
jne 0x5ee1b3
cmp dword [esi + 0x6c], 0xffffffff
jle 0x5ee1b3
cmp ebx, dword [esi + 0x70]
jge 0x5ee1b3
mov byte [esi + 0x74], 1
lea eax, [ebp - 0x48]
lea edx, [esi + 0x28]
call fcn.004055f8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004a0268
mov edx, dword [ebp - 0x44]
mov eax, dword [0x6c128c]
mov eax, dword [eax]
add eax, 0xd94
call fcn.004053e8
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
fdiv dword [0x5ee6d8]
call fcn.00403560
mov edx, 1
call fcn.0048b210
lea edx, [ebp - 0x4c]
call fcn.0040a784
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x6c128c]
mov eax, dword [eax]
add eax, 0xd98
call fcn.004053e8
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [setsockopt]
mov edx, dword [edx]
mov eax, dword [0x6c128c]
mov eax, dword [eax]
call fcn.006274dc
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 4]
mov edx, dword [0x6c0378]
mov dword [edx], eax
mov eax, dword [0x6c0378]
mov eax, dword [eax]
mov edx, dword [0x6c12d8]
cmp eax, dword [edx]
jle 0x5ee1e3
mov eax, dword [0x6c0378]
mov eax, dword [eax]
mov edx, dword [0x6c12d8]
mov dword [edx], eax
mov eax, dword [0x6c0378]
mov eax, dword [eax]
mov edx, dword [0x6c1258]
cmp eax, dword [edx]
jle 0x5ee203
mov eax, dword [0x6c0378]
mov eax, dword [eax]
mov edx, dword [0x6c1258]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [edi + 0x1eb8], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x7c]
mov edx, dword [edx + 8]
dec edx
sub edx, eax
jl 0x5ee4ff
inc edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x7c]
mov edx, dword [ebp - 0x14]
call fcn.0041fbf0
mov esi, eax
mov dword [ebp - 0x1c], 0xb
mov eax, dword [edi + 0x5c]
mov edx, dword [esi + 0x4c]
cmp eax, dword [edx + 8]
jge 0x5ee256
mov ebx, eax
jmp 0x5ee258
xor ebx, ebx
xor eax, eax
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x4c]
cmp ebx, dword [eax + 8]
jge 0x5ee4ed
mov eax, dword [esi + 0x4c]
mov edx, ebx
call fcn.0041fbf0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xc
cmp dword [ebp - 0x18], 0
je 0x5ee449
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2e4], 0
jne 0x5ee41d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
sub edx, dword [eax + 0x370]
mov eax, dword [ebp - 0x18]
cmp edx, dword [eax + 0x374]
jle 0x5ee415
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [eax + 0x370], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
sub edx, dword [eax + 0x36c]
mov eax, dword [ebp - 0x18]
cmp edx, dword [eax + 0x368]
jbe 0x5ee320
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x36c], eax
mov dword [ebp - 0x1c], 0xd
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40c], 0
jg 0x5ee30e
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xbcc], 0
jne 0x5ee30e
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2a5], 0
je 0x5ee318
mov eax, dword [ebp - 0x18]
call fcn.00663e48
jmp 0x5ee320
mov eax, dword [ebp - 0x18]
call fcn.00663bf0
mov dword [ebp - 0x1c], 0xe
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xbcc], 0
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2a5], 0
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x409], 0
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x30e], 0
je 0x5ee395
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x30e], 0
je 0x5ee3fd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x310]
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x314]
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40c], 0
jg 0x5ee3fd
mov eax, dword [ebp - 0x18]
movsx eax, byte [eax + 0x410]
mov edx, dword [select]
cmp eax, dword [edx + 0x6690]
jge 0x5ee3fd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3dc]
cmp dword [eax + 8], 0
jg 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x380], 0
jne 0x5ee3fd
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x278], 0
je 0x5ee3f2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x278]
cmp byte [eax + 0x22a], 0
je 0x5ee3fd
mov eax, dword [ebp - 0x18]
inc byte [eax + 0x410]
jmp 0x5ee40f
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x410], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x4c]
inc dword [edi + 0x1eb8]
inc dword [edi + 0x1eb0]
jmp 0x5ee449
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0x2e8]
cmp eax, 0x493e0
jbe 0x5ee449
mov eax, dword [esi + 0x4c]
mov edx, ebx
call fcn.0041fa94
mov eax, dword [ebp - 0x18]
call fcn.00404430
jmp 0x5ee25d
inc ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [0x6c0698]
cmp eax, dword [edx]
jbe 0x5ee25d
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x15]
lea eax, [ebp - 0x38]
call fcn.004039c4
mov edx, 0x5ee6dc
lea eax, [ebp - 0x38]
mov cl, 0xf
call fcn.00403994
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x54]
call fcn.004055f8
push dword [ebp - 0x54]
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.0040a784
push dword [ebp - 0x58]
push 0x5ee6d4
lea edx, [ebp - 0x5c]
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 8]
call fcn.0040a784
push dword [ebp - 0x5c]
push 0x5ee6d4
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
call fcn.0040a784
push dword [ebp - 0x60]
push 0x5ee6d4
lea edx, [ebp - 0x64]
mov eax, dword [edi + 0x7c]
mov eax, dword [eax + 8]
call fcn.0040a784
push dword [ebp - 0x64]
mov eax, dword [0x6c13e8]
mov edx, 8
call fcn.00405728
mov byte [ebp - 0xd], 1
mov dword [edi + 0x5c], ebx
cmp byte [ebp - 0xd], 0
jne 0x5ee4ff
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x5ee233
mov dword [ebp - 0x1c], 2
mov eax, dword [edi + 0x7c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x14]
jg 0x5ee543
xor eax, eax
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x1eb0]
mov dword [edi + 0x1eac], eax
xor eax, eax
mov dword [edi + 0x1eb0], eax
mov eax, dword [edi + 0x1eb4]
add eax, dword [edi + 0x1eb8]
sar eax, 1
jns 0x5ee53d
adc eax, 0
mov dword [edi + 0x1eb4], eax
cmp byte [ebp - 0xd], 0
jne 0x5ee550
xor eax, eax
mov dword [edi + 0x58], eax
jmp 0x5ee556
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x58], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
mov edx, dword [reloc.wsock32.dll_connect]
mov dword [edx], eax
mov eax, dword [reloc.wsock32.dll_connect]
mov eax, dword [eax]
mov edx, dword [0x6c13fc]
cmp eax, dword [edx]
jle 0x5ee586
mov eax, dword [reloc.wsock32.dll_connect]
mov eax, dword [eax]
mov edx, dword [0x6c13fc]
mov dword [edx], eax
mov eax, dword [reloc.wsock32.dll_connect]
mov eax, dword [eax]
mov edx, dword [0x6c1374]
cmp eax, dword [edx]
jle 0x5ee5a6
mov eax, dword [reloc.wsock32.dll_connect]
mov eax, dword [eax]
mov edx, dword [0x6c1374]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ee663
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
mov edx, dword [0x6c0d04]
mov dword [edx], eax
mov eax, dword [0x6c0c90]
mov eax, dword [eax]
mov edx, dword [0x6c0d04]
cmp eax, dword [edx]
jge 0x5ee693
mov eax, dword [0x6c0d04]
mov eax, dword [eax]
mov edx, dword [0x6c0c90]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee6bd
lea eax, [ebp - 0x74]
mov edx, 0xf
call fcn.004053b8
lea eax, [ebp - 0x28]
call fcn.00405394
ret