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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x582357
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
push str.loading_scene_from_file__s_n
call fcn.00405b60
mov bl, byte [esp + 0x40]
mov eax, dword [0xb084b8]
add esp, 8
test bl, bl
je 0x447104
test eax, eax
jne 0x4470d5
mov eax, dword [str.Null_Pointer]
push eax
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x4470d5
call fcn.0052ff20
mov ecx, dword [0xb084b8]
push 0
push 1
push 0x284
call fcn.00533b80
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x44715e
push 0xa
mov ecx, eax
call fcn.00455710
jmp 0x447160
test eax, eax
jne 0x44712f
mov ecx, dword [str.Null_Pointer]
push ecx
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x44712f
call fcn.0052ff20
mov ecx, dword [0xb084b8]
push 0
push 1
push 0x284
call fcn.00533b80
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x28], 1
je 0x44715e
push 1
mov ecx, eax
call fcn.00455710
jmp 0x447160
xor eax, eax
mov dl, byte [esp + 0x3c]
mov ebp, eax
mov dword [esp + 0x28], 0xffffffff
mov byte [ebp + 0x8c], bl
mov byte [ebp + 0x8d], dl
mov eax, dword [0xb084b8]
test eax, eax
jne 0x4471a9
mov eax, dword [str.Null_Pointer]
push eax
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x4471a9
call fcn.0052ff20
mov ecx, dword [0xb084b8]
push 0
push 1
push 0x80
call fcn.00533b80
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x28], 2
je 0x4471dc
mov ecx, eax
call fcn.00443740
mov edi, eax
mov dword [esp + 0x38], edi
jmp 0x4471e8
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x38]
mov cl, byte [esp + 0x40]
push 0x59f3dc
mov dword [ebp + 0x280], edi
push esi
mov dword [esp + 0x30], 0xffffffff
mov byte [edi + 0x44], cl
call fcn.00536250
mov esi, eax
add esp, 8
test esi, esi
jne 0x447224
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.005362d0
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.005362d0
push esi
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.005362d0
mov edx, dword [esp + 0x44]
push edx
push str.material_version__d_n
call fcn.00405b60
mov eax, dword [esp + 0x50]
push eax
push str.mesh_version__d_n
call fcn.00405b60
mov ecx, dword [esp + 0x5c]
add esp, 0x40
push ecx
push str.vertex_version__d_n
call fcn.00405b60
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0xc]
push eax
push esi
call fcn.0043bc10
mov dword [edi + 0x18], eax
push esi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.005362d0
mov eax, dword [esp + 0x30]
add esp, 0x20
test eax, eax
mov dword [esp + 0x3c], 0
jle 0x447327
mov ecx, ebp
call fcn.0046db60
push 0x5c
mov ebx, eax
call fcn.00401290
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x28], 3
je 0x4472e2
mov ecx, eax
call fcn.00448180
mov edi, eax
jmp 0x4472e4
xor edi, edi
push edi
mov ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [edi + 0x2c], ebp
call fcn.0046df20
mov ecx, edi
call fcn.004483c0
push esi
mov ecx, ebx
call fcn.00455cb0
test al, al
je 0x447312
push ebx
mov ecx, ebp
call fcn.0046c130
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x4472b4
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.00443920
push esi
push 1
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.005362d0
mov edi, dword [esp + 0x40]
add esp, 0x10
test edi, edi
jle 0x4473ea
mov eax, dword [0xb084b8]
test eax, eax
jne 0x44737c
mov edx, dword [str.Null_Pointer]
push edx
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x44737c
call fcn.0052ff20
mov ecx, dword [0xb084b8]
lea eax, [edi + edi*4]
shl eax, 4
push 0
add eax, 4
push 1
push eax
call fcn.00533b80
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x28], 4
je 0x4473c1
push fcn.00405b60
push 0x447b70
lea ebx, [eax + 4]
push edi
push 0x50
push ebx
mov dword [eax], edi
call fcn.005750fe
mov eax, ebx
jmp 0x4473c3
xor eax, eax
mov edi, dword [esp + 0x38]
push esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [edi + 0x78], eax
mov ecx, dword [esp + 0x34]
push ecx
push 0x50
push eax
call fcn.005362d0
mov edx, dword [esp + 0x40]
add esp, 0x10
mov dword [edi + 0x7c], edx
push esi
call fcn.00536290
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, ebp
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret