Function at 0x40f4e9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5419
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.00410d0b
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x2c]
call fcn.00410d0b
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.00410d0b
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x24]
call fcn.00410d0b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f57b
cmp eax, dword [esp + 0x24]
je 0x40f580
call fcn.00476727
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
je 0x40f59b
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.00410d2b
pop ecx
pop ecx
mov dword [edi + 0x10], eax
push str.Setup_CloseAllPrograms_Program
lea ecx, [esp + 0x18]
call fcn.0040285b
and dword [esp + 0x210], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004116b2
mov byte [esp + 0x210], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40f5d9
call fcn.004028f4
lea eax, [esp + 0x40]
call fcn.0041104d
test al, al
je 0x40f603
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f5fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40f8d7
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x40f5e6
push str.WindowClass
lea ecx, [esp + 0x24]
call fcn.0040285b
push str.Message
lea ecx, [esp + 0x28]
mov byte [esp + 0x214], 3
call fcn.0040285b
push str.WPARAM
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 4
call fcn.0040285b
push str.LPARAM
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], 5
call fcn.0040285b
push str.Timeout
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 6
call fcn.0040285b
push 0x4f9e00
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 7
call fcn.004027fb
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
mov byte [esp + 0x21c], 8
call fcn.00475420
add esp, 0xc
push 0xc4
lea eax, [esp + 0x60]
push str.360SoftMgrClass
push eax
call fcn.004753d2
add esp, 0xc
mov esi, str.WM_CLOSE
call fcn.0040d18d
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.00410430
and dword [esp + 0x14], 0
cmp dword [esp + 0x44], 0
jle 0x40f871
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00475420
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
call fcn.00411b49
lea eax, [esp + 0x4c]
mov byte [esp + 0x210], 9
call fcn.00411031
lea ecx, [esp + 0x4c]
test al, al
jne 0x40f864
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004112c8
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 0xc]
mov eax, 0xc4
cmp ecx, eax
jge 0x40f83f
test ecx, ecx
je 0x40f784
push eax
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004753d2
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.004112c8
mov esi, dword [esp + 0x1c]
call fcn.0040d18d
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.004111ae
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.004111ae
push 0x10
lea eax, [esp + 0x60]
push eax
push 0x4ba110
call fcn.00477d1d
add esp, 0xc
test eax, eax
jne 0x40f80b
mov dword [esp + 0x1f8], 0x1388
jmp 0x40f833
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.004111ae
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.00410430
lea ecx, [esp + 0x4c]
mov byte [esp + 0x210], 8
call fcn.004029ac
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jl 0x40f709
jmp 0x40f871
mov byte [esp + 0x210], 8
call fcn.004029ac
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40f88a
call fcn.004028f4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40f897
call fcn.004028f4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40f8a4
call fcn.004028f4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40f8b1
call fcn.004028f4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40f8be
call fcn.004028f4
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f8d4
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.0047549a
mov esp, ebp
pop ebp
ret 4