Function at 0x4f0afc
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51571a
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5913d0]
xor eax, esp
mov dword [esp + 0x2ac], eax
push esi
push edi
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x54e4c4
lea esi, [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.00402658
xor edi, edi
mov dword [esp + 0x2c8], edi
push 0x54e4e4
lea esi, [esp + 0x4c]
call fcn.00402658
mov byte [esp + 0x2c8], 1
push 0x54e4bc
lea esi, [esp + 0x68]
call fcn.00402658
mov byte [esp + 0x2c8], 2
push 0x54e4b4
lea esi, [esp + 0x84]
call fcn.00402658
mov byte [esp + 0x2c8], 3
push 0x54e498
lea esi, [esp + 0xa0]
call fcn.00402658
mov byte [esp + 0x2c8], 4
push 0x54e4ec
lea esi, [esp + 0xbc]
call fcn.00402658
mov byte [esp + 0x2c8], 5
push 0x54e4f4
lea esi, [esp + 0xd8]
call fcn.00402658
mov byte [esp + 0x2c8], 6
push str.mpeg
lea esi, [esp + 0xf4]
call fcn.00402658
mov byte [esp + 0x2c8], 7
push 0x54e508
lea esi, [esp + 0x110]
call fcn.00402658
mov byte [esp + 0x2c8], 8
push 0x54e510
lea esi, [esp + 0x12c]
call fcn.00402658
mov byte [esp + 0x2c8], 9
push 0x54e518
lea esi, [esp + 0x148]
call fcn.00402658
mov byte [esp + 0x2c8], 0xa
push str.midi
lea esi, [esp + 0x164]
call fcn.00402658
mov byte [esp + 0x2c8], 0xb
push 0x54e4ac
lea esi, [esp + 0x180]
call fcn.00402658
mov byte [esp + 0x2c8], 0xc
push 0x54e52c
lea esi, [esp + 0x19c]
call fcn.00402658
mov byte [esp + 0x2c8], 0xd
push str.rmvb
lea esi, [esp + 0x1b8]
call fcn.00402658
mov byte [esp + 0x2c8], 0xe
push 0x54e4cc
lea esi, [esp + 0x1d4]
call fcn.00402658
mov byte [esp + 0x2c8], 0xf
push 0x54e534
lea esi, [esp + 0x1f0]
call fcn.00402658
mov byte [esp + 0x2c8], 0x10
push 0x54e53c
lea esi, [esp + 0x20c]
call fcn.00402658
mov byte [esp + 0x2c8], 0x11
push 0x54e544
lea esi, [esp + 0x228]
call fcn.00402658
mov byte [esp + 0x2c8], 0x12
push 0x54e54c
lea esi, [esp + 0x244]
call fcn.00402658
mov byte [esp + 0x2c8], 0x13
push 0x54e554
lea esi, [esp + 0x260]
call fcn.00402658
mov byte [esp + 0x2c8], 0x14
push 0x54e4d4
lea esi, [esp + 0x27c]
call fcn.00402658
mov byte [esp + 0x2c8], 0x15
push 0x54e4dc
lea esi, [esp + 0x298]
call fcn.00402658
mov dword [esp + 0x2c8], 0x17
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x2c8], 0x18
push 0x17
lea esi, [esp + 0x30]
pop edi
push esi
lea eax, [esp + 0x18]
call fcn.004060cb
add esi, 0x1c
dec edi
jne 0x4f0d97
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.0041fb02
mov byte [esp + 0x2d8], 0x19
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x50], esp
push dword [esp + 0x3c]
call fcn.00402658
mov byte [esp + 0x2f4], 0x1a
mov byte [esp + 0x2f4], 0x18
call fcn.004f04e3
add esp, 0x2c
mov edi, eax
mov byte [esp + 0x2c8], 0x17
lea esi, [esp + 0x14]
call fcn.00407abf
or dword [esp + 0x2c8], 0xffffffff
push fcn.00402117
push 0x17
push 0x1c
lea eax, [esp + 0x38]
push eax
call fcn.0048bfb8
mov eax, edi
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2ac]
xor ecx, esp
call fcn.004891eb
mov esp, ebp
pop ebp
ret