Function at 0x140052840
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14014b0c0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, rcx
xor r13d, r13d
movabs rax, 0x9281e6266a3b5c91
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0x3d50c3ab6059452c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs r15, 0xfee5c84a065f28ff
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs r12, 0x3d50c3ab60594540
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x140053086
movabs rax, 0xfe82c82f060d28a3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x3d22c3df602a4529
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xf187396190fb1368
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x314bc38433f3d951
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0x24b22d1ddd498036
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x4ce6d11aab2acd57
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x2b3e25554bea8b59
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xb60429f96dc04a4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xc3be9c3c1769b8e4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xb69049bf34056b5a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x386bab4860df417c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x1df117e3fedf335f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movabs rax, 0xec7c7a050acfc658
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rcx, 0x38fe252797a380cc
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x200], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x208], rax
movabs rax, 0xf1e6392c90a71311
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x210], rax
movabs rax, 0x3125c3ed339bd932
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x218], rax
movabs rax, 0x24cb2d4edd158053
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x220], rax
movabs rax, 0x4c8bd17fab5ecd24
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x228], rax
movabs rax, 0x2b4c25204ba98b05
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x230], rax
movabs rax, 0xb1442f196b904d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x238], rax
movabs rax, 0xc3ca9c521706b8a7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
movabs rax, 0xb6c349d3346a6b28
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
movabs rax, 0x3838ab1460ab4119
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x250], rax
movabs rax, 0x1d981795fead333a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x258], rax
movabs rax, 0xec207a760aaac63b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x260], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x268], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x200]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x220]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x240]
vmovdqa ymmword [rbp + 0xe0], ymm1
vmovdqa xmm0, xmmword [rbp + 0x100]
vxorps xmm0, xmm0, xmmword [rbp + 0x260]
vmovdqa xmmword [rbp + 0x100], xmm0
lea rax, [rbp + 0xa0]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
vzeroupper
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140052c16
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x1400530bc
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140052c4a
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xa0]
lea rcx, [rbp + 0x148]
call fcn.14004f0c0
nop
lea rdx, [rbp + 0x148]
cmp qword [rbp + 0x160], 7
cmova rdx, qword [rbp + 0x148]
lea rcx, [rbp + 0x168]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
movabs rax, 0xfeb1c819060628ac
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x3d13c3f760144505
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf183395e90d51364
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x314ac3ae33efd95c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x24a42d3cdd61803d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x4cffd11aab0dcd48
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x2b3e25454bfa8b59
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xb71429296d004a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xc3ca9c52175ab8d4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rcx, 0xb6c349d3346a6b28
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0xf1e6392c90a71311
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x3125c3ed339bd932
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x24cb2d4edd158053
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x4c8bd17fab5ecd24
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x2b4c25204ba98b05
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
movabs rax, 0xb1442f196b904d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0xc3ca9c521706b8a7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x1e0]
vmovdqa xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x40]
vzeroupper
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140052e92
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x1400530b6
cmp qword [rdi + 0x18], 7
jbe 0x140052eb6
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x40]
lea rcx, [rbp + 0x128]
call fcn.14004f0c0
nop
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 7
cmova rdx, qword [rbp + 0x128]
lea r8, [rbp + 0x120]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140052f10
cmp eax, 2
sete bl
jmp 0x140052fd9
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0x9a84a726680a5cb1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x3d50b1ce16303704
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.140046f30
lea rcx, [rbp + 0x168]
call rax
lea rdx, [rbp + 0x128]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x140052fb9
cmp qword [rbp + 0x140], 7
cmova rdx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x140052fd9
cmp qword [rbp + 0x140], 7
cmova rdx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x140052fd7
xor bl, bl
jmp 0x140052fd9
mov bl, 1
mov rdx, qword [rbp + 0x140]
cmp rdx, 7
jbe 0x140053022
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005301d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005301d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movdqa xmm0, xmmword [0x140135180]
movdqu xmmword [rbp + 0x138], xmm0
mov word [rbp + 0x128], r13w
mov rdx, qword [rbp + 0x160]
cmp rdx, 7
jbe 0x140053083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005307e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005307e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1e50
movzx eax, bl
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400f1a00
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140046aa0
nop
call fcn.140046aa0
int3