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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54888f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5d8440], 0
je 0x548861
mov eax, dword [0x5d3acc]
mov eax, dword [eax]
call fcn.00481f00
mov eax, dword [ebx + 0x528]
mov eax, dword [eax + 0x264]
dec eax
test eax, eax
jl 0x548861
mov esi, dword [eax*4 + 0x5d7a88]
imul eax, esi, 0x35
push esi
lea esi, [eax + 0x5d7100]
lea edi, [ebp - 0x3d]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
cmp byte [0x5d870c], 0
je 0x548683
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x5d6bb0]
cmp eax, 0x2710
jb 0x548861
xor eax, eax
mov al, byte [ebp - 0x2e]
call fcn.005c4508
mov edx, eax
mov al, 1
sub edx, 1
jae 0x5486bc
mov eax, dword [0x5d8440]
mov al, byte [eax + 0x64]
test al, al
jne 0x5486ac
cmp byte [ebp - 0x2e], 0xa
jne 0x548861
cmp al, 1
jne 0x5486ba
cmp byte [ebp - 0x2e], 0xb
jne 0x548861
mov al, 1
test al, al
je 0x5487e1
call sub.kernel32.dll_GetTickCount_1
mov dword [0x5d6bb0], eax
push esi
lea esi, [ebp - 0x3d]
mov edi, 0x5d870c
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
imul eax, esi, 0x35
mov byte [eax + 0x5d7100], 0
mov eax, dword [ebp - 4]
mov dword [0x5d8708], eax
cmp byte [0x5d6ce0], 0
je 0x548771
mov edx, 0x5488a0
lea eax, [ebp - 0x58]
call fcn.00402cf4
lea edx, [ebp - 0x3d]
lea eax, [ebp - 0x58]
mov cl, 0x13
call fcn.00402cc4
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x70]
call fcn.00402cf4
mov edx, 0x5488a8
lea eax, [ebp - 0x70]
mov cl, 0x17
call fcn.00402cc4
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x44]
call fcn.00404678
push dword [ebp - 0x44]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.005c5524
push dword [ebp - 0x74]
push 0x5488b8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404794
push 0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0xa
mov eax, ebx
call fcn.005612e0
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x3d]
call fcn.00404678
mov eax, dword [ebp - 0x78]
call fcn.005c5974
test al, al
jne 0x5487b5
lea eax, [ebp - 0x7c]
lea edx, [ebp - 0x3d]
call fcn.00404678
mov eax, dword [ebp - 0x7c]
call fcn.005c5a20
test al, al
jne 0x5487b5
cmp dword [ebp - 4], 5
jne 0x5487b5
lea esi, [ebp - 0x3d]
mov edi, 0x5d6bd8
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x3d]
call fcn.00404678
mov eax, dword [ebp - 0x80]
push eax
mov dl, byte [ebp - 4]
mov ecx, dword [ebp - 0x11]
mov eax, ebx
call fcn.00534008
mov byte [ebp - 0x3d], 0
mov eax, ebx
call fcn.0053ec88
jmp 0x548861
mov eax, dword [0x5d8440]
cmp byte [eax + 0x64], 0
jne 0x5487fb
lea eax, [ebp - 8]
mov edx, 0x5488c4
call fcn.004044ac
jmp 0x548808
lea eax, [ebp - 8]
mov edx, 0x5488d4
call fcn.004044ac
push 0xffffff
lea edx, [ebp - 0x3d]
lea eax, [ebp - 0xa0]
call fcn.00402cf4
mov edx, 0x5488dc
lea eax, [ebp - 0xa0]
mov cl, 0x18
call fcn.00402cc4
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x84]
call fcn.00404678
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 8]
call fcn.004046dc
mov edx, dword [ebp - 0x84]
mov ecx, 0xff
mov eax, dword [0x5d70a4]
call fcn.005b2b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548896
lea eax, [ebp - 0x84]
mov edx, 5
call fcn.00404438
lea eax, [ebp - 0x44]
call fcn.00404414
lea eax, [ebp - 8]
call fcn.00404414
ret