Function at 0x4cb9f0
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 0x4cba86
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 0x4cba58
mov ecx, dword [ebp - 0xc]
fld qword [edx]
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]
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
mov ecx, dword [ebp - 4]
mov dword [ebx - 0x70], 0
dec ecx
mov dword [ebp - 4], ecx
jne 0x4cba55
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 0x4cbb78
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 0x4cbad5
mov eax, dword [ecx - 0x10]
mov edi, dword [ecx - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
jmp 0x4cbaee
fld qword [ebp - 0x40]
fcomp qword [ecx - 0x10]
fnstsw ax
test ah, 0x41
jne 0x4cbaee
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 0x4cbb09
mov eax, dword [ecx - 8]
mov edi, dword [ecx - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
jmp 0x4cbb22
fld qword [ebp - 0x38]
fcomp qword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x4cbb22
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 0x4cbb3b
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
jmp 0x4cbb48
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4cbb48
fstp st(0)
fld qword [ecx]
fld qword [ebp - 0x18]
fcomp qword [edx + ecx]
fnstsw ax
test ah, 1
je 0x4cbb5d
fld qword [edx + ecx]
fstp qword [ebp - 0x18]
jmp 0x4cbb6c
fcom qword [edx + ecx]
fnstsw ax
test ah, 0x41
jne 0x4cbb6c
fstp st(0)
fld qword [edx + ecx]
add ecx, 0x18
dec esi
jne 0x4cbaba
jmp 0x4cbb7b
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 0x4cbc45
mov eax, 0x10
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push esi
lea edx, [ebp - 0x64]
push ecx
push edx
push edi
call fcn.004c9a30
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, ebx
add esp, 0x14
and eax, 0x7fffffff
je 0x4cbc8f
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34c]
push edx
push eax
push esi
push ecx
push edi
call fcn.004cc2a0
add esp, 0x20
test ebx, 0x80000000
je 0x4cbe38
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x4cbe38
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
add esi, 0x10
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x18], esi
lea ebx, [edx + 0x18]
mov dword [ebp + 0x14], eax
fld qword [edi]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
jge 0x4cbcc9
neg ecx
fld qword [edi]
fcomp qword [0x5333b0]
fnstsw ax
test ah, 0x41
jne 0x4cbcdf
mov eax, 1
jmp 0x4cbce1
xor eax, eax
mov edx, dword [ebp - 0xc]
push 1
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 0x4cbe1c
mov eax, dword [ebx + 0x40]
xor ecx, ecx
cmp eax, ecx
je 0x4cbd4c
fld qword [esi]
fsub qword [ebp - 0xbc]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4cbd28
fchs
fld qword [esi]
fsub qword [ebx]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4cbd3b
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x4cbe1c
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], ecx
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
call fcn.004ce090
mov al, byte [ebp - 0x160]
add esp, 0x18
test al, al
je 0x4cbe1c
fld qword [ebp - 0xbc]
fsub qword [esi]
fcom qword [0x5333b0]
fnstsw ax
test ah, 1
je 0x4cbdc6
fchs
mov edx, dword [ebp - 0x84]
lea edi, [ebx - 0x10]
mov ecx, 6
lea esi, [ebp - 0xcc]
rep movsd dword es:[edi], dword [esi]
fstp qword [ebx + 0x48]
mov ecx, dword [ebp - 0x88]
lea eax, [ebx + 0x20]
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebp - 0x9c]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x98]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebx + 0x40], 1
mov dword [ebx - 0x18], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
add ebx, 0x70
add edi, 8
add esi, 0x18
dec eax
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], eax
jne 0x4cbcbb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret