Function at 0x4b0930
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc0
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
mov eax, ecx
imul eax, ebx
xor edx, edx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x60], eax
cmp eax, edx
je 0x4b10a7
cmp dword [ebp + 0xc], 8
jne 0x4b0b10
mov eax, dword [ebp + 0x1c]
and eax, 0x400
or eax, edx
jne 0x4b0b10
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x18]
mov byte [ebp - 8], 1
mov edi, dword [ebp + 0x20]
lea esi, [ebx + 3]
shr esi, 2
mov eax, esi
imul eax, ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov byte [ebp + 0xf], dl
mov byte [ebp - 7], dl
mov byte [ebp - 6], dl
mov byte [ebp - 9], dl
mov byte [ebp - 5], dl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 4
test edx, edx
je 0x4b0c4a
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4b0b24
mov eax, dword [ecx + 0x24]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
lea edx, [ebp - 0x1c]
call fcn.004fa260
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x4b10b3
mov ebx, dword [ebp - 0x10]
test bl, 1
je 0x4b0a20
or dword [ebp + 0x1c], 0x40000
mov dword [ebp + 0x20], edi
mov edi, dword [ebp + 0x28]
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 0x4b0a81
mov eax, dword [eax + 8]
test byte [eax + 0xb1], 0x10
je 0x4b0a81
test byte [eax + 0xb2], 0x40
je 0x4b0a81
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x58], eax
mov eax, ecx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x4b0a81
and ecx, 0x20
xor eax, eax
or ecx, eax
jne 0x4b0a81
test bl, 8
je 0x4b0a81
mov byte [ebp - 5], 1
mov byte [ebp + 0xf], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
test byte [eax + 0xb1], 8
mov dword [ebp - 0x10], eax
je 0x4b0abd
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, ecx
mov dword [ebp - 0x58], edx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x4b0abd
and ecx, 0x100020
xor eax, eax
or ecx, eax
jne 0x4b0abd
mov eax, ebx
shr eax, 4
and al, 1
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x10]
test byte [eax + 0xb7], 0x80
je 0x4b0ade
mov eax, dword [edi + 8]
and eax, 0x10
xor ecx, ecx
or eax, ecx
je 0x4b0ade
shr ebx, 5
and bl, 1
mov byte [ebp - 9], bl
cmp byte [ebp - 6], 0
je 0x4b0b18
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x28]
push ecx
push edi
push edx
call fcn.00508ca0
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x4b10b3
mov dword [ebp - 0x14], 0
mov dword [ebp + 0x40], 0xffffffff
jmp 0x4b0c44
mov byte [ebp - 8], dl
jmp 0x4b0982
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp - 0x28]
cmp byte [ebp - 5], 0
mov dword [ebp - 0x14], 0
jne 0x4b0b37
cmp byte [ebp + 0x10], 0
je 0x4b0b41
or dword [ebp - 0x2c], 0x80000
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x4b0b51
cmp dword [edx + 0x20], 0
je 0x4b0b51
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x40]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp + 0x2c]
lea edx, [ebp + 0x40]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
shr edx, 2
add edx, dword [ebp - 0x20]
mov edi, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push ecx
movzx ecx, byte [ebp - 7]
push edx
movzx edx, byte [ebp + 0xf]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x38]
push edx
movzx edx, byte [ecx + 0xb3]
shr edx, 2
and edx, 1
push edx
push ebx
push edi
push eax
call fcn.004aebb0
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp edi, 1
jne 0x4b0c02
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
test byte [eax + 0xb7], 0x20
je 0x4b0c02
mov edx, dword [ebp + 0x38]
cmp dword [edx], 3
jne 0x4b0c02
mov eax, dword [ebp + 0x40]
and eax, 3
cmp ebx, edi
jne 0x4b0bd9
test eax, eax
jbe 0x4b0c02
mov dword [ebp - 0x30], eax
jmp 0x4b0c02
cmp ebx, 2
jne 0x4b0bf1
cmp eax, 1
jne 0x4b0bec
mov dword [ebp - 0x30], 5
jmp 0x4b0c02
cmp eax, 2
jmp 0x4b0bf9
cmp ebx, 3
jne 0x4b0c02
cmp eax, 1
jne 0x4b0c02
mov dword [ebp - 0x30], 7
cmp ecx, 0x80010064
jne 0x4b0c33
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 8]
push 0x441c98
push ecx
mov edx, 0xdd0
call fcn.004a49f0
mov eax, dword [ebp - 0x18]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
test ecx, ecx
jl 0x4b10b3
mov eax, dword [ebp + 0x40]
shr eax, 2
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x28]
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0x14], eax
jbe 0x4b105f
mov ecx, dword [ebp + 0x40]
lea edx, [esi*4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x10], ecx
mov edi, edi
cmp dword [ebp + 0x18], 0
mov dword [ebp + 0x10], 0
jbe 0x4b103d
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
cmp byte [ebp - 8], bl
je 0x4b0c9d
mov eax, dword [ebp - 0x34]
jmp 0x4b0ca5
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
add eax, edx
cmp byte [ebp - 5], 0
mov ecx, dword [ebp + 0x24]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x3c], eax
je 0x4b0ced
mov edi, dword [eax]
lea eax, [edi + 8]
mov dword [ebp - 0x4c], edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and edx, 0x70001ff
mov esi, ecx
and ecx, 0x7fffffff
and esi, 0x80000000
mov dword [ebp - 0x50], edx
mov edx, ebx
mov dword [eax], ecx
or dword [eax], 0x80000000
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], esi
mov dword [eax + 4], edx
jmp 0x4b0cf4
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov edi, edx
cmp edi, ebx
je 0x4b0fa2
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 0x28]
cmp ecx, eax
je 0x4b0d64
test ecx, ecx
je 0x4b0d39
cmp ecx, 0xffffffff
je 0x4b0d39
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4b0d1e
mov esi, dword [edi + 0x14]
mov dword [edx + 0x14], esi
jmp 0x4b0d24
mov edx, dword [edi + 0x14]
mov dword [ecx + 0x24], edx
mov edx, dword [edi + 0x14]
test edx, edx
je 0x4b0d33
mov ecx, dword [edi + 0x18]
mov dword [edx + 0x18], ecx
jmp 0x4b0d39
mov edx, dword [edi + 0x18]
mov dword [ecx + 0x28], edx
test eax, eax
je 0x4b0d61
cmp eax, 0xffffffff
je 0x4b0d61
mov ecx, dword [eax + 0x28]
mov dword [edi + 0x18], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4b0d54
mov dword [ecx + 0x14], edi
jmp 0x4b0d57
mov dword [eax + 0x24], edi
mov dword [edi + 0x14], 0
mov dword [eax + 0x28], edi
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x3c]
mov edx, eax
shr edx, 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 + 0x2c]
and eax, 3
mov dword [edi + 0x1c], ebx
mov ebx, dword [ebp + 0x30]
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 + 0x38], 0
mov dword [edi + 0x9c], ecx
je 0x4b0e53
mov bl, byte [ebp - 6]
test bl, bl
je 0x4b0dc9
xor eax, eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0xa4], 0x7fffffff
jmp 0x4b0e1c
mov esi, dword [ebp + 0x40]
mov ecx, esi
shr ecx, 2
add ecx, edx
cmp byte [ebp + 0xf], 0
mov dword [edi + 0xa4], ecx
mov dword [edi + 0x28], ecx
jne 0x4b0dfa
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
test byte [edx + 0xb2], 0x20
je 0x4b0dfa
sub ecx, dword [ebp - 0x70]
mov dword [edi + 0xa0], ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, 4
je 0x4b0e11
lea eax, [eax + ecx*4]
mov ecx, dword [eax*4 + 0x4306c8]
mov dword [edi + 0x2c], ecx
jmp 0x4b0e1c
mov edx, dword [ebp + 0x10]
add edx, esi
and edx, 3
mov dword [edi + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x38], eax
test bl, bl
jne 0x4b0e53
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [ebp - 7]
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp + 0x38]
push edx
movzx edx, byte [ebp + 0xf]
push eax
push ecx
push edx
call fcn.004ae9a0
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x4b10b3
mov eax, dword [ebp + 0x1c]
mov ecx, eax
and ecx, 0x1000000
xor edx, edx
or ecx, edx
je 0x4b0e71
mov ecx, dword [edi + 0xc]
or dword [edi + 8], 0x40000000
mov dword [edi + 0xc], ecx
mov ecx, eax
and ecx, 0x40000
xor edx, edx
or ecx, edx
je 0x4b0e8c
mov edx, dword [edi + 0xc]
or dword [edi + 8], 0x8000000
mov dword [edi + 0xc], edx
mov ecx, eax
and ecx, 0x100000
xor edx, edx
or ecx, edx
je 0x4b0ea7
mov ecx, dword [edi + 0xc]
or dword [edi + 8], 0x10000000
mov dword [edi + 0xc], ecx
and eax, 0x80000
xor ecx, ecx
or eax, ecx
je 0x4b0ebf
mov edx, dword [edi + 0xc]
or dword [edi + 8], 0x20000000
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x78], eax
mov eax, ecx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x4b0fa2
mov eax, ecx
and eax, 0x100
or eax, edx
jne 0x4b0fa2
mov edx, dword [ebp + 8]
test dword [edx + 0x14], 0x2000
je 0x4b0f1e
and ecx, 0x20
or ecx, eax
jne 0x4b0f1e
or dword [edi + 8], 0x180
fld qword [0x44f4e0]
mov eax, dword [edi + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
mov dword [edi + 0xc], eax
fld qword [0x44f4e8]
jmp 0x4b0f31
fld qword [0x44f640]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x44f638]
lea ecx, [ebp - 0xbc]
fstp qword [esp]
call fcn.00504d00
fldz
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, ecx
mov dword [ebp - 0x78], edx
and eax, 4
xor edx, edx
or eax, edx
je 0x4b0f5b
fst qword [ebp - 0xbc]
mov eax, ecx
and eax, 8
xor edx, edx
or eax, edx
je 0x4b0f6c
fst qword [ebp - 0xb4]
and ecx, 1
xor eax, eax
or ecx, eax
je 0x4b0f85
fld1
fstp qword [ebp - 0xb4]
fstp qword [ebp - 0xbc]
jmp 0x4b0f87
fstp st(0)
mov esi, dword [ebp - 0x40]
lea edi, [ebp - 0xbc]
call fcn.005051a0
mov eax, dword [esi + 0xc]
or dword [esi + 8], 0x1000
mov dword [esi + 0xc], eax
cmp byte [ebp - 5], 0
mov ebx, dword [ebp + 8]
je 0x4b1002
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
push edi
push esi
mov edx, ebx
call fcn.004a27d0
push edi
push esi
mov dword [ebp - 0x5c], eax
call fcn.004a2880
push 0
push 0
and edi, 0x70001ff
push edi
and esi, 0x80000000
push esi
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
push 0x30100001
push eax
mov ecx, ebx
call fcn.004b14c0
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x4b10b3
jmp 0x4b1005
mov esi, dword [ebp - 0x3c]
cmp byte [ebp - 9], 0
je 0x4b1021
mov ecx, dword [ebx + 0x84]
mov edx, dword [ecx + 0x10]
mov eax, dword [esi]
mov dword [edx + 0x60], eax
mov ecx, dword [ebx + 0x84]
mov dword [esi], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add dword [ebp - 0x34], edx
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp + 0x18]
jb 0x4b0c84
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x64]
add dword [ebp - 0x1c], ecx
add dword [ebp - 0x20], esi
add dword [ebp - 0x10], edx
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp + 0x14]
jb 0x4b0c70
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp - 0x48]
cmp dword [ecx + 0x1c], eax
ja 0x4b106b
inc eax
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 8]
and eax, 0x40
xor esi, esi
or eax, esi
je 0x4b107d
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp + 0x2c]
add ecx, ecx
add ecx, ecx
add dword [eax], ecx
cmp byte [ebp - 6], 0
jne 0x4b10a7
test edx, edx
je 0x4b10a7
mov eax, dword [ebp - 0x38]
inc eax
cmp eax, dword [edx + 0x10]
jbe 0x4b109f
mov dword [edx + 0x10], eax
cmp eax, dword [edx + 0x18]
jbe 0x4b10a7
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4b10b3
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c