Function at 0x4b2920
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x5419c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00512f21
mov esi, dword [esp + 0x58]
xor edi, edi
cmp esi, 4
mov dword [esp + 0x48], edi
je 0x4b295f
cmp esi, 6
mov dword [esp + 8], edi
jne 0x4b2967
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x50]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
add eax, 5
push eax
push ecx
push edx
call fcn.004b26f0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp byte [eax], 0
je 0x4b29ca
push edi
push edi
push edi
push edi
push edi
push eax
call fcn.004dd360
add esp, 0x18
test eax, eax
jne 0x4b29ca
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.00512f54
pop edi
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10
cmp esi, 2
jne 0x4b29d9
mov dword [esp + 0xc], 0x10000000
jmp 0x4b2a0f
cmp esi, 3
je 0x4b2a07
cmp esi, 4
je 0x4b2a07
cmp esi, 5
jne 0x4b29f2
mov dword [esp + 0xc], 0x30000000
jmp 0x4b2a0f
xor ecx, ecx
cmp esi, 6
setne cl
dec ecx
and ecx, 0x40000000
mov dword [esp + 0xc], ecx
jmp 0x4b2a0f
mov dword [esp + 0xc], 0x20000000
mov edx, dword [esp + 0x1c]
push ebx
push ebp
mov dword [esp + 0x58], edi
mov ebx, dword [edx + 8]
cmp byte [ebx], 0x20
jne 0x4b2a29
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x4b2a21
cmp byte [ebx], 0
je 0x4b2b0a
xor ebp, ebp
mov esi, 0x59ed18
mov eax, dword [esi]
push eax
push ebx
call fcn.004b2690
add esp, 8
test eax, eax
jne 0x4b2a5b
add esi, 8
inc ebp
cmp esi, 0x59ed48
jge 0x4b2b0a
jmp 0x4b2a39
mov edi, dword [ebp*8 + 0x59ed18]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [ebp*8 + 0x59ed1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 1]
add ebx, ecx
cmp eax, 5
ja case.default.0x4b2a7d
jmp dword [eax*4 + 0x4b2c1c]
cmp dword [esp + 0x60], 3
jne case.default.0x4b2a7d
mov eax, dword [esp + 0x58]
or al, 1
mov dword [esp + 0x58], eax
jmp case.default.0x4b2a7d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b2aab
mov eax, dword [esp + 0x64]
test eax, eax
je case.default.0x4b2a7d
mov eax, dword [esp + 0x58]
or al, 2
mov dword [esp + 0x58], eax
jmp case.default.0x4b2a7d
cmp dword [esp + 0x60], 4
jne case.default.0x4b2a7d
mov eax, dword [esp + 0x58]
or al, 4
mov dword [esp + 0x58], eax
jmp case.default.0x4b2a7d
mov eax, dword [esp + 0x10]
test eax, eax
je case.default.0x4b2a7d
mov eax, dword [esp + 0x58]
or al, 8
mov dword [esp + 0x58], eax
jmp case.default.0x4b2a7d
cmp dword [esp + 0x60], 1
jne case.default.0x4b2a7d
mov eax, dword [esp + 0x58]
or ah, 1
mov dword [esp + 0x58], eax
jmp case.default.0x4b2a7d
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push 0
push 0
mov eax, dword [ecx + 4]
mov ecx, edi
push eax
call fcn.0044ed70
mov esi, eax
test esi, esi
jne 0x4b2b7a
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x4b2b7a
cmp dword [edi + 0x17c], 0xffffff
jne 0x4b2b4b
mov dword [edi + 0x17c], 0xffff
mov ebp, dword [edi + 0x17c]
lea ecx, [edi + 0x280]
inc ebp
mov dword [edi + 0x17c], ebp
mov eax, dword [eax + 4]
mov esi, ebp
push eax
or esi, 0x41000000
push esi
call fcn.004cce90
mov eax, dword [esp + 0x58]
or al, 0x80
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x34]
call fcn.00470b30
mov edi, dword [esp + 0x10]
mov byte [esp + 0x50], 1
test edi, edi
jne 0x4b2ba7
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push 1
add ecx, 0xc
push eax
push ecx
call fcn.004c7070
add esp, 0xc
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
neg eax
mov edx, dword [esp + 0x24]
sbb eax, eax
and eax, ebx
neg edi
sbb edi, edi
push eax
mov eax, dword [esp + 0x5c]
add edi, 4
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x1c]
push esi
push edx
push ecx
mov ecx, dword [esp + 0x70]
push eax
call fcn.004c52d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
mov dword [esp + 0x34], 0x5477b0
call fcn.00470d30
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 0xffffffff
call fcn.00512f54
mov ecx, dword [esp + 0x48]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10