Function at 0x467030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55760a
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x592c80]
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 [0x5a9418], 0
mov edi, dword [ebp + 0xc]
je 0x4670cf
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46709e
push str.PumaMesh::LoadCompressed
push ebx
call fcn.00446630
push ebx
call fcn.00525539
add esp, 0xc
cmp dword [0x5a9418], 0
je 0x4670cf
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4670cf
push edi
push ebx
call fcn.00446630
push ebx
call fcn.00525539
add esp, 0xc
test edi, edi
jne 0x46717f
push 0x58
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.004f0f30
lea eax, [ebp - 0x90]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x304], eax
add esp, 0xc
mov eax, dword [0x5a942c]
mov dword [ebp - 0x320], 0x58
mov dword [ebp - 0x2f4], 0x577c30
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
je 0x4671d4
lea edi, [ebp - 0x90]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467160
sub ecx, edx
test ecx, ecx
jle 0x4671d4
xor eax, eax
nop
cmp byte [ebp + eax - 0x90], 0x2e
je 0x4671db
inc eax
cmp eax, ecx
jl 0x467170
push edi
lea eax, [ebp - 0x190]
push 0x576ec8
push eax
call fcn.0044d8f0
add esp, 0xc
lea eax, [ebp - 0x290]
push edi
push str._s.crc
push eax
call fcn.0044d8f0
add esp, 0xc
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x190]
call fcn.00449000
push 0x577c68
push edi
call fcn.0052537a
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2c4], ebx
test ebx, ebx
jne 0x4671f4
xor eax, eax
jmp 0x46769b
cmp eax, ecx
jge 0x46717f
cmp eax, 0x80
jae 0x467708
mov byte [ebp + eax - 0x90], 0
jmp 0x46717f
mov edi, dword [esi + 0x128]
mov edx, dword [0x5a9430]
test edi, edi
je 0x467238
cmp dword [edx + 0x10], 0
lea eax, [edx + 4]
mov dword [ebp - 0x2bc], eax
je 0x467238
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x467232
cmp ecx, edi
je 0x4676b9
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x467220
mov eax, dword [edx + 8]
mov dword [edx + 0xc], eax
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x46726d
cmp dword [edx + 0x10], 0
je 0x46726d
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x467267
cmp ecx, edi
je 0x4676e5
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x467255
mov eax, dword [edx + 8]
mov dword [edx + 0xc], eax
push ebx
push 4
lea eax, [ebp - 0x2b8]
push 1
push eax
call fcn.00526e8c
mov eax, dword [ebp - 0x2b8]
add eax, eax
push eax
call fcn.004c8bda
xor edi, edi
mov dword [ebp - 0x2bc], eax
add esp, 0x14
cmp dword [ebp - 0x2b8], edi
jle 0x4672cf
mov esi, eax
push ebx
push 1
push 1
push esi
call fcn.00526e8c
push ebx
push 1
lea eax, [esi + 1]
push 1
push eax
call fcn.00526e8c
inc edi
add esp, 0x20
add esi, 2
cmp edi, dword [ebp - 0x2b8]
jl 0x4672a1
mov esi, dword [ebp - 0x2b4]
push ebx
push 0xc
lea eax, [ebp - 0x2a8]
push 1
push eax
call fcn.00526e8c
push ebx
push 0xc
lea eax, [ebp - 0x29c]
push 1
push eax
call fcn.00526e8c
mov eax, dword [ebp - 0x2b8]
push 0x224
mov dword [esi + 0x124], eax
call fcn.004c8b9c
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.00469840
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x5a9430]
mov dword [esi + 0x128], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2b0], ecx
cmp dword [ecx + 0x10], 0
je 0x4673ad
test eax, eax
je 0x4673ad
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [ecx + 0xc], esi
call fcn.004c8b9c
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 eax, dword [esi + 0x128]
lea edx, [ebp - 0x2c0]
push 0
push edx
push 0
mov eax, dword [eax + 0x114]
push 0
push eax
mov ecx, dword [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 0x4674a4
lea edi, [eax + 0xc]
push ebx
push 1
lea eax, [ebp - 0x2a9]
push 1
push eax
call fcn.00526e8c
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 [0x5814d0]
movss dword [edi], xmm0
call fcn.00526e8c
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 [0x5814d0]
movss dword [edi + 4], xmm0
call fcn.00526e8c
movsx eax, byte [ebp - 0x2a9]
add esp, 0x30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push edi
push edi
divss xmm0, dword [0x5814d0]
movss dword [edi + 8], xmm0
call fcn.00404e16
mov eax, dword [ebp - 0x2b0]
add edi, 0x24
mov ecx, dword [esi + 0x124]
inc eax
mov dword [ebp - 0x2b0], eax
cmp eax, ecx
jl 0x4673f3
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], 0
test ecx, ecx
jle 0x467594
lea edi, [eax + 8]
nop dword [eax]
push ebx
push 2
lea eax, [ebp - 0x2ac]
push 1
push eax
call fcn.00526e8c
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 [0x581530]
mulss xmm0, dword [ebp - 0x29c]
addss xmm0, dword [ebp - 0x2a8]
movss dword [edi - 8], xmm0
call fcn.00526e8c
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 [0x581530]
mulss xmm0, dword [ebp - 0x298]
addss xmm0, dword [ebp - 0x2a4]
movss dword [edi - 4], xmm0
call fcn.00526e8c
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 [0x581530]
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 0x4674c0
xor edx, edx
test ecx, ecx
jle 0x4675ee
mov edi, dword [ebp - 0x2b4]
movss xmm1, dword [0x581504]
add edi, 0x20
mov ebx, dword [ebp - 0x2bc]
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 0x4675b1
mov ebx, dword [ebp - 0x2c4]
xor eax, eax
test ecx, ecx
jle 0x467612
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 0x467600
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.00525539
add esp, 4
push dword [ebp - 0x2bc]
call fcn.004c8b97
add esp, 4
cmp dword [0x5a9418], 0
je 0x467695
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x467695
push str._DONE_n
push esi
call fcn.00446630
push esi
call fcn.00525539
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.004c8873
mov esp, ebp
pop ebp
ret 8
mov dword [edx + 0xc], eax
cmp dword [eax + 8], 0
je 0x467238
mov ecx, dword [ebp - 0x2bc]
push edi
call fcn.0044f310
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edx, dword [0x5a9430]
jmp 0x467238
mov dword [edx + 0xc], eax
cmp dword [eax + 8], 0
je 0x46726d
push edi
lea ecx, [edx + 4]
call fcn.0044f310
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x46726d
call fcn.004c89a4
int3