Function at 0x48b350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x48b371
push str.Cant_play_a_JGMOD_pointer_with_null_value
push 0x4b06c4
call fcn.00492257
add esp, 8
pop edi
pop ebx
ret
cmp dword [0x4b64b4], ebx
je 0x48b37e
call fcn.0048b670
mov eax, dword [edi + 0x538]
push ebp
push esi
mov dword [0x4c0078], eax
mov dword [esp + 0x14], ebx
mov eax, 0x4b7190
lea edx, [edi + 0x438]
or ebp, 0xffffffff
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax - 0x20], ebx
mov dword [eax - 0x14], ebx
mov dword [eax - 0x1c], ebx
mov dword [eax - 0x18], ebx
mov dword [eax - 0x10], ebx
mov dword [eax - 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 8], 0x8000
mov dword [eax + 0xc], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x80], ebx
mov dword [eax + 0x84], ebx
mov dword [eax + 0x88], ebx
mov dword [eax + 0x90], ebx
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov byte [eax + 0x9c], bl
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], 6
mov dword [eax + 0xac], ebx
mov dword [eax + 0xb0], ebx
mov byte [eax + 0xb4], bl
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], 5
mov dword [eax + 0xc4], ebx
mov dword [eax + 0xc8], ebx
mov dword [eax + 0xcc], ebx
mov dword [eax + 0xd0], ebp
mov dword [eax + 0xd4], ebx
mov dword [eax + 0xd8], ebx
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xe0], ebx
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe8], ebx
mov dword [eax + 0xec], ebx
mov dword [eax + 0xf0], ebx
mov dword [eax + 0xf4], ebx
mov dword [eax + 0xf8], ebx
mov dword [eax + 0xfc], ebx
mov dword [eax + 0x100], ebx
mov dword [eax + 0x104], ebx
mov dword [eax + 0x108], ebx
mov dword [eax + 0x10c], ebx
mov dword [eax - 0xd0], ebx
mov dword [eax - 0xcc], ebx
mov dword [eax - 0xc8], ebx
mov dword [eax - 0xc4], ebx
mov dword [eax - 0xc0], ebx
mov dword [eax - 0xbc], ebx
mov dword [eax - 0xb8], ebx
mov dword [eax - 0xb4], ebx
mov dword [eax - 0xb0], ebx
mov dword [eax - 0xac], 0x40
mov dword [eax - 0x48], ebx
mov dword [eax - 0x44], ebx
mov dword [eax - 0x40], ebx
mov dword [eax - 0x3c], ebx
mov dword [eax - 0x38], ebx
mov dword [eax - 0x34], ebx
mov dword [eax - 0x30], ebx
mov dword [eax - 0x2c], ebx
mov dword [eax - 0x28], ebx
mov dword [eax - 0x24], 0x20
lea ecx, [eax - 0x100]
mov esi, 0xc
mov dword [ecx - 0x30], ebx
mov dword [ecx], ebx
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x88], ebx
add ecx, 4
dec esi
jne 0x48b553
test byte [edi + 0x538], 1
je 0x48b575
mov dword [eax - 0xc], ebx
jmp 0x48b57c
mov dword [eax - 0xc], 0x20ab
mov ecx, dword [esp + 0x14]
mov esi, dword [0x4c0060]
cmp ecx, esi
jge 0x48b58f
mov ecx, dword [edx]
mov dword [eax - 4], ecx
mov esi, dword [esp + 0x14]
add eax, 0x240
inc esi
add edx, 4
cmp eax, 0x4c0190
mov dword [esp + 0x14], esi
jl 0x48b39d
mov edx, dword [edi + 0x548]
mov dword [0x4c0064], edx
mov dword [0x4c0068], ebp
mov dword [0x4c006c], ebx
mov eax, dword [edi + 0x38]
mov dword [0x4c0070], eax
mov dword [0x4c0074], ebx
mov ecx, dword [edi + 0x540]
mov dword [0x4c007c], ecx
mov edx, dword [edi + 0x53c]
mov dword [0x4c0080], edx
mov eax, dword [edi + 0x554]
mov dword [0x4c008c], eax
mov dword [0x4c0090], ebx
mov dword [0x4c0094], ebx
mov dword [0x4c0098], ebx
mov dword [0x4c00a8], ebx
mov dword [0x4c00ac], ebx
mov dword [0x4c00b0], ebp
mov ecx, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
mov dword [0x4c00a4], ecx
mov dword [0x4b64b4], edi
mov eax, dword [0x4c0084]
imul eax, dword [edi + 0x540]
lea ecx, [eax + eax*2]
mov eax, 0x51eb851f
shl ecx, 3
imul ecx
mov ecx, edx
mov eax, 0x44463cc
sar ecx, 5
mov edx, ecx
shr edx, 0x1f
add ecx, edx
cdq
idiv ecx
push eax
push 0x48dd70
call dword [sym.imp.alleg40.dll_Ordinal_360]
add esp, 8
pop esi
pop ebp
pop edi
pop ebx
ret