Function at 0x14001a7c0
Capabilities:
Access peb ldr_data
Delete registry value
Map section object
Set registry value

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rbx, rdx
mov qword [rbp - 0x68], 8
mov r15, rcx
lea rax, [0x1401280d0]
mov r8b, 1
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x68]
mov rcx, qword [rbx + 0x10]
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
jne 0x14001af58
mov rcx, qword [rbx + 0x10]
lea rax, [0x1401280c8]
mov r8b, 1
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x58]
mov qword [rbp - 0x58], 6
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
jne 0x14001af58
mov rcx, qword [rbx + 0x10]
lea rax, str.Mapped_file
mov r8b, 1
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x48], 0x16
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
jne 0x14001af58
mov rcx, qword [rbx + 0x10]
lea rax, str.Mapped_image
mov r8b, 1
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x38], 0x18
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
jne 0x14001af58
mov rcx, qword [rbx + 0x10]
lea rax, [0x140128b88]
mov r8b, 1
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], 6
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
je 0x14001a8e5
mov rdx, qword [rbx + 0x18]
mov rcx, r15
test rdx, rdx
je 0x14001a8c9
add rsp, 0x290
pop r15
pop rbx
pop rbp
jmp fcn.14000c8a0
lea r8, str.Unable_to_open_key_because_the_object_is_unnamed.
mov edx, 0x10
add rsp, 0x290
pop r15
pop rbx
pop rbp
jmp sym.MercyssMercyr.exe_PhShowMessage
mov rcx, qword [rbx + 0x10]
lea rax, [0x140127da8]
mov r8b, 1
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x288], rdi
mov qword [rbp - 0x18], 0xe
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
je 0x14001aa63
mov r8, qword [rbx]
xor edi, edi
cmp qword [0x14015b300], rdi
mov edx, dword [sym.MercyssMercyr.exe_ProcessQueryAccess]
je 0x14001a9c4
lea rcx, [rsp + 0x68]
call fcn.1400b85f0
test eax, eax
js 0x14001ad8d
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov dword [rsp + 0x48], edi
xor edx, edx
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rdi
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x18]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rcx
mov rcx, qword [0x14015b300]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x28], 4
mov dword [rbp + 0x38], 0x30
mov qword [rbp + 0x40], rdi
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov rcx, qword [rsp + 0x68]
test eax, eax
cmovns rdi, qword [rbp + 0xd0]
jmp 0x14001aa08
mov r9, qword [rbx + 8]
lea rcx, [rsp + 0x70]
call fcn.14001a680
test eax, eax
js 0x14001ad8d
mov rcx, qword [rsp + 0x70]
lea r8, [rbp + 0xe0]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rcx, qword [rsp + 0x70]
test eax, eax
cmovns rdi, qword [rbp + 0x100]
call qword [sym.imp.ntdll.dll_NtClose]
test rdi, rdi
je 0x14001ad8d
mov rcx, rdi
call sym.MercyssMercyr.exe_PhReferenceProcessItem
mov rbx, rax
test rax, rax
je 0x14001af3f
mov rcx, qword [sym.MercyssMercyr.exe_PhMainWndHandle]
mov r9, rax
xor r8d, r8d
mov edx, 0x8078
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx - 0x10]
or rbx, 0xffffffffffffffff
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x14001ad8d
call fcn.1400ae900
jmp 0x14001ad8d
mov rcx, qword [rbx + 0x10]
lea rax, [0x140128bd0]
mov r8b, 1
mov qword [rbp], rax
lea rdx, [rbp - 8]
mov qword [rbp - 8], 0xe
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
je 0x14001ada1
mov r9, qword [rbx + 8]
lea rcx, [rbp + 0x1c8]
mov r8, qword [rbx]
xor edi, edi
mov qword [rsp + 0x2b0], rsi
xor sil, sil
mov qword [rbp + 0x1c8], rdi
lea edx, [rdi + 7]
call fcn.14001a680
test eax, eax
jns 0x14001aad5
mov r9, qword [rbx + 8]
lea edx, [rdi + 5]
mov r8, qword [rbx]
lea rcx, [rbp + 0x1c8]
call fcn.14001a680
mov sil, 1
mov rdx, qword [rbp + 0x1c8]
test rdx, rdx
je 0x14001ad85
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x280], r12
or r8d, 0xffffffff
mov qword [rsp + 0x28], rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
xor r12b, r12b
mov qword [rsp + 0x270], r14
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0x2000000
mov qword [rsp + 0x60], rdi
call sym.MercyssMercyr.exe_PhGetHandleInformationEx
test eax, eax
js 0x14001ab7b
cmp dword [rbp + 0x1b8], edi
jge 0x14001ab7b
mov rcx, qword [rsp + 0x50]
mov r14, rdi
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x14001ab80
add rcx, 0xfffffffffffffff0
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001ab7b
call fcn.1400ae900
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x1c8]
lea r8, [rbp + 0x78]
mov r9d, 0x18
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x14001ad50
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x278], r13
cmp rax, 0x2000000
jg 0x14001abc4
mov qword [rsp + 0x58], rax
jmp 0x14001abc7
mov r12b, 1
mov rcx, qword [rbp + 0x1c8]
lea r8, [rsp + 0x60]
mov eax, 4
test sil, sil
mov r13d, 2
mov rdx, rbx
cmovne eax, r13d
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 0x14001ac62
test sil, sil
jne 0x14001ad33
mov rcx, qword [rbp + 0x1c8]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], r13d
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, rbx
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 0x14001ad33
mov rcx, qword [sym.MercyssMercyr.exe_PhHeapHandle]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test r12b, r12b
je 0x14001ac9c
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.MercyssMercyr.exe_PhShowMessage
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rax
mov rax, qword gs:[0x30]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rax + 0x40]
mov qword [rsi], rcx
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], 0xffffffff
mov dword [rsi + 0x1c], edi
test r14, r14
je 0x14001acfd
mov rdx, qword [r14 + 8]
lea rcx, str.Section__
call sym.MercyssMercyr.exe_PhConcatStrings2
jmp 0x14001ad0e
mov edx, 0xe
lea rcx, [0x140128bd0]
call sym.MercyssMercyr.exe_PhCreateStringEx
mov qword [rsi + 0x20], rax
mov r9, rsi
mov dword [rsi + 0x28], 1
xor r8d, r8d
mov rcx, qword [sym.MercyssMercyr.exe_PhMainWndHandle]
mov edx, 0x8080
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001ad48
xor r9d, r9d
lea rdx, str.Unable_to_map_a_view_of_the_section
mov r8d, eax
mov rcx, r15
call sym.MercyssMercyr.exe_PhShowStatus
mov r13, qword [rsp + 0x278]
mov r12, qword [rsp + 0x280]
test r14, r14
je 0x14001ad70
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x14001ad70
call fcn.1400ae900
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x288]
add rsp, 0x290
pop r15
pop rbx
pop rbp
ret
mov rcx, qword [rbx + 0x10]
lea rax, [0x140128c08]
mov r8b, 1
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 8]
mov qword [rbp + 8], 0xc
call sym.MercyssMercyr.exe_PhEqualStringRef
test al, al
je 0x14001ad8d
cmp qword [0x14015b300], 0
xorps xmm0, xmm0
mov r8, qword [rbx]
movdqu xmmword [rbp - 0x78], xmm0
je 0x14001ae7e
mov edx, dword [sym.MercyssMercyr.exe_ProcessQueryAccess]
lea rcx, [rsp + 0x78]
call fcn.1400b85f0
test eax, eax
js 0x14001ad8d
mov rax, qword [rsp + 0x78]
xor edi, edi
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov qword [rbp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0x110]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x48]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x50], rcx
mov rcx, qword [0x14015b300]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x58], 5
mov dword [rbp + 0x68], 0x30
mov qword [rbp + 0x70], rdi
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14001ae77
movups xmm0, xmmword [rbp + 0x120]
movups xmmword [rbp - 0x78], xmm0
mov rcx, qword [rsp + 0x78]
jmp 0x14001aeca
mov r9, qword [rbx + 8]
lea rcx, [rbp - 0x80]
mov edx, dword [sym.MercyssMercyr.exe_ThreadQueryAccess]
call fcn.14001a680
test eax, eax
js 0x14001ad8d
mov rcx, qword [rbp - 0x80]
lea r8, [rbp + 0x140]
xor edi, edi
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x14001aec6
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [rbp - 0x78], xmm0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001ad8d
call sym.MercyssMercyr.exe_PhReferenceProcessItem
mov rbx, rax
test rax, rax
je 0x14001af3f
mov rcx, qword [sym.MercyssMercyr.exe_PhMainWndHandle]
mov rdx, rax
call sym.MercyssMercyr.exe_PhCreateProcessPropContext
lea rcx, [rbx - 0x10]
mov rdi, rax
or rbx, 0xffffffffffffffff
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x14001af13
call fcn.1400ae900
mov rcx, qword [rbp - 0x70]
lea r9, [0x14001a750]
mov qword [rdi + 0x90], rcx
mov r8, rdi
mov rcx, qword [sym.MercyssMercyr.exe_PhMainWndHandle]
mov edx, 0x808a
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001ad8d
lea r8, str.The_process_does_not_exist.
mov edx, 0x10
mov rcx, r15
call sym.MercyssMercyr.exe_PhShowMessage
jmp 0x14001ad8d
mov rdx, qword [rbx + 0x18]
mov rcx, r15
test rdx, rdx
je 0x14001af78
mov rdx, qword [rdx + 8]
add rsp, 0x290
pop r15
pop rbx
pop rbp
jmp sym.MercyssMercyr.exe_PhShellExploreFile
lea r8, str.Unable_to_open_file_location_because_the_object_is_unnamed.
mov edx, 0x10
add rsp, 0x290
pop r15
pop rbx
pop rbp
jmp sym.MercyssMercyr.exe_PhShowMessage