Function at 0x42a990
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462ddb
mov eax, dword fs:[0]
push eax
mov eax, 0x18b4
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18ac], ecx
mov eax, 0x5c
mov dword [ebp - 0x1820], 0
mov dword [ebp - 0x18bc], 0
mov dword [ebp - 0x18b8], 0
mov dword [ebp - 0x18b4], 0
mov word [ebp - 0x18b0], ax
mov byte [ebp - 0x18ae], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
push eax
mov bl, 1
push 0x49631c
lea ecx, [ebp - 0x18a8]
mov byte [ebp - 0x1811], bl
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push str.TeraByte_UnlimitedTBLauncher
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42ace5
cmp dword [ebp - 0x1894], 8
jb 0x42aac3
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
cmp dword [0x495d18], 8
mov eax, 0x495d04
cmovae eax, dword [0x495d04]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aaf4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.IFWPath
push dword [ebp - 0x188c]
call edi
cmp dword [0x495d30], 8
mov eax, 0x495d1c
cmovae eax, dword [0x495d1c]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ab54
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.TBIViewPath
push dword [ebp - 0x188c]
call edi
cmp dword [0x495d48], 8
mov eax, 0x495d34
cmovae eax, dword [0x495d34]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42abb4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.TBOSDTPath
push dword [ebp - 0x188c]
call edi
cmp dword [0x4962e8], 8
mov eax, 0x4962d4
cmovae eax, dword [0x4962d4]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ac14
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.BuildID
push dword [ebp - 0x188c]
call edi
xor eax, eax
cmp dword [0x495bd8], 3
push 4
sete al
mov dword [ebp - 0x181c], eax
lea eax, [ebp - 0x181c]
push eax
push 4
push 0
push str.BootFile
push dword [ebp - 0x188c]
call edi
cmp dword [0x495bd0], 0
jne 0x42ac8b
cmp dword [0x495bd8], 0
mov dword [ebp - 0x181c], 1
je 0x42ac95
mov dword [ebp - 0x181c], 0
push 4
lea eax, [ebp - 0x181c]
push eax
push 4
push 0
push str.WinRE
push dword [ebp - 0x188c]
call edi
xor eax, eax
cmp dword [0x495bd8], 4
push 4
sete al
mov dword [ebp - 0x181c], eax
lea eax, [ebp - 0x181c]
push eax
push 4
push 0
push str.IFWBootWIM
push dword [ebp - 0x188c]
call edi
push dword [ebp - 0x188c]
call esi
jmp 0x42ad04
cmp dword [ebp - 0x1894], 8
jb 0x42acfc
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
mov byte [ebp - 0x1811], bl
mov eax, dword [0x495c14]
mov dword [ebp - 0x1820], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x496334
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push str.Control_PanelDesktop
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ae5e
cmp dword [ebp - 0x1894], 8
jb 0x42adb4
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
cmp dword [ebp - 0x1820], 0x60
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jb 0x42addf
push 4
lea eax, [ebp - 0x1820]
push eax
push 4
push 0
push str.LogPixels
push dword [ebp - 0x188c]
call edi
jmp 0x42adec
push str.LogPixels
push dword [ebp - 0x188c]
call esi
mov ecx, dword [ebp - 0x18ac]
mov eax, dword [ecx]
cmp eax, 6
jne 0x42adff
cmp dword [ecx + 4], 1
jg 0x42ae04
cmp eax, 0xa
jl 0x42ae4e
cmp dword [ebp - 0x1820], 0x60
mov dword [ebp - 0x181c], 1
jb 0x42ae41
push 4
lea eax, [ebp - 0x181c]
push eax
push 4
push 0
push str.Win8DpiScaling
push dword [ebp - 0x188c]
call edi
push dword [ebp - 0x188c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x42ae7d
push str.Win8DpiScaling
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x188c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x42ae7d
cmp dword [ebp - 0x1894], 8
jb 0x42ae75
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
mov byte [ebp - 0x1811], bl
mov eax, dword [ebp - 0x1820]
cmp eax, 0x60
ja 0x42b089
cmp dword [0x496348], 8
mov eax, 0x496334
cmovae eax, dword [0x496334]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
push str.Console_SystemRoot__System32_cmd.exe_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0x18
lea eax, [ebp - 0x1010]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ebx, ebx
mov edi, 0x495a50
mov esi, 0x495a70
test ebx, ebx
cmovne esi, edi
push esi
lea ecx, [ebp - 0x18bc]
call fcn.0044d300
mov al, byte [esi + 0xe]
cmp dword [0x496348], 8
mov byte [ebp - 0x18ae], al
mov eax, 0x5f
mov word [ebp - 0x18b0], ax
mov eax, 0x496334
cmovae eax, dword [0x496334]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
push 0x47c4c0
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0x18
lea eax, [ebp - 0x18a8]
push 0
push eax
lea ecx, [ebp - 0x18bc]
call fcn.0040a370
cmp dword [eax + 0x14], 8
jb 0x42af68
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0xc
cmp dword [ebp - 0x1894], 8
jb 0x42af94
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
push str._win_tbosdtw64.exe_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [0x496348], 8
mov eax, 0x496334
cmovae eax, dword [0x496334]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
push 0x47c4c0
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0x18
lea eax, [ebp - 0x18a8]
push 0
push eax
lea ecx, [ebp - 0x18bc]
call fcn.0040a370
cmp dword [eax + 0x14], 8
jb 0x42b01b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0xc
cmp dword [ebp - 0x1894], 8
jb 0x42b047
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
push str._win_tbosdtw.exe_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
inc ebx
cmp ebx, 2
jl 0x42aee3
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bl, byte [ebp - 0x1811]
jmp 0x42b402
mov ecx, dword [ebp - 0x18ac]
cmp dword [ecx], 0xa
jge 0x42b402
movd xmm0, eax
fnstcw word [ebp - 0x1812]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 0x18
addsd xmm0, qword [eax*8 + 0x48c750]
movzx eax, word [ebp - 0x1812]
or eax, 0xc00
divsd xmm0, qword [0x48c710]
mov ecx, esp
mulsd xmm0, qword [0x48c6d0]
push 0xffffffffffffffff
movsd qword [ebp - 0x1828], xmm0
fld qword [ebp - 0x1828]
mov dword [ebp - 0x1824], eax
fldcw word [ebp - 0x1824]
fistp qword [ebp - 0x1828]
movzx eax, word [ebp - 0x1828]
shl eax, 0x10
mov dword [ebp - 0x1818], eax
xor eax, eax
fldcw word [ebp - 0x1812]
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x496334
mov word [ecx], ax
call fcn.004020b0
lea edx, [ebp - 0x188c]
mov ecx, str.Console_SystemRoot__System32_cmd.exe
call fcn.0042a900
add esp, 0x18
test al, al
je 0x42b1c8
push 0x1e
push str.Lucida_Console
push 1
push 0
push str.FaceName
push dword [ebp - 0x188c]
call edi
push 4
lea eax, [ebp - 0x1814]
push eax
push 4
push 0
push str.FontFamily
push dword [ebp - 0x188c]
mov dword [ebp - 0x1814], 0x36
call edi
push 4
lea eax, [ebp - 0x1818]
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x188c]
call edi
push 4
lea eax, [ebp - 0x1814]
push eax
push 4
push 0
push str.FontWeight
push dword [ebp - 0x188c]
mov dword [ebp - 0x1814], 0x190
call edi
push dword [ebp - 0x188c]
call esi
jmp 0x42b1ca
xor bl, bl
xor eax, eax
mov dword [ebp - 0x1824], eax
mov ecx, 0x495a50
jmp 0x42b1e0
test eax, eax
mov esi, 0x495a70
cmovne esi, ecx
push esi
lea ecx, [ebp - 0x18bc]
call fcn.0044d300
mov al, byte [esi + 0xe]
mov byte [ebp - 0x18ae], al
mov eax, 0x5f
mov word [ebp - 0x18b0], ax
xor esi, esi
lea ecx, [ecx]
push str.ConsoleX:_Program_Files_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.004513ee
add esp, 0xc
lea eax, [ebp - 0x18a8]
push 0
push eax
lea ecx, [ebp - 0x18bc]
call fcn.0040a370
cmp dword [eax + 0x14], 8
jb 0x42b245
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0xc
cmp dword [ebp - 0x1894], 8
jb 0x42b271
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
mov ecx, str._win_tbosdtw.exe
mov eax, str._win_tbosdtw64.exe
test esi, esi
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00451274
add esp, 0xc
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x496334
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea ecx, [ebp - 0x1010]
push ecx
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b3c4
cmp dword [ebp - 0x1894], 8
jb 0x42b33c
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
push 0x1e
push str.Lucida_Console
push 1
push 0
push str.FaceName
push dword [ebp - 0x188c]
call edi
push 4
lea eax, [ebp - 0x1814]
push eax
push 4
push 0
push str.FontFamily
push dword [ebp - 0x188c]
mov dword [ebp - 0x1814], 0x36
call edi
push 4
lea eax, [ebp - 0x1818]
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x188c]
call edi
push 4
lea eax, [ebp - 0x1814]
push eax
push 4
push 0
push str.FontWeight
push dword [ebp - 0x188c]
mov dword [ebp - 0x1814], 0x190
call edi
push dword [ebp - 0x188c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42b3dd
cmp dword [ebp - 0x1894], 8
jb 0x42b3db
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
inc esi
cmp esi, 2
jl 0x42b210
mov eax, dword [ebp - 0x1824]
inc eax
mov dword [ebp - 0x1824], eax
mov ecx, 0x495a50
cmp eax, 2
jl 0x42b1e0
mov esi, dword [ebp - 0x18ac]
cmp dword [esi], 6
jne 0x42b6f2
cmp dword [esi + 4], 1
jne 0x42b6f2
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x496334
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push str.Control_PanelDesktopWindowMetrics
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b6d9
cmp dword [ebp - 0x1894], 8
jb 0x42b4c0
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
mov eax, dword [ebp - 0x1820]
mov dword [ebp - 0x1814], 0x5c
mov dword [ebp - 0x1818], 0xfffffff5
cmp eax, 0x60
jbe 0x42b50d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x48c750]
divsd xmm0, qword [0x48c710]
mulsd xmm0, qword [0x48c730]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1818], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.CaptionFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.CaptionFont
push dword [ebp - 0x188c]
call edi
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.IconFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.IconFont
push dword [ebp - 0x188c]
call edi
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.MenuFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.MenuFont
push dword [ebp - 0x188c]
call edi
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.MessageFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.MessageFont
push dword [ebp - 0x188c]
call edi
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.SmCaptionFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.SmCaptionFont
push dword [ebp - 0x188c]
call edi
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1888]
push eax
push 0
push 0
push str.StatusFont
push dword [ebp - 0x188c]
call esi
push dword [ebp - 0x1814]
mov eax, dword [ebp - 0x1818]
mov dword [ebp - 0x1888], eax
lea eax, [ebp - 0x1888]
push eax
push 3
push 0
push str.StatusFont
push dword [ebp - 0x188c]
call edi
push dword [ebp - 0x188c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x42b6f8
cmp dword [ebp - 0x1894], 8
jb 0x42b6f0
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18ac]
mov eax, dword [ecx]
cmp eax, 0xa
jg 0x42b718
jne 0x42b800
cmp dword [ecx + 8], 0x3839
jl 0x42b800
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x496304
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push str.ControlSet001ControlFileSystem
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b7e7
cmp dword [ebp - 0x1894], 8
jb 0x42b7b9
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
push 4
lea eax, [ebp - 0x1824]
push eax
push 4
push 0
push str.LongPathsEnabled
push dword [ebp - 0x188c]
mov dword [ebp - 0x1824], 1
call edi
push dword [ebp - 0x188c]
call esi
jmp 0x42b800
cmp dword [ebp - 0x1894], 8
jb 0x42b7fe
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
xor eax, eax
push 0xffffffffffffffff
push eax
push 0x496334
lea ecx, [ebp - 0x18a8]
mov dword [ebp - 0x1894], 7
mov dword [ebp - 0x1898], 0
mov word [ebp - 0x18a8], ax
call fcn.004020b0
cmp dword [ebp - 0x1894], 8
lea eax, [ebp - 0x18a8]
cmovae eax, dword [ebp - 0x18a8]
push str.Control_PanelMouse
push eax
lea eax, [ebp - 0x1810]
push 0x46c04c
push eax
call fcn.00409760
add esp, 0x10
lea eax, [ebp - 0x188c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1810]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ba8e
cmp dword [ebp - 0x1894], 8
jb 0x42b8a5
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
push dword [0x4962f8]
lea eax, [ebp - 0x1010]
push 0x46c520
push eax
call fcn.00409950
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x42b8d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b8d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.MouseSensitivity
push dword [ebp - 0x188c]
call edi
cmp byte [0x4962fc], 0
mov esi, 0x470dc4
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x47b698
push eax
call fcn.00409950
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b933
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.MouseSpeed
push dword [ebp - 0x188c]
call edi
cmp byte [0x4962fc], 0
mov ecx, 0x470dc8
mov eax, 0x47c81c
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x47b698
push eax
call fcn.00409950
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b994
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push 0x47c820
push dword [ebp - 0x188c]
call edi
cmp byte [0x4962fc], 0
mov ecx, 0x470dc8
mov eax, 0x47c840
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x47b698
push eax
call fcn.00409950
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b9f5
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.MouseThreshold2
push dword [ebp - 0x188c]
call edi
cmp byte [0x4962fd], 0
mov eax, 0x470dc8
cmove esi, eax
push esi
lea eax, [ebp - 0x1010]
push 0x47b698
push eax
call fcn.00409950
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ba51
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push str.SwapMouseButtons
push dword [ebp - 0x188c]
call edi
push dword [ebp - 0x188c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42baa7
cmp dword [ebp - 0x1894], 8
jb 0x42baa5
push dword [ebp - 0x18a8]
call fcn.00450920
add esp, 4
xor bl, bl
mov eax, dword [ebp - 0x18bc]
test eax, eax
je 0x42baf9
mov edi, dword [ebp - 0x18b8]
mov esi, eax
cmp eax, edi
je 0x42baf0
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x42bad0
push dword [esi]
call fcn.00450920
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x42bac0
mov eax, dword [ebp - 0x18bc]
push eax
call fcn.00450920
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret