Function at 0x1400236d0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
movd xmm0, ecx
movd xmm1, r8d
punpckldq xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, 5
pand xmm0, xmmword [0x140051810]
por xmm0, xmm1
pand xmm1, xmmword [0x140051820]
pxor xmm2, xmm2
pcmpeqd xmm1, xmm2
movdqa xmm3, xmm0
pand xmm3, xmm1
pandn xmm1, xmm0
pand xmm3, xmmword [0x140051830]
por xmm3, xmm1
movdqa xmm1, xmmword [0x140051840]
pand xmm1, xmm3
pcmpeqd xmm1, xmm2
movdqa xmm0, xmm3
pand xmm0, xmm1
pandn xmm1, xmm3
pand xmm0, xmmword [0x140051850]
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
pxor xmm1, xmm0
movd edi, xmm1
test edi, edi
je 0x1400238a3
mov r15, rdx
movd ebx, xmm0
test dil, 4
jne 0x1400238b0
test dil, 0x10
jne 0x1400238cd
mov eax, edi
or eax, ebx
test eax, 0x100
jne 0x14002391a
test edi, 0x1000
je 0x1400237ae
xor eax, eax
test ebx, 0x1000
sete al
lea edx, [rax + rax*2]
add edx, 6
mov rcx, r15
call sub.USER32.dll_ShowWindow
mov eax, ebx
and eax, 1
neg eax
and eax, 0x50000
lea esi, [rax + 0xc20000]
mov ebp, ebx
and ebp, 2
cmove esi, eax
lea r14, [0x1400665b8]
mov qword [rsp + 0x40], r14
mov rax, qword [0x1400665b8]
cmp rax, 3
jne 0x1400239b1
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0xc]
mov r8d, 1
mov rcx, r15
xor r9d, r9d
call 0x14004951c
test ebx, 0x1000
jne 0x140023946
mov eax, ebx
and eax, 4
mov ecx, ebx
shl ecx, 0x17
shl eax, 0x1a
and ecx, 0x40000000
or ecx, eax
mov eax, ebx
shl eax, 0x11
mov edx, eax
and edx, 0x80000000
or edx, ecx
mov edi, ebx
shl edi, 0x10
and eax, 0x20000000
or eax, edx
mov ecx, edi
and ecx, 0x1000000
or ecx, eax
lea eax, [rsi + rcx]
add eax, 0x6080000
mov ecx, ebx
and ecx, 8
shl ecx, 0xf
shl ebp, 7
or ebp, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 8
or ecx, ebp
and edi, 0x200000
or edi, ecx
or edi, 0x10
mov r8d, eax
and r8d, 0xff30ffff
and ebx, 0x2200
cmove r8d, eax
mov rcx, r15
mov edx, 0xfffffff0
call sub.USER32.dll_SetWindowLongW
mov rcx, r15
mov edx, 0xffffffec
mov r8d, edi
call sub.USER32.dll_SetWindowLongW
jmp 0x14002394c
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov edx, ebx
shl edx, 0x1d
sar edx, 0x1f
and edx, 5
mov rcx, r15
call sub.USER32.dll_ShowWindow
test dil, 0x10
je 0x14002377e
xor edx, edx
test bl, 0x10
sete dl
not rdx
mov dword [rsp + 0x30], 0x4013
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, r15
xor r8d, r8d
xor r9d, r9d
call sub.USER32.dll_SetWindowPos
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.1400494da
mov eax, edi
or eax, ebx
test eax, 0x100
je 0x14002378d
test ebx, 0x100
mov eax, 9
mov edx, 3
cmove edx, eax
mov rcx, r15
call sub.USER32.dll_ShowWindow
test edi, 0x1000
jne 0x140023795
jmp 0x1400237ae
and ebx, 0x2200
xor eax, eax
test ebx, ebx
sete al
shl eax, 4
or eax, 0x27
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.USER32.dll_SetWindowPos
mov qword [rsp + 0x40], r14
mov rax, qword [0x1400665b8]
cmp rax, 3
jne 0x1400239f0
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0xc]
mov rcx, r15
xor r8d, r8d
xor r9d, r9d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp 0x14004951c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [0x140051098]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400665b8]
lea r9, fcn.140005890
lea r8, [rsp + 0x50]
xor edx, edx
call fcn.14004c0d0
jmp 0x1400237e5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [0x140051098]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400665b8]
lea r9, fcn.140005890
lea r8, [rsp + 0x50]
xor edx, edx
call fcn.14004c0d0
jmp 0x14002398f
jmp qword [sym.imp.USER32.dll_SendMessageW]