Function at 0x40e68a
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2048
call fcn.0041a710
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e8ea
push esi
call fcn.0041a3cb
pop ecx
cmp eax, 0x7f6
jae 0x40e8ea
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a440
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e6e5
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e6e8
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e73e
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e710
jmp 0x40e700
cmp word [esi + eax*2], 0x22
je 0x40e709
inc eax
cmp word [esi + eax*2], bx
jne 0x40e6f9
jmp 0x40e710
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e72a
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e72a
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e6f1
jmp 0x40e73e
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e738
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], ebx
jne 0x40e758
cmp byte [ebp + 0xc], bl
jne 0x40e758
cmp word [0x43ea3a], bx
je 0x40e758
mov dword [ebp - 0x34], 0x43ea3a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a7dc
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e784
push str..inf
push eax
call fcn.00411a9f
test eax, eax
jne 0x40e784
mov dword [ebp - 0x3c], str.Install
push dword [ebp - 0x38]
call fcn.004095b1
mov bl, al
test bl, bl
je 0x40e7af
push 0x800
lea eax, [ebp - 0x2048]
push eax
push dword [ebp - 0x38]
call fcn.0040acae
lea eax, [ebp - 0x2048]
mov dword [ebp - 0x38], eax
cmp byte [ebp + 0xc], 0
mov edi, 0x4278e0
je 0x40e7f1
test bl, bl
jne 0x40e7f1
push dword [ebp - 0x38]
lea eax, [ebp - 0x1048]
push eax
call fcn.0041a413
lea eax, [ebp - 0x1048]
push edi
push eax
call fcn.0041a3e5
add esp, 0x10
lea eax, [ebp - 0x1048]
push eax
call fcn.004095b1
test al, al
je 0x40e8e9
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e8e9
cmp byte [0x43da30], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], 0
mov ebx, 0x3e8
jne 0x40e82a
cmp byte [ebp + 0xc], 0
jne 0x40e82a
cmp byte [0x43da19], 0
je 0x40e88a
cmp dword [ebp + 8], 0
je 0x40e848
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e848
push 0
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040da7b
cmp byte [0x43da19], 0
je 0x40e88a
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e88a
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp eax, dword [0x43da1c]
jbe 0x40e88a
mov dword [0x43da1c], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x40e8a6
push edi
push dword [ebp - 8]
call fcn.00411a9f
test eax, eax
je 0x40e8d6
cmp byte [0x43da30], 0
je 0x40e8c1
cmp byte [ebp + 0xc], 0
jne 0x40e8c1
mov dword [0x43da20], 0x1b58
jmp 0x40e8d6
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
dec eax
and eax, 0xfffffce0
add eax, ebx
mov dword [0x43da20], eax
cmp byte [ebp - 1], 0
je 0x40e8e9
cmp byte [ebp + 0xc], 0
je 0x40e8e9
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8