Function at 0x40f490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5474
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.004215db
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x2c]
call fcn.004215db
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x2c]
call fcn.004215db
mov ebx, dword [esp + 0x28]
lea esi, [esp + 0x24]
call fcn.004215db
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40f522
cmp eax, dword [esp + 0x24]
je 0x40f527
call fcn.00476877
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
je 0x40f542
push dword [esp + 0x30]
push dword [edi + 0x10]
call fcn.00410c8a
pop ecx
pop ecx
mov dword [edi + 0x10], eax
push str.Setup_CloseAllPrograms_Program
lea ecx, [esp + 0x18]
call fcn.004028ab
and dword [esp + 0x210], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00411657
mov byte [esp + 0x210], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40f580
call fcn.00402944
lea eax, [esp + 0x40]
call fcn.00410fac
test al, al
je 0x40f5aa
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f5a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40f87e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x40f58d
push str.WindowClass
lea ecx, [esp + 0x24]
call fcn.004028ab
push str.Message
lea ecx, [esp + 0x28]
mov byte [esp + 0x214], 3
call fcn.004028ab
push str.WPARAM
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 4
call fcn.004028ab
push str.LPARAM
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], 5
call fcn.004028ab
push str.Timeout
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 6
call fcn.004028ab
push 0x4f9e18
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 7
call fcn.0040284b
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
mov byte [esp + 0x21c], 8
call fcn.00475570
add esp, 0xc
push 0xc4
lea eax, [esp + 0x60]
push str.360SoftMgrClass
push eax
call fcn.00475519
add esp, 0xc
mov esi, str.WM_CLOSE
call fcn.0040d134
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.004103d7
and dword [esp + 0x14], 0
cmp dword [esp + 0x44], 0
jle 0x40f818
push 0x1a0
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00475570
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
call fcn.00411ab0
lea eax, [esp + 0x4c]
mov byte [esp + 0x210], 9
call fcn.00410f90
lea ecx, [esp + 0x4c]
test al, al
jne 0x40f80b
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00411227
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 0xc]
mov eax, 0xc4
cmp ecx, eax
jge 0x40f7e6
test ecx, ecx
je 0x40f72b
push eax
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00475519
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.00411227
mov esi, dword [esp + 0x1c]
call fcn.0040d134
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.0041110d
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.0041110d
push 0x10
lea eax, [esp + 0x60]
push eax
push 0x4bb0b0
call fcn.00477e6d
add esp, 0xc
test eax, eax
jne 0x40f7b2
mov dword [esp + 0x1f8], 0x1388
jmp 0x40f7da
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.0041110d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.004103d7
lea ecx, [esp + 0x4c]
mov byte [esp + 0x210], 8
call fcn.004029fc
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jl 0x40f6b0
jmp 0x40f818
mov byte [esp + 0x210], 8
call fcn.004029fc
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40f831
call fcn.00402944
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40f83e
call fcn.00402944
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40f84b
call fcn.00402944
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40f858
call fcn.00402944
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40f865
call fcn.00402944
or dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f87b
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.004755ea
mov esp, ebp
pop ebp
ret 4