Function at 0x14003a65c
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xorps xmm0, xmm0
lea rdx, [rbp - 0x69]
xor eax, eax
lea rcx, [0x14003b610]
movups xmmword [0x140034908], xmm0
mov qword [0x140034918], rax
xor r14b, r14b
xor r12d, r12d
call fcn.14001f114
lea rdx, [rbp - 0x51]
lea rcx, [0x14003b630]
call fcn.14001f114
lea rdx, [rbp - 0x39]
lea rcx, [0x14003b660]
call fcn.14001f114
xor r9d, r9d
lea rdx, [0x14003b690]
xor r8d, r8d
xor ecx, ecx
call fcn.140004200
mov r13b, al
mov byte [rbp + 0x67], al
call fcn.140039fdc
mov rsi, rax
test rax, rax
jne 0x14003a6f1
lea rdx, [0x14003b6d0]
jmp 0x14003aac5
add rsi, 0x20
cmp dword [rsi + 0x10], 0xfff
ja 0x14003a6e5
lea rcx, [0x14003b6f0]
call fcn.1400244f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14003a71f
lea rdx, [0x14003b6f0]
jmp 0x14003aac5
mov edx, dword [rsi + 0x10]
mov r8b, 1
mov rcx, qword [0x1400346c0]
shl edx, 2
call fcn.140015584
mov r12, rax
test rax, rax
je 0x14003aad2
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14003aabe
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsi]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14003a788
mov r8d, dword [rsi + 0x10]
mov rcx, r12
mov rdx, qword [rsi]
shl r8, 2
call fcn.140029b00
mov r14b, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test r14b, r14b
je 0x14003aabe
mov rcx, qword [str.WIN32U.dll]
xor r14b, r14b
call fcn.140006d44
mov qword [rbp - 0x71], rax
test rax, rax
je 0x14003aad2
lea r9, [rbp + 0x7f]
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [0x14003b730]
call fcn.1400383d4
mov dword [rbp + 0x77], eax
mov r15d, eax
test eax, eax
je 0x14003aad2
mov rbx, qword [rsp + 0x30]
cmp byte [rbx], 0x4e
jne 0x14003aa6f
cmp byte [rbx + 1], 0x74
jne 0x14003aa6f
add rbx, 2
mov qword [rsp + 0x30], rbx
xor edi, edi
cmp byte [rdi + rbx], r14b
je 0x14003a818
inc edi
cmp edi, 0x40
jb 0x14003a80b
test r13b, r13b
jne 0x14003a901
cmp edi, 0x12
jne 0x14003a851
movabs rcx, 0x6165724372657355
cmp qword [rbx], rcx
jne 0x14003a851
movabs rcx, 0x776f646e69576574
cmp qword [rbx + 8], rcx
jne 0x14003a851
cmp word [rbx + 0x10], 0x7845
je 0x14003aa4d
cmp edi, 7
jne 0x14003a870
cmp dword [rbx], 0x49696447
jne 0x14003a870
cmp word [rbx + 4], 0x696e
jne 0x14003a870
cmp byte [rbx + 6], 0x74
je 0x14003aa4d
cmp edi, 0xc
jne 0x14003a891
movabs rcx, 0x5374696e49696447
cmp qword [rbx], rcx
jne 0x14003a891
cmp dword [rbx + 8], 0x6c6f6f70
je 0x14003aa4d
cmp edi, 0x1b
jne 0x14003a8b0
mov r8d, edi
lea rdx, [0x14003b740]
mov rcx, rbx
call fcn.140027350
test eax, eax
je 0x14003aa4d
cmp edi, 0x21
jne 0x14003a8cf
mov r8d, edi
lea rdx, [0x14003b760]
mov rcx, rbx
call fcn.140027350
test eax, eax
je 0x14003aa4d
cmp edi, 0x14
jne 0x14003a901
movabs rcx, 0x5474655372657355
cmp qword [rbx], rcx
jne 0x14003a906
movabs rcx, 0x7365446461657268
cmp qword [rbx + 8], rcx
jne 0x14003a906
cmp dword [rbx + 0x10], 0x706f746b
jne 0x14003a906
jmp 0x14003aa4d
cmp edi, 8
jb 0x14003a919
movabs rcx, 0x4944446444696447
cmp qword [rbx], rcx
jne 0x14003a919
mov al, 1
jmp 0x14003a91b
xor al, al
lea r9, [rbp - 0x51]
mov byte [rsp + 0x20], al
lea r8, [rbp - 0x69]
mov edx, edi
mov rcx, rbx
call fcn.14001f690
test al, al
je 0x14003aa4d
mov rcx, qword [rbp - 0x71]
mov edx, r15d
and qword [rbp - 0x79], 0
and dword [rbp + 0x6f], 0
call fcn.140038658
test rax, rax
je 0x14003aa43
mov rcx, rax
call fcn.140039c80
mov r15d, eax
cmp eax, 0xfffffffe
je 0x14003aa4d
cmp eax, 0xffffffff
je 0x14003aa43
lea rax, [rbp + 0x6f]
mov r8d, r15d
lea r9, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, rsi
call fcn.14001eff8
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14003aa43
mov rcx, qword [0x1400346c0]
lea edx, [rdi + 0x41]
mov r8b, 1
and r15d, 0xfff
call fcn.140015584
xor ecx, ecx
mov r13, rax
test rax, rax
je 0x14003aad2
mov word [rax + 0x10], r15w
lea r8, [rbp - 0x39]
movzx eax, word [rbp + 0x6f]
mov edx, edi
mov word [r13 + 0x12], ax
mov eax, dword [rbp + 0x77]
mov dword [r13 + 0x14], eax
mov qword [r13 + 0x18], rbx
mov qword [r13 + 0x20], rcx
mov qword [r13 + 0x28], rcx
mov qword [r13 + 0x30], rcx
mov rcx, qword [rsp + 0x30]
call fcn.14001f05c
test eax, eax
mov word [r13 + 0x3a], di
lea rcx, [r13 + 0x3c]
mov r8d, edi
setne al
mov byte [r13 + 0x38], al
mov rdx, qword [rsp + 0x30]
call fcn.140029b00
mov r8, r13
mov byte [rdi + r13 + 0x3c], r14b
xor edx, edx
lea rcx, [0x140034908]
call fcn.14000d52c
cmp r15d, dword [0x140034900]
mov r13b, byte [rbp + 0x67]
jbe 0x14003aa4d
mov dword [0x140034900], r15d
jmp 0x14003aa4d
mov rcx, qword [rsp + 0x30]
call fcn.140039c30
mov rcx, qword [rbp - 0x71]
lea r9, [rbp + 0x7f]
lea r8, [rsp + 0x30]
xor edx, edx
call fcn.1400383d4
mov dword [rbp + 0x77], eax
mov r15d, eax
test eax, eax
jne 0x14003a7e8
cmp dword [0x140034900], 0x64
mov r14b, 1
jae 0x14003aa92
xor r8d, r8d
lea rdx, [0x14003b790]
mov ecx, 0xc1010459
call fcn.1400152fc
xor r14b, r14b
cmp dword [0x140034900], 0x7d0
jb 0x14003aab7
xor r8d, r8d
lea rdx, [0x14003b7a0]
mov ecx, 0xc1010459
call fcn.1400152fc
xor r14b, r14b
jmp 0x14003aad2
test r14b, r14b
jne 0x14003aad9
jmp 0x14003aad2
lea rdx, [0x14003b710]
xor r8d, r8d
mov ecx, 0xc1010459
call fcn.1400152fc
and dword [0x140034900], 0
lea rcx, [rbp - 0x69]
call fcn.14001ecb0
lea rcx, [rbp - 0x51]
call fcn.14001ecb0
lea rcx, [rbp - 0x39]
call fcn.14001ecb0
test r12, r12
je 0x14003ab07
mov edx, dword [rsi + 0x10]
mov rcx, r12
shl edx, 2
call fcn.14000ef8c
mov al, r14b
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret