Function at 0x180057590
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x2d0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
lea rax, vtable.CServerInterface_class_CMainToolbar_.0
mov qword [rcx], rax
mov dword [rcx + 0xc], 1
mov qword [rcx + 0x30], 7
xor r14d, r14d
mov qword [rcx + 0x28], r14
mov word [rcx + 0x18], r14w
mov qword [rcx + 0x58], 7
mov qword [rcx + 0x50], r14
mov word [rcx + 0x40], r14w
mov dword [rcx + 0x60], 1
mov dword [rcx + 0x64], 0x1f40
mov qword [rcx + 0x90], 7
mov qword [rcx + 0x88], r14
mov word [rcx + 0x78], r14w
mov qword [rcx + 0xb8], 7
mov qword [rcx + 0xb0], r14
mov word [rcx + 0xa0], r14w
mov qword [rcx + 0xe0], 7
mov qword [rcx + 0xd8], r14
mov word [rcx + 0xc8], r14w
mov qword [rcx + 0x108], 7
mov qword [rcx + 0x100], r14
mov word [rcx + 0xf0], r14w
mov qword [rcx + 0x130], 7
mov qword [rcx + 0x128], r14
mov word [rcx + 0x118], r14w
mov qword [rcx + 0x158], 7
mov qword [rcx + 0x150], r14
mov word [rcx + 0x140], r14w
mov qword [rcx + 0x180], 7
mov qword [rcx + 0x178], r14
mov word [rcx + 0x168], r14w
mov qword [rcx + 0x1a8], 7
mov qword [rcx + 0x1a0], r14
mov word [rcx + 0x190], r14w
mov qword [rcx + 0x1d8], 7
mov qword [rcx + 0x1d0], r14
mov word [rcx + 0x1c0], r14w
add rcx, 0x1e0
call fcn.180072020
nop
lea r8d, [r14 + 0xc]
lea rdx, str.WIDDIT_COMS_
lea rcx, [rsi + 0x1b8]
call fcn.180012d90
mov rbx, r14
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
call fcn.180067400
mov edi, 0x20219
mov ecx, 0x20119
test eax, eax
cmovne edi, ecx
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallF009657E_18AE_4744_A253_2FE9452A0BDC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800578b5
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
and edi, 0x300
mov dword [rsp + 0x48], edi
mov word [rsp + 0xb0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xb2]
call fcn.1800c1250
mov dword [rsp + 0x38], 0x208
mov dword [rsp + 0x30], r14d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x180057861
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x180057856
cmp edx, 2
jbe 0x180057835
cmp edx, 7
jne 0x180057856
test cl, 1
jne 0x18005782a
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x18005782a
mov rdx, rcx
shr rdx, 1
cmp word [rsp + rdx*2 + 0xae], r14w
jne 0x18005782a
cmp eax, 1
jbe 0x18005786a
cmp word [rsp + rdx*2 + 0xac], r14w
je 0x18005786a
mov word [rsp + 0xb0], r14w
jmp 0x18005789a
test cl, 1
jne 0x18005784b
mov rax, rcx
shr rax, 1
cmp word [rsp + rax*2 + 0xae], 0
je 0x18005786a
mov word [rsp + 0xb0], r14w
jmp 0x18005789a
mov word [rsp + 0xb0], r14w
jmp 0x18005789a
mov word [rsp + 0xb0], r14w
test edi, edi
jne 0x18005789a
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsi + 0x1b8]
call fcn.180010af0
test rbx, rbx
je 0x1800578b0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
cmp qword [rsi + 0x90], 8
jb 0x1800578c5
mov rdx, qword [rsi + 0x78]
jmp 0x1800578c9
lea rdx, [rsi + 0x78]
lea r8, str.DebugServer
lea rcx, [rsp + 0x50]
call fcn.18006ef00
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsi + 0x10]
call fcn.180003570
nop
cmp qword [rsp + 0x70], 8
jb 0x180057901
mov rcx, qword [rsp + 0x58]
call fcn.1800bd964
cmp qword [rsi + 0x28], 0
jne 0x18005791e
mov r8d, 0x22
lea rdx, str.https:__www.heystaks.com_hooks.php
lea rcx, [rsi + 0x10]
call fcn.180012d90
mov r9d, 0xa
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x10]
call fcn.180008690
nop
mov qword [rsp + 0xa8], 7
mov qword [rsp + 0xa0], r14
mov word [rsp + 0x90], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180003570
nop
cmp qword [rsp + 0x70], 8
jb 0x18005797d
mov rcx, qword [rsp + 0x58]
call fcn.1800bd964
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
lea rcx, [rsp + 0x88]
call fcn.180079000
mov r9d, 8
xor r8d, r8d
lea rdx, str.https:__
lea rcx, [rsp + 0x88]
call fcn.180012c70
mov edx, r14d
cmp rax, 0xffffffffffffffff
setne dl
mov dword [rsi + 0xc], edx
mov r8d, 0x2e
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechZooBar
lea rcx, [rsi + 0x70]
call fcn.180012d90
nop
cmp qword [rsp + 0xa8], 8
jb 0x1800579f7
mov rcx, qword [rsp + 0x90]
call fcn.1800bd964
mov qword [rsp + 0xa8], 7
mov qword [rsp + 0xa0], r14
mov word [rsp + 0x90], r14w
test rbx, rbx
je 0x180057a28
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rsi
jmp 0x180057a2b
mov rax, rsi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1800bd980
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret