Function at 0x140010970
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movdqa xmmword [rsp + 0xd0], xmm6
mov rdi, rdx
mov r15, rcx
mov r13, qword [rdx + 0x18]
mov r12, qword [rdx + 0x20]
test r13, r13
je 0x1400109a6
mov rax, qword [r12 + 0x30]
jmp 0x1400109ab
mov eax, dword [r12 + 0x34]
mov qword [rsp + 0x38], rax
mov eax, dword [r12 + 0x50]
mov qword [rsp + 0x98], rax
mov rsi, qword [0x140072348]
test rsi, rsi
je 0x1400109fc
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x98]
mov rcx, rax
xor r8d, r8d
call rsi
test eax, eax
jne 0x140010a41
jmp 0x140010a9d
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemorykernel32.dllRtlAddFunctionTableRtlAddFunctionTable:__n
lea rcx, [rsp + 0x50]
mov r8d, 9
call fcn.1400107a0
cmp dword [rsp + 0x50], 0
jne 0x140010a41
mov rdx, qword [rsp + 0x58]
lea r8, [0x140053449]
lea rcx, [rsp + 0x40]
mov r9d, 0x17
call fcn.140010880
cmp dword [rsp + 0x40], 0
je 0x140010e5f
mov qword [rsp + 0x38], 0
mov rsi, qword [0x140072348]
test rsi, rsi
je 0x140010b10
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x98]
mov rcx, rax
xor r8d, r8d
call rsi
test eax, eax
je 0x140010a9d
movd xmm1, eax
movdqa xmm0, xmmword [0x140053410]
punpckldq xmm0, xmm1
jmp 0x140010e3a
mov rsi, qword [rdi + 0x28]
mov rbp, qword [rdi + 0x30]
test rbp, rbp
je 0x140010ae5
mov rdi, qword [rdi + 0x48]
lea rax, [rbp*8]
lea rbx, [rax + rax*4]
xor r14d, r14d
nop dword [rax]
mov edx, dword [rsi + r14 + 0x14]
add rdx, rdi
mov ecx, dword [rsi + r14 + 0xc]
mov r8d, dword [rsi + r14 + 0x10]
add rcx, qword [rsp + 0x38]
call fcn.14004c450
add r14, 0x28
cmp rbx, r14
jne 0x140010ac0
mov rax, r13
shl rax, 4
mov rdi, qword [rsp + 0x38]
test r13, r13
je 0x140010b3d
mov rcx, qword [r12 + 0x30]
lea rbx, [r12 + rax]
add rbx, 0x78
mov rax, rdi
sub rax, rcx
jne 0x140010b56
jmp 0x140010c32
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemorykernel32.dllRtlAddFunctionTableRtlAddFunctionTable:__n
lea rcx, [rsp + 0x50]
mov r8d, 9
call fcn.1400107a0
cmp dword [rsp + 0x50], 0
je 0x140010e11
movq xmm0, qword [rsp + 0x54]
jmp 0x140010e3a
mov ecx, dword [r12 + 0x34]
lea rbx, [r12 + rax]
add rbx, 0x78
mov rax, rdi
sub rax, rcx
je 0x140010c32
mov ecx, dword [rbx + 0x28]
test rcx, rcx
je 0x140010c32
cmp dword [rbx + 0x2c], 0
je 0x140010c32
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x140010ba3
jmp 0x140010c24
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x140010c24
cmp r8d, 0xa
jb 0x140010c14
lea r9, [r8 - 8]
shr r9, 0x3f
add r8, r9
add r8, 0xfffffffffffffff8
sar r8, 1
cmp r8, 2
cmovl r8, rdx
xor r9d, r9d
jmp 0x140010bd8
inc r9
cmp r8, r9
je 0x140010c10
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x140010bd0
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x140010bd0
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x140010ba3
cmp dword [rcx], 0
jne 0x140010b90
mov rdi, qword [rsp + 0x38]
cmp dword [rbx + 0xc], 0
mov qword [rsp + 0x80], r15
mov qword [rsp + 0xb8], rbx
je 0x140010ec1
mov r14d, dword [rbx + 8]
test r14, r14
je 0x140010ec1
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r12
add r14, rdi
lea rax, [rdi + 2]
mov qword [rsp + 0xc8], rax
lea rbx, [rsp + 0x50]
mov eax, 5
movd xmm6, eax
mov qword [rsp + 0xb0], rbp
mov r15d, dword [r14 + 0xc]
test r15, r15
jne 0x140010cc0
cmp dword [r14 + 0x10], 0
jne 0x140010cc0
cmp dword [r14], 0
jne 0x140010cc0
cmp dword [r14 + 4], 0
jne 0x140010cc0
cmp dword [r14 + 8], 0
je 0x140010eac
nop word cs:[rax + rax]
add r15, rdi
mov rcx, r15
call fcn.140041a20
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, r15
call fcn.140036080
cmp qword [rsp + 0x50], 0
jne 0x140010e9a
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rcx, rbx
call fcn.1400107a0
cmp dword [rsp + 0x50], 0
jne 0x140010e94
mov eax, dword [r14]
mov qword [rsp + 0xc0], r14
mov ebx, dword [r14 + 0x10]
add rbx, rdi
lea r14, [rdi + rax]
test rax, rax
cmove r14, rbx
mov r12, qword [r14]
test r12, r12
je 0x140010de0
mov r15, qword [rsp + 0x58]
xor ebp, ebp
jmp 0x140010d6d
movzx edx, r12w
mov rcx, r15
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x140010e81
mov qword [rbx + rbp], rcx
mov r12, qword [r14 + rbp + 8]
add rbp, 8
mov r13, rax
test r12, r12
je 0x140010de3
test r12, r12
js 0x140010d40
mov rax, qword [rsp + 0xc8]
cmp byte [rax + r12], 0
je 0x140010de0
add r12, rax
mov rcx, r12
call fcn.140041a20
lea r8, [rax + 1]
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.140036080
cmp qword [rsp + 0x50], 0
jne 0x140010e4c
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.140010880
cmp dword [rsp + 0x40], 0
jne 0x140010e57
mov rcx, qword [rsp + 0x48]
mov rax, r13
jmp 0x140010d58
mov rax, r13
mov r14, qword [rsp + 0xc0]
add r14, 0x14
mov r13, rax
mov rbp, qword [rsp + 0xb0]
lea rbx, [rsp + 0x50]
mov r15d, dword [r14 + 0xc]
test r15, r15
jne 0x140010cc0
jmp 0x140010c97
mov rdx, qword [rsp + 0x58]
lea r8, [0x140053449]
lea rcx, [rsp + 0x40]
mov r9d, 0x17
call fcn.140010880
cmp dword [rsp + 0x40], 0
je 0x140010e70
movq xmm0, qword [rsp + 0x44]
movq qword [r15 + 4], xmm0
mov dword [r15], 1
jmp 0x1400111d7
mov eax, 5
movd xmm6, eax
jmp 0x140010e9a
movq xmm6, qword [rsp + 0x44]
jmp 0x140010e9a
mov rsi, qword [rsp + 0x48]
mov qword [0x140072348], rsi
jmp 0x1400109c9
mov rsi, qword [rsp + 0x48]
mov qword [0x140072348], rsi
jmp 0x140010a5a
movd xmm0, r13d
movdqa xmm6, xmmword [0x140053420]
punpckldq xmm6, xmm0
jmp 0x140010e9a
movq xmm6, qword [rsp + 0x54]
mov rax, qword [rsp + 0x80]
movq qword [rax + 4], xmm6
jmp 0x1400111d1
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
test r13, r13
je 0x140010fff
cmp dword [r12 + 0xa4], 0
je 0x140010fff
lea rdx, [0x140053476]
lea rcx, [rsp + 0x50]
mov r8d, 0xc
call fcn.1400107a0
cmp dword [rsp + 0x50], 0
jne 0x140010fff
mov rdx, qword [rsp + 0x58]
lea r8, [0x140053482]
lea rcx, [rsp + 0x50]
mov r9d, 0x13
call fcn.140010880
cmp dword [rsp + 0x50], 0
jne 0x140010fff
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [0x140010790]
mov qword [rsp + 0x48], rax
lea rbx, [0x1400534b0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
lea r14, [rsp + 0x40]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0x50]
call fcn.14001f950
mov ecx, dword [r12 + 0xa0]
mov eax, dword [r12 + 0xa4]
add rcx, rdi
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
mov r8, rdi
call qword [rsp + 0x88]
test eax, eax
setne byte [rsp + 0x90]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [0x140038fa0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0x50]
call fcn.14001f950
test rbp, rbp
je 0x140011138
shl rbp, 3
lea r14, [rbp*4]
add r14, rbp
xor edi, edi
lea rbx, [rsp + 0x50]
lea r12, [rsp + 0x88]
lea r13, [rsp + 0x90]
jmp 0x140011076
mov r15, qword [0x140072350]
test r15, r15
je 0x1400110e0
mov dword [rsp + 0x50], 0
call sub.kernel32.dll_GetCurrentProcess
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r12
mov r8, r13
mov r9d, ebp
call r15
test eax, eax
jne 0x1400111a4
add rdi, 0x28
cmp r14, rdi
je 0x140011138
mov eax, dword [rsi + rdi + 0x10]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140011069
mov eax, dword [rsi + rdi + 0xc]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x88], rax
mov eax, dword [rsi + rdi + 0x24]
test eax, 0x20000000
jne 0x1400110c0
mov ebp, 1
test eax, 0x40000000
je 0x140011030
shr eax, 0x1f
lea ebp, [rax*2 + 2]
jmp 0x140011030
mov ebp, 0x10
test eax, 0x40000000
je 0x140011030
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov ebp, eax
jmp 0x140011030
mov r8d, 9
mov rcx, rbx
lea rdx, str.ntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemorykernel32.dllRtlAddFunctionTableRtlAddFunctionTable:__n
call fcn.1400107a0
cmp dword [rsp + 0x50], 0
jne 0x1400111b6
mov rdx, qword [rsp + 0x58]
mov r9d, 0x16
lea rcx, [rsp + 0x40]
lea r8, [0x140053460]
call fcn.140010880
cmp dword [rsp + 0x40], 0
jne 0x1400111be
mov r15, qword [rsp + 0x48]
mov qword [0x140072350], r15
jmp 0x140011040
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x4c], 0
je 0x140011190
mov eax, dword [rax + 0x48]
test rax, rax
mov rbx, qword [rsp + 0x80]
je 0x140011198
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x140011198
add rsi, 8
nop dword [rax]
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x140011170
mov rdi, qword [rsp + 0x38]
jmp 0x140011198
mov rbx, qword [rsp + 0x80]
mov qword [rbx + 8], rdi
mov dword [rbx], 0
jmp 0x1400111d7
movd xmm1, eax
movdqa xmm0, xmmword [0x140053430]
punpckldq xmm0, xmm1
jmp 0x1400111c4
movq xmm0, qword [rsp + 0x54]
jmp 0x1400111c4
movq xmm0, qword [rsp + 0x44]
mov rax, qword [rsp + 0x80]
movq qword [rax + 4], xmm0
mov dword [rax], 1
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret