Function at 0x140003fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x80
mov rax, qword [0x14009e080]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edx, edx
lea r9, [rsp + 0x68]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x68], r14d
mov ebx, r14d
lea ecx, [rdx + 0x40]
call fcn.140017430
cmp eax, 0xc0000004
jne 0x14000405a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0x40
mov rbx, rax
call fcn.140017430
cmp eax, 0xc0000004
je 0x140004012
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rdi
test eax, eax
js 0x1400042c5
test rbx, rbx
je 0x1400042db
mov edi, r14d
mov rbp, r14
cmp qword [rbx], rdi
jbe 0x1400040e5
mov rax, r14
nop dword [rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm1, xmmword [rsp + 0x20]
mov ecx, eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x1400040d2
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsi]
je 0x1400040e0
inc edi
mov eax, edi
cmp rax, qword [rbx]
jb 0x140004090
jmp 0x1400042ca
movq rbp, xmm1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rbp, rbp
je 0x1400042db
lea rdx, [rbp + 8]
mov qword [rsp + 0x20], r14
mov rcx, rsi
call fcn.140002eb0
test rax, rax
je 0x1400042db
lea r9, [rsp + 0x20]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140003040
test eax, eax
je 0x1400042db
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400042db
add rdx, 8
mov qword [rsp + 0x20], r14
mov rcx, rsi
call fcn.140002eb0
test rax, rax
je 0x1400042db
lea r9, [rsp + 0x20]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140003040
test eax, eax
je 0x1400042db
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400042db
add rdx, 0x28
mov qword [rsp + 0x20], r14
mov rcx, rsi
call fcn.140002eb0
test rax, rax
je 0x1400042db
lea r9, [rsp + 0x20]
mov r8d, 8
mov rdx, rax
mov rcx, rsi
call fcn.140003040
test eax, eax
je 0x1400042db
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400042db
lea rdi, [rax + 0x58]
xorps xmm0, xmm0
mov rdx, rdi
mov rcx, rsi
movups xmmword [rsp + 0x20], xmm0
call fcn.140002eb0
test rax, rax
je 0x1400042db
lea r9, [rsp + 0x20]
mov r8d, 0x10
mov rdx, rax
mov rcx, rsi
call fcn.140003040
test eax, eax
je 0x1400042db
movzx eax, word [rsp + 0x20]
test ax, ax
je 0x1400042db
mov ecx, eax
mov ebp, eax
shr rcx, 1
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001882c
lea r8, [rbp + 2]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140041850
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140002eb0
test rax, rax
je 0x1400042db
mov r9, rbx
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call fcn.140003040
test eax, eax
je 0x1400042db
mov rdx, rdi
mov word [rsp + 0x20], r14w
mov rcx, rsi
call fcn.140002eb0
test rax, rax
je 0x1400042db
lea r9, [rsp + 0x20]
mov r8d, 0x10
mov rdx, rax
mov rcx, rsi
call fcn.140003180
test eax, eax
je 0x1400042db
mov rdx, rbx
lea rcx, str.___MmUnloadedDrivers_Cleaned:__ws_n
call fcn.140001080
mov rcx, rbx
call fcn.140018480
mov al, 1
jmp 0x1400042dd
test rbx, rbx
je 0x1400042db
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rdi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140018460
add rsp, 0x80
pop r14
pop rsi
pop rbx
ret