Function at 0x45ae10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526655
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x5754c0]
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 esi, ecx
mov dword [ebp - 0x2b0], esi
mov edi, dword [ebp + 0xc]
mov ecx, 0x5776ac
push str.PumaMesh::LoadCompressed
call fcn.00443f40
push edi
mov ecx, 0x5776ac
call fcn.00443f40
test edi, edi
jne 0x45af23
push 0x58
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.004d3200
lea eax, [ebp - 0x90]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x5778a8]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x2f4], 0x52fa04
mov dword [ebp - 0x300], 0x80
mov dword [ebp - 0x314], str.PUMA_MEC_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x2ec], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
jne 0x45aeeb
xor eax, eax
jmp 0x45b33c
lea edi, [ebp - 0x90]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45aef6
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x45b33c
nop dword [eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x45b075
inc eax
cmp eax, ecx
jl 0x45af10
push edi
lea eax, [ebp - 0x190]
push 0x52ebe0
push eax
call fcn.00448430
push edi
lea eax, [ebp - 0x290]
push str._s.crc
push eax
call fcn.00448430
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00445cd0
mov eax, dword [ebp - 0x2c0]
push 0x52fa3c
push edi
mov dword [ebp - 0x2c8], eax
call fcn.004fb479
mov edi, eax
add esp, 0x28
mov dword [ebp - 0x2c4], edi
test edi, edi
je 0x45aee4
push dword [esi + 0x128]
mov ecx, dword [0x5778ac]
call fcn.0045e6c0
push dword [esi + 0x12c]
mov ecx, dword [0x5778ac]
call fcn.0045e6c0
push edi
push 4
lea eax, [ebp - 0x2b4]
push 1
push eax
call fcn.004fc0a0
mov eax, dword [ebp - 0x2b4]
add eax, eax
push eax
call fcn.004b236e
xor ebx, ebx
mov dword [ebp - 0x2bc], eax
add esp, 0x14
cmp dword [ebp - 0x2b4], ebx
jle 0x45b00e
mov esi, eax
nop word [eax + eax]
push edi
push 1
push 1
push esi
call fcn.004fc0a0
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004fc0a0
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x2b4]
jl 0x45afe0
mov esi, dword [ebp - 0x2b0]
push edi
push 0xc
lea eax, [ebp - 0x2a8]
push 1
push eax
call fcn.004fc0a0
push edi
push 0xc
lea eax, [ebp - 0x29c]
push 1
push eax
call fcn.004fc0a0
mov eax, dword [ebp - 0x2b4]
push 0x224
mov dword [esi + 0x124], eax
call fcn.004b2330
mov ecx, eax
add esp, 0x24
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x45b095
mov eax, dword [esi + 0x124]
push 0x152
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.0045e3d0
jmp 0x45b097
cmp eax, ecx
jge 0x45af23
cmp eax, 0x80
jae 0x45b35a
mov byte [ebp + eax - 0x90], 0
jmp 0x45af23
xor eax, eax
mov dword [esi + 0x128], eax
mov ecx, dword [0x5778ac]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045e6b0
push dword [esi + 0x128]
mov ecx, dword [0x5778ac]
call fcn.0045e760
mov edx, dword [esi + 0x124]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b0], 0
test edx, edx
jle 0x45b193
lea ebx, [eax + 0xc]
push edi
push 1
lea eax, [ebp - 0x2ab]
push 1
push eax
call fcn.004fc0a0
movsx eax, byte [ebp - 0x2ab]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ab]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x52fa7c]
movss dword [ebx], xmm0
call fcn.004fc0a0
movsx eax, byte [ebp - 0x2ab]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ab]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x52fa7c]
movss dword [ebx + 4], xmm0
call fcn.004fc0a0
movsx eax, byte [ebp - 0x2ab]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push ebx
push ebx
divss xmm0, dword [0x52fa7c]
movss dword [ebx + 8], xmm0
call fcn.004012ae
mov eax, dword [ebp - 0x2b0]
add ebx, 0x24
mov edx, dword [esi + 0x124]
inc eax
mov dword [ebp - 0x2b0], eax
cmp eax, edx
jl 0x45b0e2
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2b0], 0
test edx, edx
jle 0x45b284
lea ebx, [eax + 8]
nop dword [eax + eax]
push edi
push 2
lea eax, [ebp - 0x2ac]
push 1
push eax
call fcn.004fc0a0
movsx eax, word [ebp - 0x2ac]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x52fa88]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [ebx - 8], xmm0
call fcn.004fc0a0
movsx eax, word [ebp - 0x2ac]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x52fa88]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [ebx - 4], xmm0
call fcn.004fc0a0
movsx eax, word [ebp - 0x2ac]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x2b0]
inc eax
mov dword [ebp - 0x2b0], eax
divss xmm0, dword [0x52fa88]
mulss xmm0, dword [ebp - 0x294]
addss xmm0, dword [ebp - 0x2a0]
movss dword [ebx], xmm0
add ebx, 0x24
mov edx, dword [esi + 0x124]
cmp eax, edx
jl 0x45b1b0
xor ecx, ecx
test edx, edx
jle 0x45b2de
mov ebx, dword [ebp - 0x2b8]
movss xmm1, dword [0x52fa80]
add ebx, 0x20
mov edi, dword [ebp - 0x2bc]
movzx eax, byte [edi + ecx*2]
lea ebx, [ebx + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx - 0x28], xmm0
movzx eax, byte [edi + ecx*2 + 1]
inc ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx - 0x24], xmm0
mov edx, dword [esi + 0x124]
cmp ecx, edx
jl 0x45b2a1
mov edi, dword [ebp - 0x2c4]
xor ecx, ecx
test edx, edx
jle 0x45b302
mov eax, dword [ebp - 0x2b8]
add eax, 0x18
nop dword [eax]
mov dword [eax], 0xffffffff
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [esi + 0x124]
jl 0x45b2f0
push dword [esi + 0x128]
mov ecx, dword [0x5778ac]
call fcn.0045e840
push edi
call fcn.004fb126
push dword [ebp - 0x2bc]
call fcn.004b2377
add esp, 8
mov ecx, 0x5776ac
push str._DONE_n
call fcn.00443f40
mov eax, dword [ebp - 0x2c8]
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.004b2010
mov esp, ebp
pop ebp
ret 8
call fcn.004b2142
int3