Function at 0x140003f00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400a0060]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edx, edx
lea r9, [rbp - 0x18]
mov rdi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp - 0x18], r15d
mov ebx, r15d
lea ecx, [rdx + 0x40]
call fcn.1400158a0
cmp eax, 0xc0000004
jne 0x140003f88
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x18]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp - 0x18]
lea r9, [rbp - 0x18]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call fcn.1400158a0
cmp eax, 0xc0000004
je 0x140003f43
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], r14
test eax, eax
js 0x1400041e2
test rbx, rbx
je 0x1400041f8
mov esi, r15d
mov r14, r15
cmp qword [rbx], rsi
jbe 0x140004010
mov rax, r15
nop word [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x50]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x140003ffe
mov rax, qword [rdi]
cmp qword [rbp - 0x30], rax
je 0x14000400c
inc esi
mov eax, esi
cmp rax, qword [rbx]
jb 0x140003fc0
jmp 0x1400041e7
mov r14, qword [rbp - 0x40]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x1400041f8
lea rdx, [r14 + 8]
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.140002e30
test rax, rax
je 0x1400041f8
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.140002fc0
test eax, eax
je 0x1400041f8
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400041f8
add rdx, 8
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.140002e30
test rax, rax
je 0x1400041f8
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.140002fc0
test eax, eax
je 0x1400041f8
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400041f8
add rdx, 0x28
mov qword [rbp - 0x50], r15
mov rcx, rdi
call fcn.140002e30
test rax, rax
je 0x1400041f8
lea r9, [rbp - 0x50]
mov r8d, 8
mov rdx, rax
mov rcx, rdi
call fcn.140002fc0
test eax, eax
je 0x1400041f8
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x1400041f8
lea rsi, [rax + 0x58]
xorps xmm0, xmm0
mov rdx, rsi
mov rcx, rdi
movups xmmword [rbp - 0x50], xmm0
call fcn.140002e30
test rax, rax
je 0x1400041f8
lea r9, [rbp - 0x50]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.140002fc0
test eax, eax
je 0x1400041f8
movzx eax, word [rbp - 0x50]
test ax, ax
je 0x1400041f8
mov ecx, eax
mov r14d, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140016e84
lea r8, [r14 + 2]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14001d5c0
mov rdx, qword [rbp - 0x48]
mov rcx, rdi
call fcn.140002e30
test rax, rax
je 0x1400041f8
mov r9, rbx
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
call fcn.140002fc0
test eax, eax
je 0x1400041f8
mov rdx, rsi
mov word [rbp - 0x50], r15w
mov rcx, rdi
call fcn.140002e30
test rax, rax
je 0x1400041f8
lea r9, [rbp - 0x50]
mov r8d, 0x10
mov rdx, rax
mov rcx, rdi
call fcn.140003100
test eax, eax
je 0x1400041f8
mov rdx, rbx
lea rcx, str.___MmUnloadedDrivers_Cleaned:__ws_n
call fcn.140001080
mov rcx, rbx
call fcn.140016950
mov al, 1
jmp 0x1400041fa
test rbx, rbx
je 0x1400041f8
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov r14, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016930
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop rdi
pop rbp
ret