Function at 0x4cabf0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push ebx
push esi
push edi
call fcn.004c5810
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], 0x40000000
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x60], 0x1e
add eax, 0x20
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp esi, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
jle 0x4cac87
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
lea edi, [ebp - 0x34c]
lea eax, [ebp - 0x33c]
lea ebx, [ecx + 0x58]
mov ecx, dword [ebp + 0x10]
sub ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ecx
jmp 0x4cac58
mov ecx, dword [ebp - 0xc]
lea edi, [eax - 0x10]
add edx, 8
add eax, 0x18
add ebx, 0x70
lea esi, [edi + ecx]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
fld qword [eax - 0x18]
fadd qword [edx - 8]
fstp qword [eax - 0x18]
mov ecx, dword [ebp - 4]
mov dword [ebx - 0x70], 0
dec ecx
mov dword [ebp - 4], ecx
jne 0x4cac55
mov eax, dword [ebp + 0x10]
mov ecx, 6
mov esi, eax
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, eax
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x4cad79
fld qword [ebp - 0x30]
lea edx, [ebp - 0x34c]
lea ecx, [eax + 0x10]
sub edx, eax
fld qword [ebp - 0x28]
fcomp qword [ecx - 0x10]
fnstsw ax
test ah, 1
je 0x4cacd6
mov eax, dword [ecx - 0x10]
mov edi, dword [ecx - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
jmp 0x4cacef
fld qword [ebp - 0x40]
fcomp qword [ecx - 0x10]
fnstsw ax
test ah, 0x41
jne 0x4cacef
mov eax, dword [ecx - 0x10]
mov edi, dword [ecx - 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edi
fld qword [ebp - 0x20]
fcomp qword [ecx - 8]
fnstsw ax
test ah, 1
je 0x4cad0a
mov eax, dword [ecx - 8]
mov edi, dword [ecx - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
jmp 0x4cad23
fld qword [ebp - 0x38]
fcomp qword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x4cad23
mov eax, dword [ecx - 8]
mov edi, dword [ecx - 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
fld qword [ebp - 0x18]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x4cad3c
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
jmp 0x4cad49
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4cad49
fstp st(0)
fld qword [ecx]
fld qword [ebp - 0x18]
fcomp qword [edx + ecx]
fnstsw ax
test ah, 1
je 0x4cad5e
fld qword [edx + ecx]
fstp qword [ebp - 0x18]
jmp 0x4cad6d
fcom qword [edx + ecx]
fnstsw ax
test ah, 0x41
jne 0x4cad6d
fstp st(0)
fld qword [edx + ecx]
add ecx, 0x18
dec esi
jne 0x4cacbb
jmp 0x4cad7c
fld qword [ebp - 0x30]
fld qword [ebp - 0x28]
fadd qword [0x533928]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xde0]
mov ebx, dword [ecx + 0xde4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x20]
fadd qword [0x533928]
mov edx, dword [ecx + 0xde8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x18]
fadd qword [0x534af8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x40]
fsub qword [0x533928]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fsub qword [0x533928]
fstp qword [ebp - 0x38]
fsub qword [0x534af8]
fld qword [ebp - 0x40]
fistp qword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, eax
fld qword [ebp - 0x38]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [ebp - 0x2c], ecx
fistp qword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, ebx
fld qword [ebp - 0x28]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, eax
xor ecx, esi
fld qword [ebp - 0x20]
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
add edx, ebx
mov ebx, dword [ebp - 0xc]
xor edx, edi
fld qword [ebp - 0x18]
fistp qword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp - 0x2c]
xor eax, ebx
or eax, edx
or eax, ecx
mov dword [ebp - 4], eax
bsr eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, 0x1e
sub eax, edx
cmp eax, 0x10
jle 0x4cae46
mov eax, 0x10
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push esi
lea edx, [ebp - 0x64]
push ecx
push edx
push ebx
call fcn.004c9a30
mov dword [ebp - 0xc], eax
mov eax, dword [0xb97df8]
mov dword [0xb97dfc], eax
mov eax, dword [ebp + 0x24]
add esp, 0x14
and eax, 0x7fffffff
je 0x4cae9a
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x34c]
push edi
push eax
push esi
push ecx
push ebx
call fcn.004cc2a0
add esp, 0x20
jmp 0x4cae9d
mov edi, dword [ebp + 0x14]
test dword [ebp + 0x24], 0x80000000
je 0x4cb03c
test edi, edi
jle 0x4cb03c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
add esi, 0x10
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], esi
lea ebx, [edx + 0x18]
mov dword [ebp + 0xc], edi
jmp 0x4caecc
mov eax, dword [ebp + 0x14]
fld qword [eax]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
jge 0x4caeda
neg ecx
fld qword [eax]
fcomp qword [0x5333b0]
fnstsw ax
test ah, 0x41
jne 0x4caef0
mov eax, 1
jmp 0x4caef2
xor eax, eax
mov edx, dword [ebp - 0xc]
push 0
push edx
push ecx
push eax
lea eax, [esi - 0x10]
lea ecx, [ebp - 0x64]
push eax
lea edx, [ebp - 0xd4]
push ecx
push edx
call fcn.004cb050
add esp, 0x1c
test eax, eax
je 0x4cb01d
mov eax, dword [ebx + 0x40]
xor edi, edi
cmp eax, edi
je 0x4caf5d
fld qword [esi]
fsub qword [ebp - 0xbc]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4caf39
fchs
fld qword [esi]
fsub qword [ebx]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4caf4c
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x4cb01d
lea eax, [ebp - 0xcc]
push 4
lea ecx, [ebp - 0xcc]
push 0x20000000
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 8]
push ecx
push edx
push 0xb
push eax
mov byte [ebp - 0x160], 1
mov byte [ebp - 0xe0], 0xff
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x164], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
call fcn.004ce090
mov al, byte [ebp - 0x160]
add esp, 0x18
test al, al
je 0x4cb01d
fld qword [ebp - 0xbc]
fsub qword [esi]
fst qword [ebp - 8]
fstp qword [ebx + 0x48]
fld qword [ebp - 8]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4cafe0
fchs
mov edx, dword [ebp - 0x9c]
mov dword [ebx - 0x18], edi
lea edi, [ebx - 0x10]
mov ecx, 6
lea esi, [ebp - 0xcc]
mov eax, dword [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
fstp qword [ebx + 0x48]
lea ecx, [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov dword [ebx + 0x40], 1
mov dword [ecx], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add ebx, 0x70
add edx, 8
add esi, 0x18
dec eax
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], eax
jne 0x4caec9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret