Function at 0x14008bec0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x50], eax
mov eax, 0xdc
mov word [rbp + 0xd4], ax
lea r8, [rbp + 0x90]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140006110
nop
mov ecx, dword [0x1401343c0]
mov rax, qword gs:[0x58]
mov edx, 0x14
mov rcx, qword [rax + rcx*8]
lea rsi, [0x140133e20]
mov eax, dword [rdx + rcx]
cmp dword [0x140133e98], eax
jg 0x14008cb44
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x14008cc76
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r14, 0xffffffffffffffff
lea rdi, [0x140133e98]
nop dword [rax + rax]
mov rax, qword [rsi]
mov r8d, dword [rax - 0x10]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x58]
call fcn.140012c30
nop
mov rdx, qword [rsi]
test rdx, rdx
je 0x14008cb39
mov rcx, qword [rax]
call fcn.1400b0f10
test eax, eax
sete bl
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008bfdd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test bl, bl
jne 0x14008bff2
add rsi, 0x18
cmp rsi, rdi
jne 0x14008bf90
xor dil, dil
jmp 0x14008cabb
mov rax, qword [rsi]
mov r8d, dword [rax - 0x10]
inc r8d
mov rax, qword [rsp + 0x58]
mov r9d, dword [rax - 0x10]
sub r9d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000a580
mov edi, 0x10
mov dword [rsp + 0x50], edi
mov rdx, qword [rbp - 0x48]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x58]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008c07e
cmp dword [rbx + 0x10], 0
jl 0x14008c070
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008c070
call fcn.140006780
mov r15, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008c065
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rVariantCopy + 8]
lea rax, [r15 + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x14008c07e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400068f0
and edi, 0xffffffef
mov dword [rsp + 0x50], edi
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c0a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14008c0bf
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14008c0d9
call fcn.140008180
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14008cc81
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x40], rbx
mov r13d, dword [rsp + 0x50]
or r13d, 2
mov dword [rsp + 0x50], r13d
mov r12, qword [rsi + 0x10]
mov eax, dword [r12 - 0x10]
mov dword [rsp + 0x68], eax
lea rdx, [0x1400eff20]
mov rdi, r14
nop dword [rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14008c110
lea r15d, [rax + rdi]
test r15d, r15d
js 0x14008cb2e
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ecx
jge 0x14008c150
mov edx, r15d
lea rcx, [rbp - 0x40]
call fcn.140006870
mov rbx, qword [rbp - 0x40]
lea rdx, [0x1400eff20]
movsxd rax, edi
lea rdi, [rax + rax]
test rdi, rdi
je 0x14008c17e
test rbx, rbx
jne 0x14008c173
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
jmp 0x14008c17e
mov r8, rdi
mov rcx, rbx
call fcn.14009d3c0
movsxd r8, dword [rsp + 0x68]
add r8, r8
lea rcx, [rdi + rbx]
je 0x14008c1b7
test rcx, rcx
je 0x14008c1a7
test r12, r12
je 0x14008c1a0
mov rdx, r12
call fcn.14009d3c0
jmp 0x14008c1b7
xor edx, edx
call fcn.14009e880
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
cmp r15d, dword [rbx - 0xc]
jg 0x14008cb2e
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rax, [rbx - 0x18]
mov qword [rbp - 8], rax
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14008c1ed
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14008c207
call fcn.140008180
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14008cc8c
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x38], rdi
or r13d, 8
mov dword [rsp + 0x50], r13d
mov r15, r14
lea rax, [0x1400eff20]
nop dword [rax + rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x14008c230
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x68], eax
lea r12d, [r15 + rax]
test r12d, r12d
js 0x14008ccb8
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, r12d
or eax, ecx
jge 0x14008c271
mov edx, r12d
lea rcx, [rbp - 0x38]
call fcn.140006870
mov rdi, qword [rbp - 0x38]
movsxd rax, dword [rsp + 0x68]
lea r8, [rax + rax]
mov qword [rsp + 0x78], r8
test r8, r8
je 0x14008c2a6
test rdi, rdi
jne 0x14008c29b
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
jmp 0x14008c2a6
mov rdx, rbx
mov rcx, rdi
call fcn.14009d3c0
movsxd r8, r15d
add r8, r8
mov rcx, qword [rsp + 0x78]
lea rcx, [rcx + rdi]
je 0x14008c2da
test rcx, rcx
jne 0x14008c2ce
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
jmp 0x14008c2da
lea rdx, [0x1400eff20]
call fcn.14009d3c0
cmp r12d, dword [rdi - 0xc]
jg 0x14008ccb8
mov dword [rdi - 0x10], r12d
movsxd rax, r12d
xor ecx, ecx
mov word [rdi + rax*2], cx
lea r12, [rdi - 0x18]
mov rcx, qword [r12]
test rcx, rcx
je 0x14008c30c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14008c326
call fcn.140008180
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14008cc97
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x30], rbx
or r13d, 4
mov dword [rsp + 0x50], r13d
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x10], rax
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0x78], ecx
mov eax, dword [rdi - 0x10]
mov dword [rsp + 0x68], eax
lea r15d, [rcx + rax]
test r15d, r15d
js 0x14008ccad
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ecx
jge 0x14008c383
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.140006870
mov rbx, qword [rbp - 0x30]
movsxd rax, dword [rsp + 0x68]
lea r8, [rax + rax]
mov qword [rsp + 0x68], r8
test r8, r8
je 0x14008c3b8
test rbx, rbx
jne 0x14008c3ad
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
jmp 0x14008c3b8
mov rdx, rdi
mov rcx, rbx
call fcn.14009d3c0
movsxd r8, dword [rsp + 0x78]
add r8, r8
mov rcx, qword [rsp + 0x68]
lea rcx, [rcx + rbx]
je 0x14008c3f5
test rcx, rcx
je 0x14008c3e5
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14008c3e0
call fcn.14009d3c0
jmp 0x14008c3f5
call fcn.14009e880
call fcn.1400a31cc
mov dword [rax], 0x16
call fcn.1400a3060
cmp r15d, dword [rbx - 0xc]
jg 0x14008ccad
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rdi, [rbx - 0x18]
mov r15, qword [rsp + 0x60]
add r15, 0xffffffffffffffe8
cmp rdi, r15
je 0x14008c473
cmp dword [r15 + 0x10], ecx
jl 0x14008c462
mov rax, qword [r15]
cmp qword [rdi], rax
jne 0x14008c462
mov rcx, rdi
call fcn.140006780
mov rbx, rax
mov ecx, r14d
lock xadd dword [r15 + 0x10], ecx
sub ecx, 1
jg 0x14008c452
mov rcx, qword [r15]
mov r8, qword [rcx]
mov rdx, r15
call qword [rVariantCopy + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x60], rax
mov r13d, dword [rsp + 0x50]
jmp 0x14008c473
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400068f0
and r13d, 0xfffffffb
mov dword [rsp + 0x50], r13d
mov eax, r14d
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14008c495
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + VariantCopy]
and dword [rsp + 0x50], 0xfffffff7
mov eax, r14d
lock xadd dword [r12 + 0x10], eax
sub eax, 1
jg 0x14008c4b6
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + VariantCopy]
and dword [rsp + 0x50], 0xfffffffd
mov eax, r14d
mov rdx, qword [rbp - 8]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c4d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14008cabb
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x14008cca2
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
xor r15d, r15d
mov esi, r15d
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x28], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008c677
mov dword [rbp - 0x70], r15d
mov rsi, qword [rbp - 0x28]
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], r15d
test rsi, rsi
je 0x14008c565
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, r15d
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
xor edx, edx
lea rcx, str.RegEdit_RegEdit
call qword [sym.imp.USER32.dll_FindWindowW]
mov r12, rax
test rax, rax
jne 0x14008c888
call fcn.14002dc10
test al, al
je 0x14008c598
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x20], 0x68
mov eax, 1
mov dword [rbp + 0x5c], eax
mov word [rbp + 0x60], ax
mov r8d, 0x104
lea rdx, [rbp + 0x170]
lea rcx, str._systemroot__regedit.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14008c641
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.RegEdit_RegEdit
call qword [sym.imp.USER32.dll_FindWindowW]
mov r12, rax
call fcn.14002dc10
test al, al
je 0x14008c666
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test r12, r12
jne 0x14008c8aa
xor dil, dil
jmp 0x14008ca8a
cmp eax, 2
jne 0x14008c565
lea edx, [rax + 0x5a]
mov rcx, qword [rsp + 0x58]
call fcn.14009eee8
mov rdi, rax
test rax, rax
jne 0x14008c69a
mov edi, r14d
jmp 0x14008c6a2
sub rdi, qword [rsp + 0x58]
sar rdi, 1
lea r8d, [rdi + 1]
mov rax, qword [rsp + 0x58]
mov r9d, dword [rax - 0x10]
sub r9d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000a580
mov esi, dword [rsp + 0x50]
or esi, 0x20
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp - 0x20]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008c729
cmp dword [rbx + 0x10], 0
jl 0x14008c71b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008c71b
call fcn.140006780
mov rsi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008c70c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rVariantCopy + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x70], rax
mov esi, dword [rsp + 0x50]
jmp 0x14008c729
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400068f0
and esi, 0xffffffdf
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c74e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rsp + 0x58]
mov esi, dword [rax - 0x10]
sub esi, edi
mov r8d, edi
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.140012c30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x58]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008c7c9
cmp dword [rbx + 0x10], 0
jl 0x14008c7ba
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008c7ba
call fcn.140006780
mov rdi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008c7af
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rVariantCopy + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x14008c7c9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400068f0
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c7e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x60]
mov r8d, dword [rbx - 0x10]
sub r8d, esi
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x60]
call fcn.140012c30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14008c85c
cmp dword [rbx + 0x10], 0
jl 0x14008c84d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14008c84d
call fcn.140006780
mov rdi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14008c842
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rVariantCopy + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14008c85c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400068f0
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c87a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x78]
jmp 0x14008c569
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp - 0x60], rax
mov edx, 5
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
lea r8, str.SysTreeView32
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r15, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_SetFocus]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x10288
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov edi, 0x1e
nop word [rax + rax]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0x25]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
sub rdi, 1
jne 0x14008c930
mov rdi, qword [rsp + 0x60]
movzx eax, word [rdi]
test ax, ax
je 0x14008c9b2
cmp ax, 0x5c
jne 0x14008c97a
mov edx, 0x100
mov r8d, 0x27
jmp 0x14008c98b
movzx ecx, ax
call fcn.1400b3bb4
movzx r8d, ax
mov edx, 0x102
xor r9d, r9d
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
add rdi, 2
movzx eax, word [rdi]
test ax, ax
jne 0x14008c967
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [rbx - 0x10], 0
je 0x14008ca68
xor r9d, r9d
lea r8, str.SysListView32
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r15, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_SetFocus]
cmp dword [rbp + 0x138], 8
jbe 0x14008ca09
mov ecx, 0x2ee
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0x24]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rbx
movzx eax, word [rbx]
test ax, ax
je 0x14008ca68
nop dword [rax]
movzx ecx, ax
call fcn.1400b3bb4
movzx r8d, ax
xor r9d, r9d
mov edx, 0x102
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
lea rdi, [rdi + 2]
movzx eax, word [rdi]
test ax, ax
jne 0x14008ca30
mov rcx, r12
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
xor r15d, r15d
test rsi, rsi
je 0x14008ca9c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cabb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cadb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14008cafa
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
nop
lea rcx, [0x140133e98]
call fcn.14009c3c4
cmp dword [0x140133e98], 0xffffffff
jne 0x14008bf5d
lea rdx, str.HKLM
mov rcx, rsi
call fcn.140006110
nop
mov qword [0x140133e28], 0xffffffff80000002
lea rdx, str.HKEY_LOCAL_MACHINE
lea rcx, [0x140133e30]
call fcn.140006110
nop
lea rdx, str.HKCU
lea rcx, [0x140133e38]
call fcn.140006110
nop
mov qword [0x140133e40], 0xffffffff80000001
lea rdx, str.HKEY_CURRENT_USER
lea rcx, [0x140133e48]
call fcn.140006110
nop
lea rdx, str.HKCR
lea rcx, [0x140133e50]
call fcn.140006110
nop
mov qword [0x140133e58], 0xffffffff80000000
lea rdx, str.HKEY_CLASSES_ROOT
lea rcx, [0x140133e60]
call fcn.140006110
nop
lea rdx, str.HKCC
lea rcx, [0x140133e68]
call fcn.140006110
nop
mov qword [0x140133e70], 0xffffffff80000005
lea rdx, str.HKEY_CURRENT_CONFIG
lea rcx, [0x140133e78]
call fcn.140006110
nop
lea rdx, [0x1400d7680]
lea rcx, [0x140133e80]
call fcn.140006110
nop
mov qword [0x140133e88], 0xffffffff80000003
lea rdx, str.HKEY_USERS
lea rcx, [0x140133e90]
call fcn.140006110
nop
lea rcx, [0x1400d4140]
call fcn.14009c224
nop
lea rcx, [0x140133e98]
call fcn.14009c364
jmp 0x14008bf5d
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80070057
call fcn.140007f00
nop
mov ecx, 0x80070057
call fcn.140007f00
int3