Function at 0x5e8060
Capabilities:
Inspect section memory permissions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x5e86e3
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
nop
mov rdx, qword [0x0086b2f8]
mov dword [rsp], 0
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
call fcn.005e7b50
mov rax, qword [rsp]
cmp rax, 1
mov ecx, dword [rsp + 0x18]
cmp ecx, 1
jb 0x5e86d0
mov qword [rsp + 0x50], rax
mov rdx, qword [0x0086b2f8]
mov dword [rsp], 1
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x14]
bt eax, 0xf
setb cl
movzx ecx, cl
mov rbx, rcx
or rcx, 0x10
test eax, 0x800000
cmovne rbx, rcx
mov rcx, rbx
or rbx, 0x20
test eax, 0x2000000
cmovne rcx, rbx
mov rbx, rcx
or rcx, 0x40
test eax, 0x2000000
cmovne rbx, rcx
mov rcx, rbx
bts rbx, 7
test eax, 0x4000000
cmovne rcx, rbx
mov ebx, dword [rsp + 0x10]
mov dword [rsp + 0x28], ebx
mov rsi, rcx
bts rcx, 8
test ebx, 1
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x31
test ebx, 0x20
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 9
test ebx, 0x200
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0xa
test ebx, 0x80000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0xc
test ebx, 0x100000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x18
test ebx, 0x2000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x19
test ebx, 2
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x17
test ebx, 0x800000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x1d
test ebx, 0x40000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x12
test ebx, 0x20000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x2d
test ebx, 0x2000
cmovne rsi, rcx
mov rcx, qword [rsp + 0x50]
cmp rcx, 1
jne 0x5e86c7
bt eax, 0x1c
jae 0x5e86be
mov eax, dword [rsp + 0x18]
cmp eax, 4
jae 0x5e868e
bt ebx, 0x1a
jae 0x5e822f
bt ebx, 0x1b
jae 0x5e822f
bt ebx, 0x1c
jb 0x5e8631
cmp eax, 7
jae 0x5e8415
mov qword [rsp + 0x30], rsi
nop
mov rdx, qword [0x0086b2f8]
mov dword [rsp], 0x80000000
mov rax, qword [rdx]
call rax
cmp dword [rsp + 8], 0x80000001
jae 0x5e826f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rdx, qword [0x0086b2f8]
mov dword [rsp], 0x80000001
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x2c], eax
mov ecx, dword [rsp + 0x14]
mov dword [rsp + 0x24], ecx
call fcn.005e7b50
mov rax, qword [rsp + 0x30]
mov rcx, rax
or rax, 0xc00000
mov ebx, dword [rsp + 0x2c]
test ebx, 0x20
cmovne rcx, rax
mov rax, rcx
or rcx, 4
mov esi, dword [rsp + 0x24]
test esi, 0x80000000
cmovne rax, rcx
mov rcx, rax
or rax, 8
test esi, 0x40000000
cmovne rcx, rax
mov rax, rcx
or rcx, 0x10
test esi, 0x800000
cmovne rax, rcx
mov rcx, rax
or rax, 0x20
test esi, 0x400000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0xb
test ebx, 0x40
cmovne rax, rcx
mov rcx, rax
or rax, 2
test esi, 0x100000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x2c
test esi, 0x8000000
cmovne rax, rcx
cmp qword [rsp], 1
je 0x5e8348
bt eax, 7
jae 0x5e8348
bt ebx, 6
jb 0x5e8348
bts rax, 0x32
bt eax, 0xd
jae 0x5e8372
mov rcx, rax
bts rax, 0x11
test ebx, 0x800
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x10
test ebx, 0x10000
cmovne rax, rcx
mov qword [rsp + 0x30], rax
call fcn.005e7b50
cmp qword [rsp], 1
je 0x5e838d
mov rax, qword [rsp + 0x30]
jmp 0x5e8260
call fcn.005e7990
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
cmp rcx, 6
jne 0x5e83f8
cmp rax, 9
jne 0x5e83ff
mov edx, 1
test dl, dl
je 0x5e83f4
mov rdx, qword [rsp + 0x30]
mov rbx, rdx
bts rdx, 0x32
test rbx, 0x80
cmovne rbx, rdx
mov rdx, rbx
bts rbx, 0x33
test rdx, 0x100
cmovne rdx, rbx
cmp rcx, 6
jne 0x5e83ec
cmp rax, 0x1c
jne 0x5e83ec
bts rdx, 0x34
mov rax, rdx
jmp 0x5e8260
cmp rcx, 6
mov rdx, qword [rsp + 0x30]
jmp 0x5e83df
cmp rax, 0xd
jne 0x5e840c
mov edx, 1
jmp 0x5e83ac
cmp rax, 0xe
sete dl
jmp 0x5e83ac
mov qword [rsp + 0x30], rsi
mov rdx, qword [0x0086b300]
mov qword [rsp], 7
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 0x10]
mov ebx, dword [rsp + 0x14]
mov rsi, qword [rsp + 0x30]
bt esi, 0xd
jae 0x5e8450
bt eax, 5
jae 0x5e8450
bts rsi, 0xe
bt eax, 3
jae 0x5e846e
mov rdi, rsi
bts rsi, 0x13
or rdi, 0x180000
test eax, 0x100
cmovne rsi, rdi
mov rdi, rsi
bts rsi, 0x2e
test eax, 4
cmovne rdi, rsi
mov rsi, rdi
bts rdi, 0x1b
test eax, 0x10
cmovne rsi, rdi
mov rdi, rsi
bts rsi, 0x2b
test eax, 0x200
cmovne rdi, rsi
mov rsi, rdi
bts rdi, 0x1c
test eax, 0x800
cmovne rsi, rdi
mov rdi, rsi
bts rsi, 0x2a
test eax, 0x4000
cmovne rdi, rsi
mov rsi, rdi
bts rdi, 0x1e
test eax, 0x40000
cmovne rsi, rdi
mov rdi, rsi
bts rsi, 0x1f
test eax, 0x80000
cmovne rdi, rsi
mov rsi, rdi
bts rdi, 0x20
test eax, 0x20000000
cmovne rsi, rdi
mov rdi, rsi
bts rsi, 0x2f
test ebx, 0x4000000
cmovne rdi, rsi
mov rsi, rdi
bts rdi, 0x30
test ebx, 0x8000000
cmovne rsi, rdi
mov ebx, dword [rsp + 0x28]
and ebx, 0xc000000
cmp ebx, 0xc000000
jne 0x5e8238
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x1c], ecx
mov qword [rsp + 0x48], rsi
mov rdx, qword [0x0086b320]
mov dword [rsp], 0
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 8]
mov ecx, eax
shr eax, 5
and eax, 7
cmp eax, 7
jne 0x5e862a
shr ecx, 1
and ecx, 3
cmp ecx, 3
jne 0x5e862a
mov rax, qword [rsp + 0x48]
mov rcx, rax
bts rax, 0x21
mov ebx, dword [rsp + 0x20]
test ebx, 0x10000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x22
test ebx, 0x20000
cmovne rax, rcx
mov rcx, rax
bts rax, 0x23
test ebx, 0x200000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x24
test ebx, 0x4000000
cmovne rax, rcx
mov rcx, rax
bts rax, 0x25
test ebx, 0x8000000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x26
test ebx, 0x10000000
cmovne rax, rcx
mov rcx, rax
bts rax, 0x27
test ebx, 0x40000000
cmovne rcx, rax
mov rax, rcx
bts rcx, 0x28
test ebx, 0x80000000
cmovne rax, rcx
mov rcx, rax
bts rax, 0x29
mov ebx, dword [rsp + 0x1c]
test ebx, 2
cmovne rcx, rax
mov rsi, rcx
jmp 0x5e8238
mov rcx, qword [rsp + 0x48]
jmp 0x5e8622
mov qword [rsp + 0x40], rsi
mov rdx, qword [0x0086b320]
mov dword [rsp], 0
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 8]
and eax, 6
cmp eax, 6
jne 0x5e8683
mov rax, qword [rsp + 0x40]
mov rcx, rax
bts rax, 0xd
or rcx, 0xa000
mov ebx, dword [rsp + 0x28]
test ebx, 0x1000
cmovne rax, rcx
mov rsi, rax
mov eax, dword [rsp + 0x18]
jmp 0x5e822f
mov ebx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
jmp 0x5e8677
mov qword [rsp + 0x38], rsi
call fcn.005e76f0
mov rsi, qword [rsp + 0x38]
mov rax, rsi
bts rsi, 0x1a
cmp qword [rsp], 1
cmovg rax, rsi
mov ebx, dword [rsp + 0x28]
mov rsi, rax
mov eax, dword [rsp + 0x18]
jmp 0x5e8219
mov eax, dword [rsp + 0x18]
jmp 0x5e8219
mov eax, dword [rsp + 0x18]
jmp 0x5e8219
mov qword [rsp + 0x68], 0
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.004555d0
jmp fcn.005e8060