Function at 0x140056050
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, rdx
mov word [0x1402dc5b0], ax
cmp ecx, 0x4000
jg 0x14005639b
je 0x14005636b
cmp ecx, 0x80
jg 0x14005620b
je 0x1400561db
cmp ecx, 4
jg 0x14005616b
je 0x14005613b
cmp ecx, 0x80000000
je 0x14005610b
cmp ecx, 1
je 0x1400560db
cmp ecx, 2
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1778c8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400560c0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177890]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400560f0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177950]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056120
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1778a8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056150
jmp 0x140056686
cmp ecx, 0x20
je 0x1400561ab
cmp ecx, 0x40
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x177980]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056190
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a98]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400561c0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177990]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400561f0
jmp 0x140056686
cmp ecx, 0x800
jg 0x1400562fb
je 0x1400562cb
cmp ecx, 0x100
je 0x14005629b
cmp ecx, 0x200
je 0x14005626b
cmp ecx, 0x400
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x1779d0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056250
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1779b8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056280
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1779a0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400562b0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1779e8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400562e0
jmp 0x140056686
cmp ecx, 0x1000
je 0x14005633b
cmp ecx, 0x2000
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a18]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056320
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a00]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056350
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a30]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056380
jmp 0x140056686
cmp ecx, 0x2000000
jg 0x14005653b
je 0x14005650b
cmp ecx, 0x80000
jg 0x14005649b
je 0x14005646b
cmp ecx, 0x8000
je 0x14005643b
cmp ecx, 0x20000
je 0x14005640b
cmp ecx, 0x40000
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a80]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400563f0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177928]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056420
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a48]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056450
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177a60]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056480
jmp 0x140056686
cmp ecx, 0x800000
je 0x1400564db
cmp ecx, 0x1000000
jne 0x14005656f
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177838]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400564c0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177968]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400564f0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x177848]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056520
jmp 0x140056686
cmp ecx, 0x4000000
je 0x140056658
cmp ecx, 0x8000000
je 0x140056628
cmp ecx, 0x10000000
je 0x1400565fb
cmp ecx, 0x20000000
je 0x1400565cb
cmp ecx, 0x40000000
je 0x1400565a1
test cl, 0x10
je 0x1400566b5
sar ecx, 0xc
lea rbx, [0x1402dc5b0]
lea r8, str.CustomZone
movzx r9d, cl
lea rdx, str._s_d
mov rcx, rbx
call fcn.14012161c
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop
movzx ecx, word [rax + rdx + 0x177910]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400565b0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1778f8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400565e0
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x1778e0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056610
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x177878]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056640
jmp 0x140056686
lea rdx, [0x140000000]
lea rbx, [0x1402dc5b0]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x177860]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140056670
lea rax, [rbx - 2]
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140056690
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 0x1400566a0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret