Function at 0x4922b0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59902c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
call fcn.004c3740
xor ebp, ebp
mov dword [esi], vtable.TMusicPlayer.0
mov dword [esi + 8], ebp
mov dword [esp + 0x48], ebp
mov dword [esi + 0xc], ebp
push fcn.00497320
push fcn.00496d90
push 0x19
push 4
lea edi, [esi + 0x10]
push edi
mov byte [esp + 0x5c], 1
call fcn.0055d9bb
lea ebx, [esi + 0x7c]
mov ecx, ebx
mov byte [esp + 0x48], 2
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], ebp
call fcn.004bd4d0
push str.audio_music_jungle_jungle.ogg
lea ecx, [esi + 0x24]
mov byte [esp + 0x4c], 3
call fcn.00497d30
push str.audio_music_jungle_jungle.ogg
lea ecx, [esi + 0x28]
call fcn.00497d30
push str.audio_music_jungle_jungle.ogg
lea ecx, [esi + 0x2c]
call fcn.00497d30
push str.audio_music_jungle_jungle.ogg
lea ecx, [esi + 0x30]
call fcn.00497d30
push str.audio_music_jungle_jungle.ogg
lea ecx, [esi + 0x34]
call fcn.00497d30
push str.audio_music_western_saloon_western_saloon.ogg
mov ecx, edi
call fcn.00497d30
push str.audio_music_western_saloon_western_saloon.ogg
lea ecx, [esi + 0x14]
call fcn.00497d30
push str.audio_music_western_saloon_western_saloon.ogg
lea ecx, [esi + 0x18]
call fcn.00497d30
push str.audio_music_western_saloon_western_saloon.ogg
lea ecx, [esi + 0x1c]
call fcn.00497d30
push str.audio_music_western_saloon_western_saloon.ogg
lea ecx, [esi + 0x20]
call fcn.00497d30
push str.audio_music_moon_base_moon_base.ogg
lea ecx, [esi + 0x60]
call fcn.00497d30
push str.audio_music_moon_base_moon_base.ogg
lea ecx, [esi + 0x64]
call fcn.00497d30
push str.audio_music_moon_base_moon_base.ogg
lea ecx, [esi + 0x68]
call fcn.00497d30
push str.audio_music_moon_base_moon_base.ogg
lea ecx, [esi + 0x6c]
call fcn.00497d30
push str.audio_music_moon_base_moon_base.ogg
lea ecx, [esi + 0x70]
call fcn.00497d30
push str.audio_music_english_teahouse_english_teahouse.ogg
lea ecx, [esi + 0x38]
call fcn.00497d30
push str.audio_music_english_teahouse_english_teahouse.ogg
lea ecx, [esi + 0x3c]
call fcn.00497d30
push str.audio_music_english_teahouse_english_teahouse.ogg
lea ecx, [esi + 0x40]
call fcn.00497d30
push str.audio_music_english_teahouse_english_teahouse.ogg
lea ecx, [esi + 0x44]
call fcn.00497d30
push str.audio_music_english_teahouse_english_teahouse.ogg
lea ecx, [esi + 0x48]
call fcn.00497d30
push str.audio_music_kung_fu_kung_fu.ogg
lea ecx, [esi + 0x4c]
call fcn.00497d30
push str.audio_music_kung_fu_kung_fu.ogg
lea ecx, [esi + 0x50]
call fcn.00497d30
push str.audio_music_kung_fu_kung_fu.ogg
lea ecx, [esi + 0x54]
call fcn.00497d30
push str.audio_music_kung_fu_kung_fu.ogg
lea ecx, [esi + 0x58]
call fcn.00497d30
push str.audio_music_kung_fu_kung_fu.ogg
lea ecx, [esi + 0x5c]
call fcn.00497d30
push str.audio_music_mainmenumusic.ogg
lea ecx, [esp + 0x1c]
call fcn.00496da0
push ebp
push 0x3e9
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x5c], 4
call fcn.004971d0
lea ecx, [esp + 0x3c]
push ecx
call fcn.004c3aa0
mov edx, dword [eax]
add esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x2c], esp
mov dword [ecx + 4], eax
je 0x4924c9
add dword [eax + 4], 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x5c], 6
call fcn.004971d0
mov ecx, ebx
mov byte [esp + 0x58], 5
call fcn.004bd530
mov ebp, dword [esp + 0x30]
test ebp, ebp
mov byte [esp + 0x48], 4
je 0x49251f
add dword [ebp + 4], 0xffffffff
lea eax, [ebp + 4]
jne 0x49251f
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
add dword [ebp + 8], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x49251f
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
push str.audio_music_mapmusic.ogg
lea ecx, [esp + 0x1c]
call fcn.00497d30
push 0
push 0x3e9
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004971d0
lea eax, [esp + 0x3c]
push eax
call fcn.004c3aa0
mov edx, dword [eax]
add esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x2c], esp
mov dword [ecx + 4], eax
je 0x49256c
add dword [eax + 4], 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x5c], 8
call fcn.004971d0
mov ecx, ebx
mov byte [esp + 0x58], 7
call fcn.004bd530
mov ebp, dword [esp + 0x30]
test ebp, ebp
mov byte [esp + 0x48], 4
je 0x4925c5
add dword [ebp + 4], 0xffffffff
mov ecx, dword [ebp + 4]
lea eax, [ebp + 4]
jne 0x4925c5
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
add dword [ebp + 8], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x4925c5
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0x20], 5
mov ebp, edi
mov dword [esp + 0x1c], 5
push 0
push 0x3e9
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push ebp
call fcn.004971d0
lea ecx, [esp + 0x44]
push ecx
call fcn.004c3aa0
mov edx, dword [eax]
add esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x34], esp
mov dword [ecx + 4], eax
je 0x492612
add dword [eax + 4], 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebp
mov byte [esp + 0x5c], 0xa
call fcn.004971d0
mov ecx, ebx
mov byte [esp + 0x58], 9
call fcn.004bd530
mov edi, dword [esp + 0x38]
test edi, edi
mov byte [esp + 0x48], 4
je 0x492662
add dword [edi + 4], 0xffffffff
lea eax, [edi + 4]
jne 0x492662
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], 0
jne 0x492662
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
add ebp, 4
sub dword [esp + 0x1c], 1
jne 0x4925d7
sub dword [esp + 0x20], 1
mov edi, ebp
jne 0x4925cd
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret