Function at 0x140061e30
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rbx, rcx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140062283
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x77], rax
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + 0x118]
sub rcx, 0x18
call fcn.140015740
lea rbx, [rax + 0x18]
mov qword [rbp - 0x69], rbx
mov edi, dword [rbx - 0x10]
mov esi, edi
mov eax, 0x11
cmp edi, eax
cmovge esi, eax
xor r15d, r15d
test esi, esi
jle 0x140061f09
sub edi, esi
lea r14d, [rdi + 1]
cmp dword [rbx - 8], 1
jle 0x140061ec4
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.14000dc90
mov rbx, qword [rbp - 0x69]
movsxd r8, r14d
add r8, r8
movsxd rax, esi
lea rdx, [rbx + rax*2]
je 0x140061eed
test rbx, rbx
je 0x14006228e
test rdx, rdx
je 0x14006228e
mov rcx, rbx
call fcn.14029f520
test edi, edi
js 0x1400622b0
cmp edi, dword [rbx - 0xc]
jg 0x1400622b0
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r15w
mov r9, rbx
lea r8, str.SOFTWARESRS_LabsAPO
lea rdx, [0x14034c258]
lea rcx, [rbp + 0x77]
call fcn.14000dfa0
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400622a5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x7f], rax
lea rdx, [0x1403408d8]
lea rcx, [rbp - 0x19]
call fcn.1400c12f0
nop
mov r9, qword [rax]
mov r8, qword [rbp + 0x77]
lea rdx, [0x14034c258]
lea rcx, [rbp + 0x7f]
call fcn.14000dfa0
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140061f8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x17], r15d
mov qword [rbp + 0x1f], r15
mov r9d, 0x20019
mov r8, qword [rbp + 0x7f]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.140015610
mov ebx, r15d
test eax, eax
sete bl
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140061fc9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140062215
mov qword [rbp - 0x59], r15
mov dword [rbp - 0x51], r15d
mov qword [rbp - 0x49], r15
mov r9d, 0x2001f
mov rbx, qword [rbp + 0x77]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x59]
call fcn.140015610
mov esi, eax
test eax, eax
je 0x14006205c
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400622bb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
mov r8d, esi
lea rdx, str._RTK__CDtsHPSetting::InitPKEYforASUSDTSAPO3_reg.Open___:__d_r_n
lea rcx, [rbp - 0x41]
call fcn.14000dfa0
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140062205
mov rcx, qword [rdx]
jmp 0x1400621fe
lea rcx, [rbx - 0x18]
call fcn.140015740
add rax, 0x18
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x39]
lea rdx, [0x1403408d8]
lea rcx, [rbp - 0x59]
call fcn.1400c1e10
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400622c6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea rcx, [rbp - 0x11]
call fcn.140035050
nop
mov r8, qword [rax]
lea rdx, str._sSRS_LabsAPO
lea rcx, [rbp - 0x61]
call fcn.14000dfa0
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400620db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x61]
lea rcx, [rbx - 0x18]
call fcn.140015740
add rax, 0x18
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x31]
lea rdx, [0x1403408c0]
lea rcx, [rbp - 0x59]
call fcn.1400c1e10
lea rax, [rbp - 9]
mov qword [rbp - 1], rax
lea rax, [rbp + 0x6f]
mov qword [rbp + 7], rax
lea rdx, [0x1403408a8]
lea rcx, [rbp - 9]
call fcn.1400c12f0
mov rsi, rax
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400622d1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x6f], rax
lea r14, str.SoftwareDTSDTSApoGuiAsus
mov rdx, r14
lea rcx, [rbp + 0x6f]
call fcn.140015a40
test al, al
jne 0x14006217b
mov rax, rdi
inc rax
cmp word [r14 + rax*2], 0
jne 0x140062160
mov r8d, eax
mov rdx, r14
lea rcx, [rbp + 0x6f]
call fcn.1400105e0
nop
mov r9, rsi
lea r8, [rbp + 0x6f]
lea rcx, [rbp - 0x21]
call fcn.1400c1880
nop
mov rcx, qword [rbp - 0x21]
add rcx, 0xffffffffffffffe8
call fcn.140015740
add rax, 0x18
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
lea rdx, [0x1403408a8]
lea rcx, [rbp - 0x59]
call fcn.1400c1e10
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400621c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x59], r15
mov dword [rbp - 0x51], r15d
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400621ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140062205
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x140062215
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140062233
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140062251
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14006226c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
call fcn.1402a5618
nop
mov dword [rax], 0x16
call fcn.1402a5494
call fcn.1400f91a0
int3
mov ecx, 0x80004005
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3