Function at 0x442d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba955
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x4e9bb4]
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 - 0x2b4], esi
cmp dword [0x4fec98], 0
mov edi, dword [ebp + 0xc]
je 0x442def
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x442dbe
push str.PumaMesh::LoadCompressed
push ebx
call fcn.00430d20
push ebx
call fcn.004a39b0
add esp, 0xc
cmp dword [0x4fec98], 0
je 0x442def
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x442def
push edi
push ebx
call fcn.00430d20
push ebx
call fcn.004a39b0
add esp, 0xc
test edi, edi
jne 0x442eb3
push 0x58
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.004981d0
lea eax, [ebp - 0x90]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x4fecac]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x2f4], 0x4d221c
mov dword [ebp - 0x300], 0x80
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x314], str.PUMA_MEC_files
mov dword [ebp - 0x2ec], 8
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
jne 0x442e77
xor eax, eax
jmp 0x4433ab
lea edi, [ebp - 0x90]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442e82
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x4433ab
nop word [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x4433c9
inc eax
cmp eax, ecx
jl 0x442ea0
push edi
lea eax, [ebp - 0x190]
push 0x4d2238
push eax
call fcn.00434510
add esp, 0xc
lea eax, [ebp - 0x290]
push edi
push str._s.crc
push eax
call fcn.00434510
add esp, 0xc
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x190]
call fcn.00431c60
push 0x4d2244
push edi
call fcn.004a38dc
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2c4], ebx
test ebx, ebx
je 0x442e70
mov edi, dword [esi + 0x128]
test edi, edi
je 0x442f44
mov eax, dword [0x4fecb0]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.00434cb0
test eax, eax
je 0x442f44
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.00434d50
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x442f7c
mov eax, dword [0x4fecb0]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.00434cb0
test eax, eax
je 0x442f7c
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.00434d50
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push ebx
push 4
lea eax, [ebp - 0x2bc]
push 1
push eax
call fcn.004a4854
mov eax, dword [ebp - 0x2bc]
add eax, eax
push eax
call fcn.004957ef
xor edi, edi
mov dword [ebp - 0x2b8], eax
add esp, 0x14
cmp dword [ebp - 0x2bc], edi
jle 0x442fde
mov esi, eax
push ebx
push 1
push 1
push esi
call fcn.004a4854
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004a4854
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x2bc]
jl 0x442fb0
mov esi, dword [ebp - 0x2b4]
push ebx
push 0xc
lea eax, [ebp - 0x2a8]
push 1
push eax
call fcn.004a4854
push ebx
push 0xc
lea eax, [ebp - 0x29c]
push 1
push eax
call fcn.004a4854
mov eax, dword [ebp - 0x2bc]
push 0x224
mov dword [esi + 0x124], eax
call fcn.004957b1
add esp, 0x24
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x124]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00443df0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x4fecb0]
mov dword [esi + 0x128], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], edx
cmp dword [edx + 0x10], 0
je 0x4430c4
test eax, eax
je 0x4430c4
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004957b1
mov edx, dword [ebp - 0x2b0]
mov ecx, eax
mov dword [ebp - 0x2c0], ecx
add esp, 4
mov eax, dword [ebp - 0x2ac]
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov dword [ecx + 8], 0
mov dword [edx + 0xc], ecx
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x2b4]
mov dword [eax], ecx
mov dword [edx + 0xc], edi
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx + 0x114]
lea edx, [ebp - 0x2c0]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov ecx, dword [esi + 0x124]
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x4431b5
lea edi, [eax + 0xc]
push ebx
push 1
lea eax, [ebp - 0x2a9]
push 1
push eax
call fcn.004a4854
movsx eax, byte [ebp - 0x2a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4def68]
movss dword [edi], xmm0
call fcn.004a4854
movsx eax, byte [ebp - 0x2a9]
push ebx
push 1
push 1
movd xmm0, eax
lea eax, [ebp - 0x2a9]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4def68]
movss dword [edi + 4], xmm0
call fcn.004a4854
movsx eax, byte [ebp - 0x2a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x4def68]
movss dword [edi + 8], xmm0
call fcn.00402788
mov eax, dword [ebp - 0x2b0]
add edi, 0x24
mov ecx, dword [esi + 0x124]
inc eax
mov dword [ebp - 0x2b0], eax
cmp eax, ecx
jl 0x443104
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x4432a4
lea edi, [eax + 8]
nop word [eax + eax]
push ebx
push 2
lea eax, [ebp - 0x2ac]
push 1
push eax
call fcn.004a4854
movsx eax, word [ebp - 0x2ac]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4defb8]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [edi - 8], xmm0
call fcn.004a4854
movsx eax, word [ebp - 0x2ac]
push ebx
push 2
push 1
movd xmm0, eax
lea eax, [ebp - 0x2ac]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x4defb8]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [edi - 4], xmm0
call fcn.004a4854
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 [0x4defb8]
mulss xmm0, dword [ebp - 0x294]
addss xmm0, dword [ebp - 0x2a0]
movss dword [edi], xmm0
add edi, 0x24
mov ecx, dword [esi + 0x124]
cmp eax, ecx
jl 0x4431d0
xor edx, edx
test ecx, ecx
jle 0x4432fe
mov edi, dword [ebp - 0x2b4]
movss xmm1, dword [0x4def9c]
add edi, 0x20
mov ebx, dword [ebp - 0x2b8]
movzx eax, byte [ebx + edx*2]
lea edi, [edi + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x28], xmm0
movzx eax, byte [ebx + edx*2 + 1]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [edi - 0x24], xmm0
mov ecx, dword [esi + 0x124]
cmp edx, ecx
jl 0x4432c1
mov ebx, dword [ebp - 0x2c4]
xor eax, eax
test ecx, ecx
jle 0x443322
mov ecx, dword [ebp - 0x2b4]
add ecx, 0x18
nop dword [eax]
mov dword [ecx], 0xffffffff
lea ecx, [ecx + 0x24]
inc eax
cmp eax, dword [esi + 0x124]
jl 0x443310
mov esi, dword [esi + 0x128]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x114]
lea edx, [ebp - 0x2c4]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push ebx
call fcn.004a39b0
add esp, 4
push dword [ebp - 0x2b8]
call fcn.004957ac
add esp, 4
cmp dword [0x4fec98], 0
je 0x4433a5
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x4433a5
push str._DONE_n
push esi
call fcn.00430d20
push esi
call fcn.004a39b0
add esp, 0xc
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.004955a0
mov esp, ebp
pop ebp
ret 8
cmp eax, ecx
jge 0x442eb3
cmp eax, 0x80
jae 0x4433e5
mov byte [ebp + eax - 0x90], 0
jmp 0x442eb3
call fcn.004956d2
int3