Function at 0x330904a60
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rbp, rdx
movsxd rdx, dword [r8 + 0x3c]
mov r14, rcx
mov rdi, r8
mov r13, r9
add rdx, r8
movzx eax, word [rdx + 6]
test ax, ax
je 0x330904be9
movzx ecx, word [rdx + 0x14]
sub eax, 1
lea r12, [rsp + 0x60]
movzx eax, ax
lea rbx, [rdx + rcx + 0x18]
lea rax, [rax + rax*4]
lea rsi, [rbx + rax*8 + 0x28]
jmp 0x330904ac5
add rbx, 0x28
cmp rsi, rbx
je 0x330904be9
mov ecx, 0x74
mov rdx, r12
mov dword [rsp + 0x60], 0x7865742e
mov word [rsp + 0x64], cx
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x330904ab8
mov eax, dword [rbx + 8]
mov esi, dword [rbx + 0xc]
lea r15, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x4c], 0
mov r9d, 0x40
mov rdx, r15
mov rcx, r14
add rbp, rsi
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x58], rbp
mov rbp, qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x330904c06
mov r14d, 0xa
test r13, r13
je 0x330904bef
movdqa xmm0, xmmword [str.Error_deprotect__lu_bytes_in_process_memory__addr__0x_lx___oldprotect__0x_x__error__0]
mov rdx, qword [0x3309e4160]
mov byte [rsp + 0xbe], 0
mov dword [rsp + 0xb8], 0x786c2578
movaps xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x3309e4120]
mov qword [rsp + 0xb0], rdx
mov edx, 0xa0a
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x3309e4130]
mov word [rsp + 0xbc], dx
movaps xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [0x3309e4140]
movaps xmmword [rsp + 0x90], xmm0
movdqa xmm0, xmmword [0x3309e4150]
movaps xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
mov rdx, r12
mov rcx, r13
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call fcn.330925110
jmp 0x330904bef
mov r14d, 0xd
mov eax, r14d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rbx + 8]
lea rbx, [rsp + 0x4c]
lea r8, [rdi + rsi]
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov r9d, eax
test eax, eax
je 0x330904c93
mov r14d, 0xc
test r13, r13
je 0x330904bef
movdqa xmm0, xmmword [str.Error_write__lu_bytes_in_process_memory__status__0x_lx_n]
mov rax, qword [0x3309e41a0]
mov rdx, r12
mov rcx, r13
mov r8d, dword [rsp + 0x4c]
movaps xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x3309e4180]
mov qword [rsp + 0x90], rax
mov eax, 0xa
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x3309e4190]
mov word [rsp + 0x98], ax
movaps xmmword [rsp + 0x80], xmm0
call fcn.330925110
jmp 0x330904bef
mov rax, qword [rsp + 0x38]
mov rcx, r14
mov r8, rbx
mov rdx, r15
mov r9d, 0x20
xor r14d, r14d
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x330904bef
mov r14d, 0xb
test r13, r13
je 0x330904bef
movdqa xmm0, xmmword [str.Error_reprotect_rotect__0x_x___status__0x_lx_n_nUnhook_module:__ntdll.dl]
mov byte [rsp + 0xc0], 0
movaps xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x3309e4120]
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x3309e4130]
movaps xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [0x3309e4140]
movaps xmmword [rsp + 0x90], xmm0
movdqa xmm0, xmmword [0x3309e41c0]
movaps xmmword [rsp + 0xa0], xmm0
movdqa xmm0, xmmword [0x3309e41d0]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x330904bc6