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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x10078c80
cmp byte [esi + 0xbbd], 1
jne 0x10078c80
mov byte [esi + 0xbbd], al
cmp byte [esi + 0xbbd], 0
je 0x10078f41
push 0xd
call edi
mov ecx, eax
call ebx
test al, al
je 0x10078cad
push 0x4d
call edi
mov ecx, eax
call ebx
test al, al
je 0x10078cad
push 0xc
call edi
mov ecx, eax
call ebx
sub esp, 0x10
mov dword [esi + 0xba8], 0x42700000
mov ebx, 0x790b50
mov dword [esi + 0xbac], 0x42b40000
mov dword [esi + 0xba0], 0x43660000
mov dword [esi + 0xba4], 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 [0x1018d2e0]
add esp, 0x14
movss xmm2, dword [0x101e523c]
mov edi, 5
movss dword [ebp - 8], xmm1
nop dword [eax]
movss xmm0, dword [0x101e5238]
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
mov dword [esp], 0x42700000
push dword [0x101e5234]
call ebx
movss xmm2, dword [0x101e523c]
add esp, 0x14
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm2
addss xmm1, xmm0
movss dword [ebp - 8], xmm1
sub edi, 1
jne 0x10078d50
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, 0x101ad5f8
push 0x42
call fcn.10045b80
push eax
push 3
push 0xd2
push 0x64
push 0x46
push 0xff19bdff
push esi
call fcn.10077730
add esp, 0x1c
mov ecx, 0x101ad5f8
push 0x43
call fcn.10045b80
push eax
push 3
push 0xd2
push 0x82
push 0x46
push 0xff19bdff
push esi
call fcn.10077730
add esp, 0x1c
lea edi, [esi + 0x7f08]
cmp byte [esi + 0x7fb4], 0
mov ebx, 0x9cfa13
jne 0x10078e45
push 0x779250
push 0x779150
push 1
push 0xac
push edi
call ebx
mov byte [esi + 0x7fb4], 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 0x10078ecb
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x806c]
add ecx, 0x12c
cmp eax, ecx
jb 0x10078ecb
mov al, byte [esi + 0x94]
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xedf305c1
mov byte [ebp - 4], al
call fcn.100bae10
mov byte [esi + 0xbbd], 0
call edi
mov dword [esi + 0x806c], eax
cmp byte [esi + 0x8068], 0
lea edi, [esi + 0x7fbc]
jne 0x10078ef5
push 0x779250
push 0x779150
push 1
push 0xac
push edi
call ebx
mov byte [esi + 0x8068], 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 0x10078f41
mov byte [esi + 0xbbd], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret