Function at 0x466370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f545
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x57ec74]
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 edi, ecx
mov dword [ebp - 0x220], edi
cmp dword [0x5955e4], 0
je 0x466440
push 0x55ed28
lea eax, [ebp - 0x214]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x214]
add esp, 0xc
test ecx, ecx
je 0x4663f3
test eax, eax
jne 0x4663f3
push str.PumaMesh::Load
push ecx
call fcn.00447030
push dword [ebp - 0x214]
call fcn.00513a00
add esp, 0xc
cmp dword [0x5955e4], 0
je 0x466440
push 0x55ed28
lea eax, [ebp - 0x214]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x214]
add esp, 0xc
test ecx, ecx
je 0x466440
test eax, eax
jne 0x466440
push str.datwall1.pum
push ecx
call fcn.00447030
push dword [ebp - 0x214]
call fcn.00513a00
add esp, 0xc
nop dword [eax]
push str.datwall1.pum
lea eax, [ebp - 0x110]
push 0x5602ac
push eax
call fcn.0044e400
add esp, 0xc
lea eax, [ebp - 0x210]
push str.datwall1.pum
push 0x5602b0
push eax
call fcn.0044e400
add esp, 0xc
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x110]
call fcn.00449b90
push 0x5602b8
lea eax, [ebp - 0x218]
push str.datwall1.pum
push eax
call fcn.0051416c
add esp, 0xc
cmp dword [ebp - 0x218], 0
je 0x46665b
test eax, eax
jne 0x46665b
mov esi, dword [edi + 0x128]
mov ebx, dword [0x5955fc]
test esi, esi
je 0x4664f0
lea eax, [ebx + 4]
push esi
mov ecx, eax
mov dword [ebp - 0x214], eax
call fcn.0044ff20
test eax, eax
je 0x4664f0
mov ecx, dword [ebp - 0x214]
push esi
call fcn.00450040
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [0x5955fc]
mov esi, dword [edi + 0x12c]
test esi, esi
je 0x466518
push esi
lea ecx, [ebx + 4]
call fcn.0044ff20
test eax, eax
je 0x466518
push esi
lea ecx, [ebx + 4]
call fcn.00450040
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [ebp - 0x218]
lea ebx, [edi + 0x124]
push 4
push 1
push ebx
call fcn.0051509a
push 0x224
call fcn.004cbc8f
add esp, 0x14
mov dword [ebp - 0x21c], 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.0046a1a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x5955fc]
push eax
mov dword [edi + 0x128], eax
lea ecx, [ecx + 4]
call fcn.0044fd40
mov eax, dword [edi + 0x128]
lea edx, [ebp - 0x21c]
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 0x4665bf
mov esi, dword [ebp - 0x21c]
push dword [ebp - 0x218]
push 0x24
push 1
push esi
call fcn.0051509a
inc edi
add esp, 0x10
add esi, 0x24
cmp edi, dword [ebx]
jl 0x4665a4
mov esi, dword [ebp - 0x220]
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 - 0x220]
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 - 0x218]
call fcn.00513a00
add esp, 4
cmp dword [0x5955e4], 0
je 0x466653
push 0x55ed28
lea eax, [ebp - 0x214]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [ebp - 0x214]
add esp, 0xc
test ecx, ecx
je 0x466653
test eax, eax
jne 0x466653
push 0x5602bc
push ecx
call fcn.00447030
push dword [ebp - 0x214]
call fcn.00513a00
add esp, 0xc
mov eax, dword [ebp - 0x224]
jmp 0x46665d
xor eax, eax
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.004cb96a
mov esp, ebp
pop ebp
ret 8