Function at 0x40f5d6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b49a3
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x4f2be0]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4f2be0]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edi, [eax + 0xe0]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], ecx
call fcn.00410d9a
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x2c]
call fcn.00410d9a
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.00410d9a
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x24]
call fcn.00410d9a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f663
cmp eax, dword [esp + 0x24]
je 0x40f668
call fcn.00475cc6
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
je 0x40f683
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.00410dba
pop ecx
pop ecx
mov dword [edi + 0x10], eax
push str.Setup_CloseAllPrograms_Program
lea ecx, [esp + 0x18]
call fcn.00402a0f
and dword [esp + 0x210], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00411741
mov byte [esp + 0x210], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40f6c1
call fcn.00402aa8
lea eax, [esp + 0x50]
call fcn.004110dc
test al, al
je 0x40f6eb
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40f6e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40f95b
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x40f6ce
push str.WindowClass
lea ecx, [esp + 0x24]
call fcn.00402a0f
push str.Message
lea ecx, [esp + 0x28]
mov byte [esp + 0x214], 3
call fcn.00402a0f
push str.WPARAM
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 4
call fcn.00402a0f
push str.LPARAM
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 5
call fcn.00402a0f
push str.Timeout
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], 6
call fcn.00402a0f
push 0x4f8ce0
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 7
call fcn.004029af
mov byte [esp + 0x210], 8
and dword [esp + 0x14], 0
test esi, esi
jle 0x40f8f5
mov ebx, 0xc4
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00474a10
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
call fcn.00411bb5
lea eax, [esp + 0x40]
mov byte [esp + 0x210], 9
call fcn.004110c0
lea ecx, [esp + 0x40]
test al, al
jne 0x40f8e8
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00411357
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jge 0x40f8c3
test eax, eax
je 0x40f803
push ebx
push ecx
lea eax, [esp + 0x64]
push eax
call fcn.004749c2
add esp, 0xc
push str.WM_CLOSE
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00411357
mov esi, dword [esp + 0x1c]
call fcn.0040d287
mov dword [esp + 0x1ec], eax
mov esi, 0x168
push esi
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.0041123d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f0], eax
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x200]
call fcn.0041123d
push 0x10
lea eax, [esp + 0x60]
push eax
push str.Q360SafeMonClass
call fcn.004772ee
add esp, 0xc
test eax, eax
jne 0x40f88f
mov dword [esp + 0x1f8], 0x1388
jmp 0x40f8b7
mov eax, 0x7d0
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.0041123d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.004104bf
lea ecx, [esp + 0x40]
mov byte [esp + 0x210], 8
call fcn.00402b60
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jl 0x40f78d
jmp 0x40f8f5
mov byte [esp + 0x210], 8
call fcn.00402b60
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40f90e
call fcn.00402aa8
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40f91b
call fcn.00402aa8
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40f928
call fcn.00402aa8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40f935
call fcn.00402aa8
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40f942
call fcn.00402aa8
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40f958
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.00474a8a
mov esp, ebp
pop ebp
ret 4