Function at 0x4a5774
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 - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a5caa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
sub eax, 0x2e
jae 0x4a5a46
mov eax, dword [0x53ed6c]
cmp byte [eax], 0
je 0x4a57ec
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x53e844]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x4a57ec
mov eax, dword [0x53ed6c]
mov byte [eax], 0
mov eax, dword [0x53ed6c]
cmp byte [eax], 0
jne 0x4a5c72
imul eax, ebx, 0xb
mov edx, dword [0x53f010]
cmp byte [edx + eax*8], 0
je 0x4a5c72
imul eax, ebx, 0xb
mov edx, dword [0x53f010]
cmp byte [edx + eax*8 + 0xf], 3
ja 0x4a5c72
imul edi, ebx, 0xb
mov eax, dword [0x53f010]
mov edx, dword [0x53ed6c]
push esi
push edi
lea esi, [eax + edi*8]
mov edi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x53f010]
mov byte [eax + edi*8], 0
imul edi, ebx, 0xb
mov eax, dword [0x53f010]
cmp byte [eax + edi*8 + 0xf], 4
jne 0x4a596d
mov eax, dword [0x53f010]
cmp byte [eax + edi*8 + 0x10], 0x64
jae 0x4a596d
mov eax, dword [0x53f010]
cmp byte [eax + edi*8 + 0x10], 0x32
jae 0x4a58f4
mov edx, 0x4a5cb8
lea eax, [ebp - 0x28]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x28]
mov cl, 0x20
call fcn.004034b0
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x4c]
call fcn.004034e0
mov edx, 0x4a5ccc
lea eax, [ebp - 0x4c]
mov cl, 0x22
call fcn.004034b0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.00404fb0
mov edx, dword [ebp - 4]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a596d
mov eax, dword [0x53f010]
mov edx, dword [0x53ed6c]
lea edi, [eax + edi*8]
mov esi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5c77
mov edx, 0x4a5cb8
lea eax, [ebp - 0x28]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x28]
mov cl, 0x20
call fcn.004034b0
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x4c]
call fcn.004034e0
mov edx, 0x4a5ccc
lea eax, [ebp - 0x4c]
mov cl, 0x22
call fcn.004034b0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x50]
call fcn.00404fb0
mov edx, dword [ebp - 0x50]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a596d
mov eax, dword [0x53f010]
mov edx, dword [0x53ed6c]
lea edi, [eax + edi*8]
mov esi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5c77
mov eax, dword [0x53f010]
cmp byte [eax + edi*8 + 0xf], 0x31
jne 0x4a59ff
mov edx, 0x4a5cd4
lea eax, [ebp - 0x6c]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x6c]
mov cl, 0x16
call fcn.004034b0
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x8c]
call fcn.004034e0
mov edx, 0x4a5ce0
lea eax, [ebp - 0x8c]
mov cl, 0x1d
call fcn.004034b0
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x54]
call fcn.00404fb0
mov edx, dword [ebp - 0x54]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a59ff
mov eax, dword [0x53f010]
mov edx, dword [0x53ed6c]
lea edi, [eax + edi*8]
mov esi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5c77
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x53e844]
mov dword [edx], eax
lea eax, [ebp - 0x90]
mov edx, dword [0x53ed6c]
call fcn.00404fb0
mov ecx, dword [ebp - 0x90]
mov edx, dword [0x53ed6c]
mov edx, dword [edx + 0x40]
mov eax, esi
call fcn.004ac798
mov eax, dword [0x53ed6c]
movzx eax, byte [eax + 0xf]
call fcn.0051b0b0
jmp 0x4a5c72
cmp ebx, 0xffffffff
jne 0x4a5c72
mov eax, dword [0x53ee68]
cmp byte [eax], 0
je 0x4a5c72
mov eax, dword [0x53ee68]
mov byte [eax], 0
mov eax, dword [0x53ed74]
mov edx, dword [0x53ed6c]
push esi
lea esi, [eax + 8]
mov edi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x53ed74]
mov byte [eax + 8], 0
mov eax, dword [0x53ed6c]
cmp byte [eax + 0xf], 4
jne 0x4a5b98
mov eax, dword [0x53ed6c]
cmp byte [eax + 0x10], 0x64
jae 0x4a5b98
mov eax, dword [0x53ed6c]
cmp byte [eax + 0x10], 0x32
jae 0x4a5b26
mov edx, 0x4a5cb8
lea eax, [ebp - 0x28]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x28]
mov cl, 0x20
call fcn.004034b0
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x4c]
call fcn.004034e0
mov edx, 0x4a5ccc
lea eax, [ebp - 0x4c]
mov cl, 0x22
call fcn.004034b0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x94]
call fcn.00404fb0
mov edx, dword [ebp - 0x94]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a5b98
mov eax, dword [0x53ed6c]
call fcn.00537e7c
jmp 0x4a5c77
mov edx, 0x4a5cb8
lea eax, [ebp - 0x28]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x28]
mov cl, 0x20
call fcn.004034b0
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x4c]
call fcn.004034e0
mov edx, 0x4a5ccc
lea eax, [ebp - 0x4c]
mov cl, 0x22
call fcn.004034b0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x98]
call fcn.00404fb0
mov edx, dword [ebp - 0x98]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a5b98
mov eax, dword [0x53ed6c]
call fcn.00537e7c
jmp 0x4a5c77
imul edi, ebx, 0xb
mov eax, dword [0x53f010]
cmp byte [eax + edi*8 + 0xf], 0x31
jne 0x4a5c30
mov edx, 0x4a5cd4
lea eax, [ebp - 0x6c]
call fcn.004034e0
mov edx, dword [0x53ed6c]
lea eax, [ebp - 0x6c]
mov cl, 0x16
call fcn.004034b0
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x8c]
call fcn.004034e0
mov edx, 0x4a5ce0
lea eax, [ebp - 0x8c]
mov cl, 0x1d
call fcn.004034b0
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
call fcn.00404fb0
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x53f218]
mov eax, dword [eax]
mov cx, word [0x4a5cd0]
call fcn.004d5cf0
cmp eax, 6
je 0x4a5c30
mov eax, dword [0x53f010]
mov edx, dword [0x53ed6c]
lea edi, [eax + edi*8]
mov esi, edx
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
jmp 0x4a5c77
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x53e844]
mov dword [edx], eax
lea eax, [ebp - 0xa0]
mov edx, dword [0x53ed6c]
call fcn.00404fb0
mov ecx, dword [ebp - 0xa0]
mov edx, dword [0x53ed6c]
mov edx, dword [edx + 0x40]
mov eax, esi
call fcn.004ac798
mov eax, dword [0x53ed6c]
movzx eax, byte [eax + 0xf]
call fcn.0051b0b0
call fcn.005380bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5cb1
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.00404d60
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404d60
lea eax, [ebp - 4]
call fcn.00404d3c
ret