Function at 0x4a556c
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 - 0xa0], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x24], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a59b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov edx, dword [0x544c68]
mov edx, dword [edx]
mov edx, dword [edx + 0x384]
lea ecx, [ebp - 0x20]
mov ah, 0x20
call fcn.00403d20
mov eax, ebx
cmp eax, 0xff
ja 0x4a55d4
bt dword [ebp - 0x20], eax
jae 0x4a57e9
mov eax, dword [0x544ec0]
cmp byte [eax], 0
je 0x4a5600
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x54499c]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x4a5600
mov eax, dword [0x544ec0]
mov byte [eax], 0
mov eax, dword [0x544ec0]
cmp byte [eax], 0
jne 0x4a598d
imul eax, ebx, 0x15
mov edx, dword [0x54516c]
cmp byte [edx + eax*8], 0
je 0x4a598d
imul eax, ebx, 0x15
mov edx, dword [0x54516c]
cmp byte [edx + eax*8 + 0x3e], 3
ja 0x4a598d
imul edi, ebx, 0x15
mov eax, dword [0x54516c]
mov edx, dword [0x544ec0]
push esi
push edi
lea esi, [eax + edi*8]
mov edi, edx
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x54516c]
mov byte [eax + edi*8], 0
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3e], 4
jne 0x4a579f
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3f], 0x64
jae 0x4a579f
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3f], 0x32
jae 0x4a5713
mov edx, 0x4a59c8
lea eax, [ebp - 0x58]
call fcn.00403848
mov edx, dword [0x544ec0]
lea eax, [ebp - 0x58]
mov cl, 0x30
call fcn.00403818
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x8c]
call fcn.00403848
mov edx, 0x4a59dc
lea eax, [ebp - 0x8c]
mov cl, 0x32
call fcn.00403818
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x24]
call fcn.004052f4
mov edx, dword [ebp - 0x24]
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov cx, word [0x4a59e0]
call fcn.004d5de0
cmp eax, 6
je 0x4a579f
imul eax, ebx, 0x15
mov edx, dword [0x54516c]
mov ecx, dword [0x544ec0]
lea edi, [edx + eax*8]
mov esi, ecx
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5992
mov edx, 0x4a59c8
lea eax, [ebp - 0x58]
call fcn.00403848
mov edx, dword [0x544ec0]
lea eax, [ebp - 0x58]
mov cl, 0x30
call fcn.00403818
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x8c]
call fcn.00403848
mov edx, 0x4a59dc
lea eax, [ebp - 0x8c]
mov cl, 0x32
call fcn.00403818
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x90]
call fcn.004052f4
mov edx, dword [ebp - 0x90]
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov cx, word [0x4a59e0]
call fcn.004d5de0
cmp eax, 6
je 0x4a579f
imul eax, ebx, 0x15
mov edx, dword [0x54516c]
mov ecx, dword [0x544ec0]
lea edi, [edx + eax*8]
mov esi, ecx
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5992
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x54499c]
mov dword [edx], eax
lea eax, [ebp - 0x94]
mov edx, dword [0x544ec0]
call fcn.004052f4
mov ecx, dword [ebp - 0x94]
mov edx, dword [0x544ec0]
mov edx, dword [edx + 0xa0]
mov eax, esi
call fcn.004ac4a8
mov eax, dword [0x544ec0]
movzx eax, byte [eax + 0x3e]
call fcn.00503f30
jmp 0x4a598d
inc ebx
jne 0x4a598d
mov eax, dword [0x544ed8]
cmp byte [eax], 0
je 0x4a598d
mov eax, dword [0x544ed8]
mov byte [eax], 0
mov eax, dword [0x544de0]
mov edx, dword [0x544ec0]
push esi
lea esi, [eax + 8]
mov edi, edx
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x544de0]
mov byte [eax + 8], 0
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3e], 4
jne 0x4a5948
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3f], 0x64
jae 0x4a5948
mov eax, dword [0x544ec0]
cmp byte [eax + 0x3f], 0x32
jae 0x4a58d0
mov edx, 0x4a59c8
lea eax, [ebp - 0x58]
call fcn.00403848
mov edx, dword [0x544ec0]
lea eax, [ebp - 0x58]
mov cl, 0x30
call fcn.00403818
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x8c]
call fcn.00403848
mov edx, 0x4a59dc
lea eax, [ebp - 0x8c]
mov cl, 0x32
call fcn.00403818
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x98]
call fcn.004052f4
mov edx, dword [ebp - 0x98]
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov cx, word [0x4a59e0]
call fcn.004d5de0
cmp eax, 6
je 0x4a5948
mov eax, dword [0x544ec0]
call fcn.005264ac
jmp 0x4a5992
mov edx, 0x4a59c8
lea eax, [ebp - 0x58]
call fcn.00403848
mov edx, dword [0x544ec0]
lea eax, [ebp - 0x58]
mov cl, 0x30
call fcn.00403818
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x8c]
call fcn.00403848
mov edx, 0x4a59dc
lea eax, [ebp - 0x8c]
mov cl, 0x32
call fcn.00403818
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
call fcn.004052f4
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x5452a8]
mov eax, dword [eax]
mov cx, word [0x4a59e0]
call fcn.004d5de0
cmp eax, 6
je 0x4a5948
mov eax, dword [0x544ec0]
call fcn.005264ac
jmp 0x4a5992
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x54499c]
mov dword [edx], eax
lea eax, [ebp - 0xa0]
mov edx, dword [0x544ec0]
call fcn.004052f4
mov ecx, dword [ebp - 0xa0]
mov edx, dword [0x544ec0]
mov edx, dword [edx + 0xa0]
mov eax, esi
call fcn.004ac4a8
mov eax, dword [0x544ec0]
movzx eax, byte [eax + 0x3e]
call fcn.00503f30
call fcn.00526674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a59bf
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.004050a4
lea eax, [ebp - 0x24]
call fcn.00405080
ret