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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov qword [rsp + 0x228], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x2c0]
add rax, 0x48
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x120], rcx
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + Ordinal_26]
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x60]
test eax, eax
jne 0x14004c435
lea rcx, str.wininit.exe
call fcn.14004a984
mov dword [rsp + 0x68], eax
lea rax, [0x140364824]
mov qword [rsp + 0xd8], rax
lea rax, [0x140364828]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x128]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x14004c24f
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
je 0x14004c343
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x130]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x138]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14004c33e
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x140]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
jmp 0x14004c435
mov dword [rsp + 0x118], 5
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x148]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [rsp + 0x40], 5
jne 0x14004c3a9
mov dword [rsp + 0x6c], 1
jmp 0x14004c3b1
mov dword [rsp + 0x6c], 0
mov al, byte [rsp + 0x6c]
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x150]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmp dword [rsp + 0x40], 5
jbe 0x14004c41f
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x60], 1
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x14004c435
mov rcx, qword [rsp + 0x2c0]
call fcn.14004bc14
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x60]
test eax, eax
je 0x14004c852
mov dword [rsp + 0x70], 0x104
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140045dc4
nop
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xb8], eax
mov edx, dword [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.140046190
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0xc0], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1400457fc
cmp dword [rsp + 0xc0], 0
je 0x14004c50a
mov dword [rsp + 0x48], 1
jmp 0x14004c832
mov rax, qword [rsp + 0x50]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0xc
jl 0x14004c832
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.140027414
nop
mov r9d, 2
mov r8d, 4
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.140027414
nop
mov r9d, 2
mov r8d, 6
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.140027414
nop
mov r9d, 2
mov r8d, 8
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.140027414
nop
mov r9d, 2
mov r8d, 0xa
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.140027414
nop
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0xc8], eax
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0xa0], eax
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0xa4], eax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0xa8], eax
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0xc8]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0xa4]
mov r9d, ecx
mov ecx, dword [rsp + 0xa8]
mov r8d, ecx
mov edx, eax
lea rcx, [rsp + 0x1c0]
call fcn.14002f238
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
xor eax, eax
movsxd rcx, dword [rsp + 0x2c8]
xor edx, edx
xor r8d, r8d
imul r8, r8, 0x18
add rdx, r8
imul rdx, rdx, 0x3c
add rcx, rdx
imul rcx, rcx, 0x3c
add rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c0]
cmp qword [rsp + 0x1c8], rax
jle 0x14004c76f
mov dword [rsp + 0x74], 1
jmp 0x14004c777
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x14004c788
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0xe0]
sub rax, 0x18
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0xe8]
sub rax, 0x18
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1d8]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0xf0]
sub rax, 0x18
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0xf8]
sub rax, 0x18
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x1e8]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x100]
sub rax, 0x18
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x50]
sub rax, 0x18
mov qword [rsp + 0x1f8], rax
mov rcx, qword [rsp + 0x1f8]
call fcn.140045ed4
jmp 0x14004c866
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x60], 1
cmp dword [rsp + 0x48], 0
je 0x14004ca66
mov dword [rsp + 0x64], 1
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x88], rax
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140045dc4
nop
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x88]
call fcn.14002f58c
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x14004c8e7
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 4]
mov dword [rsp + 0x78], eax
jmp 0x14004c8ef
mov dword [rsp + 0x78], 0xffffffff
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x88]
call fcn.14002f58c
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
je 0x14004c928
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 8]
mov dword [rsp + 0x7c], eax
jmp 0x14004c930
mov dword [rsp + 0x7c], 0xffffffff
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x88]
call fcn.14002f58c
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x14004c96c
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x80], eax
jmp 0x14004c977
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x88]
call fcn.14002f528
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x88]
call fcn.14002f4c0
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0xac]
mov r9d, ecx
mov r8d, eax
lea rdx, str._4.4d_2.2d_2.2d_2.2d_2.2d
lea rcx, [rsp + 0x98]
call fcn.140046358
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x210]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
nop
mov rax, qword [rsp + 0x98]
sub rax, 0x18
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x218]
call fcn.140045ed4
mov rax, qword [rsp + 0x2c0]
add rax, 0x48
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x220], rcx
mov rcx, rax
mov rax, qword [rsp + 0x220]
call qword [rax + Ordinal_41]
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140286010
add rsp, 0x2b8
ret