Function at 0x140005a80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x5d0], rbx
mov rax, qword [0x1400c0140]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov qword [rbp - 0x18], rdx
mov r15, rcx
mov qword [rbp], rcx
mov qword [rbp + 0x148], 7
xor r12d, r12d
mov qword [rbp + 0x140], r12
mov word [rbp + 0x130], r12w
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1e0], r12
mov word [rbp + 0x1d0], r12w
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], r12
mov word [rbp + 0x1a8], r12w
mov qword [rbp + 0x210], 7
mov qword [rbp + 0x208], r12
mov word [rbp + 0x1f8], r12w
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], r12
mov word [rbp + 0x158], r12w
mov qword [rbp + 0x260], 7
mov qword [rbp + 0x258], r12
mov word [rbp + 0x248], r12w
mov qword [rbp + 0x238], 7
mov qword [rbp + 0x230], r12
mov word [rbp + 0x220], r12w
mov qword [rbp + 0x48], r12
lea ecx, [r12 + 0x48]
call fcn.140063640
test rax, rax
je 0x14000719d
mov qword [rbp + 0x40], rax
mov qword [rax], rax
mov rax, qword [rbp + 0x40]
mov qword [rax + 8], rax
mov rax, qword [rbp + 0x40]
mov qword [rax + 0x10], rax
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x40], 1
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x41], 1
mov qword [rbp + 0x28], r12
lea ecx, [r12 + 0x70]
call fcn.140063640
test rax, rax
je 0x140007165
mov qword [rbp + 0x20], rax
mov qword [rax], rax
mov rax, qword [rbp + 0x20]
mov qword [rax + 8], rax
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x10], rax
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x68], 1
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x69], 1
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov r14d, r12d
mov dword [rbp - 0x40], r12d
mov r13d, r12d
mov dword [rsp + 0x78], r12d
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], r12
mov word [rbp + 0x180], r12w
lea r8d, [r12 + 5]
lea rdx, str.CLSID
lea rcx, [rbp + 0x180]
call fcn.140001780
nop
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r12
mov word [rbp + 0x88], r12w
lea r8d, [r12 + 0xe]
lea rdx, str._localappdata_
lea rcx, [rbp + 0x88]
call fcn.140001780
nop
lea rcx, [rbp - 0x80]
call fcn.140013ad0
mov rdi, qword [rbp - 0x78]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x140005cdb
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x88]
mov rcx, rdi
call fcn.1400015e0
nop
add rdi, 0x28
mov qword [rbp - 0x78], rdi
cmp qword [rbp + 0xa0], 8
jb 0x140005cf9
mov rcx, qword [rbp + 0x88]
call fcn.140063290
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r12
mov word [rbp + 0xe0], r12w
mov r8d, 0x12
lea rdx, str._windir_installer
lea rcx, [rbp + 0xe0]
call fcn.140001780
nop
lea rax, [rbp + 0xe0]
movabs rdx, 0x6666666666666667
mov rbx, qword [rbp - 0x80]
cmp rax, rdi
jae 0x140005dd2
lea rax, [rbp + 0xe0]
cmp rbx, rax
ja 0x140005dd2
lea rcx, [rbp + 0xe0]
sub rcx, rbx
mov rax, rdx
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
mov rsi, qword [rbp - 0x70]
cmp rdi, rsi
jne 0x140005d96
lea rcx, [rbp - 0x80]
call fcn.140013ad0
mov rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
lea rax, [r12 + r12*4]
lea rdx, [rbx + rax*8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
xor r12d, r12d
test rdi, rdi
je 0x140005dd0
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.1400015e0
nop
jmp 0x140005e26
mov rsi, qword [rbp - 0x70]
cmp rdi, rsi
jne 0x140005df0
lea rcx, [rbp - 0x80]
call fcn.140013ad0
mov rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x140005e26
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.1400015e0
nop
add rdi, 0x28
mov qword [rbp - 0x78], rdi
cmp qword [rbp + 0xf8], 8
jb 0x140005e44
mov rcx, qword [rbp + 0xe0]
call fcn.140063290
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r12
mov word [rbp + 0xe0], r12w
mov r8d, 0x3d
lea rdx, str._system_config_systemprofileLocal_SettingsApplication_Data
lea rcx, [rbp + 0xe0]
call fcn.140001780
nop
lea rax, [rbp + 0xe0]
cmp rax, rdi
jae 0x140005f0e
lea rax, [rbp + 0xe0]
cmp rbx, rax
ja 0x140005f0e
lea rcx, [rbp + 0xe0]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rdi, rsi
jne 0x140005ed2
lea rcx, [rbp - 0x80]
call fcn.140013ad0
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
lea rax, [r12 + r12*4]
lea rdx, [rbx + rax*8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
xor r12d, r12d
test rdi, rdi
je 0x140005f0c
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.1400015e0
nop
jmp 0x140005f56
cmp rdi, rsi
jne 0x140005f20
lea rcx, [rbp - 0x80]
call fcn.140013ad0
mov rdi, qword [rbp - 0x78]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x140005f56
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.1400015e0
nop
add rdi, 0x28
mov qword [rbp - 0x78], rdi
cmp qword [rbp + 0xf8], 8
jb 0x140005f74
mov rcx, qword [rbp + 0xe0]
call fcn.140063290
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r12
mov word [rbp + 0x88], r12w
mov r8d, 0x34
lea rdx, str..globalroot_systemrootInstaller_.__n._
lea rcx, [rbp + 0x88]
call fcn.140001780
nop
lea rcx, [rbp - 0x38]
call fcn.140013ad0
mov rbx, qword [rbp - 0x30]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x140005feb
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x88]
mov rcx, rbx
call fcn.1400015e0
nop
add rbx, 0x28
mov qword [rbp - 0x30], rbx
cmp qword [rbp + 0xa0], 8
jb 0x140006009
mov rcx, qword [rbp + 0x88]
call fcn.140063290
lea rdx, [r15 + 0x370]
lea r8, str._.__n._
lea rcx, [rbp + 0xb0]
call fcn.140018a10
mov rdi, rax
lea rax, [rbp + 0x130]
cmp rax, rdi
je 0x1400060bb
cmp qword [rbp + 0x148], 8
jb 0x14000604c
mov rcx, qword [rbp + 0x130]
call fcn.140063290
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], r12
mov word [rbp + 0x130], r12w
cmp qword [rdi + 0x18], 8
jae 0x140006088
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rbp + 0x130]
call fcn.1400632b0
jmp 0x140006095
mov rax, qword [rdi]
mov qword [rbp + 0x130], rax
mov qword [rdi], r12
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x140], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x148], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
cmp qword [rbp + 0xc8], 8
jb 0x1400060d1
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
call fcn.1400420e8
mov rdi, rax
mov qword [rsp + 0x70], rax
call fcn.140041f78
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x6c]
call fcn.140041dec
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jae 0x140006103
inc rcx
mov qword [rsi + 8], rcx
lea rcx, [rsp + 0x6c]
call fcn.140041e1c
nop
lea rax, [0x14008ef94]
mov qword [rbp - 0x60], rax
lea rax, [0x14008ef98]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x60], rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140041dec
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
jae 0x14000614f
inc rax
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x68]
call fcn.140041e1c
lea r8, [rsp + 0x60]
lea rdx, [0x14008ef9c]
lea rcx, [rbp + 0x108]
call fcn.14001aee0
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.14001aba0
nop
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140041dec
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400061a7
cmp rax, 0xffffffffffffffff
jae 0x1400061a7
dec rax
mov qword [rdi + 8], rax
mov rsi, r12
cmp qword [rdi + 8], 0
cmove rsi, rdi
lea rcx, [rsp + 0x68]
call fcn.140041e1c
test rsi, rsi
je 0x1400061cf
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
lea rax, [rbp + 0x130]
cmp rax, rbx
jae 0x140006267
lea rax, [rbp + 0x130]
mov r8, qword [rbp - 0x38]
cmp r8, rax
ja 0x140006267
lea rcx, [rbp + 0x130]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp rbx, qword [rbp - 0x28]
jne 0x14000622e
lea rcx, [rbp - 0x38]
call fcn.140013ad0
mov rbx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x38]
lea rax, [rdi + rdi*4]
lea rdx, [r8 + rax*8]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x140006265
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.1400015e0
nop
jmp 0x1400062b0
cmp rbx, qword [rbp - 0x28]
jne 0x14000627a
lea rcx, [rbp - 0x38]
call fcn.140013ad0
mov rbx, qword [rbp - 0x30]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x1400062b0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x130]
mov rcx, rbx
call fcn.1400015e0
nop
add rbx, 0x28
mov qword [rbp - 0x30], rbx
mov rsi, qword [rbp]
lea r15, [rsi + 0x398]
lea r8, [0x14008efa0]
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.140018a10
nop
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140001540
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006300
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
call fcn.1400420e8
mov rdi, rax
mov qword [rsp + 0x70], rax
call fcn.140041f78
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140041dec
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jae 0x140006332
inc rcx
mov qword [rbx + 8], rcx
lea rcx, [rsp + 0x68]
call fcn.140041e1c
nop
lea rax, [0x14008ef94]
mov qword [rbp - 0x60], rax
lea rax, [0x14008ef98]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x60], rdi
xor edx, edx
lea rcx, [rsp + 0x6c]
call fcn.140041dec
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
jae 0x14000637e
inc rax
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x6c]
call fcn.140041e1c
lea r8, [rsp + 0x60]
lea rdx, [0x14008ef9c]
lea rcx, [rbp + 0x108]
call fcn.14001aee0
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.14001aba0
nop
mov rcx, rdi
call fcn.140001dd0
mov rcx, rax
test rax, rax
je 0x1400063ce
mov rax, qword [rax]
mov edx, 1
call qword [rax]
call fcn.1400420e8
mov rdi, rax
mov qword [rsp + 0x70], rax
call fcn.140041f78
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140041dec
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jae 0x140006400
inc rcx
mov qword [rbx + 8], rcx
lea rcx, [rsp + 0x68]
call fcn.140041e1c
nop
lea rax, [0x14008efb8]
mov qword [rbp - 0x60], rax
lea rax, [0x14008efbc]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x60], rdi
xor edx, edx
lea rcx, [rsp + 0x6c]
call fcn.140041dec
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
jae 0x14000644c
inc rax
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x6c]
call fcn.140041e1c
lea r8, [rsp + 0x60]
lea rdx, [0x14008efc0]
lea rcx, [rbp + 0x108]
call fcn.14001aee0
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.14001aba0
nop
mov rcx, rdi
call fcn.140001dd0
mov rcx, rax
test rax, rax
je 0x14000649c
mov rax, qword [rax]
mov edx, 1
call qword [rax]
mov r8d, 1
lea rdx, [0x14008efc0]
lea rcx, [rbp + 0x1d0]
call fcn.140015a00
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x38]
call fcn.1400119e0
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rdx, qword [rbp + 0x180]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006bab
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rbp - 0x3c]
test edx, edx
je 0x140006b7a
mov dword [rsp + 0x6c], r12d
mov rsi, qword [rbp - 0x30]
mov r13, qword [rbp - 0x38]
xor ebx, ebx
nop
mov dword [rbp - 0x10], 0xff
mov dword [rbp - 0x40], 0x1000
mov word [0x1400ca460], bx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x270]
mov edx, r12d
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140006b5f
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], rbx
mov word [rbp + 0xe0], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xe0]
call fcn.1400015e0
nop
mov r8d, 1
lea rdx, [0x14008ef9c]
lea rcx, [rbp + 0xe0]
call fcn.140015a00
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x270]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0xe0]
call fcn.140015a00
mov r8d, 0xf
lea rdx, str.InprocServer32
lea rcx, [rbp + 0xe0]
call fcn.140015a00
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rdx, qword [rbp + 0xe0]
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006b49
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp + 0x10], 0
je 0x140006b3e
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400ca460]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14008db30]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006b3e
mov rbx, r13
cmp r13, rsi
je 0x140006b3c
lea rax, [rbp + 0x88]
mov qword [rbp - 0x60], rax
xor r13d, r13d
lea r12, [0x1400ca460]
nop dword [rax + rax]
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r13
mov word [rbp + 0x88], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.1400015e0
nop
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], r13
mov word [rbp + 0xb0], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.140001780
nop
lea r8, [rbp + 0x1f8]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.14002bae0
cmp qword [rbp + 0x208], 0
je 0x140006b26
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x38]
call fcn.14001ace0
mov r8, rax
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x38]
call fcn.140019750
inc r14d
mov dword [rsp + 0x78], 1
mov r8d, 0x1f
lea rdx, str.______HKEY_CLASSES_ROOTCLSID_
lea rcx, [rbp + 0x220]
call fcn.140015a00
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x270]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x220]
call fcn.140015a00
mov r8d, 0x21
lea rdx, str.InprocServer32__ZA_Reg_Hijack__r_n
lea rcx, [rbp + 0x220]
call fcn.140015a00
mov r8, r15
lea rdx, [0x14008f090]
lea rcx, [rbp + 0xb0]
call fcn.140018b90
nop
lea r8, str.._._n.
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140018c70
nop
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.140001540
nop
cmp qword [rbp + 0xa0], 8
jb 0x140006894
mov rcx, qword [rbp + 0x88]
call fcn.140063290
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r13
mov word [rbp + 0x88], r13w
cmp qword [rbp + 0xc8], 8
jb 0x1400068c4
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
call fcn.1400420e8
mov qword [rsp + 0x60], rax
call fcn.140041f78
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140041dec
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jae 0x1400068f3
inc rcx
mov qword [rdi + 8], rcx
lea rcx, [rsp + 0x68]
call fcn.140041e1c
nop
lea r9, [rsp + 0x60]
lea r8, [0x14008ef94]
lea rdx, [0x14008ef9c]
lea rcx, [rbp + 0x1a8]
call fcn.140018af0
nop
lea rcx, [rsp + 0x60]
call fcn.1400020b0
call fcn.1400420e8
mov qword [rsp + 0x60], rax
call fcn.140041f78
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140041dec
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
jae 0x140006957
inc rcx
mov qword [rdi + 8], rcx
lea rcx, [rsp + 0x70]
call fcn.140041e1c
nop
lea r9, [rsp + 0x60]
lea r8, [0x14008efb8]
lea rdx, [0x14008efc0]
lea rcx, [rbp + 0x1a8]
call fcn.140018af0
nop
lea rcx, [rsp + 0x60]
call fcn.1400020b0
mov r8d, 1
lea rdx, [0x14008efc0]
lea rcx, [rbp + 0x1a8]
call fcn.140015a00
lea rax, [rbp + 0x88]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r13
mov word [rbp + 0x88], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x88]
call fcn.1400015e0
nop
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], r13
mov word [rbp + 0xb0], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.140001780
nop
lea r8, [rbp + 0x158]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.14002bae0
cmp qword [rbp + 0x168], 0
je 0x140006b26
lea rcx, [rbp + 0x158]
cmp qword [rbp + 0x170], 8
cmovae rcx, qword [rbp + 0x158]
xor edx, edx
call fcn.14006510c
test eax, eax
jne 0x140006b26
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x80]
call fcn.1400119e0
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r13
mov word [rbp + 0x88], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x88]
call fcn.1400015e0
nop
mov r8d, 1
lea rdx, [0x14008ef9c]
lea rcx, [rbp + 0x88]
call fcn.140015a00
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], r13
mov word [rbp + 0xb0], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.1400015e0
lea rcx, [rbp + 0xb0]
call fcn.1400078f0
nop
cmp qword [rbp + 0xa0], 8
jb 0x140006b26
mov rcx, qword [rbp + 0x88]
call fcn.140063290
add rbx, 0x28
cmp rbx, rsi
jne 0x140006720
mov r12d, dword [rsp + 0x6c]
mov r13, qword [rbp - 0x38]
xor ebx, ebx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0xf8], 8
jb 0x140006b5f
mov rcx, qword [rbp + 0xe0]
call fcn.140063290
inc r12d
mov dword [rsp + 0x6c], r12d
cmp r12d, dword [rbp - 0x3c]
jb 0x140006560
mov r13d, dword [rsp + 0x78]
mov rsi, qword [rbp]
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rbp - 0x18]
test r13d, r13d
je 0x140006baf
mov qword [rsp + 0x20], r12
mov r9, rsi
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140007240
add r14d, eax
jmp 0x140006baf
mov r12, qword [rbp - 0x18]
mov r9, r12
mov r8, rsi
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.140007f00
add r14d, eax
lea r8, str._assemblyGAC_32Desktop.ini
lea rdx, [rsi + 0x2a8]
lea rcx, [rbp + 0xb0]
call fcn.140018a10
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400118f0
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006c04
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
lea r8, str._assemblyGAC_64Desktop.ini
lea rdx, [rsi + 0x2a8]
lea rcx, [rbp + 0xb0]
call fcn.140018a10
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400118f0
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006c42
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
lea r8, str._assemblyGACDesktop.ini
lea rdx, [rsi + 0x2a8]
lea rcx, [rbp + 0xb0]
call fcn.140018a10
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400118f0
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006c80
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
lea r8, str._assemblyGAC_MSILDesktop.ini
lea rdx, [rsi + 0x2a8]
lea rcx, [rbp + 0xb0]
call fcn.140018a10
nop
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400118f0
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006cbe
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
mov rcx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x58]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
mov esi, dword [rsp + 0x78]
add rbx, rax
je 0x140006d5f
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x140006cfc
mov rcx, qword [rdi]
jmp 0x140006cff
mov rcx, rdi
xor edx, edx
call fcn.14006510c
test eax, eax
jne 0x140006d56
lea esi, [rax + 1]
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.140018ce0
nop
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.14001ad50
mov r8, rax
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x18]
call fcn.140019970
nop
cmp qword [rbp + 0xc8], 8
jb 0x140006d53
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
inc r14d
add rdi, 0x28
dec rbx
jne 0x140006cf0
cmp esi, 1
jne 0x140006fba
lea rdx, str._r_n__ALERT:_ZEROACCESS_rootkit_symptoms_found__r_n_r_n
mov rcx, r12
call fcn.140018560
mov rcx, rax
call fcn.140003410
mov r11, qword [rbp + 0x20]
mov rdi, qword [r11]
xor esi, esi
cmp rdi, r11
je 0x140006fbc
mov r13d, 0x202e
nop word [rax + rax]
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], rsi
mov word [rbp + 0x108], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rdi + 0x18]
lea rcx, [rbp + 0x108]
call fcn.1400015e0
nop
lea rax, [rbp + 0x108]
mov r9, qword [rbp + 0x108]
mov r10, qword [rbp + 0x120]
cmp r10, 8
cmovae rax, r9
mov rcx, qword [rbp + 0x118]
lea r8, [rax + rcx*2]
lea rax, [rbp + 0x108]
cmovae rax, r9
lea rcx, [rax + rcx*2]
lea rax, [rbp + 0x108]
cmovae rax, r9
cmp rax, rcx
je 0x140006e69
cmp word [rax], r13w
je 0x140006e29
add rax, 2
cmp rax, rcx
jne 0x140006e18
jmp 0x140006e69
cmp rax, rcx
je 0x140006e69
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x140006e69
nop word [rax + rax]
movzx r9d, word [rdx]
cmp r9w, r13w
je 0x140006e52
mov word [rax], r9w
add rax, 2
add rdx, 2
cmp rdx, rcx
jne 0x140006e40
mov r10, qword [rbp + 0x120]
mov r9, qword [rbp + 0x108]
lea rcx, [rbp + 0x108]
cmp r10, 8
cmovae rcx, r9
test rax, rax
jne 0x140006e82
mov rdx, rsi
jmp 0x140006e8b
mov rdx, rax
sub rdx, rcx
sar rdx, 1
test r8, r8
jne 0x140006e95
mov r8, rsi
jmp 0x140006e9b
sub r8, rax
sar r8, 1
lea rcx, [rbp + 0x108]
call fcn.1400018e0
lea r8, [rbp + 0x108]
lea rdx, [0x14008f218]
lea rcx, [rbp + 0xb0]
call fcn.140018b90
nop
lea r8, [0x14008f210]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140018c70
nop
mov rdx, rax
mov rcx, r12
call fcn.1400187c0
mov rcx, rax
lea rdx, [rdi + 0x40]
call fcn.1400187c0
mov rcx, rax
lea rdx, [0x14008f208]
call fcn.140018560
mov rcx, rax
call fcn.140003410
nop
cmp qword [rbp + 0xa0], 8
jb 0x140006f1e
mov rcx, qword [rbp + 0x88]
call fcn.140063290
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rsi
mov word [rbp + 0x88], si
cmp qword [rbp + 0xc8], 8
jb 0x140006f4e
mov rcx, qword [rbp + 0xb0]
call fcn.140063290
nop
cmp qword [rbp + 0x120], 8
jb 0x140006f64
mov rcx, qword [rbp + 0x108]
call fcn.140063290
cmp byte [rdi + 0x69], 0
jne 0x140006fae
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x69], 0
jne 0x140006f8e
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
jne 0x140006fae
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
je 0x140006f80
jmp 0x140006fae
mov rax, qword [rdi + 8]
cmp byte [rax + 0x69], 0
jne 0x140006fab
cmp rdi, qword [rax + 0x10]
jne 0x140006fab
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], 0
je 0x140006f98
mov rdi, rax
cmp rdi, qword [rbp + 0x20]
jne 0x140006da0
jmp 0x140006fbc
xor esi, esi
mov r8, r12
mov rdx, qword [rbp]
mov ecx, r14d
call fcn.140009460
lea edi, [r14 + rax]
cmp qword [rbp + 0x198], 8
jb 0x140006fe5
mov rcx, qword [rbp + 0x180]
call fcn.140063290
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], rsi
mov word [rbp + 0x180], si
lea rcx, [rbp + 0x58]
call fcn.140013b90
nop
lea rcx, [rbp - 0x80]
call fcn.140013b90
nop
lea rcx, [rbp - 0x38]
call fcn.140013b90
nop
mov r8, qword [rbp + 0x20]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x18]
call fcn.140038a40
nop
mov rcx, qword [rbp + 0x20]
call fcn.140063290
nop
mov r8, qword [rbp + 0x40]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x38]
call fcn.140015b60
nop
mov rcx, qword [rbp + 0x40]
call fcn.140063290
nop
cmp qword [rbp + 0x238], 8
jb 0x140007076
mov rcx, qword [rbp + 0x220]
call fcn.140063290
mov qword [rbp + 0x238], 7
mov qword [rbp + 0x230], rsi
mov word [rbp + 0x220], si
cmp qword [rbp + 0x170], 8
jb 0x1400070a5
mov rcx, qword [rbp + 0x158]
call fcn.140063290
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], rsi
mov word [rbp + 0x158], si
cmp qword [rbp + 0x210], 8
jb 0x1400070d4
mov rcx, qword [rbp + 0x1f8]
call fcn.140063290
mov qword [rbp + 0x210], 7
mov qword [rbp + 0x208], rsi
mov word [rbp + 0x1f8], si
cmp qword [rbp + 0x1c0], 8
jb 0x140007103
mov rcx, qword [rbp + 0x1a8]
call fcn.140063290
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], rsi
mov word [rbp + 0x1a8], si
cmp qword [rbp + 0x1e8], 8
jb 0x140007132
mov rcx, qword [rbp + 0x1d0]
call fcn.140063290
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1e0], rsi
mov word [rbp + 0x1d0], si
cmp qword [rbp + 0x148], 8
jb 0x140007161
mov rcx, qword [rbp + 0x130]
call fcn.140063290
mov eax, edi
jmp 0x1400071cc
mov qword [rsp + 0x60], r12
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x108]
call fcn.140063154
lea rdx, vtable.std::bad_alloc.0
mov qword [rbp + 0x108], rdx
lea rdx, [0x1400bd190]
lea rcx, [rbp + 0x108]
call fcn.140068200
nop
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.140063154
lea rdx, vtable.std::bad_alloc.0
mov qword [rbp - 0x60], rdx
lea rdx, [0x1400bd190]
lea rcx, [rbp - 0x60]
call fcn.140068200
nop
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140063080
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x580
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret