Function at 0x140045f70
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, rdx
mov word [0x140270530], ax
cmp ecx, 0x4000
jg 0x1400462bb
je 0x14004628b
cmp ecx, 0x80
jg 0x14004612b
je 0x1400460fb
cmp ecx, 4
jg 0x14004608b
je 0x14004605b
cmp ecx, 0x80000000
je 0x14004602b
cmp ecx, 1
je 0x140045ffb
cmp ecx, 2
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dd40]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140045fe0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dd08]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046010
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12ddc8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046040
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dd20]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046070
jmp 0x1400465a6
cmp ecx, 0x20
je 0x1400460cb
cmp ecx, 0x40
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12de20]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400460b0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12daa0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400460e0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12de58]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046110
jmp 0x1400465a6
cmp ecx, 0x800
jg 0x14004621b
je 0x1400461eb
cmp ecx, 0x100
je 0x1400461bb
cmp ecx, 0x200
je 0x14004618b
cmp ecx, 0x400
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12de98]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046170
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12de80]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400461a0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12de68]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400461d0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12deb0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046200
jmp 0x1400465a6
cmp ecx, 0x1000
je 0x14004625b
cmp ecx, 0x2000
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dee0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046240
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dec8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046270
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12def8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400462a0
jmp 0x1400465a6
cmp ecx, 0x2000000
jg 0x14004645b
je 0x14004642b
cmp ecx, 0x80000
jg 0x1400463bb
je 0x14004638b
cmp ecx, 0x8000
je 0x14004635b
cmp ecx, 0x20000
je 0x14004632b
cmp ecx, 0x40000
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12da88]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046310
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dda0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046340
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12df10]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046370
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12da68]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400463a0
jmp 0x1400465a6
cmp ecx, 0x800000
je 0x1400463fb
cmp ecx, 0x1000000
jne 0x14004648f
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dcb0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400463e0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dde0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046410
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dcc0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046440
jmp 0x1400465a6
cmp ecx, 0x4000000
je 0x140046578
cmp ecx, 0x8000000
je 0x140046548
cmp ecx, 0x10000000
je 0x14004651b
cmp ecx, 0x20000000
je 0x1400464eb
cmp ecx, 0x40000000
je 0x1400464c1
test cl, 0x10
je 0x1400465d5
sar ecx, 0xc
lea rbx, [0x140270530]
lea r8, str.CustomZone
movzx r9d, cl
lea rdx, str._s_d
mov rcx, rbx
call fcn.1400e7a5c
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop
movzx ecx, word [rax + rdx + 0x12dd88]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400464d0
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dd70]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046500
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x12dd58]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046530
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12dcf0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046560
jmp 0x1400465a6
lea rdx, [0x140000000]
lea rbx, [0x140270530]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x12dcd8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140046590
lea rax, [rbx - 2]
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400465b0
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 0x1400465c0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret