Function at 0x1400ab640
Capabilities:
Access peb ldr_data
Create process on windows
Delete registry value
Map section object
Set registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov r14, rdx
mov qword [rbp - 0x48], 8
mov r15, rcx
lea rax, [0x140122990]
mov r8b, 1
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x48]
mov rcx, qword [r14 + 0x10]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x1400abec7
mov rcx, qword [r14 + 0x10]
lea rax, [0x14012c2e8]
mov r8b, 1
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x38], 6
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x1400abec7
mov rcx, qword [r14 + 0x10]
lea rax, str.Mapped_File
mov r8b, 1
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], 0x16
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x1400abec7
mov rcx, qword [r14 + 0x10]
lea rax, str.Mapped_Image
mov r8b, 1
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], 0x18
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x1400abec7
mov rcx, qword [r14 + 0x10]
lea rax, [0x1401229f0]
mov r8b, 1
mov qword [rbp], rax
lea rdx, [rbp - 8]
mov qword [rbp - 8], 6
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400ab768
mov rdx, qword [r14 + 0x18]
mov rcx, r15
test rdx, rdx
je 0x1400ab74b
add rsp, 0x2b0
pop r15
pop r14
pop rbp
jmp fcn.140049150
lea r8, str.Unable_to_open_key_because_the_object_is_unnamed.
mov edx, 0x10
add rsp, 0x2b0
pop r15
pop r14
pop rbp
jmp sym.ProcessHacker.exe_PhShowMessage
mov rcx, qword [r14 + 0x10]
lea rax, [0x1401229f8]
mov qword [rsp + 0x2d0], rbx
lea rdx, [rbp + 8]
mov qword [rsp + 0x2a8], rsi
mov r8b, 1
mov qword [rsp + 0x2a0], rdi
mov qword [rsp + 0x298], r12
mov qword [rbp + 8], 0xe
mov qword [rbp + 0x10], rax
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400ab960
mov r8, qword [r14]
xor edi, edi
or rsi, 0xffffffffffffffff
cmp qword [0x14015a2a8], rdi
je 0x1400ab866
mov edx, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
lea rcx, [rsp + 0x68]
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400ab933
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov dword [rsp + 0x48], edi
xor edx, edx
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rdi
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x38]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x40], rcx
mov rcx, qword [0x14015a2a8]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x48], 4
mov dword [rbp + 0x58], 0x30
mov qword [rbp + 0x60], rdi
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov rcx, qword [rsp + 0x68]
test eax, eax
cmovns rdi, qword [rbp + 0xf0]
jmp 0x1400ab8e9
mov rbx, qword [r14 + 8]
lea rcx, [rsp + 0x70]
mov r12d, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
mov edx, 0x40
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400ab933
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x78]
mov dword [rsp + 0x30], edi
mov r8, rsi
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], r12d
call sym.ProcessHacker.exe_PhDuplicateObject
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400ab933
mov rcx, qword [rsp + 0x78]
lea r8, [rbp + 0x100]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rcx, qword [rsp + 0x78]
test eax, eax
cmovns rdi, qword [rbp + 0x120]
call qword [sym.imp.ntdll.dll_NtClose]
test rdi, rdi
je 0x1400ab933
mov rcx, rdi
call sym.ProcessHacker.exe_PhReferenceProcessItem
mov rbx, rax
test rax, rax
je 0x1400abeae
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
mov r9, rax
xor r8d, r8d
mov edx, 0x8078
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400ab933
call fcn.1400258b0
mov rdi, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2a8]
mov rbx, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x298]
add rsp, 0x2b0
pop r15
pop r14
pop rbp
ret
mov rcx, qword [r14 + 0x10]
lea rax, [0x140122a08]
mov r8b, 1
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x18]
mov qword [rbp + 0x18], 0xe
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400abcc5
mov r8, qword [r14]
lea rcx, [rbp - 0x80]
mov rbx, qword [r14 + 8]
xor edi, edi
mov qword [rbp + 0x1e8], rdi
xor r12b, r12b
lea edx, [rdi + 0x40]
call sym.ProcessHacker.exe_PhOpenProcess
or rsi, 0xffffffffffffffff
test eax, eax
js 0x1400ab9e8
mov rcx, qword [rbp - 0x80]
lea r9, [rbp + 0x1e8]
mov dword [rsp + 0x30], edi
mov r8, rsi
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], 7
call sym.ProcessHacker.exe_PhDuplicateObject
mov rcx, qword [rbp - 0x80]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x1400aba34
mov r8, qword [r14]
lea rcx, [rbp - 0x78]
mov rbx, qword [r14 + 8]
mov edx, 0x40
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400aba31
mov rcx, qword [rbp - 0x78]
lea r9, [rbp + 0x1e8]
mov dword [rsp + 0x30], edi
mov r8, rsi
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], 5
call sym.ProcessHacker.exe_PhDuplicateObject
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
mov r12b, 1
mov rdx, qword [rbp + 0x1e8]
test rdx, rdx
je 0x1400ab933
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x30], rdi
or r8d, 0xffffffff
mov qword [rsp + 0x28], rdi
mov rcx, rsi
mov qword [rsp + 0x290], r13
xor r13b, r13b
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0x2000000
mov qword [rsp + 0x60], rdi
call sym.ProcessHacker.exe_PhGetHandleInformationEx
test eax, eax
js 0x1400abace
cmp dword [rbp + 0x1d8], edi
jge 0x1400abace
mov rcx, qword [rsp + 0x50]
mov r14, rdi
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x1400abad3
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400abace
call fcn.1400258b0
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x1e8]
lea r8, [rbp + 0x98]
mov r9d, 0x18
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x1400abc93
mov rax, qword [rbp + 0xa8]
cmp rax, 0x2000000
jg 0x1400abb12
mov qword [rsp + 0x58], rax
jmp 0x1400abb15
mov r13b, 1
mov rcx, qword [rbp + 0x1e8]
lea r8, [rsp + 0x60]
mov eax, 4
test r12b, r12b
mov ebx, 2
mov rdx, rsi
cmovne eax, ebx
xor r9d, r9d
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x58]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, 0xc000004e
jne 0x1400abbad
test r12b, r12b
jne 0x1400abc7e
mov rcx, qword [rbp + 0x1e8]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], ebx
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x1400abc7e
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test r13b, r13b
je 0x1400abbe7
lea r8, str.The_section_size_is_greater_than_32_MB._Only_the_first_32_MB_will_be_available_for_editing.
mov edx, 0x30
mov rcx, r15
call sym.ProcessHacker.exe_PhShowMessage
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rax, qword gs:[0x30]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rax + 0x40]
mov qword [rbx], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0xffffffff
mov dword [rbx + 0x1c], edi
test r14, r14
je 0x1400abc48
mov rdx, qword [r14 + 8]
lea rcx, str.Section__
call sym.ProcessHacker.exe_PhConcatStrings2
jmp 0x1400abc59
mov edx, 0xe
lea rcx, [0x140122a08]
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rbx + 0x20], rax
mov r9, rbx
mov dword [rbx + 0x28], 1
xor r8d, r8d
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
mov edx, 0x8080
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400abc93
xor r9d, r9d
lea rdx, str.Unable_to_map_a_view_of_the_section
mov r8d, eax
mov rcx, r15
call sym.ProcessHacker.exe_PhShowStatus
mov r13, qword [rsp + 0x290]
test r14, r14
je 0x1400abcb3
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400abcb3
call fcn.1400258b0
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400ab933
mov rcx, qword [r14 + 0x10]
lea rax, [0x140122a60]
mov r8b, 1
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0x28]
mov qword [rbp + 0x28], 0xc
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x1400ab933
mov r8, qword [r14]
or rsi, 0xffffffffffffffff
cmp qword [0x14015a2a8], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
je 0x1400abdb7
mov edx, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
lea rcx, [rbp - 0x70]
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400ab933
mov rax, qword [rbp - 0x70]
xor edi, edi
mov rcx, qword [r14 + 8]
xor r9d, r9d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov qword [rbp + 0x68], rax
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0x130]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x68]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x70], rcx
mov rcx, qword [0x14015a2a8]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x78], 5
mov dword [rbp + 0x88], 0x30
mov qword [rbp + 0x90], rdi
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x1400abdae
movups xmm0, xmmword [rbp + 0x140]
movups xmmword [rbp - 0x58], xmm0
mov rcx, qword [rbp - 0x70]
jmp 0x1400abe3d
mov rbx, qword [r14 + 8]
lea rcx, [rbp - 0x68]
mov r12d, dword [sym.ProcessHacker.exe_ThreadQueryAccess]
mov edx, 0x40
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400ab933
mov rcx, qword [rbp - 0x68]
lea r9, [rbp - 0x60]
xor edi, edi
mov r8, rsi
mov dword [rsp + 0x30], edi
mov rdx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r12d
call sym.ProcessHacker.exe_PhDuplicateObject
mov rcx, qword [rbp - 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400ab933
mov rcx, qword [rbp - 0x60]
lea r9d, [rdi + 0x30]
lea r8, [rbp + 0x160]
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x1400abe39
movups xmm0, xmmword [rbp + 0x170]
movups xmmword [rbp - 0x58], xmm0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400ab933
call sym.ProcessHacker.exe_PhReferenceProcessItem
mov rbx, rax
test rax, rax
je 0x1400abeae
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
mov rdx, rax
call sym.ProcessHacker.exe_PhCreateProcessPropContext
mov rdi, rax
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400abe82
call fcn.1400258b0
mov rcx, qword [rbp - 0x50]
lea r9, [0x1400ab1e0]
mov qword [rdi + 0x90], rcx
mov r8, rdi
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
mov edx, 0x808a
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400ab933
lea r8, str.The_process_does_not_exist.
mov edx, 0x10
mov rcx, r15
call sym.ProcessHacker.exe_PhShowMessage
jmp 0x1400ab933
mov rdx, qword [r14 + 0x18]
mov rcx, r15
test rdx, rdx
je 0x1400abee8
mov rdx, qword [rdx + 8]
add rsp, 0x2b0
pop r15
pop r14
pop rbp
jmp sym.ProcessHacker.exe_PhShellExploreFile
lea r8, str.Unable_to_open_file_location_because_the_object_is_unnamed.
mov edx, 0x10
add rsp, 0x2b0
pop r15
pop r14
pop rbp
jmp sym.ProcessHacker.exe_PhShowMessage