Function at 0x20007c0a
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
mov eax, 0x2009b0f2
call fcn.2007d394
sub esp, 0xe0
push ebx
push esi
mov ebx, ecx
push edi
lea eax, [ebx + 0x90]
push eax
lea ecx, [ebp - 0x78]
call fcn.200011c0
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x18]
add eax, 0x10d0c
cmp dword [eax + 0x18], 0x10
jb 0x20007c45
mov eax, dword [eax + 4]
jmp 0x20007c48
add eax, 4
push eax
push 0
push str.forceadplay
push str.Network
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [ebp - 0x4c], eax
mov esi, 0x200a4ac8
je 0x20007cc8
push 0x200a4f50
push esi
call fcn.20076019
cmp byte [ebx + 9], 2
pop ecx
pop ecx
mov edi, 0x200a4f48
je 0x20007c84
mov edi, 0x200a4f40
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xec]
push eax
call fcn.20034401
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x20007ca2
mov eax, dword [eax + 4]
jmp 0x20007ca5
add eax, 4
push edi
push eax
push 0x200a4f18
push esi
call fcn.20076019
add esp, 0x10
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0xec]
call fcn.2000275e
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
sub eax, dword [edi + 8]
add eax, dword [edi + 0xc]
cmp eax, 0x1c
jl 0x200084d1
inc dword [ebx + 0x3c]
lea eax, [ebp - 0xa4]
push eax
call fcn.20001792
mov ecx, dword [eax]
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 4]
mov ecx, edi
mov dword [ebx + 0x48], eax
call fcn.20001279
mov ecx, edi
call fcn.2000131e
mov ecx, edi
call fcn.2000131e
push 0x14
mov ecx, edi
call fcn.2000135f
test eax, eax
jne 0x20007d35
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x20007d2e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
xor eax, eax
jmp 0x20008510
mov ecx, edi
call fcn.20001279
cmp byte [ebx + 9], 0
mov byte [ebp + 0x13], al
jne 0x20007d4d
test al, al
jne 0x20007d4d
mov byte [ebx + 9], 2
mov ecx, edi
call fcn.2000131e
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xbc], eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xbc]
call fcn.20004f86
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.200012b7
movzx esi, ax
add dword [ebx + 0x5c], esi
mov ecx, edi
mov dword [ebp - 0x6c], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x84], eax
call fcn.200013b6
push eax
lea ecx, [ebx + 0xe4]
call fcn.20003a20
mov ecx, edi
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
cmp dword [ebp - 0x4c], 0
je 0x20007e1c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xec]
push eax
call fcn.20034401
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 0x10
jb 0x20007df2
mov eax, dword [eax + 4]
jmp 0x20007df5
add eax, 4
push esi
push eax
push 0x200a4ef4
push 0x200a4ac8
call fcn.20076019
add esp, 0x10
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0xec]
call fcn.2000275e
and dword [ebp - 0x54], 0
cmp word [ebp - 0x6c], 0
jbe 0x2000846e
mov eax, dword [edi + 4]
sub eax, dword [edi + 8]
add eax, dword [edi + 0xc]
cmp eax, 0xa
jl 0x2000846e
mov ecx, edi
call fcn.2000131e
mov esi, eax
mov ecx, edi
mov dword [ebp - 0x50], esi
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.200012b7
and dword [ebp - 0xc0], 0
push str._Y__m__d__H:_M:_S
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.20004f86
mov byte [ebp - 4], 4
push 0
call fcn.2007e6f0
and dword [ebp - 0xc8], 0
mov dword [ebp - 0x60], eax
sub eax, dword [ebp - 0x98]
mov dword [esp], str._Y__m__d__H:_M:_S
mov dword [ebp - 0x30], eax
add eax, esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.20004f86
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4c], 0
je 0x20007f1e
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x20007f04
call fcn.2003ae6a
cmp dword [eax + 0x8c], 0x10
jb 0x20007ee4
mov eax, dword [eax + 0x78]
jmp 0x20007ee7
add eax, 0x78
push eax
movzx eax, word [ebp - 0x3c]
push eax
push dword [ebp - 0x58]
push 0x200a4ed0
push 0x200a4ac8
call fcn.20076019
add esp, 0x14
jmp 0x20007f1e
movzx eax, word [ebp - 0x3c]
push eax
push dword [ebp - 0x58]
push 0x200a4eb4
push 0x200a4ac8
call fcn.20076019
add esp, 0x10
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebx + 0x130], eax
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
mov ecx, edi
call fcn.200013b6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x88]
lea ecx, [ebx + 0x84]
push eax
mov dword [ebp - 0x28], 1
call fcn.2001b667
mov eax, dword [ebx + 0x88]
cmp dword [ebp - 0x88], eax
je 0x20007fde
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x48], 0
cmp word [ebp - 0x3c], 0
jbe 0x20008411
mov eax, dword [edi + 4]
sub eax, dword [edi + 8]
add eax, dword [edi + 0xc]
cmp eax, 0x16
jl 0x20008411
xor esi, esi
cmp dword [ebx + 0x18], esi
mov dword [ebp - 0x24], esi
je 0x20008041
cmp dword [ebp - 0x28], esi
je 0x20008041
cmp dword [ebp - 0x20], esi
je 0x20008041
push 0x168
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x20008036
push 0xbb8
push dword [ebx + 0x18]
mov ecx, eax
call fcn.2000648d
jmp 0x20008038
push 0x14
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x20007ffd
mov ecx, eax
call fcn.20003151
jmp 0x20007fff
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x20], eax
mov dword [eax + 0xc], esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebx + 0x84]
mov dword [ebp - 0xa4], esi
call fcn.20005fbd
jmp 0x20007f76
xor eax, eax
mov byte [ebp - 4], 5
mov esi, eax
mov dword [ebp - 0x24], esi
mov ecx, edi
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x7c], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0xb4], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x34], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x64], eax
call fcn.200012b7
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x30], eax
call fcn.200012fd
fstp dword [ebp - 0x90]
mov ecx, edi
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0xac], eax
call fcn.2000131e
mov ecx, edi
mov dword [ebp - 0x5c], eax
call fcn.200012b7
mov ecx, edi
mov dword [ebp - 0x80], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0xb0], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x70], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0xa8], eax
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x9c], eax
call fcn.20001279
cmp byte [ebp + 0x13], 0
jne 0x20008118
and dword [ebp - 0x14], 0
test al, al
jbe 0x2000818b
movzx eax, al
mov dword [ebp - 0x38], eax
mov ecx, edi
call fcn.200013b6
test eax, eax
mov dword [ebp - 0x68], eax
je 0x20008186
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x20008186
cmp dword [ebp - 0x28], 0
je 0x20008186
cmp dword [ebp - 0x20], 0
je 0x20008186
test esi, esi
je 0x20008186
push dword [ebp - 0x68]
lea ecx, [ebp - 0xec]
call fcn.20003c27
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc8]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0xec]
push edx
push eax
call fcn.20006211
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0xec]
call fcn.2000275e
dec dword [ebp - 0x38]
jne 0x20008122
mov ecx, edi
call fcn.20001279
mov ecx, edi
mov byte [ebp - 0xd], al
call fcn.20001279
mov ecx, edi
mov byte [ebp - 0xe], al
call fcn.200013b6
mov ecx, edi
mov dword [ebp - 0x38], eax
call fcn.20001279
mov ecx, edi
mov byte [ebp - 0xf], al
call fcn.200013b6
mov ecx, edi
call fcn.200012b7
xor ecx, ecx
cmp byte [ebp + 0x13], cl
jne 0x200081cb
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x60]
jbe 0x200081eb
sub eax, dword [ebp - 0x60]
cmp eax, 0x1e0
jae 0x200081e0
mov dword [ebp - 0x14], ecx
cmp eax, 0x384
jae 0x200081eb
shr word [ebp - 0x14], 1
cmp dword [ebx + 0x18], ecx
je 0x20008400
cmp dword [ebp - 0x28], ecx
je 0x20008400
cmp dword [ebp - 0x20], ecx
je 0x20008400
cmp esi, ecx
je 0x20008400
cmp dword [ebp - 0x34], 0x800000
jae 0x20008400
cmp dword [ebp - 0x34], ecx
jbe 0x20008400
lea eax, [ebx + 0x24]
push eax
lea ecx, [esi + 0x6c]
call fcn.200076b1
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x64], eax
je 0x20008262
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x31
jl 0x20008257
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x31], 0
push dword [ebp - 0x18]
lea ecx, [esi + 0x2c]
call fcn.20003a20
cmp dword [ebp - 0x1c], 0
je 0x20008273
push dword [ebp - 0x1c]
lea ecx, [esi + 0x48]
call fcn.20003a20
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x7c], eax
movzx eax, word [ebp - 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 0x90]
push dword [ebp - 0x38]
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x98], eax
mov al, byte [ebp - 0xd]
mov byte [esi + 0x9c], al
mov al, byte [ebp - 0xe]
lea ecx, [esi + 0xa0]
mov byte [esi + 0x9d], al
call fcn.20003a20
mov al, byte [ebp - 0xf]
push dword [ebp - 0x9c]
mov byte [esi + 0xbc], al
mov eax, dword [ebp - 0x84]
lea ecx, [esi + 0xf0]
mov dword [esi + 0xc0], eax
call fcn.20003a20
push dword [ebp - 0xa8]
lea ecx, [esi + 0xd4]
call fcn.20003a20
push dword [ebp - 0x2c]
lea ecx, [esi + 0x10c]
call fcn.20003a20
push dword [ebp - 0xb0]
lea ecx, [esi + 0x128]
call fcn.20003a20
push dword [ebp - 0x70]
lea ecx, [esi + 0x144]
call fcn.20003a20
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x160], eax
mov ax, word [ebp - 0x80]
lea edx, [ebp - 0x24]
mov word [esi + 0x164], ax
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.2000626f
mov eax, dword [ebx + 0x18]
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
add eax, 0x10cf0
cmp dword [eax + 0x18], 0x10
jb 0x2000838b
mov eax, dword [eax + 4]
jmp 0x2000838e
add eax, 4
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
xor ecx, ecx
mov cx, word [esi + 0x164]
push ecx
push dword [esi + 0x160]
push dword [esi + 0x8c]
push eax
call fcn.20005afd
add esp, 0x18
cmp dword [ebp - 0x4c], 0
je 0x20008400
push dword [ebp - 0x40]
movzx eax, word [ebp - 0x80]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push dword [ebp - 0x64]
push dword [ebp - 0x34]
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x5c]
movzx eax, byte [ebp - 0xe]
push dword [ebp - 0x7c]
push dword [ebp - 0x2c]
push eax
movzx eax, byte [ebp - 0xd]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x30]
push dword [ebp - 0x18]
push 0x200a4dc8
push 0x200a4ac8
call fcn.20076019
add esp, 0x44
inc dword [ebp - 0x48]
mov ax, word [ebp - 0x48]
cmp ax, word [ebp - 0x3c]
jb 0x20007f85
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x74]
lea esi, [ebx + 0x10c]
push eax
mov ecx, esi
call fcn.2000604e
cmp dword [ebx + 0x114], 0xa
jbe 0x20008442
mov eax, dword [ebx + 0x110]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.20003f49
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.200026ee
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.200026ee
inc dword [ebp - 0x54]
mov ax, word [ebp - 0x54]
cmp ax, word [ebp - 0x6c]
jb 0x20007e2b
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0xc]
call fcn.2003e7f0
mov eax, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
cmp edi, eax
je 0x200084c2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0x2bf20
cmp dword [ebx + 0x18], 0
je 0x200084c2
call esi
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x19024]
cmp eax, ecx
jbe 0x200084c2
sub eax, ecx
cmp eax, 0xea60
jae 0x200084c2
mov dword [edi + 0x2c], 0xc350
mov byte [ebx + 9], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.200026ee
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x108e8]
or eax, dword [ecx + 0x108ec]
jne 0x200084f8
mov ecx, ebx
call fcn.20006b09
test eax, eax
je 0x200084f8
mov ecx, dword [ebx + 0x18]
push 1
push eax
call fcn.2003c8a2
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x2000850d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10