Function at 0x45f320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c409a
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x62c7a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x394], edi
mov esi, dword [ebp + 0xc]
mov ecx, 0x62f12c
push str.PumaMesh::Load
call fcn.004480d0
push esi
mov ecx, 0x62f12c
call fcn.004480d0
test esi, esi
jne 0x45f466
push 0x58
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.0055c100
lea eax, [ebp - 0x90]
mov dword [ebp - 0x3f8], 0x58
mov dword [ebp - 0x3dc], eax
add esp, 0xc
mov eax, dword [0x62f318]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x3cc], 0x5d3f44
mov dword [ebp - 0x3d8], 0x80
mov dword [ebp - 0x3ec], str.PUMA_MESH_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x3f8]
push eax
mov dword [ebp - 0x3c4], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x45f4bd
lea esi, [ebp - 0x90]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f403
sub ecx, edx
test ecx, ecx
jle 0x45f4bd
xor eax, eax
nop word [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x45f4c4
inc eax
cmp eax, ecx
jl 0x45f420
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x190]
push str._s.pum
push eax
call fcn.0043d380
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x90]
push 0x5d30e0
push eax
call fcn.0043d380
add esp, 0x18
push esi
lea eax, [ebp - 0x290]
push 0x5d30e0
push eax
call fcn.0043d380
push esi
lea eax, [ebp - 0x390]
push str._s.crc
push eax
call fcn.0043d380
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00449e80
mov eax, dword [ebp - 0x398]
push 0x5d3f7c
push esi
mov dword [ebp - 0x39c], eax
call fcn.00569402
mov ebx, eax
add esp, 0x28
test ebx, ebx
jne 0x45f4e4
xor eax, eax
jmp 0x45f5df
cmp eax, ecx
jge 0x45f433
cmp eax, 0x80
jae 0x45f5fd
mov byte [ebp + eax - 0x90], 0
jmp 0x45f433
push dword [edi + 0x128]
mov ecx, dword [0x62f31c]
call fcn.00462e90
push dword [edi + 0x12c]
mov ecx, dword [0x62f31c]
call fcn.00462e90
push ebx
push 4
lea esi, [edi + 0x124]
push 1
push esi
call fcn.00591f2e
push 0x224
call fcn.005596ac
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x45f54c
mov eax, dword [esi]
push 0x152
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.00462ba0
jmp 0x45f54e
xor eax, eax
mov dword [edi + 0x128], eax
mov ecx, dword [0x62f31c]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00462e80
push dword [edi + 0x128]
mov ecx, dword [0x62f31c]
call fcn.00462f30
mov esi, eax
xor edi, edi
mov eax, dword [ebp - 0x394]
cmp dword [eax + 0x124], edi
jle 0x45f5b0
nop word [eax + eax]
push ebx
push 0x24
push 1
push esi
call fcn.00591f2e
mov eax, dword [ebp - 0x394]
inc edi
add esp, 0x10
add esi, 0x24
cmp edi, dword [eax + 0x124]
jl 0x45f590
push dword [eax + 0x128]
mov ecx, dword [0x62f31c]
call fcn.00463010
push ebx
call fcn.00569114
add esp, 4
mov ecx, 0x62f12c
push str._DONE_n
call fcn.004480d0
mov eax, dword [ebp - 0x39c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005596ea
mov esp, ebp
pop ebp
ret 8
call fcn.0055a470
int3