Function at 0x48f240
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, ecx
imul eax, edi
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x58], eax
je 0x48f920
cmp dword [ebp + 0xc], 2
jne 0x48f3df
test dword [ebp + 0x18], 0x400
jne 0x48f3df
mov eax, ecx
mov dword [ebp + 0x10], edi
mov byte [ebp - 8], 1
mov dword [ebp + 0x14], eax
mov edi, eax
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x18]
add edi, 3
shr edi, 2
mov eax, edi
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x40], eax
or eax, 0xffffffff
cmp edx, ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov byte [ebp + 0xf], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
je 0x48f4b6
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x48f3e7
mov eax, dword [ecx + 0x20]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
lea edx, [ebp - 0x14]
call fcn.004d9fe0
cmp eax, ebx
mov dword [ebp - 0xc], eax
jl 0x48f92c
mov ebx, dword [ebp - 0x1c]
test bl, 1
je 0x48f318
or dword [ebp + 0x18], 0x40000
mov eax, ebx
shr eax, 1
and al, 1
mov byte [ebp + 0xf], al
mov eax, ebx
shr eax, 2
and al, 1
mov byte [ebp - 7], al
mov eax, dword [ebp + 8]
test dword [eax + 0x14], 0x1000
je 0x48f376
mov eax, dword [eax + 8]
test byte [eax + 0xad], 0x10
je 0x48f376
test byte [eax + 0xae], 0x40
je 0x48f376
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x50], eax
mov eax, ecx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x48f376
and ecx, 0x20
xor eax, eax
or ecx, eax
jne 0x48f376
test bl, 8
je 0x48f376
mov byte [ebp - 5], 1
mov byte [ebp + 0xf], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
test byte [eax + 0xad], 8
mov dword [ebp - 0x20], eax
je 0x48f3e7
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, ecx
mov dword [ebp - 0x50], edx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x48f3e7
and ecx, 0x100020
xor eax, eax
or ecx, eax
jne 0x48f3e7
shr ebx, 4
and bl, 1
mov byte [ebp - 6], bl
je 0x48f3e7
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x20]
push eax
push esi
push ecx
call fcn.004ca6f0
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x48f92c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x24], 0xffffffff
jmp 0x48f4ae
mov byte [ebp - 8], bl
jmp 0x48f28e
xor esi, esi
cmp byte [ebp - 5], 0
jne 0x48f409
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
and eax, 0x80000000
and ecx, 0xdb
or eax, ecx
je 0x48f410
or dword [ebp - 0x18], 0x80000
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x48f422
mov ecx, dword [ebp + 0x30]
cmp dword [ecx + 0x1c], esi
je 0x48f422
mov esi, dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x38]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
shr edx, 2
add edx, dword [ebp - 0x10]
push edx
movzx edx, byte [ebp - 7]
push eax
movzx eax, byte [ebp + 0xf]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 8]
mov ecx, dword [ebp + 0x14]
push eax
movzx eax, byte [edx + 0xaf]
mov edx, dword [ebp + 0x10]
shr eax, 2
and eax, 1
push eax
mov eax, dword [ebp + 0x30]
push ecx
push edx
push eax
call fcn.0048d990
cmp eax, 0x80010064
mov dword [ebp - 0xc], eax
jne 0x48f49d
mov edi, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 8]
push 0x45a8c0
push 0xdd0
call fcn.0048c920
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
test eax, eax
jl 0x48f92c
mov eax, dword [ebp - 0x24]
shr eax, 2
mov dword [ebp - 0x40], eax
mov edx, dword [ebp + 0x30]
mov esi, dword [ebp + 0x20]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x38], ebx
jbe 0x48f8d4
mov edx, dword [ebp - 0x24]
lea ecx, [edi*4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x1c], edx
jmp 0x48f4e0
cmp dword [ebp + 0x14], 0
mov dword [ebp + 0x38], 0
jbe 0x48f8ab
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x48f500
xor eax, eax
cmp byte [ebp - 8], al
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
je 0x48f519
mov eax, dword [ebp - 0x3c]
jmp 0x48f522
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x38]
lea eax, [ecx + edx]
cmp byte [ebp - 5], 0
mov ecx, dword [ebp + 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
je 0x48f572
mov edi, dword [eax]
lea eax, [edi + 8]
mov dword [ebp - 0x44], edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and edx, 0x1ff
mov esi, ecx
and ecx, 0x7fffffff
mov dword [eax + 4], 0
and esi, 0x80000000
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 4]
mov dword [eax], ecx
or dword [eax], 0x80000000
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], esi
mov dword [eax + 4], edx
jmp 0x48f579
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov edi, edx
test edi, edi
je 0x48f7d0
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x20]
cmp eax, edx
je 0x48f5e9
test eax, eax
je 0x48f5be
cmp eax, 0xffffffff
je 0x48f5be
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x48f5a3
mov esi, dword [edi + 0x14]
mov dword [ecx + 0x14], esi
jmp 0x48f5a9
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x48f5b8
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x18], eax
jmp 0x48f5be
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x28], ecx
test edx, edx
je 0x48f5e6
cmp edx, 0xffffffff
je 0x48f5e6
mov eax, dword [edx + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x28]
test eax, eax
je 0x48f5d9
mov dword [eax + 0x14], edi
jmp 0x48f5dc
mov dword [edx + 0x24], edi
mov dword [edi + 0x14], 0
mov dword [edx + 0x28], edi
mov dword [edi + 0x10], edx
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp + 0x34]
mov ecx, eax
shr ecx, 2
add edx, ecx
lea ecx, [edx + esi]
mov dword [edi + 0x28], ecx
mov dword [ebp - 0x48], ecx
sub ecx, esi
mov esi, dword [ebp + 0x24]
and eax, 3
mov dword [edi + 0x1c], ebx
mov ebx, dword [ebp + 0x28]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x94], ebx
mov esi, dword [esi]
lea ecx, [esi + ecx*4]
add ecx, eax
cmp dword [ebp + 0x30], 0
mov dword [edi + 0x9c], ecx
je 0x48f698
mov bl, byte [ebp - 6]
test bl, bl
je 0x48f647
xor eax, eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0xa0], 0x7fffffff
jmp 0x48f662
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shr eax, 2
add eax, edx
mov edx, dword [ebp + 0x38]
add edx, ecx
and edx, 3
mov dword [edi + 0xa0], eax
mov dword [edi + 0x2c], edx
mov ecx, dword [ebp + 0x38]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
test bl, bl
mov dword [ebp - 0x30], eax
jne 0x48f698
mov edx, dword [ebp - 0x18]
movzx eax, byte [ebp - 7]
movzx ecx, byte [ebp + 0xf]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp + 0x30]
push edx
push eax
push ecx
call fcn.0048d790
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x48f92c
mov eax, dword [ebp + 0x18]
test eax, 0x1000000
je 0x48f6af
mov edx, dword [edi + 0xc]
or dword [edi + 8], 0x40000000
mov dword [edi + 0xc], edx
test eax, 0x40000
je 0x48f6c3
mov ecx, dword [edi + 0xc]
or dword [edi + 8], 0x8000000
mov dword [edi + 0xc], ecx
test eax, 0x100000
je 0x48f6d7
mov edx, dword [edi + 0xc]
or dword [edi + 8], 0x10000000
mov dword [edi + 0xc], edx
test eax, 0x80000
je 0x48f6eb
mov eax, dword [edi + 0xc]
or dword [edi + 8], 0x20000000
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, ecx
mov dword [ebp - 0x68], edx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x48f7d0
mov eax, ecx
and eax, 0x100
or eax, edx
jne 0x48f7d0
mov eax, dword [ebp + 8]
test dword [eax + 0x14], 0x2000
je 0x48f74c
and ecx, 0x20
xor eax, eax
or ecx, eax
jne 0x48f74c
or dword [edi + 8], 0x180
fld qword [0x4688d0]
mov ecx, dword [edi + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
mov dword [edi + 0xc], ecx
fld qword [0x4688c8]
jmp 0x48f75f
fld qword [0x468a00]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x4689f8]
lea ecx, [ebp - 0xac]
fstp qword [esp]
call fcn.004db400
fldz
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, ecx
mov dword [ebp - 0x68], edx
and eax, 4
xor edx, edx
or eax, edx
je 0x48f789
fst qword [ebp - 0xac]
mov eax, ecx
and eax, 8
xor edx, edx
or eax, edx
je 0x48f79a
fst qword [ebp - 0xa4]
and ecx, 1
xor eax, eax
or ecx, eax
je 0x48f7b3
fld1
fstp qword [ebp - 0xa4]
fstp qword [ebp - 0xac]
jmp 0x48f7b5
fstp st(0)
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0xac]
call fcn.004db890
mov eax, dword [esi + 0xc]
or dword [esi + 8], 0x7000
mov dword [esi + 0xc], eax
cmp byte [ebp - 5], 0
je 0x48f890
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
push edi
push esi
call fcn.0048a030
push edi
push esi
mov dword [ebp - 0x54], eax
call fcn.0048a0e0
push 0x68
mov dword [ebp - 0x50], eax
call fcn.00469450
xor ebx, ebx
cmp eax, ebx
je 0x48f859
mov esi, dword [ebp + 0x28]
mov ecx, 1
mov dword [eax + 0x10], ecx
mov dword [eax + 0x2c], ecx
add esi, 0x18
lea edi, [eax + 0x38]
mov ecx, 0xa
mov dword [eax + 4], 0xe
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], 0x4598bc
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], 0x1a
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x30], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
jmp 0x48f85b
xor eax, eax
push ebx
push ebx
and edi, 0x1ff
push edi
and esi, 0x80000000
push esi
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x44]
push edx
push ecx
mov ecx, dword [ebp + 8]
push 0x30100001
push eax
call fcn.0048fd00
cmp eax, ebx
mov dword [ebp - 0xc], eax
jl 0x48f92c
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x10]
add dword [ebp - 0x3c], edx
add eax, 1
cmp eax, dword [ebp + 0x14]
mov dword [ebp + 0x38], eax
jb 0x48f500
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x64]
add dword [ebp - 0x14], ecx
add dword [ebp - 0x10], edi
add dword [ebp - 0x1c], edx
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
jb 0x48f4e0
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
xor ebx, ebx
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x1c], eax
ja 0x48f8e2
add eax, 1
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
and eax, 0x40
xor ecx, ecx
or eax, ecx
je 0x48f8f4
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x24]
add ecx, ecx
add ecx, ecx
add dword [eax], ecx
cmp byte [ebp - 6], 0
jne 0x48f920
cmp edx, ebx
je 0x48f920
mov eax, dword [ebp - 0x30]
add eax, 1
cmp eax, dword [edx + 0x10]
jbe 0x48f918
mov dword [edx + 0x10], eax
cmp eax, dword [edx + 0x14]
jbe 0x48f920
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x48f92c
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34