Function at 0x49aea0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49b5fc
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x00781370]
mov rcx, qword [rdx]
nop
xor eax, eax
nop
call rcx
mov dword [rsp + 0x2c], eax
call fcn.0049a800
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x49b5f4
mov qword [rsp + 0x30], rax
mov rdx, qword [0x00781370]
mov rcx, qword [rdx]
mov eax, 1
call rcx
mov dword [rsp + 0x28], ecx
bt edi, 0xf
setb bl
movzx ebx, bl
mov rsi, rbx
or rbx, 0x10
test edi, 0x800000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x20
test edi, 0x2000000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x40
test edi, 0x2000000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x80
test edi, 0x4000000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x100
test ecx, 1
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0x3b
test ecx, 0x20
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x200
test ecx, 0x200
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x400
test ecx, 0x80000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x1000
test ecx, 0x100000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x1000000
test ecx, 0x2000000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x2000000
test ecx, 2
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x800000
test ecx, 0x800000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x20000000
test ecx, 0x40000000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x40000
test ecx, 0x20000000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 0x36
test ecx, 0x2000
cmovne rsi, rbx
mov rbx, qword [rsp + 0x30]
nop
cmp rbx, 1
jne 0x49b077
bt edi, 0x1c
jae 0x49b070
mov r8d, dword [rsp + 0x2c]
cmp r8d, 4
jb 0x49b080
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x38], rsi
call fcn.0049a4a0
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
or rcx, 0x4000000
cmp rax, 1
cmovg rsi, rcx
mov ecx, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov edi, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x2c]
jmp 0x49b080
mov r8d, dword [rsp + 0x2c]
jmp 0x49b080
mov r8d, dword [rsp + 0x2c]
nop dword [rax]
cmp rbx, 2
jne 0x49b0bc
bt edi, 0x1c
jae 0x49b0bc
cmp r8d, 4
jb 0x49b0bc
mov qword [rsp + 0x58], rsi
call fcn.0049a4a0
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
or rcx, 0x4000000
cmp rax, 1
cmovg rsi, rcx
mov ecx, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x2c]
bt ecx, 0x1a
jae 0x49b123
bt ecx, 0x1b
jae 0x49b123
bt ecx, 0x1c
jae 0x49b123
mov qword [rsp + 0x50], rsi
mov rdx, qword [0x00781380]
mov rcx, qword [rdx]
xor eax, eax
nop
call rcx
and eax, 6
cmp eax, 6
jne 0x49b110
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
or rcx, 0x2000
or rsi, 0xa000
mov edi, dword [rsp + 0x28]
test edi, 0x1000
cmovne rcx, rsi
jmp 0x49b119
mov edi, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x2c]
mov rsi, rcx
mov ecx, edi
cmp r8d, 7
jb 0x49b43a
mov qword [rsp + 0x48], rsi
mov rdx, qword [0x00781378]
mov rcx, qword [rdx]
mov eax, 7
xor ebx, ebx
call rcx
mov dword [rsp + 0x14], ebx
mov dword [rsp + 0x10], ecx
mov dword [rsp + 0xc], edi
mov rdx, qword [0x00781378]
mov rsi, qword [rdx]
mov eax, 7
mov ebx, 1
call rsi
mov rcx, qword [rsp + 0x48]
bt ecx, 0xd
jae 0x49b185
mov ebx, dword [rsp + 0x14]
bt ebx, 5
jae 0x49b189
or rcx, 0x4000
jmp 0x49b189
mov ebx, dword [rsp + 0x14]
bt ebx, 3
jae 0x49b1ac
mov rsi, rcx
or rsi, 0x80000
or rcx, 0x180000
test ebx, 0x100
cmovne rsi, rcx
jmp 0x49b1af
mov rsi, rcx
mov rcx, rsi
bts rsi, 0x37
mov edi, dword [rsp + 0x28]
and edi, 0xc000000
test ebx, 4
cmovne rcx, rsi
mov rsi, rcx
or rcx, 0x8000000
test ebx, 0x10
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x34
test ebx, 0x200
cmovne rcx, rsi
mov rsi, rcx
or rcx, 0x10000000
test ebx, 0x800
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x33
test ebx, 0x4000
cmovne rcx, rsi
mov rsi, rcx
or rcx, 0x40000000
test ebx, 0x40000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x1f
test ebx, 0x80000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x20
test ebx, 0x20000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x39
mov r8d, dword [rsp + 0xc]
test r8d, 0x4000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x38
mov r9d, dword [rsp + 0x10]
test r9d, 0x40000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x3a
test r8d, 0x8000000
cmovne rcx, rsi
cmp edi, 0xc000000
jne 0x49b437
mov dword [rsp + 0x18], eax
mov qword [rsp + 0x40], rcx
mov rdx, qword [0x00781380]
mov rcx, qword [rdx]
xor eax, eax
call rcx
mov ecx, eax
shr eax, 5
and eax, 7
nop dword [rax]
cmp eax, 7
jne 0x49b432
shr ecx, 1
and ecx, 3
cmp ecx, 3
jne 0x49b432
mov rcx, qword [rsp + 0x40]
mov rbx, rcx
bts rbx, 0x21
mov esi, dword [rsp + 0x14]
test esi, 0x10000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x22
test esi, 0x20000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x23
test esi, 0x200000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x24
test esi, 0x4000000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x25
test esi, 0x8000000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x26
test esi, 0x10000000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x27
test esi, 0x40000000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x28
test esi, 0x80000000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x29
mov esi, dword [rsp + 0x10]
test esi, 2
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2a
test esi, 0x40
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2d
test esi, 0x100
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2e
test esi, 0x200
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x30
test esi, 0x400
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2b
test esi, 0x800
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2f
test esi, 0x1000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x2c
test esi, 0x4000
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x32
mov esi, dword [rsp + 0xc]
test esi, 0x100
cmovne rcx, rbx
mov rbx, rcx
bts rbx, 0x31
mov esi, dword [rsp + 0x18]
test esi, 0x20
cmovne rcx, rbx
jmp 0x49b437
mov rcx, qword [rsp + 0x40]
mov rsi, rcx
mov qword [rsp + 0x38], rsi
mov rdx, qword [0x00781370]
mov rcx, qword [rdx]
mov eax, 0x80000000
call rcx
cmp eax, 0x80000001
jae 0x49b465
mov rcx, qword [rsp + 0x38]
nop dword [rax]
jmp 0x49b5eb
mov rdx, qword [0x00781370]
mov rcx, qword [rdx]
mov eax, 0x80000001
call rcx
mov dword [rsp + 0x1c], edi
mov dword [rsp + 0x24], ecx
nop
call fcn.0049a800
mov rcx, qword [rsp + 0x38]
mov rbx, rcx
or rcx, 0xc00000
mov esi, dword [rsp + 0x24]
mov edi, esi
and esi, 0x40
test edi, 0x20
cmovne rbx, rcx
mov rcx, rbx
or rbx, 4
mov r8d, dword [rsp + 0x1c]
test r8d, 0x80000000
cmovne rcx, rbx
mov rbx, rcx
or rcx, 8
test r8d, 0x40000000
cmovne rbx, rcx
mov rcx, rbx
or rbx, 0x10
test r8d, 0x800000
cmovne rcx, rbx
mov rbx, rcx
or rcx, 0x20
test r8d, 0x400000
cmovne rbx, rcx
mov rcx, rbx
or rbx, 0x800
test esi, esi
cmovne rcx, rbx
mov rbx, rcx
or rcx, 2
test r8d, 0x100000
cmovne rbx, rcx
mov rcx, rbx
bts rbx, 0x35
test r8d, 0x8000000
cmovne rcx, rbx
cmp rax, 1
je 0x49b53e
bt ecx, 7
jae 0x49b53e
test esi, esi
jne 0x49b53e
bts rcx, 0x3c
bt ecx, 0xd
jae 0x49b56a
mov rax, rcx
or rax, 0x20000
test edi, 0x800
cmovne rcx, rax
mov rax, rcx
or rax, 0x10000
test edi, 0x10000
cmovne rcx, rax
mov qword [rsp + 0x38], rcx
call fcn.0049a800
cmp rax, 1
je 0x49b582
mov rcx, qword [rsp + 0x38]
nop
jmp 0x49b5eb
call fcn.0049a680
cmp rax, 6
jne 0x49b5d4
cmp rbx, 9
je 0x49b59f
cmp rbx, 0xd
je 0x49b59f
cmp rbx, 0xe
jne 0x49b5d0
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
bts rdx, 0x3c
test rcx, 0x80
cmovne rcx, rdx
mov rdx, rcx
bts rdx, 0x3d
test rcx, 0x100
cmovne rcx, rdx
cmp rax, 6
jmp 0x49b5d9
cmp rax, 6
mov rcx, qword [rsp + 0x38]
jne 0x49b5eb
nop dword [rax + rax]
cmp rbx, 0x1c
jne 0x49b5eb
bts rcx, 0x3e
mov rax, rcx
add rsp, 0x60
pop rbp
ret
xor eax, eax
add rsp, 0x60
pop rbp
ret
nop dword [rax]
call fcn.00465ce0
jmp fcn.0049aea0