Function at 0x46c800
Capabilities:
Inspect section memory permissions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46cf32
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rdx, qword [0x00560d78]
mov rcx, qword [rdx]
xor eax, eax
call rcx
mov dword [rsp + 0x24], eax
call fcn.0046c080
mov ecx, dword [rsp + 0x24]
cmp ecx, 1
jb 0x46cf26
mov qword [rsp + 0x28], rax
mov rdx, qword [0x00560d78]
mov rcx, qword [rdx]
mov eax, 1
call rcx
mov dword [rsp + 0x20], ecx
bt edi, 0xf
setb bl
movzx ebx, bl
mov rsi, rbx
or rbx, 0x10
test edi, 0x800000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x20
test edi, 0x2000000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x40
test edi, 0x2000000
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 7
test edi, 0x4000000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 8
test ecx, 1
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0x3b
test ecx, 0x20
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 9
test ecx, 0x200
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0xa
test ecx, 0x80000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 0xc
test ecx, 0x100000
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0x18
test ecx, 0x2000000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 0x19
test ecx, 2
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0x17
test ecx, 0x800000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 0x1d
test ecx, 0x40000000
cmovne rsi, rbx
mov rbx, rsi
bts rsi, 0x12
test ecx, 0x20000000
cmovne rbx, rsi
mov rsi, rbx
bts rbx, 0x36
test ecx, 0x2000
cmovne rsi, rbx
mov rbx, qword [rsp + 0x28]
cmp rbx, 1
jne 0x46c9c9
bt edi, 0x1c
jae 0x46c9c2
mov r8d, dword [rsp + 0x24]
cmp r8d, 4
jb 0x46c9ce
mov dword [rsp + 0x1c], edi
mov qword [rsp + 0x30], rsi
call fcn.0046bce0
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
bts rsi, 0x1a
cmp rax, 1
cmovg rcx, rsi
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0x1c]
mov r8d, dword [rsp + 0x24]
mov rsi, rcx
mov ecx, dword [rsp + 0x20]
nop
jmp 0x46c9ce
mov r8d, dword [rsp + 0x24]
jmp 0x46c9ce
mov r8d, dword [rsp + 0x24]
cmp rbx, 2
jne 0x46ca16
bt edi, 0x1c
jae 0x46ca16
nop word [rax + rax]
cmp r8d, 4
jb 0x46ca16
mov qword [rsp + 0x58], rsi
call fcn.0046bce0
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
bts rsi, 0x1a
cmp rax, 1
cmovg rcx, rsi
mov rbx, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x24]
mov rsi, rcx
mov ecx, dword [rsp + 0x20]
bt ecx, 0x1a
jae 0x46ca80
bt ecx, 0x1b
jae 0x46ca80
bt ecx, 0x1c
jae 0x46ca80
mov qword [rsp + 0x50], rsi
mov rdx, qword [0x00560da8]
mov rcx, qword [rdx]
xor eax, eax
call rcx
and eax, 6
nop
cmp eax, 6
jne 0x46ca69
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
bts rsi, 0xd
or rcx, 0xa000
mov edi, dword [rsp + 0x20]
test edi, 0x1000
cmovne rsi, rcx
jmp 0x46ca72
mov edi, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov ecx, edi
mov rbx, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x24]
nop
cmp r8d, 7
jb 0x46cd89
mov qword [rsp + 0x48], rsi
mov rdx, qword [0x00560d80]
mov rcx, qword [rdx]
mov eax, 7
xor ebx, ebx
call rcx
mov dword [rsp + 0x14], ebx
mov dword [rsp + 0x10], ecx
mov dword [rsp + 0xc], edi
mov rdx, qword [0x00560d80]
mov rsi, qword [rdx]
mov eax, 7
mov ebx, 1
call rsi
mov rcx, qword [rsp + 0x48]
bt ecx, 0xd
jae 0x46cae2
mov ebx, dword [rsp + 0x14]
bt ebx, 5
jae 0x46cae6
bts rcx, 0xe
nop
jmp 0x46cae6
mov ebx, dword [rsp + 0x14]
bt ebx, 3
jae 0x46cb05
mov rsi, rcx
bts rcx, 0x13
or rsi, 0x180000
test ebx, 0x100
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x37
test ebx, 4
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x1b
test ebx, 0x10
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x34
test ebx, 0x200
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x1c
test ebx, 0x800
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x33
test ebx, 0x4000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x1e
test ebx, 0x40000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x1f
test ebx, 0x80000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x20
test ebx, 0x20000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x39
mov edi, dword [rsp + 0xc]
test edi, 0x4000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x38
mov r8d, dword [rsp + 0x10]
test r8d, 0x40000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x3a
test edi, 0x8000000
cmovne rsi, rcx
mov ecx, dword [rsp + 0x20]
and ecx, 0xc000000
nop
cmp ecx, 0xc000000
jne 0x46cd89
mov dword [rsp + 0x18], eax
mov qword [rsp + 0x40], rsi
mov rdx, qword [0x00560da8]
mov rcx, qword [rdx]
xor eax, eax
call rcx
mov ecx, eax
shr eax, 5
and eax, 7
cmp eax, 7
jne 0x46cd84
shr ecx, 1
and ecx, 3
nop dword [rax]
cmp ecx, 3
jne 0x46cd84
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
bts rsi, 0x21
mov ebx, dword [rsp + 0x14]
test ebx, 0x10000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x22
test ebx, 0x20000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x23
test ebx, 0x200000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x24
test ebx, 0x4000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x25
test ebx, 0x8000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x26
test ebx, 0x10000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x27
test ebx, 0x40000000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x28
test ebx, 0x80000000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x29
mov ebx, dword [rsp + 0x10]
test ebx, 2
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x2a
test ebx, 0x40
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x2d
test ebx, 0x100
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x2e
test ebx, 0x200
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x30
test ebx, 0x400
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x2b
test ebx, 0x800
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x2f
test ebx, 0x1000
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x2c
test ebx, 0x4000
cmovne rsi, rcx
mov rcx, rsi
bts rsi, 0x32
mov ebx, dword [rsp + 0xc]
test ebx, 0x100
cmovne rcx, rsi
mov rsi, rcx
bts rcx, 0x31
mov ebx, dword [rsp + 0x18]
test ebx, 0x20
cmovne rsi, rcx
jmp 0x46cd89
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov rdx, qword [0x00560d78]
mov rcx, qword [rdx]
mov eax, 0x80000000
call rcx
nop
cmp eax, 0x80000001
jae 0x46cdb1
mov r8, qword [rsp + 0x30]
jmp 0x46cf19
mov rdx, qword [0x00560d78]
mov rcx, qword [rdx]
mov eax, 0x80000001
call rcx
mov rbx, qword [rsp + 0x30]
mov rsi, rbx
or rbx, 0xc00000
test ecx, 0x20
cmovne rsi, rbx
mov rbx, rsi
or rsi, 4
test edi, 0x80000000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 8
test edi, 0x40000000
cmovne rsi, rbx
mov rbx, rsi
or rsi, 0x10
test edi, 0x800000
cmovne rbx, rsi
mov rsi, rbx
or rbx, 0x20
test edi, 0x400000
cmovne rsi, rbx
mov ebx, ecx
and ecx, 0x40
mov r8, rsi
bts rsi, 0xb
test ecx, ecx
cmovne r8, rsi
mov rsi, r8
or r8, 2
test edi, 0x100000
cmovne rsi, r8
mov r8, rsi
bts rsi, 0x35
test edi, 0x8000000
cmovne r8, rsi
mov rsi, qword [rsp + 0x28]
nop word [rax + rax]
cmp rsi, 1
je 0x46ce76
bt r8d, 7
jae 0x46ce76
test ecx, ecx
jne 0x46ce76
bts r8, 0x3c
bt r8d, 0xd
jae 0x46cea7
mov rcx, r8
bts r8, 0x11
test ebx, 0x800
cmovne rcx, r8
mov r8, rcx
bts rcx, 0x10
test ebx, 0x10000
cmovne r8, rcx
cmp rsi, 1
jmp 0x46ceab
cmp rsi, 1
jne 0x46cf19
mov qword [rsp + 0x38], r8
call fcn.0046bf00
cmp rax, 6
jne 0x46cf07
nop dword [rax]
cmp rbx, 9
je 0x46ced2
cmp rbx, 0xd
je 0x46ced2
cmp rbx, 0xe
jne 0x46cf03
mov r8, qword [rsp + 0x38]
mov rcx, r8
bts r8, 0x3c
test rcx, 0x80
cmovne rcx, r8
mov r8, rcx
bts rcx, 0x3d
test r8, 0x100
cmovne r8, rcx
cmp rax, 6
jmp 0x46cf0c
cmp rax, 6
mov r8, qword [rsp + 0x38]
jne 0x46cf19
cmp rbx, 0x1c
jne 0x46cf19
bts r8, 0x3e
mov rax, r8
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
xor eax, eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
call fcn.0045ba40
jmp fcn.0046c800