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

Disassembly:
mov eax, 0x30112185
call fcn.300088d4
push ecx
sub esp, 0x28c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call fcn.300128c0
push dword [ebp + 0xc]
lea edi, [ebx + 0xa0]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.30011b96
lea eax, [ebx + 0x350]
mov ecx, 0x300
mov dword [eax], ecx
mov dword [eax + 4], ecx
lea ecx, [ebx + 0x358]
call fcn.300225ba
or dword [ebx + 0x374], 0xffffffff
mov dword [ebx + 0x368], esi
mov dword [ebx + 0x36c], esi
mov dword [ebx + 0x370], esi
mov dword [ebx + 0x380], esi
mov dword [ebx + 0x384], esi
mov dword [ebx + 0x388], 1
mov dword [ebx + 0x38c], esi
mov dword [ebx + 0x390], esi
mov dword [ebx + 0x394], esi
lea ecx, [ebx + 0x3ac]
mov byte [ebp - 4], 1
mov dword [ebx + 0x398], esi
mov dword [ebx + 0x39c], esi
mov dword [ebx + 0x3a0], esi
mov dword [ebx + 0x3a4], esi
mov dword [ebx + 0x3a8], esi
call fcn.30012c39
mov dword [ebx + 0x3c8], esi
mov ecx, dword [0x301556d8]
lea eax, [ebx + 0x3cc]
mov dword [eax], ecx
mov ecx, dword [0x301556dc]
mov dword [eax + 4], ecx
mov ecx, dword [0x301556e0]
mov dword [eax + 8], ecx
mov ecx, dword [0x301556e4]
mov dword [eax + 0xc], ecx
mov dword [ebx + 0x3dc], esi
mov eax, dword [0x30155784]
mov dword [ebx + 0x3e0], eax
call dword [sym.imp.MSO97v.DLL_Ordinal_479]
mov dword [ebx + 0x3e4], eax
mov dword [ebx + 0x3e8], esi
mov dword [ebx + 0x3ec], esi
mov dword [ebx + 0x3f0], esi
mov dword [ebx + 0x3f4], esi
mov dword [ebx + 0x3f8], esi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x3fc], 1
cmp eax, esi
mov dword [ebx + 0x400], esi
mov dword [ebx + 0x404], esi
mov dword [ebx + 0x408], esi
mov dword [ebx], 0x30035b18
mov byte [ebp - 4], 3
je 0x30012826
mov dword [0x30156f60], eax
push 0xc
call fcn.3000882f
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, esi
mov byte [ebp - 4], 4
je 0x300457de
call fcn.30012c4a
mov eax, dword [ebp + 8]
mov dword [eax + 8], ebx
mov dword [eax], 0x300128b8
mov dword [ebx + 0x3e8], eax
mov byte [ebp - 4], 3
test byte [edi + 0x64], 0x30
jne 0x300457e5
call fcn.3002b2c1
shl eax, 4
mov dword [ebx + 0x394], eax
test byte [ebx + 0x104], 0x10
jne 0x300457f4
mov dword [ebx + 0x48], 0xc
mov edi, dword [ebx + 8]
push 0x30152748
lea ecx, [edi + 0xbc]
call fcn.30011574
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x30045800
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x30012850
mov dword [ebx + 0x3a0], 1
jmp 0x30012864
mov dword [ebx + 0x48], 0xb
jmp 0x30012886
push 0x2ab2
lea ecx, [ebp - 0x64]
call fcn.3001ab5e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.3002ed41
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.3002ed41
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
call fcn.300b7708
cmp eax, esi
pop ecx
je 0x300459cd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.300a4b2d
cmp eax, esi
je 0x300459cd
push 0x18
mov byte [ebp - 4], 8
call fcn.3000882f
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, esi
mov byte [ebp - 4], 9
je 0x300459f6
call fcn.3001984d
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
mov dword [ebx + 0x400], eax
call fcn.30008e07
mov ecx, dword [ebx + 0x400]
push esi
push eax
call fcn.3001b5e6
push 0x31c
call fcn.3000882f
pop ecx
mov dword [ebx + 0x404], eax
lea ecx, [ebp - 0x29c]
mov dword [eax], 1
call fcn.3005a115
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xa
call fcn.30080a07
lea ecx, [ebp - 0x34]
call fcn.3002ed41
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0xb
call fcn.300204d4
push esi
lea ecx, [ebp - 0x34]
call fcn.30008e07
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0x404]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 8
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 1
and ecx, 3
push str.SoundFile
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x404]
mov ecx, dword [ebp - 0x2c]
and byte [ecx + eax + 9], 0
lea ecx, [ebp - 0x74]
call fcn.3001fae4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.3002ed41
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xd
call fcn.300a4b2d
push 0
lea ecx, [ebp - 0x44]
call fcn.30008e07
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0x404]
repne scasb al, byte es:[edi]
not ecx
add edx, 0x114
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [ebp - 4], 0xc
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x404]
mov ecx, dword [ebp - 0x3c]
and byte [ecx + eax + 0x115], 0
lea ecx, [ebp - 0x44]
call fcn.3001f90d
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.3001f90d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.3001f90d
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 8
call fcn.3001faaf
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.3001f90d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.3001f90d
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.3001f90d
jmp 0x300128a4
xor eax, eax
jmp 0x30045875