Function at 0x140055d60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov qword [rsp + 0x60], r9
mov ebx, edx
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0x48], r9
mov r13, qword [rbp + 0x170]
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0x50], r13
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x78], rax
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x50], r12d
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0x98], r12
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xc8], r12
mov r8, r13
mov rdx, r9
lea rcx, [rbp + 0xc8]
call fcn.140029020
nop
mov qword [rbp + 0xe8], r12
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140056da2
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], r12
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140056dad
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp + 0xf0], rax
lea r15, str.SoftwareClasses_
lea rdi, [r12 - 1]
test ebx, ebx
je 0x1400563ff
mov qword [rbp - 0x68], r12
mov rax, qword [r13]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140055f0f
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x140055f33
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x140056db8
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x68], rbx
mov dword [rsp + 0x50], 1
mov r15, qword [r13]
movsxd r12, dword [r15 - 0x10]
mov rsi, rdi
lea rdx, str.SoftwareClasses_
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140055f62
lea r14d, [rsi + r12]
test r14d, r14d
js 0x140056dce
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140055fa2
mov edx, r14d
lea rcx, [rbp - 0x68]
call fcn.140018ec0
mov rbx, qword [rbp - 0x68]
lea rdx, str.SoftwareClasses_
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x140055fd0
test rbx, rbx
jne 0x140055fc5
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x140055fd0
mov r8, rsi
mov rcx, rbx
call fcn.1401f61a0
mov r8, r12
add r8, r8
lea rcx, [rsi + rbx]
je 0x140056007
test rcx, rcx
je 0x140055ff7
test r15, r15
je 0x140055ff0
mov rdx, r15
call fcn.1401f61a0
jmp 0x140056007
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
cmp r14d, dword [rbx - 0xc]
jg 0x140056dce
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor r12d, r12d
mov word [rbx + rax*2], r12w
mov r15, qword [rbp + 0xd8]
mov rsi, qword [r15 + 0x40]
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14005603d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xa0], r12
lea rax, [rbp + 0x104]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov ecx, 1
and ecx, 0xfffffffe
mov dword [rsp + 0x50], ecx
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400560ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test esi, esi
jne 0x140056192
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140056192
mov dword [rbp + 0x88], r12d
mov dword [rbp + 0xd0], 1
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xd0]
xor r8d, r8d
lea rdx, [0x140262520]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rbp + 0x88]
test edx, edx
je 0x140056192
mov ecx, dword [rbp + 0xd0]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140056120
cmp ecx, 7
jne 0x140056192
add rdx, 2
cmovb rdx, rdi
mov ecx, 1
call fcn.1402090a4
mov rbx, rax
test rax, rax
je 0x140056192
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xd0]
xor r8d, r8d
lea rdx, [0x140262520]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005618a
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140056170
mov rdx, rbx
lea rcx, [rbp + 0xe8]
call fcn.140018f70
mov rcx, rbx
call fcn.140203254
mov rbx, qword [r13]
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x1400561a8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x98], r12
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400562d3
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x1400562d3
mov dword [rbp + 0x8c], r12d
mov dword [rbp + 0xd4], 1
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xd4]
xor r8d, r8d
lea rdx, [0x140262520]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rbp + 0x8c]
test edx, edx
je 0x1400562d3
mov ecx, dword [rbp + 0xd4]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140056261
cmp ecx, 7
jne 0x1400562d3
add rdx, 2
cmovb rdx, rdi
mov ecx, 1
call fcn.1402090a4
mov rbx, rax
test rax, rax
je 0x1400562d3
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xd4]
xor r8d, r8d
lea rdx, [0x140262520]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400562cb
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400562b1
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.140018f70
mov rcx, rbx
call fcn.140203254
cmp qword [rbp + 0xa0], 0
je 0x140056364
lea rax, [rbp + 0x30]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 0xe8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x30], rax
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0xc8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0xa0]
mov rcx, r15
call fcn.1400551e0
jmp 0x140056369
mov rsi, qword [rsp + 0x60]
cmp qword [rbp + 0x98], 0
je 0x1400563f3
lea rax, [rbp - 0x40]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0xf0]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x40], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp + 0xc8]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x98]
mov rcx, r15
call fcn.1400551e0
mov r14d, dword [rsp + 0x50]
lea r15, str.SoftwareClasses_
mov qword [rbp - 0x60], r12
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140056428
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x14005644c
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x140056dc3
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x60], rbx
or r14d, 2
mov dword [rsp + 0x50], r14d
mov r13, qword [rbp + 0xc8]
movsxd r12, dword [r13 - 0x10]
mov rsi, rdi
nop dword [rax + rax]
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x140056480
lea r15d, [rsi + r12]
test r15d, r15d
js 0x140056d97
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ecx
jge 0x1400564ba
mov edx, r15d
lea rcx, [rbp - 0x60]
call fcn.140018ec0
mov rbx, qword [rbp - 0x60]
movsxd rax, esi
lea rsi, [rax + rax]
test rsi, rsi
je 0x1400564ef
test rbx, rbx
jne 0x1400564dd
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x1400564ef
mov r8, rsi
lea rdx, str.SoftwareClasses_
mov rcx, rbx
call fcn.1401f61a0
mov r8, r12
add r8, r8
lea rcx, [rsi + rbx]
je 0x140056526
test rcx, rcx
je 0x140056516
test r13, r13
je 0x14005650f
mov rdx, r13
call fcn.1401f61a0
jmp 0x140056526
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
cmp r15d, dword [rbx - 0xc]
jg 0x140056d97
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor r12d, r12d
mov word [rbx + rax*2], r12w
mov r15, qword [rbp + 0xd8]
mov rsi, qword [r15 + 0x40]
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x14005655c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xb0], r12
lea rax, [rbp + 0xfc]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
and r14d, 0xfffffffd
mov dword [rsp + 0x50], r14d
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400565ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov r12, qword [rsp + 0x58]
test esi, esi
jne 0x1400566f4
mov rbx, qword [r12]
cmp qword [rbp + 0xb0], 0
je 0x140056619
test rbx, rbx
je 0x140056619
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, [0x140262520]
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x58]
mov rcx, qword [rcx]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x28], rax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x18], rax
mov r14, qword [rsp + 0x70]
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x20], rax
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0xc0]
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0xb0]
call fcn.1400555a0
jmp 0x140056705
mov r13, qword [rbp + 0xc0]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov rbx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14005671e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp + 0xa8], rdx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140056877
mov rbx, qword [r12]
cmp qword [rbp + 0xa8], 0
je 0x1400567b2
test rbx, rbx
je 0x1400567b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140262520]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rbp - 8]
mov qword [rbp - 0x50], rax
lea rax, [rbp]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x18]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 8], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp], rax
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 8], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x10], rax
mov rcx, qword [r13]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x18], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0xa8]
call fcn.1400555a0
xor esi, esi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140056dd9
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xd8], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140056de4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x50], rax
mov r14, qword [rbp + 0xe0]
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x20], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x38]
call fcn.140058a30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14005697c
cmp dword [rbx + 0x10], esi
jl 0x14005696b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14005696b
call fcn.1400191a0
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14005695c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [rsi + 0x18]
mov qword [rbp + 0xc0], rax
xor esi, esi
jmp 0x14005697c
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0xc0]
call fcn.140018f70
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400569a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rbx, qword [r15 + 0x40]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1400569b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xb8], rsi
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0xc0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056ae1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140056ae1
mov dword [rbp + 0x90], esi
mov dword [rbp + 0xe0], 1
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xe0]
xor r8d, r8d
lea rdx, str.ProgId
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rbp + 0x90]
test edx, edx
je 0x140056acc
mov ecx, dword [rbp + 0xe0]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140056a55
cmp ecx, 7
jne 0x140056acc
add rdx, 2
cmovb rdx, rdi
mov ecx, 1
call fcn.1402090a4
mov rbx, rax
test rax, rax
je 0x140056acc
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xe0]
xor r8d, r8d
lea rdx, str.ProgId
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140056ac4
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140056aa5
mov rdx, rbx
lea rcx, [rbp + 0xd8]
call fcn.140018f70
mov esi, 1
mov rcx, rbx
call fcn.140203254
cmp esi, 1
jne 0x140056adf
cmp qword [rbp + 0xc8], 0
je 0x140056d8c
xor esi, esi
mov rdx, qword [rbp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056b09
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056b31
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140056b43
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xb8], rsi
mov rdx, qword [rbp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056b72
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp + 0xe8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056b9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp + 0xc8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056bc2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140056bd4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xa8], rsi
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x140056bed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xb0], rsi
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140056c06
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x98], rsi
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x140056c1f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xa0], rsi
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056c4f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056c73
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056c98
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056cbd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056ce6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056d0f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056d38
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140056d5d
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
mov eax, 1
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80070057
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80070057
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3