Function at 0x140003de4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x2e0
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov rbx, r8
mov rdi, rdx
mov esi, 0x15
lea r9, [0x140051790]
lea rcx, [0x1400517f0]
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x20], rax
xor r13b, r13b
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140003e6a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140003e6a
and dword [rsp + 0x40], 0
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x48]
lea rax, [rsp + 0x30]
lea r9, [0x1400517c0]
lea rcx, [0x140051820]
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test byte [rbx], 0xf0
mov esi, 0x168
mov ebp, 0xfff00000
mov r15d, 1
je 0x140003ef3
test eax, eax
js 0x140003ef3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140003ef8
lea rcx, [rsp + 0x50]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx]
mov byte [rsp + 0xba], 0xf9
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, esi
call qword [rax + 0x18]
mov ecx, dword [rsp + 0x74]
cmp byte [rsp + 0xb9], r15b
jne 0x140003ef0
mov dword [rbx + 0x30], r15d
and ecx, ebp
mov dword [rbx + 0x1c], ecx
mov rcx, qword [rsp + 0x30]
lea r12, [rbx + 0x70]
test byte [r12], 0xf0
je 0x140003f5c
test eax, eax
js 0x140003f5c
test rcx, rcx
je 0x140003f5c
lea rcx, [rsp + 0x50]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov edx, dword [r12]
mov byte [rsp + 0xba], 0xf9
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, esi
call qword [rax + 0x18]
mov ecx, dword [rsp + 0x74]
cmp byte [rsp + 0xb9], r15b
jne 0x140003f51
mov dword [rbx + 0xa0], r15d
and ecx, ebp
mov dword [rbx + 0x8c], ecx
mov rcx, qword [rsp + 0x30]
lea rbp, [rbx + 0xe0]
test byte [rbp], 0xf0
je 0x140003fc5
test eax, eax
js 0x140003fc5
test rcx, rcx
je 0x140003fc5
lea rcx, [rsp + 0x50]
mov r8, rsi
xor edx, edx
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbp]
mov byte [rsp + 0xba], 0xf9
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, esi
call qword [rax + 0x18]
mov ecx, dword [rsp + 0x74]
cmp byte [rsp + 0xb9], r15b
jne 0x140003fba
mov dword [rbx + 0x110], r15d
and ecx, 0xfff00000
mov dword [rbx + 0xfc], ecx
mov rcx, qword [rsp + 0x30]
lea rsi, [rbx + 0x150]
test byte [rsi], 0xf0
je 0x140004031
test eax, eax
js 0x140004031
test rcx, rcx
je 0x14000403c
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x168
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsi]
mov byte [rsp + 0xba], 0xf9
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 0x168
call qword [rax + 0x18]
mov eax, dword [rsp + 0x74]
cmp byte [rsp + 0xb9], r15b
jne 0x140004026
mov dword [rbx + 0x180], r15d
and eax, 0xfff00000
mov rcx, qword [rsp + 0x30]
mov dword [rbx + 0x16c], eax
test rcx, rcx
je 0x14000403c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rdi, rdi
je 0x140004c82
lea rax, [rbx + 0x1c0]
mov r9d, 4
lea rdx, str.OperatingMode
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140004c82
lea r13d, [rax + 4]
lea rdx, str.PrimaryDevice
xor r8d, r8d
mov r9d, r13d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rdx, str.SecondaryDevice
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rdx, str.ThirdDevice
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rdx, str.FourthDevice
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 4]
lea rdx, str.PrimaryXX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 8]
lea rdx, str.PrimaryYY
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xc]
lea rdx, str.PrimaryRR
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x10]
lea rdx, str.PrimaryBPP
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x74]
lea rdx, str.SecondaryXX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x78]
lea rdx, str.SecondaryYY
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x7c]
mov dword [rsp + 0x28], r13d
mov r9d, r13d
mov qword [rsp + 0x20], r11
lea rdx, str.SecondaryRR
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x80]
lea rdx, str.SecondaryBPP
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xe4]
lea rdx, str.ThirdXX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xe8]
lea rdx, str.ThirdYY
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xec]
lea rdx, str.ThirdRR
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xf0]
lea rdx, str.ThirdBPP
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x154]
lea rdx, str.FourthXX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x158]
lea rdx, str.FourthYY
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x15c]
lea rdx, str.FourthRR
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x160]
lea rdx, str.FourthBPP
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x14]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
mov r9d, r13d
xor r8d, r8d
lea rdx, str.PrimaryAspectScaling
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x84]
lea rdx, str.SecondaryAspectScaling
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xf4]
lea rdx, str.ThirdAspectScaling
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x164]
lea rdx, str.FourthAspectScaling
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x38]
lea rdx, str.PrimaryScalingCustomX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x3c]
lea rdx, str.PrimaryScalingCustomy
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xa8]
lea rdx, str.SecondaryScalingCustomX
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xac]
lea rdx, str.SecondaryScalingCustomy
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x18]
lea rdx, str.PrimaryDisplayOrientation
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x88]
lea rdx, str.SecondaryDisplayOrientation
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xf8]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
mov r9d, r13d
xor r8d, r8d
lea rdx, str.ThirdDisplayOrientation
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x168]
lea rdx, str.FourthDisplayOrientation
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x1c]
lea rdx, str.PrimaryTVStandard
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x8c]
lea rdx, str.SecondaryTVStandard
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xfc]
lea rdx, str.ThirdTVStandard
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x16c]
lea rdx, str.FourthTVStandard
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x30]
lea rdx, str.PrimaryTVHDTV
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xa0]
lea rdx, str.SecondaryTVHDTV
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x110]
lea rdx, str.ThirdTVHDTV
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x180]
lea rdx, str.FourthTVHDTV
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x20]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
mov r9d, r13d
xor r8d, r8d
lea rdx, str.PrimaryTop
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x2c]
lea rdx, str.PrimaryBottom
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x24]
lea rdx, str.PrimaryLeft
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x28]
lea rdx, str.PrimaryRight
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebp, 0x104
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x90]
lea esi, [r13 + 6]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.SecondaryTop
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x9c]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.SecondaryBottom
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x94]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.SecondaryLeft
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov r8d, esi
lea rdx, [rsp + 0x1c0]
mov ecx, dword [rbx + 0x98]
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.SecondaryRight
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x100]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.ThirdTop
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x10c]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.ThirdBottom
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x104]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.ThirdLeft
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x108]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.ThirdRight
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x170]
mov r8d, esi
lea rdx, [rsp + 0x1c0]
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.FourthTop
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x17c]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.FourthBottom
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x174]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.FourthLeft
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1c0]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
mov ecx, dword [rbx + 0x178]
lea rdx, [rsp + 0x1c0]
mov r8d, esi
call fcn.140021cb0
lea rax, [rsp + 0x1c0]
lea rdx, str.FourthRight
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x34]
lea rdx, str.PrimaryInterlaced
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0xa4]
lea rdx, str.SecondaryInterlaced
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x114]
lea rdx, str.ThirdInterlaced
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea r11, [rbx + 0x184]
lea rdx, str.FourthInterlaced
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp qword [rbx + 0x68], 0x10
jb 0x140004b43
mov rdx, qword [rbx + 0x50]
jmp 0x140004b47
lea rdx, [rbx + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140020e00
lea rax, [rsp + 0x50]
mov esi, 0x30
lea rdx, str.PrimarySerialNo
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x50]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
cmp qword [rbx + 0xd8], 0x10
jb 0x140004b9c
mov rdx, qword [rbx + 0xc0]
jmp 0x140004ba3
lea rdx, [rbx + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.140020e00
lea rax, [rsp + 0x50]
lea rdx, str.SecondarySerialNo
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x50]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
cmp qword [rbx + 0x148], 0x10
jb 0x140004bf3
mov rdx, qword [rbx + 0x130]
jmp 0x140004bfa
lea rdx, [rbx + 0x130]
lea rcx, [rsp + 0x50]
call fcn.140020e00
lea rax, [rsp + 0x50]
lea rdx, str.ThirdSerialNo
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x50]
mov r8, rbp
xor edx, edx
call fcn.1400208e0
cmp qword [rbx + 0x1b8], 0x10
jb 0x140004c4a
mov rdx, qword [rbx + 0x1a0]
jmp 0x140004c51
lea rdx, [rbx + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.140020e00
lea rax, [rsp + 0x50]
lea rdx, str.FourthSerialNo
mov r9d, r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r13b, r15b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004c92
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, r13b
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400209e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret