Function at 0x1401b9710
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, reloc.MFC80U.DLL_Ordinal_3712
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_3700], rax
mov rsi, rdx
cmp dword [rdx + 0x1c], 0
je 0x1401b9c02
cmp qword [rdx + 8], 0
je 0x1401b9767
mov rcx, qword [rdx + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
jmp 0x1401b97dd
mov eax, dword [0x140c47dd0]
test al, 1
jne 0x1401b978b
or eax, 1
mov dword [0x140c47dd0], eax
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1401b9792
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rbx, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rdi, rax
test rax, rax
je 0x1401b97e1
nop
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
cmp eax, dword [rsi + 0x84]
je 0x1401b97d4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rdi, rax
test rax, rax
jne 0x1401b97b0
jmp 0x1401b97e1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
test eax, eax
jne 0x1401b97fb
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
test eax, eax
je 0x1401b9ba8
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
call fcn.1400494c0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov edi, eax
xor ecx, ecx
call fcn.1402271a0
test eax, eax
jne 0x1401b987b
test edi, edi
jne 0x1401b987b
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036ac48]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
or eax, 0xffffffff
jmp 0x1401b9c04
xor ecx, ecx
call fcn.140225c90
test eax, eax
je 0x1401b98d9
test edi, edi
jne 0x1401b98d9
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036ac58]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
or eax, 0xffffffff
jmp 0x1401b9c04
mov edx, 1
mov rcx, qword [rsi]
call fcn.140224fa0
test eax, eax
jne 0x1401b9939
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036ac68]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
or eax, 0xffffffff
jmp 0x1401b9c04
mov word [rsp + Ordinal_2114], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2114]
call sub.ntdll.dll_memset
mov r8d, 0x103
lea rdx, [rsp + 0x840]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1401b9a5b
call fcn.140049470
mov rsi, rax
xor edx, edx
mov r8d, 0x80
lea rbx, [0x140c481f0]
mov rcx, rbx
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, [0x14036ac78]
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
jne 0x1401b99b6
xor ebx, ebx
jmp 0x1401b9a40
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_2096], 0
xor eax, eax
mov qword [rsp + Ordinal_2100], rax
mov word [rsp + reloc.MFC80U.DLL_Ordinal_2105], ax
mov byte [rsp + Ordinal_2109], al
mov r8d, 0xb1
lea rdx, [0x14036ae1c]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1401b9a00
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1401b9a30
mov rax, qword [rsi]
mov r8, rbx
lea rdx, str._s:_Failed_to_call_GetModuleFileName
mov rcx, rsi
call qword [rax + 0x10]
or eax, 0xffffffff
jmp 0x1401b9c04
mov word [rsp + reloc.MFC80U.DLL_Ordinal_2640], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xa52]
call sub.ntdll.dll_memset
mov word [rsp + 0xc60], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc62]
call sub.ntdll.dll_memset
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x840]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
movsxd rax, ecx
test rax, rax
jle 0x1401b9acb
sub ecx, 1
sub rax, 1
cmp word [rsp + rax*2 + 0x840], 0x5c
jne 0x1401b9ab4
movsxd rax, ecx
mov word [rsp + rax*2 + Ordinal_2114], 0
lea rcx, [rsp + 0x30]
call fcn.140147040
nop
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x50]
movzx r8d, ax
lea r9, [0x14036acc0]
lea rdx, [0x14036acd8]
lea rcx, [rsp + 0xc60]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x840]
lea rdx, str._s2Gpt_BCD
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2640]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xc60]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_2640]
lea rcx, [rsp + 0x30]
call fcn.140055db0
test eax, eax
jne 0x1401b9b9e
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14036ad10]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call sub.MFC80U.DLL_Ordinal_1134
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x30]
call fcn.140050540
or eax, 0xffffffff
jmp 0x1401b9c04
lea rcx, [rsp + 0x30]
call fcn.140050540
call fcn.140224c90
test eax, eax
je 0x1401b9c02
xor ebx, ebx
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_2096], rbx
lea r8, [rsp + reloc.MFC80U.DLL_Ordinal_2096]
lea rdx, [0x14036ad20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1401b9bdf
xor eax, eax
jmp 0x1401b9c04
lea rdx, [0x14036ad50]
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_2096]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0xe70]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + reloc.MFC80U.DLL_Ordinal_3712]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret