Function at 0x4430a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac75
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x4eac74]
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 [0x4ffd58], 0
mov edi, dword [ebp + 0xc]
je 0x44313f
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44310e
push str.PumaMesh::LoadCompressed
push ebx
call fcn.00430f00
push ebx
call fcn.004a3d23
add esp, 0xc
cmp dword [0x4ffd58], 0
je 0x44313f
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44313f
push edi
push ebx
call fcn.00430f00
push ebx
call fcn.004a3d23
add esp, 0xc
test edi, edi
jne 0x443203
push 0x58
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.00498510
lea eax, [ebp - 0x90]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x4ffd6c]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x2f4], 0x4d32bc
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 0x4431c7
xor eax, eax
jmp 0x4436fb
lea edi, [ebp - 0x90]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4431d2
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x4436fb
nop word [eax + eax]
cmp byte [ebp + eax - 0x90], 0x2e
je 0x443719
inc eax
cmp eax, ecx
jl 0x4431f0
push edi
lea eax, [ebp - 0x190]
push 0x4d32d8
push eax
call fcn.004346f0
add esp, 0xc
lea eax, [ebp - 0x290]
push edi
push str._s.crc
push eax
call fcn.004346f0
add esp, 0xc
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x190]
call fcn.00431e40
push 0x4d32e4
push edi
call fcn.004a3c4f
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2c4], ebx
test ebx, ebx
je 0x4431c0
mov edi, dword [esi + 0x128]
test edi, edi
je 0x443294
mov eax, dword [0x4ffd70]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.00434e90
test eax, eax
je 0x443294
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.00434f30
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x4432cc
mov eax, dword [0x4ffd70]
add eax, 4
push edi
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.00434e90
test eax, eax
je 0x4432cc
mov ecx, dword [ebp - 0x2b8]
push edi
call fcn.00434f30
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.004a4bc7
mov eax, dword [ebp - 0x2bc]
add eax, eax
push eax
call fcn.00495b2f
xor edi, edi
mov dword [ebp - 0x2b8], eax
add esp, 0x14
cmp dword [ebp - 0x2bc], edi
jle 0x44332e
mov esi, eax
push ebx
push 1
push 1
push esi
call fcn.004a4bc7
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.004a4bc7
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x2bc]
jl 0x443300
mov esi, dword [ebp - 0x2b4]
push ebx
push 0xc
lea eax, [ebp - 0x2a8]
push 1
push eax
call fcn.004a4bc7
push ebx
push 0xc
lea eax, [ebp - 0x29c]
push 1
push eax
call fcn.004a4bc7
mov eax, dword [ebp - 0x2bc]
push 0x224
mov dword [esi + 0x124], eax
call fcn.00495af1
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.00444140
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov edx, dword [0x4ffd70]
mov dword [esi + 0x128], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], edx
cmp dword [edx + 0x10], 0
je 0x443414
test eax, eax
je 0x443414
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.00495af1
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 0x443505
lea edi, [eax + 0xc]
push ebx
push 1
lea eax, [ebp - 0x2a9]
push 1
push eax
call fcn.004a4bc7
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 [0x4e0008]
movss dword [edi], xmm0
call fcn.004a4bc7
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 [0x4e0008]
movss dword [edi + 4], xmm0
call fcn.004a4bc7
movsx eax, byte [ebp - 0x2a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x4e0008]
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 0x443454
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x4435f4
lea edi, [eax + 8]
nop word [eax + eax]
push ebx
push 2
lea eax, [ebp - 0x2ac]
push 1
push eax
call fcn.004a4bc7
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 [0x4e0058]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [edi - 8], xmm0
call fcn.004a4bc7
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 [0x4e0058]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [edi - 4], xmm0
call fcn.004a4bc7
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 [0x4e0058]
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 0x443520
xor edx, edx
test ecx, ecx
jle 0x44364e
mov edi, dword [ebp - 0x2b4]
movss xmm1, dword [0x4e003c]
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 0x443611
mov ebx, dword [ebp - 0x2c4]
xor eax, eax
test ecx, ecx
jle 0x443672
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 0x443660
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.004a3d23
add esp, 4
push dword [ebp - 0x2b8]
call fcn.00495aec
add esp, 4
cmp dword [0x4ffd58], 0
je 0x4436f5
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x4436f5
push str._DONE_n
push esi
call fcn.00430f00
push esi
call fcn.004a3d23
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.004958e0
mov esp, ebp
pop ebp
ret 8
cmp eax, ecx
jge 0x443203
cmp eax, 0x80
jae 0x443735
mov byte [ebp + eax - 0x90], 0
jmp 0x443203
call fcn.00495a12
int3