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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.00462de0
call fcn.00574780
call fcn.004637d0
mov byte [ebp - 0x410], al
cmp byte [ebp - 0x410], 1
je 0x4797bf
cmp byte [ebp - 0x410], 2
je 0x4797ec
jmp 0x479842
push 0x10
push 0x5ea838
push 0x5ea840
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x10
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x479842
cmp dword [0x9cf360], 1
jne 0x479801
mov dword [0x9cf360], 0
jmp 0x47980b
mov dword [0x9cf360], 1
call fcn.004637d0
movsx edx, al
test edx, edx
je 0x479842
push 0x10
push 0x5ea858
push 0x5ea860
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x10
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x124bc98], 1
call fcn.005a5710
test eax, eax
jne 0x479875
push 0x10
push str.Error_Code__22
push 0x5ea888
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
call fcn.00467d90
call fcn.0046bf60
test eax, eax
jne 0x47988a
xor eax, eax
jmp 0x479bf9
call fcn.004795b0
test eax, eax
jne 0x4798b2
push 0x10
push 0x5ea898
push 0x5ea8a0
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
call fcn.005a5970
push 0x6bf258
push 0x6be238
call fcn.0047cda0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 1
je 0x4798f2
cmp dword [ebp - 0x414], 2
je 0x479912
cmp dword [ebp - 0x414], 7
je 0x47994a
jmp 0x47996a
push 0x10
push 0x5ea8ac
push 0x5ea8b4
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
push 0x10
push 0x5ea8cc
push 0x5ea8d4
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x10
push str.INFORMATION
push 0x5ea8f8
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
push 0x10
push 0x5ea938
push 0x5ea940
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
call fcn.005a3bb0
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x479993
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x418], edx
jmp 0x47999f
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x418]
push edx
call fcn.005cbcca
add esp, 4
call fcn.004a0bf0
call fcn.00574bd0
call fcn.00401000
push 0
call fcn.00477130
add esp, 4
call fcn.0047bd60
call fcn.0059f050
test eax, eax
jne 0x479a12
movzx eax, byte [0x121f7b8]
push eax
push 0x5ea958
lea ecx, [ebp - 0x408]
push ecx
call fcn.005cc4f5
add esp, 0xc
push 0x10
push 0x5ea974
lea edx, [ebp - 0x408]
push edx
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
cmp dword [0xf10ed8], 0
jne 0x479a25
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x479a5d
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
push 0
push 0x55f0
push 0xe7
push 0x10
mov ecx, 0xf1cd98
call fcn.005b75e0
push eax
push 0x10
mov ecx, 0xf1cd88
call fcn.005b75e0
push eax
call fcn.005a19f0
add esp, 0x18
mov dword [0x124bc98], 0
call fcn.00479d40
test eax, eax
jne 0x479a77
xor eax, eax
jmp 0x479bf9
push str.fadeInNowLoading_Start
call fcn.00462e10
add esp, 4
call fcn.0047a9e0
test eax, eax
jne 0x479a94
xor eax, eax
jmp 0x479bf9
push str.initAutoMapColor_Start
call fcn.00462e10
add esp, 4
push 0x6bf258
call fcn.0047d3f0
add esp, 4
push str.InitSprBinFileOpen_Start
call fcn.00462e10
add esp, 4
mov dword [ebp - 0x40c], 0
push 0x6bfa78
push 0x6be218
call fcn.0047e890
add esp, 8
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x479b06
push 0x10
push 0x5ea9c8
push 0x5ea9d0
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x479bf9
push 0x6be1f8
push 0x6be1d8
call fcn.0047f0d0
add esp, 8
push str.t_music_init_Start
call fcn.00462e10
add esp, 4
call fcn.005a5b80
mov edx, dword [0x9cef70]
push edx
call fcn.00472450
add esp, 4
push str.initAlbumStartUp_Start
call fcn.00462e10
add esp, 4
call fcn.00594570
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x479b6f
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x41c], edx
jmp 0x479b7b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x420], 0
fild qword [ebp - 0x424]
fstp qword [0x7d12b8]
fld qword [0x7d12b8]
fadd qword [0x5eaa98]
fstp qword [0x7d22e0]
mov dword [0x121bbf8], 0xffffffff
push str.fadeOutNowLoading_Start
call fcn.00462e10
add esp, 4
call fcn.0047acd0
test eax, eax
jne 0x479bd3
xor eax, eax
jmp 0x479bf9
mov dword [0x124bc98], 1
push str.initGame_OK
call fcn.00462e10
add esp, 4
call fcn.004a0d00
call fcn.005cb3b0
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret