Function at 0x4015ce
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00403199
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0xe40]
xor edi, edi
push edi
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.Directory_shellFolcolor
push 0x80000000
mov dword [ebp - 0xe40], edi
call ebx
mov esi, eax
test esi, esi
jne 0x4021f9
push 0x103
push 0x425460
push 0x104
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xe4c]
push eax
call fcn.0040b2cd
mov esi, eax
add esp, 0x14
test esi, esi
je 0x401699
push esi
lea eax, [ebp - 0x62c]
push 0x400
push eax
call fcn.0040ae34
lea eax, [ebp - 0x62c]
push eax
push esi
push str.wcstombs_s
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x28
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x42
jmp 0x402239
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xd
push str.Color_Folder
push 1
push edi
push str.MUIVerb
push dword [ebp - 0xe40]
call esi
mov edi, eax
test edi, edi
je 0x401701
lea edx, [ebp - 0x62c]
mov ecx, edi
call fcn.00402f2a
push eax
push edi
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x55
jmp 0x402239
push 1
push 0x42184e
push 1
push 0
push str.SubCommands
push dword [ebp - 0xe40]
call esi
mov edi, eax
test edi, edi
je 0x401764
lea edx, [ebp - 0x62c]
mov ecx, edi
call fcn.00402f2a
push eax
push edi
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x56
jmp 0x402239
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x10
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push 0
push str.Icon
push dword [ebp - 0xe40]
call esi
mov edi, eax
test edi, edi
je 0x4017e9
lea edx, [ebp - 0x62c]
mov ecx, edi
call fcn.00402f2a
push eax
push edi
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x58
jmp 0x402239
xor ecx, ecx
lea eax, [ebp - 0xe3c]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push str.shell
push dword [ebp - 0xe40]
mov dword [ebp - 0xe3c], ecx
call ebx
mov edi, eax
test edi, edi
je 0x40185a
lea edx, [ebp - 0x62c]
mov ecx, edi
call fcn.00402f2a
push eax
push edi
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x5d
jmp 0x402239
and dword [ebp - 0xe34], 0
and dword [ebp - 0xe38], 0
xor eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xe44], eax
push eax
push str._02u
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.004015b2
add esp, 0x10
lea eax, [ebp - 0xe34]
xor ecx, ecx
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xe3c]
call ebx
mov dword [ebp - 0xe30], eax
test eax, eax
jne 0x4021b2
mov eax, dword [0x4248c0]
add eax, dword [ebp - 0xe44]
push eax
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe__u
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push 0
push str.Icon
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
jne 0x402168
mov eax, dword [ebp - 0xe44]
mov edx, dword [eax*4 + 0x4219cc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xe30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401923
sub ecx, dword [ebp - 0xe30]
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push str.MUIVerb
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
jne 0x40211e
xor ecx, ecx
lea eax, [ebp - 0xe38]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push str.command
push dword [ebp - 0xe34]
call ebx
mov dword [ebp - 0xe30], eax
test eax, eax
jne 0x4020d4
push dword [ebp - 0xe44]
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe___index_d___folder__1
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push 0
push 0x42184e
push dword [ebp - 0xe38]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
jne 0x40208a
push dword [ebp - 0xe38]
call edi
push dword [ebp - 0xe34]
and dword [ebp - 0xe38], 0
call edi
mov eax, dword [ebp - 0xe44]
xor ecx, ecx
inc eax
mov dword [ebp - 0xe34], ecx
mov dword [ebp - 0xe44], eax
cmp eax, 0xe
jb 0x401876
push ecx
lea eax, [ebp - 0xe34]
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push 0x4218c8
push dword [ebp - 0xe3c]
call ebx
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401a77
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x7b
jmp 0x402239
push 0x24
push str._SystemRoot__system32_shell32.dll_4
push 1
push 0
push str.Icon
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401ae3
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x7d
jmp 0x402239
push 0x10
push str.Restore_Default
push 1
push 0
push str.MUIVerb
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401b4f
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x7f
jmp 0x402239
push 4
lea eax, [ebp - 0xe48]
mov dword [ebp - 0xe48], 0x20
push eax
push 4
push 0
push str.CommandFlags
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401bca
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x81
push eax
jmp 0x40223a
xor ecx, ecx
lea eax, [ebp - 0xe38]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push str.command
push dword [ebp - 0xe34]
call ebx
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401c41
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x85
push eax
jmp 0x40223a
push 0xe
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe___index_d___folder__1
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push 0
push 0x42184e
push dword [ebp - 0xe38]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401cd4
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x86
push eax
jmp 0x40223a
push dword [ebp - 0xe38]
call edi
push dword [ebp - 0xe34]
and dword [ebp - 0xe38], 0
call edi
xor ecx, ecx
lea eax, [ebp - 0xe34]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push 0x421910
push dword [ebp - 0xe3c]
mov dword [ebp - 0xe34], ecx
call ebx
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401d68
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x90
push eax
jmp 0x40223a
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x10
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push 0
push str.Icon
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401df9
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x92
push eax
jmp 0x40223a
push 0x10
push str.Launch_Folcolor
push 1
push 0
push str.MUIVerb
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401e68
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x93
push eax
jmp 0x40223a
push 1
push 0x42184e
push 1
push 0
push str.HasLUAShield
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401ed7
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x95
push eax
jmp 0x40223a
push 4
lea eax, [ebp - 0xe48]
mov dword [ebp - 0xe48], 0x20
push eax
push 4
push 0
push str.CommandFlags
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x401f52
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x97
push eax
jmp 0x40223a
xor ecx, ecx
lea eax, [ebp - 0xe38]
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push str.command
push dword [ebp - 0xe34]
call ebx
mov ebx, eax
test ebx, ebx
je 0x401fc0
lea edx, [ebp - 0x62c]
mov ecx, ebx
call fcn.00402f2a
push eax
push ebx
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x9b
push eax
jmp 0x40223a
lea eax, [ebp - 0x22c]
push eax
push str._sFolcolor.exe
lea eax, [ebp - 0x128]
push 0x119
push eax
call fcn.004015b2
add esp, 0x10
xor ebx, ebx
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push 1
push ebx
push 0x42184e
push dword [ebp - 0xe38]
call esi
mov esi, eax
test esi, esi
je 0x402049
lea edx, [ebp - 0x62c]
mov ecx, esi
call fcn.00402f2a
push eax
push esi
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
mov ecx, 0x9d
push eax
jmp 0x40223a
push dword [ebp - 0xe38]
call edi
push dword [ebp - 0xe34]
mov dword [ebp - 0xe38], ebx
call edi
push dword [ebp - 0xe3c]
mov dword [ebp - 0xe34], ebx
call edi
push dword [ebp - 0xe40]
mov dword [ebp - 0xe3c], ebx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040326e
leave
ret
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x6e
jmp 0x402239
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x6d
jmp 0x402239
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x69
jmp 0x402239
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push str.RegSetValueEx
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x68
jmp 0x402239
lea edx, [ebp - 0x62c]
mov ecx, eax
call fcn.00402f2a
push eax
push dword [ebp - 0xe30]
lea eax, [ebp - 0xe2c]
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x67
jmp 0x402239
lea edx, [ebp - 0x62c]
mov ecx, esi
call fcn.00402f2a
push eax
push esi
push 0x4217cc
push str._s___failed__Error:_0x_X_____s_
push 0x7ff
lea eax, [ebp - 0xe2c]
push 0x800
push eax
call fcn.00401037
add esp, 0x1c
lea eax, [ebp - 0xe2c]
mov edx, str.C:ProjectsFolcolorpublic_repo_srcControllerInstaller.cpp
push eax
push 0x3b
pop ecx
call fcn.00402f79
int3