Function at 0x4415d0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x384]
sub esp, 0x384
push 0xffffffffffffffff
push 0x4c4a97
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x507b40]
xor eax, ebp
mov dword [ebp + 0x380], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x390]
mov ecx, 0x50936c
push str.PumaMesh::Load
call fcn.004304a0
push esi
mov ecx, 0x50936c
call fcn.004304a0
test esi, esi
jne 0x441706
push 0x58
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0049c270
lea eax, [ebp + 0x300]
mov dword [ebp - 0x74], 0x58
mov dword [ebp - 0x58], eax
add esp, 0xc
mov eax, dword [0x509420]
mov byte [ebp + 0x300], 0
mov dword [ebp - 0x48], 0x4cbb84
mov dword [ebp - 0x54], 0x80
mov dword [ebp - 0x68], str.PUMA_MESH_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x40], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x44176f
lea esi, [ebp + 0x300]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4416a3
sub ecx, edx
test ecx, ecx
jle 0x44176f
xor eax, eax
nop word [eax + eax]
cmp byte [ebp + eax + 0x300], 0x2e
je 0x441776
inc eax
cmp eax, ecx
jl 0x4416c0
lea eax, [ebp + 0x300]
push eax
lea eax, [ebp + 0x200]
push str._s.pum
push eax
call fcn.00434400
lea eax, [ebp + 0x200]
push eax
lea eax, [ebp + 0x300]
push 0x4cbba8
push eax
call fcn.0043e480
add esp, 0x18
push esi
lea eax, [ebp + 0x100]
push 0x4cbbac
push eax
call fcn.00434400
push esi
lea eax, [ebp]
push 0x4cbbb0
push eax
call fcn.00434400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x100]
push eax
call fcn.00431bb0
add esp, 0x20
test eax, eax
je 0x441755
push 0x2a6
push 0x4cbbb8
push 0x4cbbe4
call fcn.004aa62c
add esp, 0xc
mov eax, dword [ebp - 0x14]
push 0x4cbc14
push esi
mov dword [ebp - 0x18], eax
call fcn.004aa88b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x441796
xor eax, eax
jmp 0x44187f
cmp eax, ecx
jge 0x4416d3
cmp eax, 0x80
jae 0x4418a4
mov byte [ebp + eax + 0x300], 0
jmp 0x4416d3
push dword [edi + 0x128]
mov ecx, dword [0x509424]
call fcn.00443420
push dword [edi + 0x12c]
mov ecx, dword [0x509424]
call fcn.00443420
push ebx
push 4
lea esi, [edi + 0x124]
push 1
push esi
call fcn.004ab359
push 0x224
call fcn.00498854
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4417fb
mov ecx, dword [esi]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00443150
jmp 0x4417fd
xor eax, eax
mov dword [edi + 0x128], eax
mov ecx, dword [0x509424]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00443410
push dword [edi + 0x128]
mov ecx, dword [0x509424]
call fcn.00443450
mov esi, eax
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x124], edi
jle 0x441853
push ebx
push 0x24
push 1
push esi
call fcn.004ab359
mov eax, dword [ebp - 0x10]
inc edi
add esp, 0x10
add esi, 0x24
cmp edi, dword [eax + 0x124]
jl 0x441836
push dword [eax + 0x128]
mov ecx, dword [0x509424]
call fcn.00443480
push ebx
call fcn.004aa799
add esp, 4
mov ecx, 0x50936c
push 0x4cbc18
call fcn.004304a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x380]
xor ecx, ebp
call fcn.00498846
lea esp, [ebp + 0x384]
pop ebp
ret 8
call fcn.00498769
int3