Function at 0x180001b20
Capabilities:
Inspect section memory permissions

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
push rbp
sub rsp, 0x38
xor edx, edx
mov r14, rcx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov rax, qword [0x180034580]
xor rax, rsp
mov qword [rcx + 0x10], rax
call fcn.1800024e0
mov edx, 0x80000000
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov r15d, dword [rcx]
call fcn.1800024e0
mov edx, 1
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov r12d, dword [rcx]
call fcn.1800024e0
mov edx, dword [rsp + 0x2c]
mov esi, edx
mov eax, edx
and esi, 0x800000
and eax, 0x2000000
shr rsi, 0x17
shr rax, 0x18
test edx, 0x4000000
mov ebp, dword [rsp + 0x28]
mov r8d, ebp
mov r11d, ebp
mov edx, ebp
mov edi, dword [rsp + 0x20]
lea r9, [rsi + rax]
lea rcx, [rsi + rax + 4]
cmovne r9, rcx
and r8d, 1
test ebp, 0x200
lea rsi, [r9 + r8*8]
mov r8d, ebp
lea r10, [rsi + 0x10]
cmovne rsi, r10
and r11d, 0x400000
and edx, 0x100000
and r8d, 0x18000000
shr r11, 0x11
or rsi, r11
test ebp, 0x80000
lea rax, [rsi + 0x40]
cmovne rsi, rax
shr rdx, 0xd
or rsi, rdx
mov rcx, rsi
or rcx, 0x100
test ebp, 0x10000000
cmovne rsi, rcx
cmp r8d, 0x18000000
jne 0x180001c2a
call fcn.180002520
and eax, 1
shl rax, 9
or rsi, rax
mov rax, rsi
mov edx, ebp
or rax, 0x400
test ebp, 0x2000000
mov r8d, ebp
cmovne rsi, rax
and edx, 2
and r8d, 0x20000000
shl rdx, 0xa
or rsi, rdx
mov rcx, rsi
or rcx, 0x2000
test ebp, 0x40000000
cmovne rsi, rcx
shr r8, 0xf
or rsi, r8
test ebp, 0x1000
je 0x180001c84
mov bpl, 1
cmp r15d, 7
jae 0x180001c91
jmp 0x180001e7c
xor bpl, bpl
cmp r15d, 7
jb 0x180001e7c
mov edx, 7
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.1800024e0
mov r10, rsi
mov r15d, dword [rsp + 0x24]
mov r11d, r15d
or r10, 0x10000
test r15d, 0x80000
mov r9d, dword [rsp + 0x28]
mov ecx, r9d
cmovne rsi, r10
and r11d, 0x40000
mov r10d, r15d
shr r11, 1
and r10d, 0x10000
or rsi, r11
mov r11d, r15d
mov rdx, rsi
and r11d, 0x8000000
or rdx, 0x80000
test r15d, 0x20000000
mov r8d, dword [rsp + 0x2c]
cmovne rsi, rdx
mov edx, r9d
and edx, 0x200
mov rax, rdx
shl rax, 0x1d
or rax, rsi
movabs rsi, 0x8000000000
or rsi, rax
and ecx, 0x400
cmovne rax, rsi
shl r10, 4
or rax, r10
mov r10d, r15d
mov rsi, rax
and r10d, 0x20000
or rsi, 0x800000
test r15d, 0x4000000
cmovne rax, rsi
shr r11, 5
or rax, r11
mov r11d, r15d
mov rsi, rax
and r11d, 0x80000000
or rsi, 0x200000
test r15d, 0x10000000
cmovne rax, rsi
shl r10, 8
or rax, r10
mov r10d, r15d
mov rsi, rax
and r10d, 0x200000
or rsi, 0x1000000
test r15d, 0x40000000
cmovne rax, rsi
shr r11, 5
or rax, r11
mov rsi, rax
or rsi, 0x8000000
test r9d, 2
cmovne rax, rsi
mov esi, r9d
and esi, 0x40
shl r10, 0xb
shl rsi, 0x1f
or rsi, rax
mov rax, rsi
or rax, 0x40000000
test r8d, 4
cmovne rsi, rax
and r8d, 8
shl rdx, 0x1a
shl r8, 0x1a
or rsi, r8
mov rax, rsi
or rax, 0x10000000
test r15d, 0x4000
cmovne rsi, rax
or r10, rsi
movabs rsi, 0x400000000
or rsi, r10
test r9d, 0x100
cmovne r10, rsi
movabs rsi, 0x1000000000
or rdx, r10
or rsi, rdx
test ecx, ecx
cmove rsi, rdx
test rsi, 0x100000
je 0x180001e57
call fcn.180002560
xor edx, edx
test eax, eax
movabs rax, 0x200000000
cmovne rdx, rax
or rsi, rdx
test bpl, bpl
je 0x180001e7c
test r15d, 0x20
je 0x180001e7c
and r15d, 0x108
cmp r15d, 0x108
jne 0x180001e7c
or rsi, 0x8000
cmp r12d, 0x80000001
jb 0x180001ead
mov edx, 0x80000001
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.1800024e0
mov rax, rsi
or rax, 0x40000
test dword [rsp + 0x28], 0x100
je 0x180001ead
mov rsi, rax
movabs rax, 0x80000000
and edi, 0xff0
or rax, rsi
cmp edi, 0xb10
cmove rsi, rax
mov qword [0x180038038], rsi
mov qword [0x180038030], rsi
mov qword [r14], rsi
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], 0
xor rcx, rsp
cmp rcx, qword [0x180034580]
jne 0x180001f08
mov eax, 1
add rsp, 0x38
pop rbp
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.18002a170
nop
nop dword [rax + rax]
nop dword [rax]
nop dword [rax]