Function at 0x402ef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x449b6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0
je 0x403221
mov dword [ebp - 0x880], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x87c]
push ecx
call fcn.00405060
add esp, 0xc
mov edx, dword [0x44a514]
mov dword [ebp - 0x808], edx
cmp dword [ebp - 0x808], 0
je 0x4030ad
cmp dword [ebp - 0x808], 1
je 0x402fdc
cmp dword [ebp - 0x808], 2
je 0x402f61
jmp 0x40311e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x828], ecx
cmp dword [ebp - 0x828], 2
je 0x402f78
jmp 0x402fd7
cmp dword [0x44a518], 0
jne 0x402f8f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x80c], eax
jmp 0x402f99
mov dword [ebp - 0x80c], 0x44a501
push 0x44a500
call fcn.00402c70
push eax
push 0x44cf10
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402da0
add esp, 4
push eax
call fcn.00402eb0
push eax
push str._s__s__s_FROMGUI1_DISABLEREBOOT1_PIDKEY_s_REBOOTReallySuppress__norestart__passive__update___s_s_
lea eax, [ebp - 0x404]
push eax
call fcn.00403d30
add esp, 0x20
jmp 0x40311e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x810], edx
cmp dword [ebp - 0x810], 0
je 0x403062
cmp dword [ebp - 0x810], 1
je 0x402fff
jmp 0x4030ab
cmp dword [0x44a518], 0
jne 0x403016
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x814], ecx
jmp 0x403020
mov dword [ebp - 0x814], 0x44a502
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
call fcn.00402c70
push eax
push 0x44cf10
mov ecx, dword [ebp - 0x814]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402da0
add esp, 4
push eax
call fcn.00402eb0
push eax
push str._s__s__s_FROMGUI1_PIDKEY_s__norestart__i___s_s_
lea eax, [ebp - 0x404]
push eax
call fcn.00403d30
add esp, 0x20
jmp 0x4030ab
cmp dword [0x44a518], 0
jne 0x403079
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x818], edx
jmp 0x403083
mov dword [ebp - 0x818], 0x44a503
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00402c70
push eax
push str.__s_s___s
lea eax, [ebp - 0x404]
push eax
call fcn.00403d30
add esp, 0x14
jmp 0x40311e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x81c], edx
cmp dword [ebp - 0x81c], 0
je 0x4030fd
cmp dword [ebp - 0x81c], 1
je 0x4030cd
jmp 0x40311e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402da0
add esp, 4
push eax
call fcn.00402eb0
push eax
push str._s__s__passive__norestart__x__s
lea eax, [ebp - 0x404]
push eax
call fcn.00403d30
add esp, 0x14
jmp 0x40311e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00402c70
push eax
push 0x4490c8
lea eax, [ebp - 0x404]
push eax
call fcn.00403d30
add esp, 0x10
lea ecx, [ebp - 0x83c]
push ecx
lea edx, [ebp - 0x880]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403221
cmp dword [0x44a514], 0
je 0x403164
mov dword [ebp - 0x820], str.Installing...
jmp 0x40316e
mov dword [ebp - 0x820], str.Uninstalling...
mov ecx, dword [ebp - 0x820]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402bf0
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
push 0x4490f0
lea edx, [ebp - 0x804]
push edx
call fcn.00403d30
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x83c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x824], ecx
cmp dword [ebp - 0x824], 0
je 0x403215
cmp dword [ebp - 0x824], 0xbc2
je 0x403215
jmp 0x40321c
mov eax, 1
jmp 0x403223
or eax, 0xffffffff
jmp 0x403223
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403eea
mov esp, ebp
pop ebp
ret