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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521d97
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004260b0
test al, al
jne 0x47dbb5
mov dword [ebp - 0x18], 0
call fcn.004cc620
lea esi, [eax + 0x48]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00431480
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x47d670
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x10]
jl 0x47d670
cmp ecx, dword [esi]
je 0x47d670
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00494e50
mov ebx, dword [eax]
jmp 0x47d672
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x1c], 6
call fcn.004cc620
lea esi, [eax + 0x48]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00431480
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x47d6ba
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ecx + 0x10]
jl 0x47d6ba
cmp ecx, dword [esi]
je 0x47d6ba
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00494e50
mov esi, dword [eax]
jmp 0x47d6bc
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0xff
mov dword [ebp - 0x150], esi
call dword [eax + 0x38]
mov eax, dword [esi]
sub esp, 8
mov ecx, esi
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [eax + 0x11c]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
call dword [eax + 0x30]
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x78]
mov ecx, eax
mov dword [ebp - 0x148], eax
call fcn.0041ad80
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x78], vtable.CStringUTF8.0
je 0x47d72e
lea ecx, [ebp - 0x44]
call fcn.0041a760
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
push str.effect01_00.akb
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.0041a9d0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x78]
call fcn.0041a900
lea ecx, [ebp - 0x1a8]
call fcn.0041c2a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x78]
call dword [eax + 0x78]
mov edi, eax
call fcn.004cc620
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [eax + 0x28]
push 0
push dword [ebp - 0x144]
push 0
push 2
push esi
push edi
call fcn.0043e170
lea ecx, [ebp - 0x78]
call fcn.0041c2a0
push 8
lea ecx, [ebp - 0x140]
call fcn.004dbb30
mov byte [ebp - 4], 4
lea eax, [ebp - 0x140]
or dword [ebp - 0x140], 0x102
mov ecx, esi
push eax
mov byte [ebp - 0x12c], 1
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
call fcn.004daee0
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.005001b0
add esp, 0xc
mov dword [ebp - 0x70], vtable.IAppTask.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 4], 5
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.004cc620
mov dword [ebp - 0x54], eax
call fcn.004296f0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], vtable.CSpriteAnime.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 6
push eax
push 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x144], esi
call fcn.00424160
sub esp, 8
lea ecx, [ebp - 0x70]
call fcn.004dc120
mov eax, dword [ebx + 0x130]
lea edx, [esi + 0x130]
push 0
push 0
push edx
push 0x2d0
lea ecx, [ebx + 0x130]
push 0x500
push 0
push 0
call dword [eax + 0x4c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x20]
lea ecx, [ebp - 0x70]
call fcn.004dc040
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x47d909
mov edx, dword [ebp - 0xf4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47d8ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dbfd
push edx
push ecx
call fcn.004fe28b
add esp, 8
mov dword [ebp - 0x2c], 0x1f
mov dword [ebp - 0x30], 0x70
call fcn.004cc620
mov dword [ebp - 0x24], eax
call fcn.004296f0
cmp dword [0x592ad4], 1
mov dword [ebp - 0x20], eax
jne 0x47d940
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
jmp 0x47d94e
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push 0x1e
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
call fcn.0041c300
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x78]
mov ecx, eax
mov dword [ebp - 0x158], eax
call fcn.0041ad80
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x78], vtable.CStringUTF8.0
je 0x47d98f
lea ecx, [ebp - 0x44]
call fcn.0041a760
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
push str.effect01.akb
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 7
call fcn.0041a9d0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x78]
call fcn.0041a900
lea ecx, [ebp - 0x1a8]
call fcn.0041c2a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x78]
call dword [eax + 0x78]
mov dword [ebp - 0x148], eax
call fcn.004cc620
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [eax + 0x28]
push 0
push dword [ebp - 0x144]
push 0
push 2
push esi
push dword [ebp - 0x148]
call fcn.0043e170
lea ecx, [ebp - 0x78]
call fcn.0041c2a0
push 0x20
lea ecx, [ebp - 0x140]
call fcn.004dbb30
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x140]
or dword [ebp - 0x140], 0x102
mov ecx, esi
push eax
mov byte [ebp - 0x12c], 1
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0x34
call fcn.004daee0
push 0x3c
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.005001b0
add esp, 0xc
mov dword [ebp - 0x70], vtable.IAppTask.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.004cc620
mov dword [ebp - 0x54], eax
call fcn.004296f0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], vtable.CSpriteAnime.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xc
push eax
push 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x148], esi
call fcn.00424160
sub esp, 8
lea ecx, [ebp - 0x70]
call fcn.004dc120
mov ecx, dword [ebp - 0x14c]
lea edx, [esi + 0x130]
push 0
push 0
push edx
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 0x2d0
push 0x500
push 0
push 0
call dword [eax + 0x4c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x20]
lea ecx, [ebp - 0x70]
call fcn.004dc040
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x47db79
mov edx, dword [ebp - 0xf4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47db6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dc02
push edx
push ecx
call fcn.004fe28b
add esp, 8
mov dword [ebp - 0x2c], 0x1f
mov dword [ebp - 0x30], 0x70
call fcn.004cc620
mov dword [ebp - 0x24], eax
call fcn.004296f0
cmp dword [0x592ad4], 1
mov dword [ebp - 0x20], eax
jne 0x47dba4
call edi
jmp 0x47dba6
call ebx
push 1
push 0x64
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
call fcn.0041c300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret
call fcn.00501acf
call fcn.00501acf
int3