Function at 0x509b00
Capabilities:
Check os version
Find taskbar

Disassembly:
sub esp, 0x38
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebx
lea esi, [ebx + 0x14]
cmp dword [0x74aff0], ebx
jne 0x509b38
mov edi, 1
mov dword [0x74aff0], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x509b38
cmp al, 6
jb 0x509b38
mov dword [0x74afec], edi
jmp 0x509b40
cmp dword [0x74afec], ebx
je 0x509b71
push ebx
call fcn.00503120
test eax, eax
je 0x509b71
cmp dword [esp + 0x4c], ebx
je 0x509e45
push 1
push str.RemoveDeadTrayIcon
push str.SOFTWAREMicroWorldeScan_for_WindowsMwMonitor
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
pop edi
pop esi
pop ebx
add esp, 0x38
ret
call fcn.004d99e0
test eax, eax
je 0x509b84
cmp dword [esp + 0x4c], ebx
je 0x509e45
lea eax, [esp + 0x1c]
push eax
push str.RemoveDeadTrayIconDisable
push 0x60d9ec
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call fcn.004d5820
cmp dword [esp + 0x1c], ebx
jne 0x509e45
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 1
push str.MyBlankCursor
push 1
push ebx
call fcn.00507920
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x509be9
call edi
cmp eax, 0xb7
jne 0x509be9
lea ecx, [esp + 0xc]
push ecx
call fcn.004dca10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 1
jne 0x509bb1
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push ebp
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call esi
cmp eax, ebx
je 0x509e3a
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call esi
mov ebp, eax
mov dword [esp + 0x24], ebp
cmp ebp, ebx
je 0x509e3a
push ebx
push str.Button
push ebx
push ebp
call esi
mov esi, eax
cmp esi, ebx
je 0x509c71
lea eax, [esp + 0x1c]
push eax
push str.EnableAutoTray
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push connect
call fcn.004d5820
test al, al
jne 0x509c51
mov dword [esp + 0x1c], 1
jmp 0x509c57
cmp dword [esp + 0x1c], ebx
je 0x509c71
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x201
push esi
call edi
push ebx
push ebx
push 0x202
push esi
call edi
lea ecx, [esp + 0x38]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x509e3a
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call edi
push 0x32
mov esi, eax
call edi
mov ebx, eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esp + 0x4c], 0
je 0x509cbf
cmp dword [esp + 0x10], 0
je 0x509cbf
push 1
call fcn.004dbab0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
sub eax, edi
cdq
idiv ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], 0
test eax, eax
jl 0x509d63
mov eax, dword [esp + 0x40]
sub eax, ecx
cdq
idiv esi
mov dword [esp + 0x1c], 0
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jl 0x509d3b
xor ebx, ebx
jmp 0x509d04
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add edx, edi
push edx
lea eax, [ebx + ecx]
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
cdq
idiv esi
mov edi, dword [esp + 0x3c]
add ebx, esi
mov dword [esp + 0x2c], ebx
inc ebp
mov ebx, eax
cmp ebp, ebx
jle 0x509d00
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], edx
sub eax, edi
cdq
idiv dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, eax
jle 0x509cf3
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
sub eax, edi
cdq
idiv ebx
mov dword [esp + 0x14], 0
test eax, eax
jl 0x509dfe
mov eax, dword [esp + 0x40]
sub eax, ecx
cdq
idiv esi
mov dword [esp + 0x1c], 0
mov ebx, eax
nop
xor ebp, ebp
test ebx, ebx
jl 0x509dda
xor ebx, ebx
jmp 0x509da4
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add eax, edi
push eax
add ecx, ebx
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
cdq
idiv esi
mov edi, dword [esp + 0x3c]
add ebx, esi
mov dword [esp + 0x2c], ebx
inc ebp
mov ebx, eax
cmp ebp, ebx
jle 0x509da0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], edx
sub eax, edi
cdq
idiv dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, eax
jle 0x509d90
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [esp + 0x4c], 0
je 0x509e2a
cmp dword [esp + 0x28], 0
je 0x509e2a
cmp dword [esp + 0x10], 0
je 0x509e2a
push 0
call fcn.004dbab0
push 0x105
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_RedrawWindow]
lea edx, [esp + 0x10]
push edx
call fcn.004dca10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret