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

Disassembly:
push 0x20
mov eax, 0x57306b
call fcn.00561249
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
lea esi, [ebx + 0x348]
inc ecx
mov dword [ebp - 0x1c], esi
test eax, eax
cmove eax, ecx
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.005383c0
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.0048331b
mov ecx, ebx
call fcn.0048376e
mov ecx, ebx
call fcn.00484417
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.005383d0
mov eax, dword [ebx + 0x3d0]
xor ecx, ecx
inc ecx
mov byte [ebx + 0x173], cl
test eax, eax
je 0x4810ca
push dword [ebx + 0x3d4]
call eax
pop ecx
xor edi, edi
mov dword [ebp - 0x14], edi
cmp byte [ebx + 0x174], 0
push 7
pop esi
je 0x481217
mov ecx, ebx
call fcn.004819e2
mov eax, edi
cdq
idiv esi
neg edx
sbb dl, dl
inc dl
mov byte [ebp - 0x20], dl
je 0x4810fa
inc edi
mov dword [ebp - 0x14], edi
push dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.004812dc
jmp 0x481119
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0048401e
mov ecx, ebx
call fcn.0048192a
lea ecx, [ebp - 0x2c]
call fcn.00442733
test al, al
je 0x48118c
inc edi
mov dword [ebp - 4], 3
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.00482929
jmp 0x481157
lea ecx, [ebx + 0x280]
mov dword [ebp - 4], 5
call fcn.00486379
jmp 0x481177
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
test eax, eax
pop ecx
cmove eax, ecx
mov dword [ebp - 0x2c], eax
lea esi, [ebx + 0x378]
mov ecx, esi
call fcn.005383c0
mov eax, dword [ebx + 0x2e4]
mov ecx, 0x90
sub eax, dword [ebx + 0x2e0]
cdq
idiv ecx
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.005383d0
cmp dword [ebx + 0x364], 0
jg 0x4811de
cmp dword [ebx + 0x360], 0
jg 0x4811de
cmp dword [ebp - 0x1c], 0
jne 0x481200
push 0x32
push 0
lea esi, [ebx + 0x344]
push esi
push 1
jmp 0x4811f2
cmp dword [ebp - 0x1c], 0
jne 0x481200
xor eax, eax
lea esi, [ebx + 0x344]
inc eax
push eax
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
lea ecx, [ebx + 0x47c]
call fcn.00496251
mov ecx, ebx
call fcn.004843ab
jmp 0x4810cf
lea edi, [ebx + 0x348]
mov ecx, edi
mov dword [ebp - 0x24], edi
call fcn.005383c0
mov dword [ebp - 4], esi
mov esi, dword [ebx + 0x30c]
cmp esi, dword [ebx + 0x310]
je 0x481276
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x32c], 6
je 0x481258
push 1
mov ecx, eax
call fcn.0049a0f6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
call fcn.00498a2d
push dword [ebp - 0x1c]
call edi
add esi, 4
pop ecx
cmp esi, dword [ebx + 0x310]
jne 0x48123e
lea edi, [ebx + 0x348]
mov eax, dword [ebx + 0x30c]
mov dword [ebx + 0x310], eax
mov esi, dword [ebx + 0x324]
cmp esi, dword [ebx + 0x328]
je 0x4812bd
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4812ac
mov ecx, eax
call fcn.00498a2d
push dword [ebp - 0x20]
call edi
pop ecx
add esi, 4
cmp esi, dword [ebx + 0x328]
jne 0x481296
lea edi, [ebx + 0x348]
mov eax, dword [ebx + 0x324]
mov ecx, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x328], eax
call fcn.005383d0
xor eax, eax
call fcn.005611ae
ret