Function at 0x401740
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x418250]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x10]
je 0x401791
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00405fc0
add esp, 8
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
cmp eax, 0xffffffff
jne 0x4017a3
cmp dword [ebp - 0x44], 8
jb 0x401791
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00406556
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407142
mov esp, ebp
pop ebp
ret 0x10
push ebx
push edi
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
mov ebx, eax
xor edx, edx
push ebx
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
mov edi, 8
cmp dword [ebp - 0x28], edi
jb 0x4017f9
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406556
add esp, 4
mov edx, dword [0x418070]
cmp dword [0x418084], edi
jae 0x40180c
mov edx, 0x418070
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401812
sub eax, esi
sar eax, 1
push eax
push edx
mov edx, dword [ebp - 0x10]
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.00401120
test eax, eax
jne 0x401a10
push 0x8c
call fcn.00406c92
add esp, 4
test eax, eax
je 0x401855
mov ecx, eax
call fcn.004041f0
mov edi, eax
jmp 0x401857
xor edi, edi
inc ebx
push ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.00401240
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
mov esi, eax
push esi
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
cmp dword [ebp - 0x28], 8
jb 0x4018a0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406556
add esp, 4
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4018ac
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
mov edx, dword [ebp - 0x48]
add esp, 4
push edx
mov ebx, eax
inc esi
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
cmp dword [ebp - 0x28], 8
jb 0x4018e4
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406556
add esp, 4
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4018f0
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00406260
mov edx, dword [0x418084]
mov eax, dword [0x418070]
mov ecx, eax
cmp edx, 8
jae 0x40191b
mov ecx, 0x418070
mov eax, ecx
mov edx, dword [0x419360]
push edx
push 0
push 0
push 0x79
push 0xf8
add esi, 0xffffffc4
push esi
add ebx, 3
push ebx
push 0x90000000
push ecx
push eax
push 0x88
mov ecx, edi
call fcn.00406170
mov esi, dword [edi + 4]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00406c41
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 4
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x5c], edx
call esi
test eax, eax
je 0x4019d0
lea esp, [esp]
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call esi
test eax, eax
jne 0x4019b0
mov ecx, edi
call fcn.00406270
push 0
call fcn.00406c41
mov esi, eax
mov eax, dword [edi]
add esp, 4
mov dword [ebp - 0x5c], edx
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [ebp - 0xa4]
call fcn.00405e00
lea ecx, [ebp - 0xa4]
call fcn.004058e0
sub esi, ebx
mov dword [ebp - 0x78], esi
jmp 0x402205
mov edx, dword [0x418054]
cmp dword [0x418068], edi
jae 0x401a23
mov edx, 0x418054
mov eax, edx
lea esi, [eax + 2]
jmp 0x401a30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401a30
sub eax, esi
sar eax, 1
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00401120
test eax, eax
jne 0x401c22
push 0x8c
call fcn.00406c92
add esp, 4
test eax, eax
je 0x401a73
mov ecx, eax
call fcn.00402350
mov edi, eax
jmp 0x401a75
xor edi, edi
inc ebx
push ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.00401240
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
mov esi, eax
push esi
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401ac0
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
mov edx, dword [ebp - 0x48]
add esp, 4
push edx
mov ebx, eax
inc esi
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401afa
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00406260
mov edx, dword [0x418068]
mov eax, dword [0x418054]
mov ecx, eax
cmp edx, 8
jae 0x401b25
mov ecx, 0x418054
mov eax, ecx
mov edx, dword [0x419360]
push edx
push 0
push 0
push 0x80
push 0xf1
add esi, 0xfffffff8
push esi
add ebx, 0xffffff77
push ebx
push 0x90000000
push ecx
push eax
push 0x88
mov ecx, edi
call fcn.00406170
mov esi, dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00406c41
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 4
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x5c], edx
call esi
test eax, eax
je 0x401be2
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call esi
test eax, eax
jne 0x401bc2
mov ecx, edi
call fcn.00406270
push 0
call fcn.00406c41
mov esi, eax
mov eax, dword [edi]
add esp, 4
mov dword [ebp - 0x5c], edx
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [ebp - 0xa4]
call fcn.00405e00
lea ecx, [ebp - 0xa4]
call fcn.004058e0
sub esi, ebx
mov dword [ebp - 0x7c], esi
jmp 0x402205
mov eax, dword [0x41808c]
cmp dword [0x4180a0], edi
jae 0x401c34
mov eax, 0x41808c
push eax
lea ecx, [ebp - 0x20]
call fcn.004012d0
test eax, eax
jne 0x401dd7
push 0x8c
call fcn.00406c92
add esp, 4
test eax, eax
je 0x401c61
mov ecx, eax
call fcn.004039e0
mov edi, eax
jmp 0x401c63
xor edi, edi
inc ebx
push ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.00401240
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
mov esi, eax
push esi
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401cae
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
mov ecx, dword [ebp - 0x48]
add esp, 4
push ecx
inc esi
push esi
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401ce8
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00406260
mov edx, dword [0x4180a0]
mov eax, dword [0x41808c]
mov ecx, eax
cmp edx, 8
jae 0x401d13
mov ecx, 0x41808c
mov eax, ecx
mov edx, dword [0x419360]
push edx
push 0
push 0
push 0x80
push 0xf1
add esi, 0xfffffff6
push esi
add ebx, 0xffffff88
push ebx
push 0x90000000
push ecx
push eax
push 0x88
mov ecx, edi
call fcn.00406170
mov esi, dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00406c41
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
add esp, 4
push eax
push eax
push eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xc0], 0
call esi
test eax, eax
je 0x401f8c
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0xc0]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call esi
test eax, eax
jne 0x401db6
jmp 0x401f8c
mov eax, dword [0x4180a8]
cmp dword [0x4180bc], edi
jae 0x401de9
mov eax, 0x4180a8
push eax
lea ecx, [ebp - 0x20]
call fcn.004012d0
test eax, eax
jne 0x401fac
push 0x8c
call fcn.00406c92
add esp, 4
test eax, eax
je 0x401e16
mov ecx, eax
call fcn.00404c00
mov edi, eax
jmp 0x401e18
xor edi, edi
inc ebx
push ebx
push 0
lea ecx, [ebp - 0x58]
call fcn.00401240
push 1
push 0
push 0x4132d0
lea ecx, [ebp - 0x58]
call fcn.00401060
mov esi, eax
push esi
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401e63
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
mov ecx, dword [ebp - 0x48]
add esp, 4
push ecx
inc esi
push esi
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00401680
push eax
lea ecx, [ebp - 0x20]
call fcn.004016c0
lea ecx, [ebp - 0x3c]
call fcn.00401210
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x401e9d
lea eax, [ebp - 0x20]
push eax
call fcn.00407167
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00406260
mov edx, dword [0x4180bc]
mov eax, dword [0x4180a8]
mov ecx, eax
cmp edx, 8
jae 0x401ec8
mov ecx, 0x4180a8
mov eax, ecx
mov edx, dword [0x419360]
push edx
push 0
push 0
push 0x80
push 0x10f
add esi, 0xfffffff6
push esi
add ebx, 0xffffff79
push ebx
push 0x90000000
push ecx
push eax
push 0x88
mov ecx, edi
call fcn.00406170
mov esi, dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00406c41
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
add esp, 4
push eax
push eax
push eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xc0], 0
call esi
test eax, eax
je 0x401f8c
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ebx, [ebx]
lea ecx, [ebp - 0xc0]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call esi
test eax, eax
jne 0x401f70
mov ecx, edi
call fcn.00406270
push 0
call fcn.00406c41
mov eax, dword [edi]
mov edx, dword [eax]
add esp, 4
push 1
mov ecx, edi
call edx
jmp 0x402210
mov eax, dword [0x418038]
cmp dword [0x41804c], edi
jae 0x401fbe
mov eax, 0x418038
push eax
lea ecx, [ebp - 0x20]
call fcn.004012d0
test eax, eax
jne 0x402263
push 0x90
call fcn.00406c92
add esp, 4
test eax, eax
je 0x401feb
mov ecx, eax
call fcn.00402c50
mov esi, eax
jmp 0x401fed
xor esi, esi
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
call edx
test eax, eax
jne 0x402022
lea ecx, [ebp - 0x20]
call fcn.00401210
lea ecx, [ebp - 0x58]
call fcn.00401210
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407142
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
push 0
push str.Shell_TrayWnd
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], eax
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x5c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test edi, edi
je 0x402090
push 0
push 0x1f5
push 0x312
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00406260
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
jne 0x4020a5
test ebx, ebx
je 0x4020d7
mov eax, dword [ebp - 0xac]
cmp ebx, 0x64
jge 0x4020ba
mov edx, dword [ebp - 0x5c]
add edx, 0xffffffe2
cmp eax, edx
jl 0x4020dd
mov edx, dword [ebp - 0x5c]
add edx, 0xffffffe2
cmp eax, edx
jge 0x4020f2
test ebx, ebx
je 0x4020f6
mov dword [esi + 0x70], 4
add eax, 0xffffff9c
lea ecx, [ebx - 0x78]
jmp 0x40211e
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
add eax, 0xffffffaa
mov dword [esi + 0x70], 1
add ecx, 0xffffffe2
jmp 0x40211e
test ebx, ebx
jne 0x40210e
lea eax, [ecx - 0xbe]
mov ecx, dword [ebp - 0xa8]
mov dword [esi + 0x70], 2
add ecx, 0xffffffe2
jmp 0x40211e
lea eax, [ecx - 0xaf]
mov dword [esi + 0x70], 3
lea ecx, [ebx - 0x6e]
mov ebx, dword [0x41804c]
mov edx, dword [0x418038]
mov edi, edx
cmp ebx, 8
jae 0x402138
mov edi, 0x418038
mov edx, edi
mov ebx, dword [0x419360]
push ebx
push 0
push 0
push 0x89
push 0x10d
push ecx
push eax
push 0x90000000
push edi
push edx
push 0x80
mov ecx, esi
call fcn.00406170
mov edi, dword [esi + 4]
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00406c41
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 4
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x5c], edx
call edi
test eax, eax
je 0x4021ca
mov edi, edi
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call edi
test eax, eax
jne 0x4021b0
mov ecx, esi
call fcn.00406270
push 0
call fcn.00406c41
mov edi, eax
mov eax, dword [esi]
add esp, 4
mov dword [ebp - 0x5c], edx
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [ebp - 0xa4]
call fcn.00405e00
lea ecx, [ebp - 0xa4]
call fcn.004058e0
sub edi, ebx
mov dword [ebp - 0x74], edi
lea ecx, [ebp - 0xa4]
call fcn.00405cf0
mov esi, 8
cmp dword [ebp - 0xc], esi
jb 0x402226
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406556
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], cx
cmp dword [ebp - 0x44], esi
jb 0x40224b
mov edx, dword [ebp - 0x58]
push edx
call fcn.00406556
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407142
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x20]
call fcn.00401210
lea ecx, [ebp - 0x58]
call fcn.00401210
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00407142
mov esp, ebp
pop ebp
ret 0x10