Function at 0x1400415a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov r12, rdx
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428b7
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x78], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428c2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428cd
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428d8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x80], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428e3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428ee
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428f9
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140042904
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14004290f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x1400428ac
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x70], 0
mov dword [rbp - 0x68], 0
mov qword [rbp - 0x60], 0
mov r9d, 0x2001f
lea r8, str.SOFTWARERealtekSpkProtection
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.14000e2b0
test eax, eax
je 0x1400418fb
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.SOFTWARERealtekSpkProtection
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.14000e080
test eax, eax
je 0x1400418fb
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14004179b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400417c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400417e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400417ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004181e
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 0x14004183d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004185c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004187a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140041899
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400418b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400418d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400418f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 2
jmp 0x140042898
mov dword [rbp + 0xa8], 0x3b
mov qword [rbp + 0x18], 0
xor esi, esi
mov dword [rbp + 0x90], esi
mov rax, qword [r12]
cmp dword [rax - 8], 1
jle 0x14004192a
mov edx, dword [rax - 0x10]
mov rcx, r12
call fcn.1400052d0
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0xa8]
mov rcx, qword [r12]
call fcn.1401f0df0
mov rbx, rax
xor r15d, r15d
mov dword [rbp + 0xa0], r15d
lea rdi, [r15 - 1]
mov r14, qword [rbp - 0x70]
test rax, rax
je 0x140042673
lea r13, [0x140000000]
lea r12d, [r15 + 1]
nop word [rax + rax]
lea rdx, [0x140289e50]
mov rcx, rbx
call fcn.1401f0ba4
test eax, eax
je case.default.0x1400419b6
lea rdx, [0x140289e54]
mov rcx, rbx
call fcn.1401f0ba4
test eax, eax
je case.default.0x1400419b6
cmp r15d, 6
ja case.default.0x1400419b6
movsxd rax, r15d
mov ecx, dword [r13 + rax*4 + 0x4291c]
add rcx, r13
jmp rcx
test rbx, rbx
jne 0x1400419c1
xor eax, eax
jmp 0x1400419ce
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400419c4
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400054e0
mov rbx, qword [rbp - 0x78]
movsxd r13, dword [rbx - 0x10]
cmp r13d, 4
jle 0x140041b8c
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140041a03
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140041a11
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
lea rcx, [rbx - 8]
lea rdx, [rcx + r13*2]
mov r9, rax
mov r8d, 4
lea rcx, [rbp + 0x20]
call fcn.14000dd30
nop
mov rdx, qword [rbp + 0x20]
lea r14, [rdx - 0x18]
mov rsi, qword [rsp + 0x58]
add rsi, 0xffffffffffffffe8
cmp r14, rsi
je 0x140041a95
cmp dword [rsi + 0x10], 0
jl 0x140041a86
mov rax, qword [rsi]
cmp qword [r14], rax
jne 0x140041a86
mov rcx, r14
call fcn.140004c20
mov r15, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140041a74
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rsp + 0x58], rax
mov r15d, dword [rbp + 0xa0]
jmp 0x140041a95
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140041aae
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea eax, [r13 - 4]
xor esi, esi
test eax, eax
cmovns esi, eax
cmp esi, dword [rbx - 0x10]
jl 0x140041ad1
lea rcx, [rbx - 0x18]
call fcn.140004c20
lea rdx, [rax + 0x18]
mov qword [rbp], rdx
jmp 0x140041b0a
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140041ae5
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140041af3
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, esi
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp]
call fcn.14000dd30
mov rdx, qword [rbp]
lea rsi, [rdx - 0x18]
mov rbx, qword [rsp + 0x70]
add rbx, 0xffffffffffffffe8
cmp rsi, rbx
je 0x140041b68
cmp dword [rbx + 0x10], 0
jl 0x140041b59
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x140041b59
mov rcx, rsi
call fcn.140004c20
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140041b4e
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x70], rax
jmp 0x140041b68
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140041b80
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rbp - 0x70]
mov r12d, 1
jmp 0x140041c00
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x58]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140041bec
cmp dword [rsi + 0x10], 0
jl 0x140041bdc
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140041bdc
call fcn.140004c20
mov rbx, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140041bcd
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov r14, qword [rbp - 0x70]
jmp 0x140041bec
mov r8d, r13d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400054e0
mov r8d, r12d
lea rdx, [0x1402835a8]
lea rcx, [rsp + 0x70]
call fcn.1400054e0
mov rax, qword [rsp + 0x58]
cmp dword [rax - 8], 1
jle 0x140041c18
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x58]
call fcn.1401efb74
mov esi, eax
mov rcx, qword [rsp + 0x70]
cmp dword [rcx - 8], 1
jle 0x140041c47
mov edx, dword [rcx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400052d0
mov rcx, qword [rsp + 0x70]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1401efb74
mov ebx, eax
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140289e58]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp - 0x50], esi
lea rax, [rbp - 0x50]
lea rdx, str.R0_L_LSB
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r13, [0x140000000]
test ebx, ebx
je 0x140042482
mov esi, r12d
mov dword [rbp + 0x90], r12d
jmp case.default.0x1400419b6
test rbx, rbx
jne 0x140041cd5
xor eax, eax
jmp 0x140041cea
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140041ce0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400054e0
mov rbx, qword [rbp - 0x80]
movsxd r13, dword [rbx - 0x10]
cmp r13d, 4
jle 0x140041ea8
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140041d1f
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140041d2d
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
lea rcx, [rbx - 8]
lea rdx, [rcx + r13*2]
mov r9, rax
mov r8d, 4
lea rcx, [rbp + 0x28]
call fcn.14000dd30
nop
mov rdx, qword [rbp + 0x28]
lea r14, [rdx - 0x18]
mov rsi, qword [rsp + 0x50]
add rsi, 0xffffffffffffffe8
cmp r14, rsi
je 0x140041db1
cmp dword [rsi + 0x10], 0
jl 0x140041da2
mov rax, qword [rsi]
cmp qword [r14], rax
jne 0x140041da2
mov rcx, r14
call fcn.140004c20
mov r15, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140041d90
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rsp + 0x50], rax
mov r15d, dword [rbp + 0xa0]
jmp 0x140041db1
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140041dca
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea eax, [r13 - 4]
xor esi, esi
test eax, eax
cmovns esi, eax
cmp esi, dword [rbx - 0x10]
jl 0x140041ded
lea rcx, [rbx - 0x18]
call fcn.140004c20
lea rdx, [rax + 0x18]
mov qword [rbp + 8], rdx
jmp 0x140041e26
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140041e01
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140041e0f
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, esi
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.14000dd30
mov rdx, qword [rbp + 8]
lea rsi, [rdx - 0x18]
mov rbx, qword [rsp + 0x68]
add rbx, 0xffffffffffffffe8
cmp rsi, rbx
je 0x140041e84
cmp dword [rbx + 0x10], 0
jl 0x140041e75
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x140041e75
mov rcx, rsi
call fcn.140004c20
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140041e6a
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x140041e84
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140041e9c
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rbp - 0x70]
mov r12d, 1
jmp 0x140041f1c
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x50]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140041f08
cmp dword [rsi + 0x10], 0
jl 0x140041ef8
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140041ef8
call fcn.140004c20
mov rbx, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140041ee9
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x50], rax
mov r14, qword [rbp - 0x70]
jmp 0x140041f08
mov r8d, r13d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400054e0
mov r8d, r12d
lea rdx, [0x1402835a8]
lea rcx, [rsp + 0x68]
call fcn.1400054e0
mov rax, qword [rsp + 0x50]
cmp dword [rax - 8], 1
jle 0x140041f34
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.1401efb74
mov ebx, eax
mov rcx, qword [rsp + 0x68]
cmp dword [rcx - 8], 1
jle 0x140041f63
mov edx, dword [rcx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400052d0
mov rcx, qword [rsp + 0x68]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1401efb74
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.R0_R_MSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp - 0x40], ebx
lea rax, [rbp - 0x40]
lea rdx, str.R0_R_LSB
jmp 0x140041c8f
test rbx, rbx
jne 0x140041fb7
xor eax, eax
jmp 0x140041fca
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140041fc0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400054e0
mov rbx, qword [rsp + 0x78]
movsxd r13, dword [rbx - 0x10]
cmp r13d, 4
jle 0x14004218b
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140042001
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x14004200f
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
lea rcx, [rbx - 8]
lea rdx, [rcx + r13*2]
mov r9, rax
mov r8d, 4
lea rcx, [rbp + 0x30]
call fcn.14000dd30
nop
mov rdx, qword [rbp + 0x30]
lea r14, [rdx - 0x18]
mov rsi, qword [rsp + 0x48]
add rsi, 0xffffffffffffffe8
cmp r14, rsi
je 0x140042093
cmp dword [rsi + 0x10], 0
jl 0x140042084
mov rax, qword [rsi]
cmp qword [r14], rax
jne 0x140042084
mov rcx, r14
call fcn.140004c20
mov r15, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140042072
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rsp + 0x48], rax
mov r15d, dword [rbp + 0xa0]
jmp 0x140042093
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x1400420ac
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea eax, [r13 - 4]
xor esi, esi
test eax, eax
cmovns esi, eax
cmp esi, dword [rbx - 0x10]
jl 0x1400420cf
lea rcx, [rbx - 0x18]
call fcn.140004c20
lea rdx, [rax + 0x18]
mov qword [rbp + 0x10], rdx
jmp 0x140042109
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1400420e3
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x1400420f1
call fcn.14004adf0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, esi
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x10]
call fcn.14000dd30
mov rdx, qword [rbp + 0x10]
lea rsi, [rdx - 0x18]
mov rbx, qword [rsp + 0x60]
add rbx, 0xffffffffffffffe8
cmp rsi, rbx
je 0x140042167
cmp dword [rbx + 0x10], 0
jl 0x140042158
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x140042158
mov rcx, rsi
call fcn.140004c20
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14004214d
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140042167
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400054e0
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14004217f
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rbp - 0x70]
mov r12d, 1
jmp 0x1400421ff
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x48]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x1400421eb
cmp dword [rsi + 0x10], 0
jl 0x1400421db
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x1400421db
call fcn.140004c20
mov rbx, rax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x1400421cc
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x48], rax
mov r14, qword [rbp - 0x70]
jmp 0x1400421eb
mov r8d, r13d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400054e0
mov r8d, r12d
lea rdx, [0x1402835a8]
lea rcx, [rsp + 0x60]
call fcn.1400054e0
mov rax, qword [rsp + 0x48]
cmp dword [rax - 8], 1
jle 0x140042217
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.1401efb74
mov ebx, eax
mov rcx, qword [rsp + 0x60]
cmp dword [rcx - 8], 1
jle 0x140042246
mov edx, dword [rcx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400052d0
mov rcx, qword [rsp + 0x60]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1401efb74
mov dword [rbp - 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.TS_MSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp - 0x30], ebx
lea rax, [rbp - 0x30]
lea rdx, str.TS_LSB
jmp 0x140041c8f
test rbx, rbx
jne 0x14004229a
xor eax, eax
jmp 0x1400422aa
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400422a0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400054e0
mov rax, qword [rsp + 0x40]
cmp dword [rax - 8], 1
jle 0x1400422d2
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.1401efb74
mov ebx, eax
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x28]
lea rdx, str.RSA0_R0_L
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je case.default.0x1400419b6
mov esi, r12d
mov dword [rbp + 0x90], r12d
jmp case.default.0x1400419b6
test rbx, rbx
jne 0x140042331
xor eax, eax
jmp 0x14004233e
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140042334
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400054e0
mov rax, qword [rsp + 0x40]
cmp dword [rax - 8], 1
jle 0x140042366
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.1401efb74
mov ebx, eax
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
lea rdx, str.RSA0_R0_R
jmp 0x1400422f2
test rbx, rbx
jne 0x140042394
xor eax, eax
jmp 0x1400423aa
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400423a0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400054e0
mov rax, qword [rsp + 0x40]
cmp dword [rax - 8], 1
jle 0x1400423d2
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.1401efb74
mov ebx, eax
mov dword [rbp - 0x18], eax
lea rax, [rbp - 0x18]
lea rdx, str.RSA1_R0_L
jmp 0x1400422f2
test rbx, rbx
jne 0x140042400
xor eax, eax
jmp 0x14004240d
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140042403
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400054e0
mov rax, qword [rsp + 0x40]
cmp dword [rax - 8], 1
jle 0x140042435
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400052d0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.1401efb74
mov ebx, eax
mov dword [rbp - 0x10], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.RSA1_R0_R
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
cmovne esi, r12d
mov dword [rbp + 0x90], esi
jmp case.default.0x1400419b6
mov esi, dword [rbp + 0x90]
inc r15d
mov dword [rbp + 0xa0], r15d
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0xa8]
xor ecx, ecx
call fcn.1401f0df0
mov rbx, rax
test rax, rax
jne 0x140041970
cmp r15d, 7
jl 0x14004266c
test esi, esi
je 0x1400424ea
mov dword [rbp - 8], r12d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 4]
xor r8d, r8d
lea rdx, str.R0_FROM_WMI
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test r14, r14
je 0x1400424ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r14d, r14d
mov qword [rbp - 0x70], r14
test r14, r14
je 0x14004250e
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004252d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004254c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004256b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004258a
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 0x1400425a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400425c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400425e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042605
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042624
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042642
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x98]
mov rdx, qword [rdx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140042664
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
jmp 0x140042898
mov r12, qword [rbp + 0x98]
lea rdx, [0x140289e58]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.R0_L_LSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.R0_R_MSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.R0_R_LSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.TS_MSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.TS_LSB
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.RSA0_R0_L
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.RSA0_R0_R
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.RSA1_R0_L
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.RSA1_R0_R
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, str.R0_FROM_WMI
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14, r14
je 0x140042738
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r14d, r14d
mov qword [rbp - 0x70], r14
test r14, r14
je 0x140042747
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042766
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042785
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400427a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400427c3
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 0x1400427e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042801
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004281f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004283e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004285d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004287b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140042896
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3