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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x5e0334
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x5e0ca5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x5e0be8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 4], 0
jne 0x5e037c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e0c46
mov eax, dword [ebp - 4]
test eax, eax
je 0x5e0388
sub eax, 4
mov eax, dword [eax]
mov ebx, dword [setsockopt]
mov ebx, dword [ebx + 0x1a4c]
cmp eax, ebx
jle 0x5e03c6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [setsockopt]
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040588c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a360
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.0040542c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xc08]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1a50]
jae 0x5e046b
mov eax, dword [ebp - 0x14]
inc dword [eax + 0xc04]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc04]
mov edx, dword [setsockopt]
cmp eax, dword [edx + 0x1a54]
jl 0x5e0484
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc0c], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [setsockopt]
add eax, dword [edx + 0x1a58]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc10], eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x1a58]
mov ecx, 0xea60
xor edx, edx
div ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
mov eax, dword [0x6c11b8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0040bb24
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0060cf8c
jmp 0x5e0484
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc08], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0xc04], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0xc10]
jb 0x5e049e
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc0c], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xc0c]
mov byte [ebp - 0x15], al
mov eax, dword [0x6c0c04]
mov eax, dword [eax]
call fcn.004e5fa0
xor eax, eax
push ebp
push 0x5e0504
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 0x15
call fcn.004055f8
mov edx, dword [ebp - 0x30]
mov eax, dword [0x6c0c04]
mov eax, dword [eax]
call fcn.004e58a8
test eax, eax
jl 0x5e04ea
mov byte [ebp - 0x15], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e050b
mov eax, dword [0x6c0c04]
mov eax, dword [eax]
call fcn.004e5fac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0cac
lea eax, [ebp - 0xbc]
mov edx, 0xd
call fcn.004053b8
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.004053b8
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.004053b8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b8
ret