Function at 0x452412
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
and dword [ebp - 0xc], 0
test eax, eax
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x68], eax
je 0x452a4b
mov edx, dword [ebp + 0x14]
xor edi, edi
inc edi
cmp dword [ebp + 8], 2
jne 0x452486
test dx, 0x400
jne 0x452486
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x60], eax
imul eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ecx + 8]
jae 0x45248d
mov esi, dword [ecx + 0x18]
mov esi, dword [esi + eax*4]
jmp 0x45248f
xor ebx, ebx
mov dword [ebp - 0x44], ebx
jmp 0x45245d
xor esi, esi
cmp esi, ebx
mov dword [ebp - 0x18], esi
jne 0x4524a0
mov eax, 0x80004005
jmp 0x452a5a
mov eax, dword [esi + 0x1c]
or dword [ebp - 0x3c], 0xffffffff
or dword [ebp - 0x54], 0xffffffff
cmp dword [ebp + 0x2c], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
je 0x452695
mov edx, dword [ebp + 0x24]
test edx, edx
je 0x4525dc
mov eax, dword [edx + 0x20]
lea ebx, [ebp - 0x14]
push ebx
lea ebx, [ebp - 0x4c]
push ebx
lea ebx, [ebp - 0x48]
push ebx
push eax
push edx
call fcn.004a46a1
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x452a57
mov eax, dword [ebp - 0x14]
test al, 1
je 0x452509
or dword [ebp + 0x14], 0x40000
mov edx, dword [ebp - 4]
mov ebx, eax
shr eax, 2
and eax, edi
shr ebx, 1
mov dword [ebp - 0x38], eax
and ebx, edi
mov eax, 0x1000
test dword [edx + 0x14], eax
mov dword [ebp - 0x34], ebx
je 0x452568
mov ecx, dword [edx + 8]
mov ecx, dword [ecx + 0x98]
test eax, ecx
je 0x452568
test ecx, 0x200000
je 0x452568
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x58], eax
mov eax, ecx
and eax, 0x10
xor edi, edi
or eax, edi
je 0x452568
and ecx, 0x20
xor eax, eax
or ecx, eax
jne 0x452568
test byte [ebp - 0x14], 8
je 0x452568
xor ebx, ebx
inc ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov ecx, dword [edx + 8]
test word [ecx + 0x98], 0x800
je 0x4525dc
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [ebp - 0x58], eax
mov eax, edx
and eax, 0x10
xor edi, edi
or eax, edi
je 0x4525dc
and edx, 0x100020
xor eax, eax
or edx, eax
jne 0x4525dc
mov eax, dword [ebp - 0x14]
shr eax, 4
and eax, 1
mov dword [ebp - 0x28], eax
je 0x4525dc
push esi
call fcn.0049128d
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp ecx, dword [eax + 8]
mov dword [ebp + 0x1c], ecx
jae 0x4525c2
mov eax, dword [eax + 0x18]
mov esi, dword [eax + ecx*4]
jmp 0x4525c4
xor esi, esi
test esi, esi
mov dword [ebp - 0x18], esi
je 0x452496
and dword [ebp - 0x1c], 0
or dword [ebp - 0x10], 0xffffffff
jmp 0x452695
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x452602
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
and eax, 0x80000000
and ecx, 0xdb
or eax, ecx
je 0x452609
or dword [ebp - 8], 0x80000
cmp dword [ebp + 0x24], edi
je 0x452620
mov ecx, dword [ebp + 0x2c]
call fcn.0048fc6f
test eax, eax
je 0x452620
mov eax, dword [ebp + 0x24]
mov edi, dword [eax + 0x20]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
shr eax, 2
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x2c]
push eax
push dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x98]
push edi
push dword [ebp - 8]
shl eax, 7
push dword [ebp - 0x38]
sar eax, 0x1f
push ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004904ca
cmp eax, 0x80010064
mov dword [ebp - 0xc], eax
jne 0x452682
push edi
push 0x4054f0
push 0xdd0
push dword [ebp + 0x24]
push dword [ebp - 4]
call fcn.0044f2af
add esp, 0x14
cmp dword [ebp - 0xc], 0
jl 0x452a57
mov eax, dword [ebp - 0x10]
shr eax, 2
mov dword [ebp - 0x1c], eax
xor edx, edx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x20], edx
jbe 0x452a0a
mov dword [ebp + 0x34], edx
mov dword [ebp - 0x2c], edx
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
jbe 0x4529ed
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
or dword [ebp - 0x50], 0xffffffff
xor edx, edx
xor ebx, ebx
cmp dword [ebp - 0x44], edx
mov dword [ebp - 0x6c], edx
je 0x4526d2
mov eax, dword [ebp - 0x30]
jmp 0x4526da
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp - 0x24], edx
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
je 0x452729
mov dword [ebp - 0x50], eax
cmp eax, dword [ecx + 0xc]
jae 0x452700
mov ecx, dword [ecx + 0x1c]
mov esi, dword [ecx + eax*4]
jmp 0x452702
xor esi, esi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, eax
and eax, 0x7fffffff
mov edi, 0x80000000
mov dword [esi], eax
and ecx, 0x1ff
mov eax, edx
and ebx, edi
or dword [esi], edi
mov dword [ebp - 0x6c], ecx
mov dword [esi + 4], eax
jmp 0x452738
cmp eax, dword [ecx + 0xc]
jae 0x452736
mov ecx, dword [ecx + 0x1c]
mov esi, dword [ecx + eax*4]
jmp 0x452738
xor esi, esi
cmp esi, edx
je 0x45295c
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x30]
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 2
add eax, edx
mov edx, dword [ebp - 0x1c]
add edx, eax
mov dword [esi + 0xc], edi
mov edi, dword [ebp + 0x24]
and ecx, 3
mov dword [esi + 0x18], edx
mov dword [esi + 0x64], edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x3c], edx
sub edx, dword [ebp - 0x1c]
mov dword [esi + 0x1c], ecx
mov edi, dword [edi]
lea edx, [edi + edx*4]
add edx, ecx
mov ecx, dword [ebp + 0x2c]
xor edi, edi
cmp ecx, edi
mov dword [esi + 0x6c], edx
je 0x4527e7
cmp dword [ebp - 0x28], edi
je 0x45279d
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x70], 0x7fffffff
jmp 0x4527b9
mov edx, dword [ebp - 0x10]
shr edx, 2
add eax, edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x70], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
add edx, eax
and edx, 3
mov dword [esi + 0x1c], edx
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 8]
lea eax, [edx + eax*4]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], edi
mov dword [ebp - 0x54], eax
jne 0x4527e7
push dword [ebp - 8]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push eax
call fcn.0048fb5b
cmp eax, edi
mov dword [ebp - 0xc], eax
jl 0x452a5a
mov eax, dword [ebp + 0x14]
test eax, 0x1000000
je 0x4527fd
mov ecx, dword [esi + 4]
or dword [esi], 0x40000000
mov dword [esi + 4], ecx
test eax, 0x40000
je 0x452810
mov ecx, dword [esi + 4]
or dword [esi], 0x8000000
mov dword [esi + 4], ecx
test eax, 0x100000
je 0x452823
mov ecx, dword [esi + 4]
or dword [esi], 0x10000000
mov dword [esi + 4], ecx
test eax, 0x80000
je 0x452836
mov eax, dword [esi + 4]
or dword [esi], 0x20000000
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x74], eax
mov eax, edx
and eax, 0x10
xor edi, edi
or eax, edi
je 0x45295c
and edx, 0x100
xor eax, eax
or edx, eax
jne 0x45295c
mov eax, dword [ebp - 4]
test word [eax + 0x14], 0x2000
je 0x4528c5
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
and eax, 0x20
xor ecx, ecx
or eax, ecx
jne 0x4528c5
push edi
fld qword [0x4054e8]
or dword [esi], 0x180
push edi
mov eax, dword [esi + 4]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push 0x7fffffff
push 0xffffffffffffffff
push 0x80000000
push edi
sub esp, 0x10
fstp qword [esp + 8]
mov dword [esi + 4], eax
fld qword [0x4054e0]
jmp 0x4528ef
push edi
fld qword [0x4054d8]
push edi
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push 0x7fffffff
push 0xffffffffffffffff
push 0x80000000
push edi
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x4054d0]
lea ecx, [ebp - 0xb8]
fstp qword [esp]
call fcn.00493945
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x74], eax
mov eax, ecx
and eax, 4
xor edx, edx
or eax, edx
je 0x452918
fldz
fstp qword [ebp - 0xb8]
mov eax, ecx
and eax, 8
xor edx, edx
or eax, edx
je 0x45292b
fldz
fstp qword [ebp - 0xb0]
and ecx, 1
or ecx, edi
je 0x452942
fld1
fstp qword [ebp - 0xb0]
fldz
fstp qword [ebp - 0xb8]
lea eax, [ebp - 0xb8]
push eax
mov ecx, esi
call fcn.00493d04
mov eax, dword [esi + 4]
or dword [esi], 0x7000
mov dword [esi + 4], eax
xor edi, edi
cmp dword [ebp - 0x24], edi
je 0x4529d5
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.0044dd07
push esi
push ebx
mov dword [ebp - 0x5c], eax
call fcn.0044dd8e
push 0x68
mov dword [ebp - 0x58], eax
call fcn.0044764f
cmp eax, edi
je 0x45299f
mov ecx, dword [ebp + 0x24]
add ecx, 0x18
push ecx
push 1
push edi
push edi
push 0x1a
push edi
mov ecx, eax
call fcn.0047c940
jmp 0x4529a1
xor eax, eax
push edi
push edi
and esi, 0x1ff
push esi
and ebx, 0x80000000
push ebx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
push 0x30100001
push eax
call fcn.0044fa2b
cmp eax, edi
mov dword [ebp - 0xc], eax
jl 0x452a5a
mov eax, dword [ebp + 0xc]
inc dword [ebp + 8]
add dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x10]
jb 0x4526bd
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0x10]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
inc dword [ebp - 0x20]
add dword [ebp + 0x34], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
jb 0x4526a9
xor edx, edx
mov eax, dword [ebp - 0x3c]
cmp dword [esi + 0x1c], eax
ja 0x452a16
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
and eax, 0x40
xor ecx, ecx
or eax, ecx
je 0x452a28
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x64]
mov ecx, eax
mov eax, dword [ebp + 0x20]
shl ecx, 2
add dword [eax], ecx
cmp dword [ebp - 0x28], edx
jne 0x452a4b
mov ecx, dword [ebp + 0x2c]
cmp ecx, edx
je 0x452a4b
mov eax, dword [ebp - 0x54]
inc eax
push eax
call fcn.0048fc3a
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x452a57
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x30