Function at 0x40f576
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4afd58
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed820]
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.00421296
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x2c]
call fcn.00421296
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.00421296
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x24]
call fcn.00421296
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f603
cmp eax, dword [esp + 0x24]
je 0x40f608
call fcn.00471456
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
je 0x40f623
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.00410ce3
pop ecx
pop ecx
mov dword [edi + 0x10], eax
push str.Setup_CloseAllPrograms_Program
lea ecx, [esp + 0x18]
call fcn.00402953
and dword [esp + 0x210], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00411685
mov byte [esp + 0x210], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40f661
call fcn.004029ec
lea eax, [esp + 0x50]
call fcn.00411005
test al, al
je 0x40f68b
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40f684
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40f8fb
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x40f66e
push str.WindowClass
lea ecx, [esp + 0x24]
call fcn.00402953
push str.Message
lea ecx, [esp + 0x28]
mov byte [esp + 0x214], 3
call fcn.00402953
push str.WPARAM
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 4
call fcn.00402953
push str.LPARAM
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 5
call fcn.00402953
push str.Timeout
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], 6
call fcn.00402953
push 0x4f39f8
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 7
call fcn.004028e9
mov byte [esp + 0x210], 8
and dword [esp + 0x14], 0
test esi, esi
jle 0x40f895
mov ebx, 0xc4
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004701a0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
call fcn.00411ade
lea eax, [esp + 0x40]
mov byte [esp + 0x210], 9
call fcn.00410fe9
lea ecx, [esp + 0x40]
test al, al
jne 0x40f888
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00411280
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jge 0x40f863
test eax, eax
je 0x40f7a3
push ebx
push ecx
lea eax, [esp + 0x64]
push eax
call fcn.00470149
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.00411280
mov esi, dword [esp + 0x1c]
call fcn.0040d21c
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.00411166
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.00411166
push 0x10
lea eax, [esp + 0x60]
push eax
push str.Q360SafeMonClass
call fcn.00472a9e
add esp, 0xc
test eax, eax
jne 0x40f82f
mov dword [esp + 0x1f8], 0x1388
jmp 0x40f857
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.00411166
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.00410454
lea ecx, [esp + 0x40]
mov byte [esp + 0x210], 8
call fcn.00402aa4
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jl 0x40f72d
jmp 0x40f895
mov byte [esp + 0x210], 8
call fcn.00402aa4
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40f8ae
call fcn.004029ec
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40f8bb
call fcn.004029ec
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40f8c8
call fcn.004029ec
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40f8d5
call fcn.004029ec
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40f8e2
call fcn.004029ec
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40f8f8
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.0047021a
mov esp, ebp
pop ebp
ret 4