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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abf1c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042d000
mov ecx, eax
call fcn.0042d080
mov ecx, esi
call fcn.005383c0
mov ecx, 0x6c7950
call fcn.004fb380
mov ecx, 0x5f8cf0
call fcn.00581490
lea edi, [esi + 0x8e0]
mov ecx, edi
call fcn.0043d4a0
test eax, eax
je 0x4a01c3
lea eax, [esi + 0x148]
mov ecx, edi
push eax
call fcn.0043d180
cmp eax, 1
jne 0x4a017c
mov ecx, esi
call fcn.0049ebb0
mov ecx, 0x5f1068
call fcn.0050e8a0
push esi
mov ecx, edi
call fcn.0043d200
mov ecx, edi
call fcn.0043d1c0
jmp 0x4a0218
cmp dword [edi], 1
jne 0x4a01ab
mov eax, dword [0x6c888c]
sub eax, dword [0x6c5ff0]
cmp eax, 0x3e8
jbe 0x4a0218
push esi
mov ecx, edi
call fcn.0043d200
mov eax, dword [0x6c888c]
mov dword [0x6c5ff0], eax
jmp 0x4a0218
push esi
mov ecx, 0x5f1068
call fcn.0050ea30
test eax, eax
jne 0x4a0218
mov ecx, edi
call fcn.0043d1c0
jmp 0x4a0218
cmp dword [esi + 0x954], 0
je 0x4a0218
lea ecx, [esi + 0x904]
call fcn.0043d4a0
test eax, eax
jne 0x4a0218
mov eax, dword [esi + 0x94c]
cmp eax, 6
jae 0x4a01f0
cmp eax, 2
jb 0x4a01f0
cmp eax, 0x64
jne 0x4a0218
push 0
lea edi, [esi + 0x958]
push edi
push esi
call fcn.00411c20
mov ecx, eax
call fcn.00420870
test eax, eax
jne 0x4a0218
push eax
mov ecx, edi
mov dword [esi + 0x954], eax
call fcn.00428220
mov eax, dword [0x6b73c4]
test al, 1
jne 0x4a024e
or eax, 1
mov dword [0x6b73c4], eax
mov ecx, 0x6b7250
mov dword [ebp - 4], 0
call fcn.0041e100
push 0x5b3690
call fcn.005856cd
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
mov ecx, 0x6b7250
call fcn.00421370
cmp dword [esi + 0x97c], 0
je 0x4a02c1
push esi
mov ecx, 0x5f1068
call fcn.0050ea30
test eax, eax
je 0x4a02c1
cmp word [esi + 0x20c], 0
jne 0x4a02c1
movzx eax, word [esi + 0x666]
test ax, ax
je 0x4a02c1
mov ecx, esi
call fcn.0049f5c0
fstp dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x68]
ucomiss xmm0, dword [0x5b5908]
lahf
test ah, 0x44
jnp 0x4a02c1
mov ecx, esi
call fcn.0051e790
cmp al, 3
je 0x4a02c1
cmp dword [esi + 0x214], 0
jne 0x4a02c1
mov ecx, 0x5f1068
call fcn.0050fd40
cmp dword [esi + 0x970], 0
je 0x4a02e7
mov eax, dword [0x6c888c]
sub eax, dword [esi + 0x978]
cmp eax, dword [esi + 0x974]
jbe 0x4a02e7
mov dword [esi + 0x970], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x88]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
lea eax, [ebp - 0x28]
mov ecx, 0x6c84e0
push eax
fstp dword [ebp - 0x68]
call fcn.00503720
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push ecx
movss dword [esp], xmm0
mov ecx, 0x5ef298
push eax
call fcn.00435990
mov ecx, esi
call fcn.0051e790
cmp al, 0xf
jne 0x4a03a9
mov eax, dword [0x6c888c]
sub eax, dword [esi + 0x274]
cmp eax, 0x2710
jbe 0x4a03a9
push 0
push 0xf
push esi
mov ecx, 0x5f7f64
call fcn.005263c0
mov eax, dword [0x6b73c4]
test al, 1
jne 0x4a038d
or eax, 1
mov dword [0x6b73c4], eax
mov ecx, 0x6b7250
mov dword [ebp - 4], 1
call fcn.0041e100
push 0x5b3690
call fcn.005856cd
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0xffffffffffffffff
mov ecx, 0x6b7250
call fcn.00532500
test eax, eax
je 0x4a03a9
call fcn.00411c20
mov ecx, eax
call fcn.0041eb50
mov eax, dword [ebp - 0x20]
mov ecx, 0x5f8558
movq xmm0, qword [ebp - 0x28]
mov dword [0x6c5fe8], eax
mov eax, 0x10624dd3
mul dword [0x6c8890]
movq qword [0x6c5fe0], xmm0
push esi
shr edx, 6
add dword [esi + 0x66c], edx
call fcn.00530350
mov ecx, 0x6cae68
call fcn.00532f00
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push str._d__r_n
call fcn.0058880c
add esp, 8
call edi
sub eax, dword [esi + 0x9be]
cmp eax, 0x7530
jb 0x4a0436
call edi
mov dword [esi + 0x9be], eax
mov ecx, 0x5f0c78
mov eax, dword [0x6c9ea0]
mov dword [ebp - 0x4b], eax
lea eax, [ebp - 0x64]
push 0x21
push eax
mov word [ebp - 0x63], 0xa00
mov byte [ebp - 0x61], 0xea
call fcn.00504050
mov ecx, dword [esi + 0x9c6]
mov eax, dword [ecx + 0x24]
sub eax, 2
je 0x4a051e
dec eax
jne 0x4a0576
mov dword [ecx + 0x24], eax
mov ecx, dword [esi + 0x9c6]
call fcn.00456b30
mov ecx, dword [0x6c4b54]
test ecx, ecx
je 0x4a0476
mov dword [ecx + 0xe8c], 0
call fcn.00505ec0
mov ecx, dword [0x6c4b58]
test ecx, ecx
je 0x4a048f
mov dword [ecx + 0xcd8], 0
call fcn.0043a540
mov eax, dword [esi + 0x9c6]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
movq xmm0, qword [eax + 0x18]
movq qword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x88]
movzx eax, word [0x6c84e4]
mov ecx, 0x6c84e0
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00501870
test eax, eax
je 0x4a0576
push esi
mov ecx, 0x5f1068
call fcn.0050ea30
test eax, eax
je 0x4a04f7
push dword [0x6c888c]
mov ecx, 0x5f1068
push esi
call fcn.0050df70
lea eax, [ebp - 0x1c]
mov ecx, 0x6c84e0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00501800
cmp eax, 1
jne 0x4a0576
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0049f9a0
lea eax, [ebp - 0x1c]
jmp 0x4a056b
mov dword [ecx + 0x24], 0
mov ecx, esi
call fcn.0049ff10
mov eax, dword [esi + 0x9c6]
mov ecx, dword [0x6c4b54]
movq xmm0, qword [eax + 0x18]
movq qword [ebp - 0x34], xmm0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x4a0555
lea eax, [ebp - 0x34]
push eax
call fcn.00506380
mov ecx, dword [0x6c4b58]
test ecx, ecx
je 0x4a0568
lea eax, [ebp - 0x34]
push eax
call fcn.0043a830
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x5f1070
call fcn.0050ffc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret