Function at 0x407da4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446cad
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x460544]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7c]
call dword [sym.imp.DeskUpdateCore.dll_public:_bool___thiscall_CDeskUpdate::IsInstalled_void_]
test al, al
jne 0x40800e
mov ecx, dword [esi + 0x7c]
call dword [sym.imp.DeskUpdateCore.dll_public:_bool___thiscall_CDeskUpdate::IsRebootRequired_void_]
xor ebx, ebx
test al, al
je 0x407e05
cmp byte [esi + 0x1e0], bl
je 0x40800e
call dword [sym.imp.DeskUpdateCore.dll_public:_static_bool___cdecl_CDetectFx::IsNetfx20Installed_void_]
test al, al
je 0x40800e
push 0x20019
push str.HKEY_CURRENT_USERSOFTWAREFujitsuDeskUpdate
lea esi, [esp + 0x54]
mov byte [esp + 0x1a], 1
call fcn.0040dbcc
lea eax, [esp + 0x12]
push eax
mov edi, esi
mov dword [esp + 0x154], ebx
call fcn.0040e11c
cmp byte [esp + 0x12], bl
je 0x407ffd
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.DeskUpdateCore.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char______cdecl_CDeskUpdate::GetApplicationDirectory_void_]
mov byte [esp + 0x154], 1
lea ecx, [esp + 0x18]
mov dword [esp], str._setup.exe
call fcn.0040843a
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.DeskUpdateCore.dll_public:_static_bool___cdecl_CFileOperation::FileExists_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char____const__]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x13], al
cmp byte [ecx + 0x1df], bl
jne 0x407e8e
cmp al, bl
je 0x407ff1
push ebx
push 0xd6
lea ecx, [esp + 0x8c]
call fcn.0040e339
cmp byte [esp + 0x13], bl
mov dword [esp + 0x84], vtable.CProposeInstalledDlg.0
sete al
mov byte [esp + 0xf8], bl
mov byte [esp + 0xf9], al
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 2
call fcn.0040e9e7
mov dword [esp + 0x1c], eax
cmp byte [esp + 0xf8], bl
je 0x407f4d
push 0x2001f
push str.HKEY_CURRENT_USERSOFTWAREFujitsu
lea esi, [esp + 0x38]
call fcn.0040dbcc
mov eax, esi
mov byte [esp + 0x150], 3
call fcn.0040dfd4
mov eax, esi
call fcn.0040df91
mov edi, eax
lea esi, [esp + 0x68]
call fcn.00402250
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x154], 4
mov eax, esi
mov dword [esp + 0x1c], ebx
call fcn.0040e1be
mov ecx, esi
mov byte [esp + 0x150], 3
call fcn.0040dd18
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 2
call fcn.0040dd18
cmp dword [esp + 0x1c], 1
jne 0x407fd2
cmp byte [esp + 0x13], bl
je 0x407fcb
push 0x44
pop ecx
mov edx, ecx
lea eax, [esp + 0xfc]
mov byte [eax], bl
inc eax
dec edx
jne 0x407f66
push 0x10
pop edx
lea eax, [esp + 0x20]
mov byte [eax], bl
inc eax
dec edx
jne 0x407f73
mov eax, dword [esp + 0x14]
mov dword [esp + 0xfc], ecx
mov eax, dword [eax - 0xc]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x100]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea ecx, [esp + 0x38]
call fcn.0040126b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004092e9
push dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x24]
call esi
jmp 0x407fd2
push ebx
call fcn.0040c1fa
pop ecx
mov byte [esp + 0x150], 1
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], vtable.CProposeInstalledDlg.0
call fcn.0040e2a9
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040136f
or dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.0040dd18
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4