Function at 0x401ffe
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0x34
mov eax, 0x431d9e
call fcn.00431d00
mov eax, 0x10c0
call fcn.00431cd0
cmp dword [0x44a43c], 0
push ebx
mov ebx, ecx
je 0x402029
xor eax, eax
jmp 0x402342
push esi
push edi
push ecx
push dword [0x44a434]
lea ecx, [ebp - 0x6c]
call fcn.00414954
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00401ed5
mov ecx, 0x44a420
call fcn.0040f58a
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0040f5cc
mov ecx, 0x44a424
call fcn.0040f58a
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.0040f5cc
lea ecx, [ebp - 0x278]
call fcn.0040cacd
lea ecx, [ebp - 0x278]
call fcn.0040c44f
lea eax, [ebp - 0x278]
push str.InstallFramework
push eax
call fcn.00420b23
lea eax, [ebp - 0x278]
push str..exe
push eax
call fcn.00420b23
add esp, 0x10
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x28]
call fcn.0040f5cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileStringW]
lea eax, [ebp - 0x89c]
push 0x104
push eax
push str.framework.pcsoft.fr
push str.Serveur
push str.Framework_PC_SOFT
call esi
push 0x104
lea eax, [ebp - 0x690]
push eax
push str._DLL_27.0
push 0x43cb4c
push str.Framework_PC_SOFT
call esi
push 0x104
lea eax, [ebp - 0x484]
push eax
push str.InstallFramework
push str.NomInstall
push str.Framework_PC_SOFT
call esi
push 0x104
lea eax, [ebp - 0xaa8]
push eax
push 0x448cd8
push str.User
push str.Framework_PC_SOFT
call esi
push 0x104
lea eax, [ebp - 0xcb4]
push eax
push str.framework
push str.Password
push str.Framework_PC_SOFT
call esi
mov eax, dword [0x44a438]
add eax, 0x87c
push eax
lea eax, [ebp]
push eax
call fcn.00420b01
pop ecx
pop ecx
lea ecx, [ebp]
call fcn.0040e6b2
cmp word [ebp], di
je 0x402181
lea eax, [ebp + 6]
push eax
lea eax, [ebp]
push eax
call fcn.00420b01
pop ecx
pop ecx
cmp dword [0x44a4ac], edi
jne 0x4021cf
push 1
lea eax, [ebp]
push str.xxxxxxxxxx
push eax
call fcn.00421178
add esp, 0xc
test eax, eax
je 0x4021cf
lea eax, [ebp - 0x484]
push 0x43cb8c
push eax
call fcn.00420b23
lea eax, [ebp]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00420b23
add esp, 0x10
lea edx, [ebp]
lea ecx, [ebp - 0x24]
call fcn.0040f5cc
lea eax, [ebp - 0x484]
push str..exe
push eax
call fcn.00420b23
mov eax, dword [0x44a438]
pop ecx
pop ecx
cmp dword [eax + 0x874], 9
jne 0x402203
lea eax, [ebp - 0x690]
push 0x448cd0
push eax
call fcn.00420b23
pop ecx
pop ecx
lea edx, [ebp - 0x89c]
lea ecx, [ebp - 0x3c]
call fcn.0040f5cc
lea edx, [ebp - 0x690]
lea ecx, [ebp - 0x38]
call fcn.0040f5cc
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x34]
call fcn.0040f5cc
lea edx, [ebp - 0xaa8]
lea ecx, [ebp - 0x30]
call fcn.0040f5cc
lea edx, [ebp - 0xcb4]
lea ecx, [ebp - 0x2c]
call fcn.0040f5cc
push 0x104
lea eax, [ebp - 0xec0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x10cc]
xor edx, edx
push edi
push eax
lea ecx, [ebp - 0xec0]
call fcn.00402d46
lea eax, [ebp - 0x10cc]
push eax
push str.SOFTWAREPC_SOFTWINDEV27.0APPLI
lea eax, [ebp + 0x30]
push 0x43c6d0
push eax
call fcn.004029fb
add esp, 0x18
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 1
call fcn.0040f58a
lea ecx, [ebp + 0x2c]
push ecx
lea ecx, [ebp + 0x34]
push ecx
push edi
push 2
push edi
push edi
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
js 0x4022e8
lea eax, [ebp]
push eax
call fcn.00420c76
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp]
push eax
push 1
push edi
push str.LAST_FRAMEWORK
push dword [ebp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x6c]
call fcn.00415437
test eax, eax
js 0x40232e
lea ecx, [ebp - 0x278]
call fcn.0040c1e9
test eax, eax
je 0x40231f
lea ecx, [ebp - 0x278]
call fcn.0040c4a4
or eax, edx
jne 0x40231f
lea ecx, [ebp - 0x278]
call fcn.0040be3d
jmp 0x40232e
mov edx, ebx
lea ecx, [ebp - 0x278]
call fcn.004023a6
mov edi, eax
lea ecx, [ebp + 0x30]
call fcn.0040f501
lea ecx, [ebp - 0x6c]
call fcn.00402352
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
add ebp, 0x38
leave
ret