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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov ecx, 7
lea eax, [ebp - 0x20]
mov edx, dword [0x4012b8]
call fcn.0040979c
xor eax, eax
push ebp
push 0x64b071
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x66655c], 0
je 0x64a73d
xor eax, eax
call fcn.00641580
mov byte [ebp - 0x21], 0
mov eax, dword [0x65d330]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x65ce74]
setae byte [eax]
xor edx, edx
push ebp
push 0x64afb2
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x66656c], 0
je 0x64a77b
mov dl, 1
mov eax, dword [0x66656c]
call fcn.005fbcd8
cmp byte [0x66655a], 0
je 0x64a7e8
xor eax, eax
push ebp
push 0x64a7bb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x666560], 0
jne 0x64a7a7
mov eax, 0x64b08c
call fcn.005fc814
jmp 0x64a7b1
mov eax, dword [0x666560]
call fcn.005fc9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a7e8
mov eax, 0x64b0f4
call fcn.005fca60
lea eax, [ebp - 0x2c]
mov ecx, dword [0x666544]
mov edx, 0x64b184
call fcn.00408f70
mov eax, dword [ebp - 0x2c]
call fcn.005fca60
lea eax, [ebp - 0x30]
mov ecx, dword [0x666548]
mov edx, 0x64b1c4
call fcn.00408f70
mov eax, dword [ebp - 0x30]
call fcn.005fca60
lea eax, [ebp - 0x38]
call fcn.0059ac90
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x64b1f0
call fcn.00408f70
mov eax, dword [ebp - 0x34]
call fcn.005fca60
call fcn.00641744
xor eax, eax
call fcn.0064a00c
mov dword [0x666550], eax
mov dl, 1
mov eax, dword [0x6492ac]
call fcn.006199dc
mov dword [0x65ce1c], eax
mov ecx, dword [0x666548]
mov edx, dword [0x666550]
mov eax, dword [0x65ce1c]
call fcn.0061c618
lea ecx, [ebp - 0x3c]
mov eax, dword [0x65ce1c]
mov edx, dword [eax + 0x18]
mov al, 0xc7
call fcn.005a1448
mov edx, dword [ebp - 0x3c]
mov eax, 0x666554
call fcn.00408038
mov eax, dword [0x65ce1c]
test byte [eax + 0x1d], 0x20
je 0x64a8e3
mov eax, dword [0x65cfdc]
cmp byte [eax], 0
jne 0x64a8e3
push 1
push 1
mov eax, dword [0x666554]
call fcn.00408d1c
push eax
mov eax, dword [0x65d45c]
mov eax, dword [eax + 0x354]
call fcn.00408d1c
mov ecx, 0x30
pop edx
call fcn.0064202c
call fcn.00427c54
mov eax, dword [0x65ce1c]
test byte [eax + 0x1d], 1
je 0x64a927
mov eax, dword [0x65d258]
cmp byte [eax], 0
jne 0x64a927
push 1
push 1
mov eax, dword [0x666554]
call fcn.00408d1c
push eax
mov eax, dword [0x65d45c]
mov eax, dword [eax + 0x1f8]
call fcn.00408d1c
mov ecx, 0x30
pop edx
call fcn.0064202c
call fcn.00427c54
mov eax, dword [0x666550]
xor edx, edx
mov dword [0x666550], edx
call fcn.004060a0
mov al, 2
call fcn.0064a00c
mov dword [0x666550], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000503
mov dx, 0x20
mov eax, dword [0x65ce1c]
call fcn.00619eb8
test al, al
jne 0x64a96c
mov eax, 0x64b230
call fcn.005f2f0c
cmp dword [0x66656c], 0
je 0x64a987
lea eax, [ebp - 4]
mov edx, dword [0x65d2cc]
mov edx, dword [edx]
call fcn.0040811c
jmp 0x64a992
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.0064a68c
mov eax, dword [0x65ce1c]
test byte [eax + 0x1d], 0x80
setne al
call fcn.00642668
mov eax, dword [0x65ce1c]
cmp byte [eax + 0x10], 0
je 0x64a9cb
mov eax, dword [0x65cfdc]
cmp byte [eax], 0
jne 0x64a9c2
mov eax, 0x64b2c8
call fcn.005f2f0c
mov al, 1
call fcn.00642790
jmp 0x64a9d2
xor eax, eax
call fcn.00642790
call fcn.0063f768
cmp dword [ebp - 4], 0
je 0x64ab0e
call fcn.0063f0d8
call fcn.0063faa4
mov eax, dword [0x65ce9c]
mov edx, dword [0x666544]
call fcn.00408038
mov eax, dword [0x65d38c]
mov edx, dword [0x65ce1c]
mov edx, dword [edx + 0x14]
call fcn.00408038
movzx eax, byte [0x66655b]
or al, byte [0x66655c]
mov edx, dword [0x65d094]
mov byte [edx], al
mov eax, dword [0x65d648]
mov edx, dword [ebp - 0x18]
call fcn.00408038
mov eax, dword [0x65d1e8]
mov edx, dword [ebp - 0x14]
call fcn.00408038
mov eax, dword [0x65cff8]
mov edx, dword [ebp - 0x10]
call fcn.00408038
mov eax, dword [0x65d0c0]
mov edx, dword [ebp - 0xc]
call fcn.00408038
mov eax, dword [ebp - 8]
test eax, eax
je 0x64aa63
sub eax, 4
mov eax, dword [eax]
mov edx, eax
add edx, edx
mov eax, dword [ebp - 8]
call fcn.0064a5d4
mov dl, 1
mov eax, dword [0x634f80]
call fcn.006360cc
mov edx, dword [0x65d0f8]
mov dword [edx], eax
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
add eax, 4
mov edx, 0x64b35c
call fcn.00408038
mov eax, 0x640fc8
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x640fd4
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x640fe0
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x641200
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x64121c
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x64122c
mov edx, dword [0x65d0f8]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x65d1a0]
mov ecx, dword [ecx]
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.006361c8
xor edx, edx
push ebp
push 0x64af5e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x64ae91
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65d0f8]
cmp dword [eax], 0
je 0x64ab9f
xor edx, edx
push ebp
push 0x64ab73
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
push 0
push 1
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
mov edx, 0x64b374
call fcn.00636840
pop dword fs:[0]
add esp, 8
jmp 0x64ab8c
test al, al
jne 0x64ab9f
mov eax, 0x64b404
call fcn.005fca60
call fcn.00427c54
cmp byte [0x66655b], 0
jne 0x64abd9
cmp byte [0x66655c], 0
jne 0x64abd9
push 0x124
push 1
push 6
mov eax, dword [0x65ce1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x666554]
mov al, 0x2c
call fcn.00649740
cmp eax, 6
je 0x64abd9
call fcn.00427c54
xor edx, edx
xor eax, eax
call fcn.00649e80
jmp 0x64ac07
push 0x31
push 1
push 2
mov eax, dword [0x65ce1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x666554]
mov al, 0xd3
call fcn.00649740
dec eax
je 0x64ac07
call fcn.00427c54
mov eax, dword [0x65ce1c]
call fcn.00619f0c
test al, al
jne 0x64abe4
jmp 0x64ac2a
push 0xa
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x65d448]
mov eax, dword [eax]
call fcn.0058f38c
mov eax, dword [0x65d6e4]
cmp byte [eax], 0
jne 0x64ac17
mov eax, dword [0x65ce74]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x65ce1c]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.005a1448
mov edx, dword [ebp - 0x48]
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
call fcn.0059c604
call fcn.00649570
xor edx, edx
mov al, 1
call fcn.00649e80
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x28], eax
mov eax, dword [0x65ce1c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x6499c8
mov dl, 1
mov eax, dword [0x65ce1c]
call fcn.0061ace0
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x65d324]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x64b46c
call fcn.005fcce4
mov eax, dword [0x65ce1c]
cmp byte [eax + 0x1c], 0
jne 0x64acd5
mov eax, dword [0x65ce1c]
test byte [eax + 0x1d], 8
jne 0x64acd5
xor eax, eax
jmp 0x64acd7
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x65d0f8]
cmp dword [eax], 0
je 0x64ad79
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x64b498
call fcn.00636428
test al, al
je 0x64ad79
cmp byte [ebp - 0x23], 0
jne 0x64ad6f
xor eax, eax
push ebp
push 0x64ad54
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
mov edx, 0x64b498
call fcn.00636840
test al, al
je 0x64ad4a
mov byte [ebp - 0x23], 1
mov eax, 0x64b4bc
call fcn.005fca60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64ad79
mov eax, 0x64b59c
call fcn.005fca60
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x65d324]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x64b654
call fcn.005fcce4
cmp byte [0x66655c], 0
jne 0x64add4
mov eax, dword [0x65d448]
mov eax, dword [eax]
call fcn.0058f38c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x64add4
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x64ada5
mov eax, dword [0x65d010]
mov eax, dword [eax]
mov edx, dword [0x65d010]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004060a0
mov dl, 1
mov al, 2
call fcn.00649e80
cmp byte [ebp - 0x23], 0
jne 0x64ae35
cmp byte [0x66655b], 0
jne 0x64ae7e
cmp byte [0x66655c], 0
jne 0x64ae7e
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x65ce28]
mov edx, dword [0x65ce1c]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x666554]
call fcn.00649740
jmp 0x64ae7e
cmp byte [0x66655d], 0
jne 0x64ae6e
cmp byte [0x66655c], 0
jne 0x64ae6a
push 0x10024
push 1
push 6
mov eax, dword [0x65ce1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x666554]
mov al, 0xd1
call fcn.00649740
cmp eax, 6
jne 0x64ae6e
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x64ae7e
mov eax, 0x64b698
call fcn.005fca60
mov dl, 1
mov al, 3
call fcn.00649e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64aea5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64af68
xor edx, edx
push ebp
push 0x64aee0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x65d010]
mov eax, dword [eax]
mov edx, dword [0x65d010]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004060a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64aeef
mov eax, dword [0x65d0f8]
cmp dword [eax], 0
je 0x64af4b
xor eax, eax
push ebp
push 0x64af32
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x65d0f8]
mov eax, dword [eax]
mov edx, 0x64b6f4
call fcn.006365d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64af4b
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
call fcn.0059c698
ret