Function at 0x40f571
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5334
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, dword [edi + 0xf0]
add edi, 0xe0
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.0041f717
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x2c]
call fcn.0041f717
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.0041f717
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x24]
call fcn.0041f717
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f603
cmp eax, dword [esp + 0x24]
je 0x40f608
call fcn.00476717
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
je 0x40f623
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.00410d2a
pop ecx
pop ecx
mov dword [edi + 0x10], eax
push str.Setup_CloseAllPrograms_Program
lea ecx, [esp + 0x18]
call fcn.004029a8
and dword [esp + 0x210], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004116cc
mov byte [esp + 0x210], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40f661
call fcn.00402a41
lea eax, [esp + 0x40]
call fcn.0041104c
test al, al
je 0x40f68b
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f684
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40f95f
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x40f66e
push str.WindowClass
lea ecx, [esp + 0x24]
call fcn.004029a8
push str.Message
lea ecx, [esp + 0x28]
mov byte [esp + 0x214], 3
call fcn.004029a8
push str.WPARAM
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 4
call fcn.004029a8
push str.LPARAM
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], 5
call fcn.004029a8
push str.Timeout
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 6
call fcn.004029a8
push 0x4f9e00
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 7
call fcn.0040293e
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
mov byte [esp + 0x21c], 8
call fcn.00475410
add esp, 0xc
push 0xc4
lea eax, [esp + 0x60]
push str.360SoftMgrClass
push eax
call fcn.004753b9
add esp, 0xc
mov esi, str.WM_CLOSE
call fcn.0040d220
mov dword [esp + 0x1ec], eax
lea eax, [esp + 0x5c]
mov ebx, 0x168
push eax
mov eax, edi
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], 0x7d0
call fcn.004104c3
and dword [esp + 0x14], 0
cmp dword [esp + 0x44], 0
jle 0x40f8f9
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00475410
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
call fcn.00411b32
lea eax, [esp + 0x4c]
mov byte [esp + 0x210], 9
call fcn.00411030
lea ecx, [esp + 0x4c]
test al, al
jne 0x40f8ec
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004112c7
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 0xc]
mov eax, 0xc4
cmp ecx, eax
jge 0x40f8c7
test ecx, ecx
je 0x40f80c
push eax
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004753b9
add esp, 0xc
push str.WM_CLOSE
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.004112c7
mov esi, dword [esp + 0x1c]
call fcn.0040d220
mov dword [esp + 0x1ec], eax
push ebx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.004111ad
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f0], eax
push ebx
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x200]
call fcn.004111ad
push 0x10
lea eax, [esp + 0x60]
push eax
push str.Q360SafeMonClass
call fcn.00477d0d
add esp, 0xc
test eax, eax
jne 0x40f893
mov dword [esp + 0x1f8], 0x1388
jmp 0x40f8bb
mov eax, 0x7d0
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
call fcn.004111ad
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.004104c3
lea ecx, [esp + 0x4c]
mov byte [esp + 0x210], 8
call fcn.00402af9
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jl 0x40f791
jmp 0x40f8f9
mov byte [esp + 0x210], 8
call fcn.00402af9
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40f912
call fcn.00402a41
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40f91f
call fcn.00402a41
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40f92c
call fcn.00402a41
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40f939
call fcn.00402a41
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40f946
call fcn.00402a41
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f95c
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.0047548a
mov esp, ebp
pop ebp
ret 4