Function at 0x1400595d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, rdx
mov word [0x1402ad630], ax
cmp ecx, 0x4000
jg 0x14005991b
je 0x1400598eb
cmp ecx, 0x80
jg 0x14005978b
je 0x14005975b
cmp ecx, 4
jg 0x1400596eb
je 0x1400596bb
cmp ecx, 0x80000000
je 0x14005968b
cmp ecx, 1
je 0x14005965b
cmp ecx, 2
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c810]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059640
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c7d8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059670
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c898]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400596a0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c7f0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400596d0
jmp 0x140059c06
cmp ecx, 0x20
je 0x14005972b
cmp ecx, 0x40
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x15c8c8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059710
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c9e0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059740
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c8d8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059770
jmp 0x140059c06
cmp ecx, 0x800
jg 0x14005987b
je 0x14005984b
cmp ecx, 0x100
je 0x14005981b
cmp ecx, 0x200
je 0x1400597eb
cmp ecx, 0x400
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x15c918]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400597d0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c900]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059800
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c8e8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059830
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c930]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059860
jmp 0x140059c06
cmp ecx, 0x1000
je 0x1400598bb
cmp ecx, 0x2000
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c960]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400598a0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c948]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400598d0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c978]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059900
jmp 0x140059c06
cmp ecx, 0x2000000
jg 0x140059abb
je 0x140059a8b
cmp ecx, 0x80000
jg 0x140059a1b
je 0x1400599eb
cmp ecx, 0x8000
je 0x1400599bb
cmp ecx, 0x20000
je 0x14005998b
cmp ecx, 0x40000
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c9c8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059970
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c870]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400599a0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c990]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1400599d0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c9a8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059a00
jmp 0x140059c06
cmp ecx, 0x800000
je 0x140059a5b
cmp ecx, 0x1000000
jne 0x140059aef
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c780]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059a40
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c8b0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059a70
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c790]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059aa0
jmp 0x140059c06
cmp ecx, 0x4000000
je 0x140059bd8
cmp ecx, 0x8000000
je 0x140059ba8
cmp ecx, 0x10000000
je 0x140059b7b
cmp ecx, 0x20000000
je 0x140059b4b
cmp ecx, 0x40000000
je 0x140059b21
test cl, 0x10
je 0x140059c35
sar ecx, 0xc
lea rbx, [0x1402ad630]
lea r8, str.CustomZone
movzx r9d, cl
lea rdx, [0x140150dc8]
mov rcx, rbx
call fcn.14010d300
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop
movzx ecx, word [rax + rdx + 0x15c858]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059b30
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c840]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059b60
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop dword [rax]
movzx ecx, word [rax + rdx + 0x15c828]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059b90
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x15c7c0]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059bc0
jmp 0x140059c06
lea rdx, [0x140000000]
lea rbx, [0x1402ad630]
nop word [rax + rax]
movzx ecx, word [rax + rdx + 0x15c7a8]
lea rax, [rax + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x140059bf0
lea rax, [rbx - 2]
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140059c10
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 0x140059c20
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret