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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4873cb
mov eax, dword fs:[0]
push eax
mov eax, 0x10b4
call fcn.004839d0
mov eax, dword [0x4ab00c]
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 - 0x10a4], ecx
mov eax, 0x5c
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov word [ebp - 0x1028], ax
mov byte [ebp - 0x1026], 1
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea esi, [ebp - 0x109c]
mov bl, 1
mov byte [ebp - 0x109d], bl
push 0x4ae738
call fcn.004022e0
mov edx, esi
mov ecx, str.TeraByte_UnlimitedTBLauncher
call fcn.004372b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x18
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test al, al
je 0x437641
cmp dword [0x4ae0cc], 8
mov eax, 0x4ae0b8
cmovae eax, dword [0x4ae0b8]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437450
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 - 0x109c]
call edi
cmp dword [0x4ae0e4], 8
mov eax, 0x4ae0d0
cmovae eax, dword [0x4ae0d0]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4374b0
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 - 0x109c]
call edi
cmp dword [0x4ae0fc], 8
mov eax, 0x4ae0e8
cmovae eax, dword [0x4ae0e8]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437510
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 - 0x109c]
call edi
cmp dword [0x4ae6f8], 8
mov eax, 0x4ae6e4
cmovae eax, dword [0x4ae6e4]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437570
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 - 0x109c]
call edi
xor eax, eax
cmp dword [0x4adf60], 3
push 4
sete al
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1020]
push eax
push 4
push 0
push str.BootFile
push dword [ebp - 0x109c]
call edi
cmp dword [0x4adf58], 0
jne 0x4375e7
cmp dword [0x4adf60], 0
mov dword [ebp - 0x1020], 1
je 0x4375f1
mov dword [ebp - 0x1020], 0
push 4
lea eax, [ebp - 0x1020]
push eax
push 4
push 0
push str.WinRE
push dword [ebp - 0x109c]
call edi
xor eax, eax
cmp dword [0x4adf60], 4
push 4
sete al
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1020]
push eax
push 4
push 0
push str.IFWBootWIM
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
call esi
jmp 0x437649
xor bl, bl
mov byte [ebp - 0x109d], bl
mov eax, dword [0x4adf9c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1024], eax
push 0x4ae750
call fcn.004022e0
lea edx, [ebp - 0x109c]
mov ecx, str.Control_PanelDesktop
call fcn.004372b0
add esp, 0x18
test al, al
je 0x437738
cmp dword [ebp - 0x1024], 0x60
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jb 0x4376a9
push 4
lea eax, [ebp - 0x1024]
push eax
push 4
push 0
push str.LogPixels
push dword [ebp - 0x109c]
call edi
jmp 0x4376b6
push str.LogPixels
push dword [ebp - 0x109c]
call esi
mov ecx, dword [ebp - 0x10a4]
mov eax, dword [ecx]
cmp eax, 6
jne 0x4376d9
cmp dword [ecx + 4], 1
jg 0x4376de
push dword [ebp - 0x109c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x437740
cmp eax, 0xa
jl 0x437728
cmp dword [ebp - 0x1024], 0x60
mov dword [ebp - 0x1020], 1
jb 0x43771b
push 4
lea eax, [ebp - 0x1020]
push eax
push 4
push 0
push str.Win8DpiScaling
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x437740
push str.Win8DpiScaling
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x109c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x437740
xor bl, bl
mov byte [ebp - 0x109d], bl
mov eax, dword [ebp - 0x1024]
cmp eax, 0x60
ja 0x4379b6
cmp dword [0x4ae764], 8
mov eax, 0x4ae750
cmovae eax, dword [0x4ae750]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x1010]
push str.Console_SystemRoot__System32_cmd.exe_
push 0x800
push eax
call fcn.00474974
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ebx, ebx
test ebx, ebx
mov eax, 0x4addd8
mov esi, 0x4addf8
mov ecx, 0x5f
cmovne esi, eax
lea eax, [ebp - 0x1034]
cmp eax, esi
je 0x4377d9
push dword [ebp - 0x101c]
mov ecx, eax
push dword [esi + 4]
push dword [esi]
call fcn.0046a900
mov ecx, 0x5f
mov al, byte [esi + 0xe]
cmp dword [0x4ae764], 8
mov byte [ebp - 0x1026], al
mov eax, 0x4ae750
cmovae eax, dword [0x4ae750]
push eax
lea eax, [ebp - 0x1010]
mov word [ebp - 0x1028], cx
push 0x800
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x49ae90
push 0x800
push eax
call fcn.00474974
add esp, 0xc
lea eax, [ebp - 0x10c0]
lea ecx, [ebp - 0x1034]
push 0
push eax
call fcn.0040c060
cmp dword [eax + 0x14], 8
jb 0x437846
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
mov edx, dword [ebp - 0x10ac]
add esp, 0xc
cmp edx, 8
jb 0x43789b
mov ecx, dword [ebp - 0x10c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437891
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43818a
push edx
push ecx
call fcn.0046ba31
add esp, 8
push str._win_tbosdtw64.exe_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x1010]
add esp, 0xc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [0x4ae764], 8
mov eax, 0x4ae750
cmovae eax, dword [0x4ae750]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x49ae90
push 0x800
push eax
call fcn.00474974
add esp, 0xc
lea eax, [ebp - 0x10c0]
lea ecx, [ebp - 0x1034]
push 0
push eax
call fcn.0040c060
cmp dword [eax + 0x14], 8
jb 0x437925
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
mov edx, dword [ebp - 0x10ac]
add esp, 0xc
cmp edx, 8
jb 0x43797a
mov ecx, dword [ebp - 0x10c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437970
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43818a
push edx
push ecx
call fcn.0046ba31
add esp, 8
push str._win_tbosdtw.exe_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
inc ebx
cmp ebx, 2
jl 0x4377a4
mov bl, byte [ebp - 0x109d]
jmp 0x437c80
mov ecx, dword [ebp - 0x10a4]
cmp dword [ecx], 0xa
jge 0x437c80
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a30d0]
divsd xmm0, qword [0x4a3098]
mulsd xmm0, qword [0x4a3048]
call fcn.00483ff1
sub esp, 0x18
movzx eax, ax
shl eax, 0x10
mov ecx, esp
mov dword [ebp - 0x1018], eax
push 0x4ae750
call fcn.004022e0
lea edx, [ebp - 0x109c]
mov ecx, str.Console_SystemRoot__System32_cmd.exe
call fcn.004372b0
add esp, 0x18
test al, al
je 0x437aa8
push 0x1e
push str.Lucida_Console
push 1
push 0
push str.FaceName
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x36
push eax
push 4
push 0
push str.FontFamily
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1018]
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x190
push eax
push 4
push 0
push str.FontWeight
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
call esi
jmp 0x437aaa
xor bl, bl
xor eax, eax
mov dword [ebp - 0x101c], eax
test eax, eax
mov ecx, 0x4addd8
mov esi, 0x4addf8
lea eax, [ebp - 0x1034]
cmovne esi, ecx
mov edx, 0x5f
cmp eax, esi
je 0x437ae7
push dword [ebp - 0x101c]
mov ecx, eax
push dword [esi + 4]
push dword [esi]
call fcn.0046a900
mov edx, 0x5f
mov al, byte [esi + 0xe]
xor esi, esi
mov byte [ebp - 0x1026], al
mov word [ebp - 0x1028], dx
nop dword [eax]
push str.ConsoleX:_Program_Files_
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x10c0]
lea ecx, [ebp - 0x1034]
push 0
push eax
call fcn.0040c060
cmp dword [eax + 0x14], 8
jb 0x437b35
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
mov edx, dword [ebp - 0x10ac]
add esp, 0xc
cmp edx, 8
jb 0x437b8a
mov ecx, dword [ebp - 0x10c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437b80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43818a
push edx
push ecx
call fcn.0046ba31
add esp, 8
test esi, esi
mov ecx, str._win_tbosdtw.exe
mov eax, str._win_tbosdtw64.exe
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.00474974
sub esp, 0xc
mov ecx, esp
push 0x4ae750
call fcn.004022e0
lea edx, [ebp - 0x109c]
lea ecx, [ebp - 0x1010]
call fcn.004372b0
add esp, 0x18
test al, al
je 0x437c5e
push 0x1e
push str.Lucida_Console
push 1
push 0
push str.FaceName
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x36
push eax
push 4
push 0
push str.FontFamily
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1018]
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x109c]
call edi
push 4
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x190
push eax
push 4
push 0
push str.FontWeight
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437c60
xor bl, bl
inc esi
cmp esi, 2
jl 0x437b00
mov eax, dword [ebp - 0x101c]
inc eax
mov dword [ebp - 0x101c], eax
cmp eax, 2
jl 0x437ab2
mov esi, dword [ebp - 0x10a4]
cmp dword [esi], 6
jne 0x437ee0
cmp dword [esi + 4], 1
jne 0x437ee0
sub esp, 0x18
lea esi, [ebp - 0x109c]
mov ecx, esp
push 0x4ae750
call fcn.004022e0
mov edx, esi
mov ecx, str.Control_PanelDesktopWindowMetrics
call fcn.004372b0
add esp, 0x18
test al, al
je 0x437ede
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x1014], 0x5c
mov dword [ebp - 0x1018], 0xfffffff5
cmp eax, 0x60
jbe 0x437d12
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a30d0]
divsd xmm0, qword [0x4a30b8]
mulsd xmm0, qword [0x4a3048]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1018], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.CaptionFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.CaptionFont
push dword [ebp - 0x109c]
call edi
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.IconFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.IconFont
push dword [ebp - 0x109c]
call edi
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.MenuFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.MenuFont
push dword [ebp - 0x109c]
call edi
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.MessageFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.MessageFont
push dword [ebp - 0x109c]
call edi
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.SmCaptionFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.SmCaptionFont
push dword [ebp - 0x109c]
call edi
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1098]
push eax
push 0
push 0
push str.StatusFont
push dword [ebp - 0x109c]
call esi
push dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1098], eax
lea eax, [ebp - 0x1098]
push eax
push 3
push 0
push str.StatusFont
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x437ee6
xor bl, bl
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10a4]
cmp dword [ecx], 0xa
jg 0x437efc
jne 0x437f52
cmp dword [ecx + 8], 0x3839
jl 0x437f52
sub esp, 0x18
mov ecx, esp
push 0x4ae720
call fcn.004022e0
lea edx, [ebp - 0x109c]
mov ecx, str.ControlSet001ControlFileSystem
call fcn.004372b0
add esp, 0x18
test al, al
je 0x437f50
push 4
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 1
push eax
push 4
push 0
push str.LongPathsEnabled
push dword [ebp - 0x109c]
call edi
push dword [ebp - 0x109c]
call esi
jmp 0x437f52
xor bl, bl
sub esp, 0x18
lea esi, [ebp - 0x109c]
mov ecx, esp
push 0x4ae750
call fcn.004022e0
mov edx, esi
mov ecx, str.Control_PanelMouse
call fcn.004372b0
add esp, 0x18
test al, al
je 0x43815f
push dword [0x4ae708]
lea eax, [ebp - 0x1010]
push 0x498ff8
push eax
call fcn.0040a970
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437fa1
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 - 0x109c]
call edi
cmp byte [0x4ae70c], 0
mov esi, 0x497460
mov ecx, 0x497464
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x49ab2c
push eax
call fcn.0040a970
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438004
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 - 0x109c]
call edi
cmp byte [0x4ae70c], 0
mov ecx, 0x497464
mov eax, 0x49b1ec
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x49ab2c
push eax
call fcn.0040a970
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438065
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1010]
push eax
push 1
push 0
push 0x49b1f0
push dword [ebp - 0x109c]
call edi
cmp byte [0x4ae70c], 0
mov ecx, 0x497464
mov eax, 0x49b210
cmove eax, ecx
push eax
lea eax, [ebp - 0x1010]
push 0x49ab2c
push eax
call fcn.0040a970
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4380c6
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 - 0x109c]
call edi
cmp byte [0x4ae70d], 0
mov eax, 0x497464
cmove esi, eax
lea eax, [ebp - 0x1010]
push esi
push 0x49ab2c
push eax
call fcn.0040a970
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438122
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 - 0x109c]
call edi
push dword [ebp - 0x109c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x438161
xor bl, bl
lea ecx, [ebp - 0x1034]
call fcn.0040a620
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.0046b9f0
mov esp, ebp
pop ebp
ret
call fcn.00471513
int3