Function at 0x412698
Capabilities:
Check if file exists
Find taskbar

Disassembly:
push 0x1c8
mov eax, 0x4c8df8
call fcn.00496d1f
mov ebx, ecx
xor eax, eax
lea edi, [ebp - 0xb4]
inc eax
push 9
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 4], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
cmp dword [ebp - 0xa8], 3
jne 0x412b8b
cmp byte [ebx + 0x20], 0
jne 0x412b8b
mov ecx, ebx
call fcn.0040fd1f
test al, al
je 0x412b8b
call fcn.0041db4d
mov edi, eax
mov dword [ebp - 0x1c4], edi
test edi, edi
je 0x412b8b
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412b8b
lea esi, [ebx + 0x34]
mov eax, dword [esi]
test eax, eax
jne 0x412771
push 0xcc
call fcn.004969e8
pop ecx
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x412751
push ebx
mov ecx, eax
call fcn.00407e6d
jmp 0x412753
xor eax, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 1
mov dword [esi], eax
test ecx, ecx
je 0x412769
push ecx
mov ecx, esi
call fcn.0040ef10
mov eax, dword [esi]
test eax, eax
je 0x412b8b
xor eax, eax
push eax
push str.Shell_TrayWnd
push eax
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
and dword [ebp - 0x68], 0
mov dword [ebp - 0x1d4], eax
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
call fcn.00427470
pop ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4127ea
push 0x4d493c
lea ecx, [ebp - 0x78]
call fcn.004143ae
push 0x4d4944
test al, al
je 0x4127ca
push 0x86
jmp 0x4127cf
push 0x85
push dword [0x5240b4]
call fcn.0041ede2
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1cc], esi
jmp 0x4129e8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 0x1cc], ecx
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x24], ecx
push eax
call fcn.00432e30
mov edi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00432e30
mov esi, eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 5
push eax
call fcn.00427da0
push 0x4d3930
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
push eax
call fcn.00401c6d
push esi
push eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 7
push eax
call fcn.0040aed1
push 0x4d3930
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
call fcn.00401c6d
push edi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
call fcn.0040aed1
add esp, 0x44
push 0x4d48a8
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
call fcn.00401c6d
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.00404061
lea ecx, [ebp - 0x48]
call fcn.00404061
lea ecx, [ebp - 0xcc]
call fcn.00404061
lea ecx, [ebp - 0xe4]
call fcn.00404061
lea ecx, [ebp - 0xfc]
call fcn.00404061
lea ecx, [ebp - 0x114]
call fcn.00404061
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
call fcn.00404061
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edi, [ebx + 8]
test eax, eax
jne 0x4129a7
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0040ed5e
lea ecx, [ebp - 0x1c0]
call fcn.0042a0aa
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0x13
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00432e30
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x14
jb 0x412966
mov eax, dword [eax]
push ebx
push 0x410211
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0042adf5
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x13
mov esi, eax
call fcn.00404061
test esi, esi
je 0x412998
lea ecx, [ebp - 0x1c0]
call fcn.0042af0b
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x12
call fcn.0042a18b
mov esi, 0x4d29a1
push esi
call fcn.004a33b0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004041aa
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0041eccb
pop ecx
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1cc], esi
call fcn.00404061
mov edi, dword [ebp - 0x1c4]
test esi, esi
je 0x412b83
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
mov esi, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
push 0x4d493c
mov dword [ebp - 0x1c4], eax
call fcn.004143ae
test al, al
mov eax, esi
cdq
je 0x412a9d
sub eax, edx
mov edi, eax
push 9
sar edi, 1
call fcn.00422d90
mov ecx, dword [ebp - 0x20]
add ecx, edi
sub ecx, eax
mov eax, dword [ebp - 0x1c4]
cdq
sub eax, edx
mov dword [ebp - 0x40], ecx
mov esi, eax
push 9
sar esi, 1
call fcn.00422d90
mov ecx, dword [ebp - 0x1c]
add ecx, esi
sub ecx, eax
push 9
mov dword [ebp - 0x3c], ecx
call fcn.00422d90
add eax, dword [ebp - 0x20]
add eax, edi
push 9
mov dword [ebp - 0x38], eax
call fcn.00422d90
add eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x88]
add eax, esi
lea esi, [ebp - 0x40]
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
push 0x1b
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422d90
push 0x1b
jmp 0x412b10
sub eax, edx
mov edi, eax
push 0xc
sar edi, 1
call fcn.00422d90
mov ecx, dword [ebp - 0x20]
add ecx, edi
sub ecx, eax
mov eax, dword [ebp - 0x1c4]
cdq
sub eax, edx
mov dword [ebp - 0x40], ecx
mov esi, eax
push 0xc
sar esi, 1
call fcn.00422d90
mov ecx, dword [ebp - 0x1c]
add ecx, esi
sub ecx, eax
push 0xc
mov dword [ebp - 0x3c], ecx
call fcn.00422d90
add eax, dword [ebp - 0x20]
add eax, edi
push 0xc
mov dword [ebp - 0x38], eax
call fcn.00422d90
add eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x88]
add eax, esi
lea esi, [ebp - 0x40]
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
push 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422d90
push 0x24
sub dword [ebp - 0x2c], eax
call fcn.00422d90
sub dword [ebp - 0x24], eax
add esp, 0x18
mov ecx, dword [ebx + 0x34]
lea eax, [ebp - 0x30]
push dword [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x1d4]
call fcn.00407f78
xor eax, eax
push eax
push str.Q360SeNetmNewsIPCWnd
push eax
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x412b65
push 0
push 0
push 0xce3
push eax
mov byte [ebx + 0x20], 1
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.0040ed5e
lea ecx, [ebx + 0x58]
call fcn.0041b55f
lea ecx, [ebp - 0x78]
call fcn.00404061
jmp 0x412b92
lea ecx, [ebp - 0x78]
call fcn.00404061
mov byte [ebp - 0x1c8], 0
lea ecx, [ebp + 8]
call fcn.0040403b
lea ecx, [ebp + 0x20]
call fcn.0040403b
mov al, byte [ebp - 0x1c8]
call fcn.00496cc9
ret 0x30