Function at 0x14008df50
Capabilities:
Print debug messages
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rdi, rcx
call fcn.14013e120
mov rcx, rax
xor ebp, ebp
mov edx, ebp
test rax, rax
setne dl
test edx, edx
jne 0x14008df97
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x118], rax
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 0x118]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14008dfd8
cmp rax, qword [rdi - 0x18]
jne 0x14008dfd8
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14008e016
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14008dff4
call fcn.1400c63c0
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.14015c410
lea rdi, [rbx + 0x18]
mov qword [rsp + 0x110], rdi
mov esi, 0x11
mov ebx, dword [rdi - 0x10]
cmp ebx, esi
jge 0x14008e038
mov esi, ebx
test ebx, ebx
jle 0x14008e0bb
sub ebx, esi
lea r12d, [rbx + 1]
cmp dword [rdi - 8], 1
jle 0x14008e05c
mov edx, dword [rdi - 0x10]
lea rcx, [rsp + 0x110]
call fcn.140001cf0
mov rdi, qword [rsp + 0x110]
movsxd rdx, r12d
add rdx, rdx
movsxd rax, esi
lea r8, [rdi + rax*2]
mov r9, rdx
mov rcx, rdi
call fcn.14015c620
test eax, eax
je 0x14008e09e
cmp eax, 0xc
je 0x14008e098
cmp eax, 0x16
je 0x14008e092
cmp eax, 0x22
je 0x14008e092
cmp eax, 0x50
je 0x14008e09e
call fcn.14013de24
int3
call fcn.14013de24
int3
call fcn.14013dddc
int3
test ebx, ebx
js 0x14008e927
cmp ebx, dword [rdi - 0xc]
jg 0x14008e927
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], 0
mov r9, rdi
lea r8, str.SOFTWARESRS_LabsAPO
lea rdx, str._s_s
lea rcx, [rsp + 0x118]
call fcn.140001df0
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14008e0f8
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x1401aa8e0]
lea rcx, [rsp + 0xa0]
call fcn.1400ed270
nop
mov r9, qword [rax]
mov r8, qword [rsp + 0x118]
lea rdx, str._s_s
lea rcx, [rsp + 0x38]
call fcn.140001df0
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14008e162
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, rbp
mov qword [rsp + 0x80], rbp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008e1a6
mov eax, ebp
mov rdi, qword [rsp + 0x80]
mov r12d, ebp
test eax, eax
sete r12b
test rdi, rdi
je 0x14008e1bd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12d, r12d
je 0x14008e22c
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e1de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e202
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14008e932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e932
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x108], rbp
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdi, qword [rsp + 0x118]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14008e853
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0x70], rbx
lea r12, [rdi - 0x18]
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [r12 + 0x10], 0
jl 0x14008e2b1
cmp rax, qword [r12]
jne 0x14008e2b1
mov rdi, r12
lock add dword [r12 + 0x10], 1
mov rbx, qword [rsp + 0x108]
jmp 0x14008e2f7
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r12 + 8]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14008e2cf
call fcn.1400c63c0
int3
mov eax, dword [r12 + 8]
mov dword [rdi + 8], eax
mov eax, dword [r12 + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [r12 + 0x18]
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x68], rbp
test rbx, rbx
jne 0x14008e33b
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e3c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e3c6
lea rdx, [rsp + 0x68]
lea rcx, [0x1401aa8e0]
call fcn.1400ec3f0
test eax, eax
js 0x14008e3a6
mov rdi, qword [rsp + 0x40]
mov eax, ebp
test rdi, rdi
setne al
test eax, eax
jne 0x14008e36c
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e3c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14008e3e5
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xb8]
call fcn.140075e70
nop
mov r8, qword [rax]
lea rdx, str._sSRS_LabsAPO
lea rcx, [rsp + 0x88]
call fcn.140001df0
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e443
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14008e46f
cmp rax, qword [rbx - 0x18]
jne 0x14008e46f
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14008e4ad
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14008e48b
call fcn.1400c63c0
int3
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rbp
mov r13, qword [rsp + 0x108]
test r13, r13
jne 0x14008e4fc
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e58d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e58d
lea rdx, [rsp + 0x98]
lea rcx, [0x1401aa8f8]
call fcn.1400ec3f0
test eax, eax
js 0x14008e56d
mov rdi, qword [rsp + 0x48]
mov eax, ebp
test rdi, rdi
setne al
test eax, eax
jne 0x14008e530
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdi, qword [rsp + 0x98]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e58d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb0], rax
lea rdx, [0x1401aa910]
lea rcx, [rsp + 0xa8]
call fcn.1400ed270
mov r13, rax
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14008e5e0
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.SoftwareDTSDTSApoGuiAsus
test rdx, 0xffffffffffff0000
jne 0x14008e623
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14008e640
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005140
jmp 0x14008e640
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.1400038f0
nop
mov r9, r13
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x78]
call fcn.1400ed910
nop
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14008e683
cmp rax, qword [rdi - 0x18]
jne 0x14008e683
lea r13, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14008e6c2
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r13, rax
test rax, rax
jne 0x14008e69f
call fcn.1400c63c0
int3
mov eax, dword [rdi - 0x10]
mov dword [r13 + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r13 + 0x18]
call fcn.14015c410
lea rax, [r13 + 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x58], rbp
mov r13, qword [rsp + 0x108]
test r13, r13
jne 0x14008e70e
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e7ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e7ac
lea rdx, [rsp + 0x58]
lea rcx, [0x1401aa910]
call fcn.1400ec3f0
test eax, eax
js 0x14008e779
mov rdi, qword [rsp + 0x50]
mov eax, ebp
test rdi, rdi
setne al
test eax, eax
jne 0x14008e73f
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e799
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], rbp
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e7cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lock xadd dword [rbx - 8], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e7ea
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e80b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e82f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r12 + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14008e932
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e932
call fcn.14013e120
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x14008e871
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r8d, ebx
lea rdx, str._RTK__CDtsHPSetting::InitPKEYforASUSDTSAPO3_reg.Open___:__d_r_n
lea rcx, [rsp + 0x60]
call fcn.140001df0
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e8bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e8e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008e904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14008e932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008e932
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret