Function at 0x4418b0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x29c
push 0xffffffffffffffff
push 0x4c4ae7
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x507b40]
xor eax, ebp
mov dword [ebp + 0x298], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x2a8]
mov ecx, 0x50936c
push str.PumaMesh::LoadCompressed
call fcn.004304a0
push edi
mov ecx, 0x50936c
call fcn.004304a0
test edi, edi
jne 0x4419af
push 0x58
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.0049c270
lea eax, [ebp + 0x218]
mov dword [ebp - 0x84], 0x58
mov dword [ebp - 0x68], eax
add esp, 0xc
mov eax, dword [0x509420]
mov byte [ebp + 0x218], 0
mov dword [ebp - 0x58], 0x4cbc68
mov dword [ebp - 0x64], 0x80
mov dword [ebp - 0x78], str.PUMA_MEC_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x50], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x441a1b
lea edi, [ebp + 0x218]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441990
sub ecx, edx
test ecx, ecx
jle 0x441a1b
xor eax, eax
nop
cmp byte [ebp + eax + 0x218], 0x2e
je 0x441a22
inc eax
cmp eax, ecx
jl 0x4419a0
push edi
lea eax, [ebp + 0x118]
push 0x4cbc84
push eax
call fcn.00434400
push edi
lea eax, [ebp + 0x18]
push str._s.crc
push eax
call fcn.00434400
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x118]
push eax
call fcn.00431bb0
add esp, 0x20
test eax, eax
je 0x4419fe
push 0x4b9
push str.srcPumapumaMesh.cpp
push str.checkError__NO_ERROR
call fcn.004aa62c
add esp, 0xc
mov eax, dword [ebp - 0x24]
push 0x4cbcec
push edi
mov dword [ebp - 0x2c], eax
call fcn.004aa88b
mov edi, eax
add esp, 8
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x441a3e
xor eax, eax
jmp 0x441d56
cmp eax, ecx
jge 0x4419af
cmp eax, 0x80
jae 0x441d7b
mov byte [ebp + eax + 0x218], 0
jmp 0x4419af
push dword [esi + 0x128]
mov ecx, dword [0x509424]
call fcn.00443420
push dword [esi + 0x12c]
mov ecx, dword [0x509424]
call fcn.00443420
push edi
push 4
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004ab359
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
call fcn.00498892
xor ebx, ebx
mov dword [ebp - 0x20], eax
add esp, 0x14
cmp dword [ebp - 0x18], ebx
jle 0x441ab0
mov esi, eax
push edi
push 1
push 1
push esi
call fcn.004ab359
push edi
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004ab359
inc ebx
add esp, 0x20
add esi, 2
cmp ebx, dword [ebp - 0x18]
jl 0x441a88
mov esi, dword [ebp - 0x14]
push edi
push 0xc
lea eax, [ebp]
push 1
push eax
call fcn.004ab359
push edi
push 0xc
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.004ab359
mov eax, dword [ebp - 0x18]
push 0x224
mov dword [esi + 0x124], eax
call fcn.00498854
add esp, 0x24
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x441b0b
mov ecx, dword [esi + 0x124]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00443150
jmp 0x441b0d
xor eax, eax
mov dword [esi + 0x128], eax
mov ecx, dword [0x509424]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00443410
push dword [esi + 0x128]
mov ecx, dword [0x509424]
call fcn.00443450
mov edx, dword [esi + 0x124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
test edx, edx
jle 0x441be8
lea ebx, [eax + 0xc]
push edi
push 1
lea eax, [ebp - 0xf]
push 1
push eax
call fcn.004ab359
movsx eax, byte [ebp - 0xf]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0xf]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb844]
movss dword [ebx], xmm0
call fcn.004ab359
movsx eax, byte [ebp - 0xf]
push edi
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0xf]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb844]
movss dword [ebx + 4], xmm0
call fcn.004ab359
movsx eax, byte [ebp - 0xf]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push ebx
push ebx
divss xmm0, dword [0x4cb844]
movss dword [ebx + 8], xmm0
call fcn.00401271
mov eax, dword [ebp - 0x14]
add ebx, 0x24
mov edx, dword [esi + 0x124]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, edx
jl 0x441b52
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
test edx, edx
jle 0x441caa
lea ebx, [eax + 8]
nop word [eax + eax]
push edi
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.004ab359
movsx eax, word [ebp - 0x10]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0xc]
addss xmm0, dword [ebp]
movss dword [ebx - 8], xmm0
call fcn.004ab359
movsx eax, word [ebp - 0x10]
push edi
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0x10]
addss xmm0, dword [ebp + 4]
movss dword [ebx - 4], xmm0
call fcn.004ab359
movsx eax, word [ebp - 0x10]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
divss xmm0, dword [0x4cb850]
mulss xmm0, dword [ebp + 0x14]
addss xmm0, dword [ebp + 8]
movss dword [ebx], xmm0
add ebx, 0x24
mov edx, dword [esi + 0x124]
cmp eax, edx
jl 0x441c00
xor ecx, ecx
test edx, edx
jle 0x441cfb
mov ebx, dword [ebp - 0x1c]
movss xmm1, dword [0x4cb848]
add ebx, 0x20
mov edi, dword [ebp - 0x20]
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 0x441cc1
mov edi, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
jle 0x441d22
mov eax, dword [ebp - 0x1c]
add eax, 0x18
nop word [eax + eax]
mov dword [eax], 0xffffffff
lea eax, [eax + 0x24]
inc ecx
cmp ecx, dword [esi + 0x124]
jl 0x441d10
push dword [esi + 0x128]
mov ecx, dword [0x509424]
call fcn.00443480
push edi
call fcn.004aa799
push dword [ebp - 0x20]
call fcn.0049889b
add esp, 8
mov ecx, 0x50936c
push str._DONE_n
call fcn.004304a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x298]
xor ecx, ebp
call fcn.00498846
lea esp, [ebp + 0x29c]
pop ebp
ret 8
call fcn.00498769
int3