Function at 0x1400594f0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059b6c
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rbp + 0x60], rax
lea rbx, str.TkE_bm5Rcm1wYz9zcm1TbmJfcmNw
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.140031e00
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14005956a
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140059550
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.140032190
nop
xor r14d, r14d
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
lea r8d, [r14 + 0x3c]
lea rdx, str.UW1kcnVfcGNaS2dhcG1xbWRyWlVnbGJtdXFaQXNwcGNsclRjcHFnbWxaUHNs
lea rcx, [rbp - 0x58]
call fcn.140030750
nop
mov r12, qword [rbp + 0x60]
add r12, 0xffffffffffffffe8
mov rcx, r12
call fcn.1400318c0
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.14004beb0
nop
mov rcx, rax
call fcn.140058640
movzx r13d, al
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400595e0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r15, qword [rbp - 0x58]
movabs rbx, 0x7ffffffffffffffe
mov rsi, qword [rbp - 0x48]
cmp rsi, rbx
ja 0x140059b77
mov qword [rsp + 0x70], 7
cmp rsi, 8
jae 0x140059645
mov qword [rsp + 0x68], rsi
mov r8d, 0x10
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140185440
jmp 0x140059690
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140059660
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140030fc0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.140185440
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x38]
call fcn.14004bc20
mov rbx, rax
mov rcx, r12
call fcn.1400318c0
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.14004beb0
mov rsi, rax
lea r8, [rbp + 0x68]
mov rdx, qword [rbx]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rdx, qword [rsi]
test eax, eax
jne 0x14005974b
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x68]
test eax, eax
jne 0x14005973c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059710
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005972c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, 1
test r13b, r13b
jne 0x140059afc
jmp 0x140059783
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsi]
sub rdx, 0x18
jmp 0x14005974f
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059764
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059780
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, r14d
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059b7d
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rsi, str.bnBtYnNhcg
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140031e00
test al, al
jne 0x1400597db
mov rax, rdi
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400597c0
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140032190
nop
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059b88
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rsi, str.cl9xaV1hcGNfcmdtbF1kX2dqY2I
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140031e00
test al, al
jne 0x140059831
mov rax, rdi
inc rax
cmp word [rsi + rax*2], 0
jne 0x140059816
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140032190
nop
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059b93
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rsi, str.cnFmXWJjamNyZ21sXXBjcTsjYiRfc3JtcHNsXWJjamNyZ21sOyNi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140031e00
test al, al
jne 0x14005988b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140059870
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140032190
nop
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059b9e
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r15, qword [rsp + 0x38]
lea rcx, [r15 - 0x18]
call fcn.1400318c0
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
call fcn.14004beb0
nop
test r13b, r13b
setne r14b
mov r9d, r14d
mov r8d, ebx
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.140025c80
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059907
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059ba9
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rbx, [0x1401e3cf8]
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.140031e00
test al, al
jne 0x14005995a
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140059940
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.140032190
nop
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x140059bb4
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rbp + 0x50], rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140031e00
test al, al
jne 0x1400599aa
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140059990
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140032190
nop
mov r14, qword [rsp + 0x40]
lea rcx, [r14 - 0x18]
call fcn.1400318c0
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x18]
call fcn.14004beb0
mov rbx, rax
mov rsi, qword [rsp + 0x48]
lea rcx, [rsi - 0x18]
call fcn.1400318c0
add rax, 0x18
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.14004beb0
nop
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rax
call fcn.140061650
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059a30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059a4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059a6c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059a8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059aa9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x140059ac5
mov rcx, qword [r15 - 0x18]
mov rax, qword [rcx]
lea rdx, [r15 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140059ae1
mov rcx, qword [r14 - 0x18]
mov rax, qword [rcx]
lea rdx, [r14 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140059afc
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140059b39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059b33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059b66
call fcn.140183144
nop
lock xadd dword [r12 + 0x10], edi
sub edi, 1
jg 0x140059b52
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140189c24
nop
mov ecx, 0x80004005
call fcn.140032160
nop
call fcn.140030df0
int3
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
int3