Function at 0x404730
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x434090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0xcc]
test ecx, ecx
je 0x40489f
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x42f618
call fcn.00405970
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
call fcn.0040b1e0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], edx
push str.Progress
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0040eda0
mov dword [ebp - 0x10], eax
push ecx
fld1
fstp dword [esp]
mov eax, dword [ebp + 8]
shl eax, 9
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fdiv qword [0x430758]
fstp dword [ebp - 0x60]
fld dword [ebp - 0x60]
push ecx
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
lea ecx, [ebp - 0x40]
call fcn.004085c0
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.InstallPersent
call fcn.00405970
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x50]
call fcn.0040b1e0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x14]
call fcn.00405930
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x42f660
lea eax, [ebp - 0x14]
push eax
call fcn.00407990
add esp, 0xc
push 0x42f668
lea ecx, [ebp - 0x14]
call fcn.00405a50
mov ecx, dword [ebp - 0x18]
call fcn.00401b90
mov dword [ebp - 0x6c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00405950
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x24]
call eax
push 1
push 1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004059f0
cmp dword [ebp + 8], 0
jne 0x4049bd
push 0x42f66c
push 0
mov ecx, dword [ebp - 0x50]
call fcn.0040ade0
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.0040ecf0
push str.InstalledLayout
push 0
mov ecx, dword [ebp - 0x50]
call fcn.0040ade0
mov dword [ebp - 0x28], eax
push 1
mov ecx, dword [ebp - 0x28]
call fcn.0040ecf0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x42f6b0
call fcn.00405970
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x50]
call fcn.0040b1e0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.0040ec10
push 1
push 1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx + 0xce]
test eax, eax
je 0x40493a
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], 0
jmp 0x4049a1
call fcn.00402140
test eax, eax
je 0x40494b
mov ecx, dword [ebp - 0x50]
call fcn.00404e20
mov ecx, dword [ebp - 0x50]
call fcn.00404de0
movzx edx, al
test edx, edx
je 0x4049a1
mov ecx, dword [ebp - 0x50]
call fcn.00405160
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0
je 0x4049a1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00404ed0
push 5
push 0
push 0x42f6bc
lea ecx, [ebp - 0x2c]
call fcn.00406040
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x2c]
call fcn.004059f0
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0
setne dl
mov eax, dword [ebp - 0x50]
mov byte [eax + 0xcd], dl
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 1
cmp dword [ebp + 8], 0x64
jne 0x4049e4
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 0xcc]
test edx, edx
jne 0x4049e4
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8