Function at 0x4cdb20
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 4], 1
je 0x4ce088
mov edx, dword [0xa44390]
mov esi, dword [0xa4438c]
add edx, eax
inc esi
mov dword [0xa44390], edx
mov edx, dword [ebp + 0x10]
mov dword [0xa4438c], esi
mov ecx, 6
mov esi, edx
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, edx
lea edi, [ebp - 0x20]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jle 0x4cddf1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
fld qword [ebp - 0x28]
lea edi, [ecx + 8]
mov dword [ebp + 0x10], edi
jmp 0x4cdb90
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
fld qword [edx]
fcomp qword [ebx]
fnstsw ax
test ah, 0x40
je 0x4cdbab
fld qword [edx + 8]
fcomp qword [ebx + 8]
fnstsw ax
test ah, 0x40
jne 0x4cdbb2
mov dword [ebp - 4], 0
fld qword [edx]
fcomp qword [ebp - 0x38]
fnstsw ax
test ah, 0x41
jne 0x4cdbcb
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x4cdbe2
fld qword [edx]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 1
je 0x4cdbe2
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
fld qword [edx + 8]
fcomp qword [ebp - 0x30]
fnstsw ax
test ah, 0x41
jne 0x4cdbfd
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x4cdc16
fld qword [edx + 8]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 1
je 0x4cdc16
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fcom qword [edx + 0x10]
fnstsw ax
test ah, 1
je 0x4cdc27
fstp st(0)
fld qword [edx + 0x10]
jmp 0x4cdc40
fld qword [edx + 0x10]
fcomp qword [ebp - 0x10]
fnstsw ax
test ah, 1
je 0x4cdc40
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
fld qword [ebx]
fcomp qword [ebp - 0x38]
fnstsw ax
test ah, 0x41
jne 0x4cdc59
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x4cdc70
fld qword [ebx]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 1
je 0x4cdc70
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
fld qword [ebx + 8]
fcomp qword [ebp - 0x30]
fnstsw ax
test ah, 0x41
jne 0x4cdc8b
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x4cdca4
fld qword [ebx + 8]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 1
je 0x4cdca4
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fcom qword [ebx + 0x10]
fnstsw ax
test ah, 1
je 0x4cdcb5
fstp st(0)
fld qword [ebx + 0x10]
jmp 0x4cdcce
fld qword [ebx + 0x10]
fcomp qword [ebp - 0x10]
fnstsw ax
test ah, 1
je 0x4cdcce
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
mov ecx, 6
mov esi, ebx
mov dword [edi + 0x50], 0
mov dword [eax], 0
mov eax, 0x70
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esi, eax
add ecx, eax
mov eax, dword [ebp - 0x3c]
add edx, 0x18
add ebx, 0x18
dec eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x3c], eax
jne 0x4cdb8d
mov eax, dword [ebp + 0x18]
fld qword [ebp - 0x38]
fadd qword [0x533928]
lea ecx, [eax + eax*2]
mov esi, dword [ebp + 0xc]
shl ecx, 3
sub edx, ecx
sub ebx, ecx
fstp qword [ebp - 0x38]
fld qword [ebp - 0x30]
fadd qword [0x533928]
lea ecx, [eax*8]
mov edi, dword [ebp + 0x24]
sub ecx, eax
mov dword [ebp + 0x10], edx
neg ecx
fstp qword [ebp - 0x30]
shl ecx, 4
fadd qword [0x534af8]
add esi, ecx
mov cl, byte [ebp + 0x1c]
mov byte [ebp - 0x54], cl
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x50], ecx
fstp qword [ebp - 0x28]
fld qword [ebp - 0x20]
fsub qword [0x533928]
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x40], esi
xor esi, esi
mov dword [ebp + 0x14], ebx
test edi, 0x7fffffff
fstp qword [ebp - 0x20]
fld qword [ebp - 0x18]
fsub qword [0x533928]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x41424344
fstp qword [ebp - 0x18]
fld qword [ebp - 0x10]
fsub qword [0x534af8]
fstp qword [ebp - 0x10]
je 0x4cde32
cmp dword [ebp - 4], esi
je 0x4cddfc
cmp esi, 1
je 0x4cddcd
test esi, esi
je 0x4cddcd
cmp esi, 4
je 0x4cddcd
cmp esi, 5
jne 0x4cdde9
push esi
lea edx, [ebp - 0x38]
push edi
lea eax, [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push eax
push ecx
push 0xa
push edx
call fcn.004c7770
add esp, 0x1c
inc esi
cmp esi, 6
jl 0x4cddba
jmp 0x4cde32
fld qword [ebp - 0x28]
mov ebx, dword [ebp + 0x14]
jmp 0x4cdd15
cmp esi, 1
je 0x4cde0f
test esi, esi
je 0x4cde0f
cmp esi, 4
je 0x4cde0f
cmp esi, 5
jne 0x4cde2c
mov ecx, dword [ebp + 8]
push esi
push edi
push eax
push ebx
lea eax, [ebp - 0x60]
push edx
push eax
push 9
push ecx
call fcn.004c8130
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
add esp, 0x20
inc esi
cmp esi, 6
jl 0x4cddfc
test edi, 0x80000000
je 0x4ce088
call fcn.004c5810
fld qword [ebp - 0x20]
mov esi, dword [ebp + 8]
xor eax, eax
fistp qword [ebp - 8]
mov edi, dword [ebp - 8]
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 0xde4]
add edx, 0x20
mov dword [ebp - 0x6c], edx
mov edx, dword [esi + 0xde8]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
fld qword [ebp - 0x18]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0xde0]
add ecx, ebx
add edi, eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x84], 0x40000000
mov dword [ebp - 0x80], 0x1e
fld qword [ebp - 0x10]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [ebp - 0x88], ecx
fld qword [ebp - 0x38]
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, eax
xor ecx, edi
fld qword [ebp - 0x30]
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
add edx, ebx
mov ebx, dword [esi + 0xde8]
fld qword [ebp - 0x28]
fistp qword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp - 0x88]
xor eax, ebx
mov ebx, dword [ebp - 0x8c]
xor edx, ebx
or eax, edx
or eax, ecx
mov dword [ebp + 0x1c], eax
bsr eax, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], eax
mov edx, dword [ebp + 0x1c]
mov eax, 0x1e
sub eax, edx
cmp eax, 0x10
jle 0x4cdf0b
mov eax, 0x10
mov edi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x84]
push edi
lea ecx, [ebp - 0x84]
push eax
push ecx
push esi
call fcn.004c9a30
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x18]
add esp, 0x14
test eax, eax
jle 0x4ce088
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp + 0x1c], edi
sub eax, ecx
mov ecx, dword [ebp + 0x18]
lea ebx, [edx + 0x58]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
jmp 0x4cdf53
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
add eax, edi
push eax
push edi
lea eax, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x100]
push eax
push ecx
call fcn.004cc810
add esp, 0x14
test eax, eax
je 0x4ce072
mov ecx, dword [ebx]
xor eax, eax
cmp ecx, eax
je 0x4cdfae
lea edx, [ebp - 0xf8]
push edx
push edi
call fcn.004b32f0
fstp qword [ebp - 8]
lea eax, [ebx - 0x50]
push eax
push edi
call fcn.004b32f0
fcomp qword [ebp - 8]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4ce072
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
push 4
lea edx, [ebp - 0xf8]
push 0x20000000
lea eax, [ebp - 0x198]
push edx
push eax
lea ecx, [ebp - 0xf8]
push 0xb
push esi
mov byte [ebp - 0x18c], 1
mov byte [ebp - 0x10c], 0xff
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x198], ecx
call fcn.004ce090
mov al, byte [ebp - 0x18c]
add esp, 0x18
test al, al
je 0x4ce072
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 8], ecx
lea edi, [ebx - 0x50]
mov ecx, 6
lea esi, [ebp - 0xf8]
mov dword [ebx + 0xc], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xb0]
mov dword [ebx - 0xc], eax
mov eax, dword [ebp - 0xc8]
lea edx, [ebx - 0x20]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebx - 8], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [edx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebx], 1
mov dword [ebx - 0x58], 0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
add ebx, 0x70
add edi, 0x18
dec eax
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0xc], eax
jne 0x4cdf50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret