Function at 0x418e80
Capabilities:
Check os version
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
push edi
cmp dword [0x48cc50], ebx
jne 0x418eb9
cmp eax, ebx
je 0x4191d5
cmp dword [0x48cc54], ebx
jne 0x418f2e
cmp eax, ebx
jne 0x4191d5
mov dword [0x48cc50], ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov esi, eax
call edi
push 0x118
lea edx, [esp + 0x40]
push ebx
push edx
mov edi, eax
mov dword [esp + 0x30], 1
call fcn.00462160
add esp, 0xc
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x3c], 6
jae 0x418f28
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], ebx
jmp 0x418f42
cmp eax, ebx
je 0x418ec9
mov dword [0x48cc54], ebx
jmp 0x418ecf
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x418fc8
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, eax
sub ecx, ebx
cmp ecx, edi
je 0x418f95
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
mov edx, ebx
sub edx, eax
add edx, edi
cmp edx, ecx
jne 0x418fc8
test ecx, ecx
jg 0x418fec
jmp 0x418fc8
mov ecx, dword [esp + 0x1c]
mov edx, ecx
sub edx, dword [esp + 0x14]
cmp edx, esi
jne 0x418ff0
test ebx, ebx
jne 0x418ff0
lea edx, [edi - 2]
cmp dword [esp + 0x2c], edx
je 0x418ff0
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
cmp edx, esi
jne 0x418fc8
cmp dword [esp + 0x34], eax
jne 0x418fc8
cmp dword [esp + 0x24], ebx
je 0x418ff0
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x1f4
mov dword [esp + 0xc], eax
jl 0x418f40
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x491260]
mov edi, dword [0x491290]
test edx, edx
jne 0x419018
mov edi, 0x17d
lea esi, [edi + 0x2c]
test edx, edx
je 0x419020
mov edx, dword [0x491298]
mov dword [esp + 0xc], edx
jmp 0x419028
mov esi, dword [0x491294]
jmp 0x419008
mov dword [esp + 0xc], 1
cmp dword [ebp + 0xc], 0
je 0x419094
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc4]
lea ecx, [esp + 0xc]
push ecx
push 0x491268
mov dword [esp + 0x14], eax
call fcn.00442010
mov edi, dword [eax + 4]
mov edx, dword [ebx + 0xc4]
lea eax, [esp + 0xc]
push eax
push 0x491268
mov dword [esp + 0x14], edx
call fcn.00442010
mov ecx, dword [ebx + 0xc4]
mov esi, dword [eax + 8]
lea edx, [esp + 0xc]
push edx
push 0x491268
mov dword [esp + 0x14], ecx
call fcn.00442010
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x419098
mov edx, dword [esp + 0xc]
add edx, 0xfffffffe
cmp edx, 3
ja case.default.0x4190a4
jmp dword [edx*4 + 0x4191ec]
sub eax, esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
push 0x10
add eax, ebx
push esi
push edi
push eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push 0xffffffffffffffff
push ecx
jmp 0x4191bb
cmp dword [0x491260], 0
je 0x4190f3
mov edx, dword [0x4912a0]
mov ecx, dword [0x49129c]
jmp 0x4190fa
mov edx, 5
mov ecx, edx
push 0x10
push esi
sub eax, edx
mov edx, dword [esp + 0x1c]
push edi
sub eax, esi
push eax
mov eax, dword [esp + 0x20]
add ecx, edx
push ecx
mov ecx, dword [eax + 4]
push 0xffffffffffffffff
push ecx
jmp 0x4191bb
cmp dword [0x491260], 0
je 0x41912f
mov edx, dword [0x4912a0]
mov eax, dword [0x49129c]
jmp 0x419136
mov edx, 5
mov eax, edx
push 0x10
push esi
push edi
add edx, ebx
push edx
mov edx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [edx + 4]
sub ecx, edi
push ecx
push 0xffffffffffffffff
push eax
jmp 0x4191bb
cmp dword [0x491260], 0
je 0x419164
mov ecx, dword [0x4912a0]
mov eax, dword [0x49129c]
jmp 0x41916b
mov ecx, 5
mov eax, ecx
mov edx, dword [esp + 0x10]
push 0x10
push esi
push edi
add ecx, ebx
push ecx
mov ecx, dword [esp + 0x24]
add eax, ecx
push eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
push eax
jmp 0x4191bb
cmp dword [0x491260], 0
je 0x41919c
mov ebx, dword [0x4912a0]
mov edx, dword [0x49129c]
jmp 0x4191a3
mov ebx, 5
mov edx, ebx
push 0x10
push esi
push edi
sub eax, ebx
sub ecx, edx
sub eax, esi
push eax
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.004209e0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460259
mov esp, ebp
pop ebp
ret 8