Function at 0x140003384
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
xor ebx, ebx
mov eax, 0x5a4d
mov r12, r8
mov r14, rdx
mov r13, rcx
mov dword [rbp + 0xb], ebx
mov dword [rbp + 0x1b], ebx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
cmp word [rdx], ax
je 0x1400033ee
mov r8d, 0xc000000d
lea rcx, [0x140003ea0]
mov dl, 1
call fcn.140003004
mov eax, 0xc000000d
jmp 0x1400037a3
movsxd rdi, dword [rdx + 0x3c]
mov eax, 0x8664
add rdi, r14
cmp word [rdi + 4], ax
je 0x14000341e
mov r8d, 0xc00000bb
lea rcx, [0x140003ed0]
mov dl, 1
call fcn.140003004
mov eax, 0xc00000bb
jmp 0x1400037a3
mov eax, dword [rdi + 0x50]
lea r9, [rbp - 0x49]
mov r15d, 0x1000
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x41]
mov dword [rsp + 0x20], r15d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov esi, eax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x21], rax
test esi, esi
jns 0x140003473
mov r8d, esi
lea rcx, [0x140003f00]
mov dl, 1
call fcn.140003004
mov eax, esi
jmp 0x1400037a3
mov rcx, qword [rbp - 0x41]
mov r8, rax
xor edx, edx
call fcn.140003ac0
mov rax, qword [0x140006360]
mov qword [rbp - 0x11], rax
mov rax, qword [0x140006358]
mov qword [rbp - 0x19], rax
mov rax, qword [0x140006368]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 1], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x1f], rax
mov dword [rbp + 7], ebx
mov qword [rbp + 0xf], rbx
mov word [rbp + 0x18], bx
mov byte [rbp + 0x17], 1
mov byte [rbp + 0x1a], bl
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, qword [rbp - 0x41]
mov rdx, r14
mov rsi, rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov r8, rsi
mov byte [rsp + 0x28], bl
mov rcx, rsi
mov qword [rsp + 0x20], r15
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov r15d, eax
test eax, eax
jns 0x140003511
mov r8d, eax
lea rcx, [0x140003f20]
mov dl, 1
call fcn.140003004
mov eax, r15d
jmp 0x1400037a3
movzx r15d, word [rdi + 0x14]
mov ecx, ebx
add r15, 0x24
mov dword [rbp + 0x6f], ebx
cmp bx, word [rdi + 6]
jae 0x14000357a
add r15, rdi
mov eax, dword [r15 + 4]
test eax, eax
je 0x140003565
mov r9d, dword [r15]
lea rcx, [rbp - 0x29]
mov edx, dword [r15 + 8]
mov r8, rsi
add r9, qword [rbp - 0x41]
add rdx, r14
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov r12d, eax
test eax, eax
js 0x1400035c5
mov ecx, dword [rbp + 0x6f]
movzx eax, word [rdi + 6]
inc ecx
add r15, 0x28
mov dword [rbp + 0x6f], ecx
cmp ecx, eax
jl 0x140003528
mov r12, qword [rbp + 0x77]
mov r14d, 0x1000
lea r9, [rbp - 0x49]
mov r15d, 0x40
mov qword [rbp - 0x49], r14
mov dword [rsp + 0x28], r15d
lea rdx, [rbp - 0x39]
xor r8d, r8d
mov dword [rsp + 0x20], r14d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov edi, eax
test eax, eax
jns 0x1400035de
lea rcx, [0x140003f60]
mov dl, 1
mov r8d, edi
call fcn.140003004
jmp 0x1400037a1
mov r8d, r12d
lea rcx, [0x140003f40]
mov dl, 1
call fcn.140003004
mov eax, r12d
jmp 0x1400037a3
mov r8, qword [rbp - 0x49]
xor edx, edx
mov rcx, qword [rbp - 0x39]
call fcn.140003ac0
mov r9, qword [rbp - 0x39]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x19]
mov byte [rsp + 0x28], bl
mov r8, rsi
mov rcx, rsi
mov qword [rsp + 0x20], r15
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x140003621
lea rcx, [0x140003f90]
jmp 0x1400035b6
mov dword [rsp + 0x28], r15d
lea r9, [rbp - 0x49]
xor r8d, r8d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x31]
mov qword [rbp - 0x49], r14
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov edi, eax
test eax, eax
jns 0x140003656
lea rcx, [0x140003fc0]
jmp 0x1400035b6
mov r8, qword [rbp - 0x49]
xor edx, edx
mov rcx, qword [rbp - 0x31]
call fcn.140003ac0
mov r9, qword [rbp - 0x31]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rdx, [0x1400037c0]
mov rax, qword [rbp - 0x49]
mov r8, rsi
mov byte [rsp + 0x28], bl
mov rcx, rsi
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x1400036a3
lea rcx, [0x140003ff0]
jmp 0x1400035b6
mov rax, qword [rbp - 0x39]
lea r9, [rbp - 0x49]
mov qword [0x1400062bc], rax
xor r8d, r8d
mov rax, qword [rbp - 0x31]
mov rdx, r12
mov dword [rsp + 0x28], r15d
or rcx, 0xffffffffffffffff
mov qword [0x1400062ef], rax
mov byte [0x1400062c6], 0x25
mov qword [rbp - 0x49], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov edi, eax
test eax, eax
jns 0x1400036f4
lea rcx, [0x140004230]
jmp 0x1400035b6
mov r8, qword [rbp - 0x49]
xor edx, edx
mov rcx, qword [r12]
call fcn.140003ac0
mov r9, qword [r12]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rdx, str.QRSUVWAPAQARASATAUAVAWH
mov byte [rsp + 0x28], bl
mov r8, rsi
mov rcx, rsi
mov qword [rsp + 0x20], 0x57
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x140003741
lea rcx, [0x140004260]
jmp 0x1400035b6
mov rax, qword [rbp + 0x7f]
mov r15d, 0x18
mov rsi, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x39]
mov qword [rax], rdx
test rsi, rsi
je 0x140003779
mov rdx, qword [rbp - 0x41]
mov r8d, r15d
add rdx, rbx
mov rcx, r13
call fcn.140002e84
add rbx, r14
cmp rbx, rsi
jb 0x14000375b
mov rdx, qword [rbp - 0x39]
mov r8d, r15d
mov rcx, r13
call fcn.140002e84
mov rdx, qword [rbp - 0x31]
mov r8d, r15d
mov rcx, r13
call fcn.140002e84
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call fcn.140002e84
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret