Function at 0x402ac3
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cbdb4
call fcn.0046fad0
sub esp, 0x34
push ebx
push esi
lea eax, [ebp - 0x34]
push edi
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov dword [esp], str.Timwp.exe
push eax
lea eax, [ebp - 0x24]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
dec eax
je 0x402c96
dec eax
je 0x402c47
dec eax
je 0x402bf5
dec eax
je 0x402ba3
dec eax
jne 0x402ce8
push str..uip
lea ecx, [ebp - 0x20]
call fcn.0046f48c
push str.SUPERBAG.Package
lea ecx, [ebp - 0x14]
call fcn.0046f48c
push str.SUPERBAG_Package
lea ecx, [ebp - 0x1c]
call fcn.0046f48c
lea eax, [ebp - 0x24]
push str.__146
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0046f498
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
jmp 0x402ce3
push str..cfc
lea ecx, [ebp - 0x20]
call fcn.0046f48c
push str.CFC.Package
lea ecx, [ebp - 0x14]
call fcn.0046f48c
push str.CFC_Package
lea ecx, [ebp - 0x1c]
call fcn.0046f48c
lea eax, [ebp - 0x24]
push str.__140
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0046f498
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
jmp 0x402ce3
push str..eip
lea ecx, [ebp - 0x20]
call fcn.0046f48c
push str.EMOTION.Package
lea ecx, [ebp - 0x14]
call fcn.0046f48c
push str.EMOTION_Package
lea ecx, [ebp - 0x1c]
call fcn.0046f48c
lea eax, [ebp - 0x24]
push str.__135
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046f498
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
jmp 0x402ce3
push str..cip
lea ecx, [ebp - 0x20]
call fcn.0046f48c
push str.SCENE.Package
lea ecx, [ebp - 0x14]
call fcn.0046f48c
push str.SCENE_Package
lea ecx, [ebp - 0x1c]
call fcn.0046f48c
lea eax, [ebp - 0x24]
push str.__134
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0046f498
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
jmp 0x402ce3
push str..kip
lea ecx, [ebp - 0x20]
call fcn.0046f48c
push str.SKIN.Package
lea ecx, [ebp - 0x14]
call fcn.0046f48c
push str.SKIN_Package
lea ecx, [ebp - 0x1c]
call fcn.0046f48c
lea eax, [ebp - 0x24]
push str.__133
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0046f498
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x28]
mov ebx, 0xf003f
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
push esi
push esi
mov dword [ebp - 0x28], esi
push dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
push SysReAllocStringLen
call edi
test eax, eax
jne 0x402d31
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
push 1
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp - 0x14]
push SysReAllocStringLen
call edi
cmp eax, esi
jne 0x402e64
mov eax, dword [ebp - 0x1c]
push dword [eax - 8]
push eax
push 1
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
push esi
push esi
push esi
push str.DefaultIcon
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x402d9f
mov eax, dword [ebp - 0x18]
push dword [eax - 8]
push eax
push 1
push esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], esi
push eax
lea eax, [ebp - 0x38]
push eax
push esi
push ebx
push esi
push esi
push esi
push str.shell
push dword [ebp - 0x10]
call edi
cmp eax, esi
jne 0x402e58
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], esi
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
push esi
push esi
push esi
push str.open
push dword [ebp - 0x38]
call edi
cmp eax, esi
jne 0x402e4f
lea eax, [ebp - 0x28]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp + 8]
push eax
push esi
push ebx
push esi
push esi
push esi
push str.command
push dword [ebp - 0x34]
call edi
cmp eax, esi
jne 0x402e46
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_4
push dword [ebp - 0x24]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push str.__s_____1_
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x30]
add esp, 0xc
push dword [eax - 8]
push eax
push 1
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret