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

Disassembly:
sub esp, 0x104
mov eax, dword [0x4cf0e8]
xor eax, dword [esp + 0x104]
push ebp
mov ebp, dword [esp + 0x10c]
push ebp
mov dword [esp + 0x108], eax
call dword [esp + 0x11c]
add esp, 4
test eax, eax
jg 0x48fc1a
push ebp
push str.Could_not_open_file:__s
call fcn.004777d0
add esp, 8
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x100]
xor ecx, dword [esp + 0x104]
add esp, 0x104
jmp fcn.0049bf7c
mov ecx, dword [esp + 0x11c]
test ecx, ecx
jne 0x48fc4e
push str.No_malloc_function_registered
call fcn.004777d0
add esp, 4
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x100]
xor ecx, dword [esp + 0x104]
add esp, 0x104
jmp fcn.0049bf7c
push esi
push eax
push 0x10
call ecx
mov esi, eax
add esp, 8
test esi, esi
jne 0x48fc71
push str.Unable_to_claim_temporary_buffer_for_loading_event_bank
call fcn.004777d0
add esp, 4
xor eax, eax
jmp 0x48fdd5
push esi
push ebp
call dword [esp + 0x11c]
add esp, 8
xor eax, eax
nop
mov ecx, dword [eax*4 + 0x124c460]
test ecx, ecx
je 0x48fc93
inc eax
cmp eax, 0x100
jb 0x48fc80
mov dword [eax*4 + 0x124c460], esi
imul eax, eax, 0x2c
mov dword [eax + esi + 0x14], 1
mov eax, dword [esi + 0x10]
add eax, esi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
push edi
xor edi, edi
test eax, eax
jbe 0x48fd66
xor edx, edx
lea ecx, [ecx]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx + 0x78]
add eax, edx
add ecx, esi
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], esi
mov dword [eax + 0x88], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x48fce8
add ecx, esi
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x48fcf4
add ecx, esi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48fd00
add ecx, esi
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x48fd0c
add ecx, esi
mov dword [eax + 0x24], ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x48fd18
add ecx, esi
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x48fd24
add ecx, esi
mov dword [eax + 0x3c], ecx
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x48fd30
add ecx, esi
mov dword [eax + 0x48], ecx
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x48fd3c
add ecx, esi
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x48fd48
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x48fd54
add ecx, esi
mov dword [eax + 0x6c], ecx
mov eax, dword [esi + 0x1c]
inc edi
add edx, 0x9c
cmp edi, eax
jb 0x48fcc0
lea edx, [esp + 0xc]
mov eax, ebp
sub edx, ebp
pop edi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48fd70
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48fd81
sub eax, edx
mov edx, dword [esp + 0x120]
push edx
mov edx, dword [esp + 0x118]
mov byte [esp + eax + 9], cl
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00491a10
add esp, 0x14
test eax, eax
mov dword [esi + 0x18], eax
jne 0x48fdd3
push str.HLA:_Low_level_couldnt_load_file
call fcn.004777d0
add esp, 4
xor eax, eax
jmp 0x48fdd5
mov eax, esi
mov ecx, dword [esp + 0x108]
xor ecx, dword [esp + 0x10c]
pop esi
pop ebp
add esp, 0x104
jmp fcn.0049bf7c