Function at 0x140046680
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, rdx
mov word [0x14026d490], ax
cmp ecx, 0x4000
jg 0x1400469cb
je 0x14004699b
cmp ecx, 0x80
jg 0x14004683b
je 0x14004680b
cmp ecx, 4
jg 0x14004679b
je 0x14004676b
cmp ecx, 0x80000000
je 0x14004673b
cmp ecx, 1
je 0x14004670b
cmp ecx, 2
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b858]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400466f0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b820]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046720
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b8e0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046750
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b838]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046780
jmp 0x140046cb6
cmp ecx, 0x20
je 0x1400467db
cmp ecx, 0x40
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12b910]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400467c0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12ba28]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400467f0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b920]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046820
jmp 0x140046cb6
cmp ecx, 0x800
jg 0x14004692b
je 0x1400468fb
cmp ecx, 0x100
je 0x1400468cb
cmp ecx, 0x200
je 0x14004689b
cmp ecx, 0x400
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12b960]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046880
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b948]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400468b0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b930]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400468e0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b978]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046910
jmp 0x140046cb6
cmp ecx, 0x1000
je 0x14004696b
cmp ecx, 0x2000
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b9a8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046950
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b990]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046980
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b9c0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400469b0
jmp 0x140046cb6
cmp ecx, 0x2000000
jg 0x140046b6b
je 0x140046b3b
cmp ecx, 0x80000
jg 0x140046acb
je 0x140046a9b
cmp ecx, 0x8000
je 0x140046a6b
cmp ecx, 0x20000
je 0x140046a3b
cmp ecx, 0x40000
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12ba10]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046a20
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b8b8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046a50
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b9d8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046a80
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b9f0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046ab0
jmp 0x140046cb6
cmp ecx, 0x800000
je 0x140046b0b
cmp ecx, 0x1000000
jne 0x140046b9f
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b778]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046af0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b8f8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046b20
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b788]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046b50
jmp 0x140046cb6
cmp ecx, 0x4000000
je 0x140046c88
cmp ecx, 0x8000000
je 0x140046c58
cmp ecx, 0x10000000
je 0x140046c2b
cmp ecx, 0x20000000
je 0x140046bfb
cmp ecx, 0x40000000
je 0x140046bd1
test cl, 0x10
je 0x140046ce5
sar ecx, 0xc
lea rbx, [0x14026d490]
lea r8, str.CustomZone
movzx r9d, cl
lea rdx, str._s_d
mov rcx, rbx
call fcn.1400e5d9c
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop
movzx ecx, word [rax + rdx + 0x12b8a0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046be0
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b888]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046c10
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12b870]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046c40
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12b808]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046c70
jmp 0x140046cb6
lea rdx, [0x140000000]
lea rbx, [0x14026d490]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12b7c8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046ca0
lea rax, [rbx - 2]
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140046cc0
xor edx, edx
nop dword [rax]
movzx ecx, word [rdi + rdx*2]
lea rdx, [rdx + 1]
mov word [rax + rdx*2 - 2], cx
test cx, cx
jne 0x140046cd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret