Function at 0x7ff738e08990
Capabilities:
Delete registry key
Delete registry value
Persist via windows service
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x610]
sub rsp, 0x710
mov rax, qword [0x7ff738e30008]
xor rax, rsp
mov qword [rbp + 0x600], rax
xor r14d, r14d
mov dword [rbp - 0x70], r14d
lea rdx, [0x7ff738e26138]
mov rcx, 0xffffffff80000000
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26170]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e261c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26200]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26240]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26268]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26290]
mov rcx, 0xffffffff80000002
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rcx, [rsp + 0x60]
call fcn.7ff738e069c0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x7ff738e08a72
mov rsi, qword [rax]
mov r9, rsi
lea r8, [0x7ff738e262e8]
xor edx, edx
xor ecx, ecx
call fcn.7ff738e04a70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 7
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x40], r14w
mov dword [rbp - 0x70], 1
test eax, eax
jle 0x7ff738e08b07
movsxd rbx, eax
cmp rbx, rcx
ja 0x7ff738e08ace
mov qword [rsp + 0x50], rbx
movzx eax, r14w
lea rdi, [rsp + 0x40]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x40], r14w
jmp 0x7ff738e08ade
mov r9, rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.7ff738e1de70
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbx + 1]
mov r9, rsi
lea r8, [0x7ff738e262e8]
call fcn.7ff738e04a10
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000003
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x7ff738e08b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e08b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e08b64
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x7ff738e08bc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e08bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e08bbd
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
lea r8, [0x7ff738e26318]
lea rdx, [0x7ff738e26340]
mov rcx, 0xffffffff80000001
call qword [sym.imp.shlwapi.dll_SHDeleteValueW]
lea rdx, [0x7ff738e263a8]
mov rcx, 0xffffffff80000003
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e263e8]
mov rcx, 0xffffffff80000001
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26410]
mov rcx, 0xffffffff80000001
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rdx, [0x7ff738e26448]
mov rcx, 0xffffffff80000001
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
lea rcx, [rsp + 0x60]
call fcn.7ff738e069c0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x7ff738e08c44
mov rsi, qword [rax]
mov r9, rsi
lea r8, [0x7ff738e264a0]
xor edx, edx
xor ecx, ecx
call fcn.7ff738e04a70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 7
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x40], r14w
mov dword [rbp - 0x70], 2
test eax, eax
jle 0x7ff738e08cd9
movsxd rbx, eax
cmp rbx, rcx
ja 0x7ff738e08ca0
mov qword [rsp + 0x50], rbx
movzx eax, r14w
lea rdi, [rsp + 0x40]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x40], r14w
jmp 0x7ff738e08cb0
mov r9, rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.7ff738e1de70
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbx + 1]
mov r9, rsi
lea r8, [0x7ff738e264a0]
call fcn.7ff738e04a10
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x40]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e08d47
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26480]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x7ff738e08d8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e08d87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e08d87
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x7ff738e08de5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e08de0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e08de0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e264f0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e08e4a
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26480]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e08ec6
mov rdi, qword [rbp - 0x60]
xor eax, eax
mov dword [rbp - 0x64], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x68], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x7ff738e26530]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e08f42
mov rdi, qword [rbp - 0x60]
xor eax, eax
mov dword [rbp - 0x64], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x68], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x7ff738e265b0]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e08fa7
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e265c8]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26600]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0900c
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e265e0]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26600]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09071
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26688]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e266c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
lea r15, [0x7ff738e30068]
lea r12, [0x7ff738e30088]
test eax, eax
jne 0x7ff738e091c1
mov rsi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x208
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26698]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e091b8
lea ebx, [rax + 7]
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x7ff738e09110
cmp rax, rbx
jbe 0x7ff738e0918f
mov rcx, rbx
lea rdi, [rbp - 0x30]
lea rdi, [rdi + rcx*2]
movzx ecx, word [rdi]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff738e09168
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x7ff738e09150
xor edx, edx
div rcx
movzx eax, word [r12 + rdx*2]
mov word [rdi], ax
inc ebx
mov ecx, ebx
lea rdx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x7ff738e09180
cmp rcx, rax
jb 0x7ff738e09122
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff738e26698]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26750]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09301
mov rsi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x208
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26698]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e092f8
lea ebx, [rax + 7]
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x7ff738e09250
cmp rax, rbx
jbe 0x7ff738e092cf
mov rcx, rbx
lea rdi, [rbp - 0x30]
lea rdi, [rdi + rcx*2]
movzx ecx, word [rdi]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff738e092a8
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x7ff738e09290
xor edx, edx
div rcx
movzx eax, word [r12 + rdx*2]
mov word [rdi], ax
inc ebx
mov ecx, ebx
lea rdx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x7ff738e092c0
cmp rcx, rax
jb 0x7ff738e09262
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff738e26698]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e267e0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09441
mov rsi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x208
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e267c8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09438
lea ebx, [rax + 7]
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x7ff738e09390
cmp rax, rbx
jbe 0x7ff738e0940f
mov rcx, rbx
lea rdi, [rbp - 0x30]
lea rdi, [rdi + rcx*2]
movzx ecx, word [rdi]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff738e093e8
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x7ff738e093d0
xor edx, edx
div rcx
movzx eax, word [r12 + rdx*2]
mov word [rdi], ax
inc ebx
mov ecx, ebx
lea rdx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x7ff738e09400
cmp rcx, rax
jb 0x7ff738e093a2
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff738e267c8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.7ff738e069c0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x7ff738e09458
mov rsi, qword [rax]
mov r9, rsi
lea r8, [0x7ff738e26860]
xor edx, edx
xor ecx, ecx
call fcn.7ff738e04a70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 7
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x40], r14w
mov dword [rbp - 0x70], 4
test eax, eax
jle 0x7ff738e094ed
movsxd rbx, eax
cmp rbx, rcx
ja 0x7ff738e094b4
mov qword [rsp + 0x50], rbx
movzx eax, r14w
lea rdi, [rsp + 0x40]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x40], r14w
jmp 0x7ff738e094c4
mov r9, rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.7ff738e1de70
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbx + 1]
mov r9, rsi
lea r8, [0x7ff738e26860]
call fcn.7ff738e04a10
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x40]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e095cb
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26848]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e095c1
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e095c1
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e09596
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e09588
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e09572
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e26848]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x7ff738e09610
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0960b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0960b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x7ff738e09669
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e09664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e09664
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e268a0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0973e
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26848]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09735
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e09735
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e0970a
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e096fc
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e096e6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e26848]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.7ff738e069c0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x7ff738e09755
mov rsi, qword [rax]
mov r9, rsi
lea r8, [0x7ff738e268f0]
xor edx, edx
xor ecx, ecx
call fcn.7ff738e04a70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 7
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x40], r14w
mov dword [rbp - 0x70], 8
test eax, eax
jle 0x7ff738e097ea
movsxd rbx, eax
cmp rbx, rcx
ja 0x7ff738e097b1
mov qword [rsp + 0x50], rbx
movzx eax, r14w
lea rdi, [rsp + 0x40]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x40], r14w
jmp 0x7ff738e097c1
mov r9, rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.7ff738e1de70
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbx + 1]
mov r9, rsi
lea r8, [0x7ff738e268f0]
call fcn.7ff738e04a10
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x40]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e098c9
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e268d8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e098bf
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e098bf
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e09894
nop
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e09886
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e09870
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e268d8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x7ff738e0990e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e09909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e09909
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x7ff738e09967
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e09962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e09962
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26930]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09a3c
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e268d8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09a33
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e09a33
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e09a08
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e099fa
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e099e4
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e268d8]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff738e26448]
mov rcx, 0xffffffff80000001
call qword [sym.imp.shlwapi.dll_SHDeleteKeyW]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26990]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09b91
mov rsi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x208
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26968]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09b88
lea ebx, [rax + 7]
lea rcx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x7ff738e09ae0
cmp rax, rbx
jbe 0x7ff738e09b5f
mov rcx, rbx
lea rdi, [rbp - 0x30]
lea rdi, [rdi + rcx*2]
movzx ecx, word [rdi]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff738e09b38
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x7ff738e09b20
xor edx, edx
div rcx
movzx eax, word [r12 + rdx*2]
mov word [rdi], ax
inc ebx
mov ecx, ebx
lea rdx, [rbp - 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x7ff738e09b50
cmp rcx, rax
jb 0x7ff738e09af2
mov eax, dword [rbp - 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff738e26968]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09c0d
mov rdi, qword [rbp - 0x60]
xor eax, eax
mov dword [rbp - 0x64], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x68], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x7ff738e265b0]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09c89
mov rdi, qword [rbp - 0x60]
xor eax, eax
mov dword [rbp - 0x64], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x68], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x7ff738e26530]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09cee
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26a38]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09d53
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26a50]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09db8
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e265c8]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09e8d
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26a68]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09e84
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e09e84
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e09e59
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e09e4b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e09e35
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e26a68]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26550]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e09f68
mov rsi, qword [rbp - 0x68]
mov dword [rbp - 0x70], r14d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26a90]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e09f5f
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e09f5f
mov edi, r14d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e09f34
nop word [rax + rax]
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e09f26
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e09f10
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e26a90]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.7ff738e069c0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x7ff738e09f7f
mov rsi, qword [rax]
mov r9, rsi
lea r8, [0x7ff738e264a0]
xor edx, edx
xor ecx, ecx
call fcn.7ff738e04a70
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov ecx, 7
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x40], r14w
mov dword [rbp - 0x70], 0x10
test eax, eax
jle 0x7ff738e0a014
movsxd rbx, eax
cmp rbx, rcx
ja 0x7ff738e09fdb
mov qword [rsp + 0x50], rbx
movzx eax, r14w
lea rdi, [rsp + 0x40]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsp + rbx*2 + 0x40], r14w
jmp 0x7ff738e09feb
mov r9, rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.7ff738e1de70
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbx + 1]
mov r9, rsi
lea r8, [0x7ff738e264a0]
call fcn.7ff738e04a10
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x40]
xor esi, esi
mov qword [rbp - 0x68], rsi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0a084
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x1e0]
lea rdx, [0x7ff738e26480]
mov rcx, rdi
call fcn.7ff738e06c00
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x7ff738e0a0c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0a0c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0a0c4
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x7ff738e0a121
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0a11c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0a11c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26ac0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0a46b
mov rbx, qword [rbp - 0x58]
mov qword [rbp - 0x78], rbx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov edi, esi
mov dword [rbp - 0x68], esi
mov dword [rbp - 0x60], 0x208
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
jne 0x7ff738e0a462
nop dword [rax]
mov qword [rbp - 0x50], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0a424
mov r13, qword [rbp - 0x50]
mov qword [rbp - 0x80], r13
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3f0]
call sub.VCRUNTIME140.dll_memset
mov r12d, esi
mov dword [rbp - 0x34], 0x208
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x34]
lea r8, [rbp + 0x3f0]
xor edx, edx
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
jne 0x7ff738e0a41b
nop word [rax + rax]
mov qword [rbp - 0x48], rsi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x3f0]
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0a3d7
mov r15, qword [rbp - 0x48]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov r14d, esi
mov dword [rbp - 0x38], 0x208
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, r15
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
jne 0x7ff738e0a3ce
xor r13d, r13d
nop
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0a38e
mov rsi, qword [rbp - 0x40]
mov dword [rbp - 0x70], r13d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e26b10]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e0a385
mov ecx, dword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
je 0x7ff738e0a385
mov edi, r13d
mov ecx, dword [rbp - 0x70]
test ecx, ecx
je 0x7ff738e0a35a
call qword [sym.imp.ucrtbase.dll_rand]
and eax, 0x800000ff
jge 0x7ff738e0a34c
dec eax
or eax, 0xffffff00
inc eax
mov ecx, edi
mov byte [rcx + rbx], al
inc edi
mov ecx, dword [rbp - 0x70]
cmp edi, ecx
jb 0x7ff738e0a336
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, [0x7ff738e26b10]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
inc r14d
mov dword [rbp - 0x38], 0x208
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
mov edx, r14d
mov rcx, r15
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ff738e0a2c0
mov r13, qword [rbp - 0x80]
xor esi, esi
mov rcx, r15
call qword [sym.imp.advapi32.dll_RegCloseKey]
inc r12d
mov dword [rbp - 0x34], 0x208
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x34]
lea r8, [rbp + 0x3f0]
mov edx, r12d
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ff738e0a240
mov edi, dword [rbp - 0x68]
mov rbx, qword [rbp - 0x78]
mov rcx, r13
call qword [sym.imp.advapi32.dll_RegCloseKey]
inc edi
mov dword [rbp - 0x68], edi
mov dword [rbp - 0x60], 0x208
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x1e0]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ff738e0a1b0
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.7ff738e21b30
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret