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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0xc
mov edi, 0x861110
mov esi, ecx
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1006dd50
cmp byte [esi + 0xbf5], 1
jne 0x1006dd50
mov byte [esi + 0xbf5], al
cmp byte [esi + 0xbf5], 0
je 0x1006e011
push 0xd
call edi
mov ecx, eax
call ebx
test al, al
je 0x1006dd7d
push 0x4d
call edi
mov ecx, eax
call ebx
test al, al
je 0x1006dd7d
push 0xc
call edi
mov ecx, eax
call ebx
sub esp, 0x10
mov dword [esi + 0xbe0], 0x42700000
mov ebx, 0x790b50
mov dword [esi + 0xbe4], 0x42b40000
mov dword [esi + 0xbd8], 0x43660000
mov dword [esi + 0xbdc], 0x43020000
mov dword [esp + 0xc], 0x42f40000
mov dword [esp + 8], 0x435e0000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42700000
push 0x7a5a
call ebx
add esp, 4
mov dword [esp + 0xc], 0x42860000
mov dword [esp + 8], 0x43660000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42700000
push 0x7a63
call ebx
movss xmm1, dword [0x1017eb2c]
add esp, 0x14
movss xmm2, dword [0x101d5bec]
mov edi, 5
movss dword [ebp - 8], xmm1
nop dword [eax]
movss xmm0, dword [0x101d5be8]
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
mov dword [esp], 0x42700000
push dword [0x101d5be4]
call ebx
movss xmm2, dword [0x101d5bec]
add esp, 0x14
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm2
addss xmm1, xmm0
movss dword [ebp - 8], xmm1
sub edi, 1
jne 0x1006de20
sub esp, 0x10
mov dword [esp + 0xc], 0x42480000
mov dword [esp + 8], 0x43660000
movss dword [esp + 4], xmm1
mov dword [esp], 0x42700000
push 0x7a59
call ebx
add esp, 0x14
mov ecx, 0x1019e5b0
push 0x42
call fcn.10039680
push eax
push 3
push 0xd2
push 0x64
push 0x46
push 0xff19bdff
push esi
call fcn.1006c800
add esp, 0x1c
mov ecx, 0x1019e5b0
push 0x43
call fcn.10039680
push eax
push 3
push 0xd2
push 0x82
push 0x46
push 0xff19bdff
push esi
call fcn.1006c800
add esp, 0x1c
lea edi, [esi + 0x7f40]
cmp byte [esi + 0x7fec], 0
mov ebx, 0x9cfa13
jne 0x1006df15
push 0x779250
push 0x779150
push 1
push 0xac
push edi
call ebx
mov byte [esi + 0x7fec], 1
push 0
push 0
push 1
push 0x7a5b
push 1
mov eax, 0x779350
mov ecx, edi
call eax
push 0x1e
push 0x36
push 0xa0
push 0x64
mov eax, 0x779410
mov ecx, edi
call eax
push 0
mov eax, 0x7798f0
mov ecx, edi
call eax
mov eax, 0x779860
mov ecx, edi
call eax
cmp al, 1
jne 0x1006df9b
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x80a4]
add ecx, 0x12c
cmp eax, ecx
jb 0x1006df9b
mov al, byte [esi + 0xcc]
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xedf305c1
mov byte [ebp - 4], al
call fcn.100acac0
mov byte [esi + 0xbf5], 0
call edi
mov dword [esi + 0x80a4], eax
cmp byte [esi + 0x80a0], 0
lea edi, [esi + 0x7ff4]
jne 0x1006dfc5
push 0x779250
push 0x779150
push 1
push 0xac
push edi
call ebx
mov byte [esi + 0x80a0], 1
push 0
push 0
push 1
push 0x7a5c
push 1
mov ecx, edi
mov eax, 0x779350
call eax
push 0x1e
push 0x36
push 0xa0
push 0xc8
mov ecx, edi
mov eax, 0x779410
call eax
push 0
mov ecx, edi
mov eax, 0x7798f0
call eax
mov ecx, edi
mov eax, 0x779860
call eax
cmp al, 1
jne 0x1006e011
mov byte [esi + 0xbf5], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret