Function at 0x4658c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5575ba
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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 ebx, ecx
mov dword [ebp - 0x218], ebx
cmp dword [0x5a9418], 0
je 0x465960
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x46592b
push str.PumaMesh::Load
push esi
call fcn.00446630
push esi
call fcn.00525539
add esp, 0xc
cmp dword [0x5a9418], 0
je 0x465960
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x465960
push str.datwall1.pum
push esi
call fcn.00446630
push esi
call fcn.00525539
add esp, 0xc
push str.datwall1.pum
lea eax, [ebp - 0x110]
push 0x576ec8
push eax
call fcn.0044d8f0
add esp, 0xc
lea eax, [ebp - 0x210]
push str.datwall1.pum
push str._s.crc
push eax
call fcn.0044d8f0
add esp, 0xc
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x110]
call fcn.00449000
push 0x577c68
push str.datwall1.pum
call fcn.0052537a
mov edi, eax
add esp, 8
mov dword [ebp - 0x220], edi
test edi, edi
je 0x465bd1
mov esi, dword [ebx + 0x128]
mov edx, dword [0x5a9430]
test esi, esi
je 0x465a09
cmp dword [edx + 0x10], 0
lea eax, [edx + 4]
mov dword [ebp - 0x21c], eax
je 0x465a09
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x465a03
cmp ecx, esi
je 0x465bef
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4659f1
mov eax, dword [edx + 8]
mov dword [edx + 0xc], eax
mov esi, dword [ebx + 0x12c]
test esi, esi
je 0x465a3e
cmp dword [edx + 0x10], 0
je 0x465a3e
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x465a38
cmp ecx, esi
je 0x465c1b
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x465a26
mov eax, dword [edx + 8]
mov dword [edx + 0xc], eax
push edi
push 4
add ebx, 0x124
push 1
push ebx
call fcn.00526e8c
push 0x224
call fcn.004c8b9c
add esp, 0x14
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebx]
push 0x152
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.00469840
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
mov edx, dword [0x5a9430]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x21c], edx
mov dword [eax + 0x128], ecx
cmp dword [edx + 0x10], 0
je 0x465b03
test ecx, ecx
je 0x465b03
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
push 0xc
mov esi, dword [eax]
mov dword [edx + 0xc], esi
call fcn.004c8b9c
mov edx, dword [ebp - 0x21c]
mov ecx, eax
mov dword [ebp - 0x228], ecx
add esp, 4
mov eax, dword [ebp - 0x214]
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 dword [eax], ecx
mov eax, dword [ebp - 0x218]
mov dword [edx + 0xc], edi
mov eax, dword [eax + 0x128]
lea edx, [ebp - 0x214]
push 0
push edx
push 0
mov eax, dword [eax + 0x114]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor edi, edi
cmp dword [ebx], edi
jle 0x465b4b
mov esi, dword [ebp - 0x214]
nop
push dword [ebp - 0x220]
push 0x24
push 1
push esi
call fcn.00526e8c
inc edi
add esp, 0x10
add esi, 0x24
cmp edi, dword [ebx]
jl 0x465b30
mov eax, dword [ebp - 0x218]
mov esi, dword [eax + 0x128]
mov eax, dword [esi + 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0x114]
lea edx, [ebp - 0x228]
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 dword [ebp - 0x220]
call fcn.00525539
add esp, 4
cmp dword [0x5a9418], 0
je 0x465bcb
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x465bcb
push str._DONE_n
push esi
call fcn.00446630
push esi
call fcn.00525539
add esp, 0xc
mov eax, dword [ebp - 0x224]
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 0x465a09
mov ecx, dword [ebp - 0x21c]
push esi
call fcn.0044f310
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [0x5a9430]
jmp 0x465a09
mov dword [edx + 0xc], eax
cmp dword [eax + 8], 0
je 0x465a3e
push esi
lea ecx, [edx + 4]
call fcn.0044f310
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x465a3e