Function at 0x22d9f47a0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
mov rsi, rcx
push rbx
mov rbx, rdx
and rsp, 0xfffffffffffffff0
sub rsp, 0xb0
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
test rdx, rdx
je 0x22d9f4ae3
cmp byte [rdx], 0
je 0x22d9f4ae3
mov rdi, rdx
nop dword [rax]
add rdi, 1
cmp byte [rdi], 0
jne 0x22d9f47e0
sub rdi, rbx
mov rax, qword [0x22da12e60]
mov rax, qword [rax]
mov r9d, dword [rax + 0x300]
test r9d, r9d
je 0x22d9f4a70
lea rdx, [0x22da01510]
mov ecx, 1
call qword [rax + 0x158]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x22d9f4a57
mov rdx, qword [rsi + 8]
xor r12d, r12d
mov r13d, 0x14
lea r15, [rsp + 0x50]
lea r14, [rsp + 0x48]
cmp word [rdx + 2], 0
je 0x22d9f4948
nop dword [rax + rax]
mov rax, qword [rsi]
add rax, r13
mov r8d, dword [rax + 0x10]
mov qword [rsi + 0x10], rax
test r8d, r8d
je 0x22d9f4935
mov eax, dword [rax + 0x24]
mov r9d, 1
mov edx, eax
and edx, 0xe0000000
je 0x22d9f48d8
mov r9d, 0x10
cmp edx, 0x20000000
je 0x22d9f48d8
mov r9d, 2
cmp edx, 0x40000000
je 0x22d9f48d8
mov r9d, 0x20
cmp edx, 0x60000000
je 0x22d9f48d8
mov r9d, 8
cmp edx, 0x80000000
je 0x22d9f48d8
mov r9d, pe_nt_image_headers64
cmp edx, 0xa0000000
je 0x22d9f48d8
cmp edx, 0xc0000000
mov r9d, 0x40
mov edx, 4
cmove r9d, edx
nop dword [rax]
mov edx, r9d
mov rcx, 0xffffffffffffffff
mov r8, r15
or dh, 2
test eax, 0x4000000
mov rax, r12
cmovne r9d, edx
shl rax, 4
add rax, qword [rsi + 0x40]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x50], rdx
mov rdx, r14
mov qword [rsp + 0x20], rax
call fcn.22d9fe360
mov ecx, eax
test eax, eax
js 0x22d9f4a40
mov rdx, qword [rsi + 8]
add r12, 1
add r13, 0x28
cmp r12w, word [rdx + 2]
jb 0x22d9f4850
mov rax, qword [rsi + 0x50]
test rax, rax
jne 0x22d9f49f0
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x22d9f4b49
mov r11, qword [rsi + 0x20]
lea r13, [rax + rax*8]
mov r14d, edi
add r13, r13
mov ecx, dword [r11]
mov r9, r11
lea r12, [r11 + r13]
mov r10, r11
test ecx, ecx
jne 0x22d9f4a7e
nop dword [rax + rax]
mov ecx, dword [r10 + 4]
add rcx, r13
add rcx, r11
cmp rcx, rbx
je 0x22d9f4a90
test r14d, r14d
jle 0x22d9f4a90
lea r8d, [rdi - 1]
xor eax, eax
jmp 0x22d9f49c0
lea r15, [rax + 1]
cmp rax, r8
je 0x22d9f4a90
mov rax, r15
movzx r15d, byte [rbx + rax]
cmp byte [rcx + rax], r15b
je 0x22d9f49b0
add r9, 0x12
cmp r12, r9
je 0x22d9f4b49
mov eax, dword [r9]
mov r10, r9
test eax, eax
je 0x22d9f4988
cmp r9, rbx
je 0x22d9f4a90
mov rcx, r9
jmp 0x22d9f49a8
mov rdx, qword [rsi + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x44]
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rsp + 0x50]
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x44], 0
call fcn.22d9fe360
mov ecx, eax
test eax, eax
jns 0x22d9f4aea
nop word cs:[rax + rax]
mov rax, qword [0x22da12e60]
mov rax, qword [rax]
mov rbx, qword [rax + 0x408]
call qword [rax + 0x20]
mov dword [rbx + 0x68], eax
xor eax, eax
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x38], 0
jmp 0x22d9f4826
mov rcx, r11
cmp rcx, rbx
jne 0x22d9f499b
nop word [rax + rax]
movzx ecx, word [r10 + 0xc]
mov rax, qword [rsi + 0x40]
mov r8d, dword [r10 + 8]
shl rcx, 4
add r8, qword [rax + rcx - 0x10]
je 0x22d9f4b49
movzx r9d, word [rdx + 2]
xor ecx, ecx
test r9w, r9w
je 0x22d9f4a57
nop dword [rax]
mov rdx, qword [rax]
cmp r8, rdx
jb 0x22d9f4ad1
add rdx, qword [rax + 8]
cmp r8, rdx
jb 0x22d9f4af3
add rcx, 1
add rax, 0x10
cmp rcx, r9
jne 0x22d9f4ac0
jmp 0x22d9f4a57
xor edi, edi
jmp 0x22d9f47ec
mov rdx, qword [rsi + 8]
jmp 0x22d9f4955
mov rax, qword [rsi]
lea rdx, [rcx + rcx*4]
lea rax, [rax + rdx*8 + 0x14]
mov qword [rsi + 0x10], rax
test byte [rax + 0x27], 0x20
je 0x22d9f4a57
mov rax, qword [rbp + 8]
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov qword [0x22da0d200], rax
call r8
cmp qword [rsp + 0x38], 0
je 0x22d9f4b3f
mov rax, qword [0x22da12e60]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
call qword [rax + 0x150]
mov eax, 1
jmp 0x22d9f4a59
mov rdx, rbx
lea rcx, str.____Couldnt_find_function____s_n
call fcn.22d9f8fc0
pxor xmm0, xmm0
mov rbx, rax
mov rax, qword [rsi + 0x38]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov rcx, rbx
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
call fcn.22d9fdd60
lea rcx, [0x22da108b1]
mov qword [rsp + 0x58], rax
call fcn.22d9fdd60
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
call fcn.22da052a0
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call fcn.22d9faf80
jmp 0x22d9f4a57