Function at 0x40240c
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0x34
mov eax, 0x431334
call fcn.00431274
mov eax, 0x10c0
call fcn.004311d0
cmp dword [0x44a548], 0
push ebx
mov ebx, ecx
je 0x402437
xor eax, eax
jmp 0x40272f
push esi
push edi
push ecx
push dword [0x44a540]
lea ecx, [ebp - 0x6c]
call fcn.00414ee5
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.004022e3
mov ecx, 0x44a52c
call fcn.0040fb17
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0040fb5d
mov ecx, 0x44a530
call fcn.0040fb17
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.0040fb5d
lea ecx, [ebp - 0x278]
call fcn.0040cfc9
lea ecx, [ebp - 0x278]
call fcn.0040c938
lea eax, [ebp - 0x278]
push str.InstallFramework
push eax
call fcn.004206c6
lea eax, [ebp - 0x278]
push str..exe
push eax
call fcn.004206c6
add esp, 0x10
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x28]
call fcn.0040fb5d
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileStringW]
lea eax, [ebp - 0x690]
push 0x104
push eax
push str.framework.pcsoft.fr
push str.Serveur
push str.Framework_PC_SOFT
call esi
push 0x104
lea eax, [ebp - 0x89c]
push eax
push str._DLL_29.0
push 0x43bfa4
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 0x448dc8
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 [0x44a544]
add eax, 0x87c
push eax
lea eax, [ebp]
push eax
call fcn.004206a4
pop ecx
pop ecx
lea ecx, [ebp]
call fcn.0040ec76
cmp word [ebp], di
je 0x40258f
lea eax, [ebp + 6]
push eax
lea eax, [ebp]
push eax
call fcn.004206a4
pop ecx
pop ecx
cmp dword [0x44aa94], edi
jne 0x4025dd
push 1
lea eax, [ebp]
push str.xxxxxxxxxx
push eax
call fcn.00420d87
add esp, 0xc
test eax, eax
je 0x4025dd
lea eax, [ebp - 0x484]
push 0x43bfe4
push eax
call fcn.004206c6
lea eax, [ebp]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.004206c6
add esp, 0x10
lea edx, [ebp]
lea ecx, [ebp - 0x24]
call fcn.0040fb5d
lea eax, [ebp - 0x484]
push str..exe
push eax
call fcn.004206c6
pop ecx
pop ecx
lea edx, [ebp - 0x690]
lea ecx, [ebp - 0x3c]
call fcn.0040fb5d
lea edx, [ebp - 0x89c]
lea ecx, [ebp - 0x38]
call fcn.0040fb5d
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x34]
call fcn.0040fb5d
lea edx, [ebp - 0xaa8]
lea ecx, [ebp - 0x30]
call fcn.0040fb5d
lea edx, [ebp - 0xcb4]
lea ecx, [ebp - 0x2c]
call fcn.0040fb5d
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.0040313a
lea eax, [ebp - 0x10cc]
push eax
push str.SOFTWAREPC_SOFTWINDEV29.0APPLI
lea eax, [ebp + 0x30]
push 0x43bb28
push eax
call fcn.00402dfa
add esp, 0x18
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 1
call fcn.0040fb17
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 0x4026d5
lea eax, [ebp]
push eax
call fcn.00420819
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.00415a06
test eax, eax
js 0x40271b
lea ecx, [ebp - 0x278]
call fcn.0040c6d1
test eax, eax
je 0x40270c
lea ecx, [ebp - 0x278]
call fcn.0040c98d
or eax, edx
jne 0x40270c
lea ecx, [ebp - 0x278]
call fcn.0040c307
jmp 0x40271b
mov edx, ebx
lea ecx, [ebp - 0x278]
call fcn.00402793
mov edi, eax
lea ecx, [ebp + 0x30]
call fcn.0040fa89
lea ecx, [ebp - 0x6c]
call fcn.0040273f
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
add ebp, 0x38
leave
ret