Function at 0x140003574
Capabilities:
Attach user process memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, rcx
mov qword [rsp + 0xa8], rcx
xor r14b, r14b
mov byte [rsp + 0x20], r14b
cmp qword [rcx], 0
jbe 0x14000391f
mov rax, qword [rcx + 8]
dec rax
movabs rcx, 0x7ffffffffffe
cmp rax, rcx
ja 0x14000391f
cmp qword [rbx + 0x28], 0
jbe 0x14000391f
cmp byte [0x140009050], r14b
je 0x14000391f
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x88], xmm1
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x80], rcx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r14b
jne 0x140003612
mov word [rsp + 0x7a], ax
mov word [rsp + 0x78], ax
mov r8b, 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov edx, 8
xor ecx, ecx
mov r8d, 0x726574
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r15, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14000391f
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000391f
xor eax, eax
mov qword [r15], rax
mov rcx, rbx
call fcn.140004a7c
test al, al
je 0x1400038f2
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rdi, rax
mov qword [rsp + 0xb0], rax
mov rcx, qword [rbx]
call fcn.140003aec
mov r12, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400038ed
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
cmp rax, rdi
je 0x1400036e7
lea rdx, [rsp + 0xb8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor esi, esi
mov qword [rsp + 0x60], rsi
mov rdi, qword [rbx + 8]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
movsxd rax, dword [rdi + 0x3c]
je 0x1400037d0
mov eax, dword [rax + rdi + 0x78]
add rax, rdi
mov qword [rsp + 0x40], rax
mov r8d, dword [rax + 0x1c]
add r8, rdi
mov qword [rsp + 0x48], r8
mov r9d, dword [rax + 0x20]
add r9, rdi
mov qword [rsp + 0x50], r9
mov ecx, dword [rax + 0x24]
add rcx, rdi
mov qword [rsp + 0x58], rcx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
cmp r13d, dword [rax + 0x18]
jae 0x1400038b3
movzx eax, word [rcx + r13*2]
mov eax, dword [r8 + rax*4]
mov dword [rsp + 0x24], eax
mov edx, dword [r9 + r13*4]
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r8b, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
lea rcx, [rsp + 0x28]
test al, al
jne 0x140003875
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
inc r13d
mov rax, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
jmp 0x14000373a
mov eax, dword [rax + rdi + 0x88]
add rax, rdi
mov qword [rsp + 0x58], rax
mov r8d, dword [rax + 0x1c]
add r8, rdi
mov qword [rsp + 0x50], r8
mov r9d, dword [rax + 0x20]
add r9, rdi
mov qword [rsp + 0x48], r9
mov ecx, dword [rax + 0x24]
add rcx, rdi
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x3c], r13d
cmp r13d, dword [rax + 0x18]
jae 0x1400038b3
movzx eax, word [rcx + r13*2]
mov eax, dword [r8 + rax*4]
mov dword [rsp + 0x24], eax
mov edx, dword [r9 + r13*4]
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r8b, 1
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
lea rcx, [rsp + 0x28]
test al, al
je 0x140003891
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov esi, dword [rsp + 0x24]
add rsi, rdi
mov qword [rsp + 0x60], rsi
mov r14b, 1
mov byte [rsp + 0x20], r14b
jmp 0x1400038b3
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
inc r13d
mov rax, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
jmp 0x140003805
mov qword [r15], rsi
jmp 0x1400038d5
cmp r12, qword [rsp + 0xb0]
je 0x1400038ed
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
call fcn.1400050d0
test r14b, r14b
je 0x140003901
mov rdx, qword [rbx + 0x28]
mov rcx, qword [r15]
mov qword [rdx], rcx
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, r14b
jmp 0x140003921
xor al, al
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140006680
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret