Function at 0x44a1c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c734d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4ea5e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 4]
call fcn.0044ffb0
lea ebx, [esi + 0xc70]
call fcn.0040c260
xor ebx, ebx
mov dword [esi + 0xd80], ebx
mov dword [esi + 0xd78], 1
lea eax, [esi + 0x10e0]
mov dword [esi + 0xed4], ebx
push eax
mov dword [esi + 0xedc], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.vncmenu.cpp_:_vncmenu_server__n
xor eax, eax
mov ecx, 0x4ecb00
mov dword [ebp - 4], ebx
call fcn.00403230
add esp, 4
push ebx
mov dword [esi + 0x120c], ebx
mov dword [esi + 0x1220], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push str.user32.dll
mov byte [esi + 0x1224], bl
mov dword [esi + 0x1228], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x44a2df
push str.ChangeWindowMessageFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44a2d5
mov ecx, dword [0x544920]
push 1
push ecx
call eax
mov edx, dword [0x54490c]
push 1
push edx
call dword [ebp - 0x10]
mov eax, dword [0x544904]
push 1
push eax
call dword [ebp - 0x10]
mov ecx, dword [0x544908]
push 1
push ecx
call dword [ebp - 0x10]
mov edx, dword [0x54491c]
push 1
push edx
call dword [ebp - 0x10]
mov eax, dword [0x544918]
push 1
push eax
call dword [ebp - 0x10]
mov ecx, dword [0x544910]
push 1
push ecx
call dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [esi + 0x1100]
mov dword [esi + 0x10f8], ebx
mov dword [esi + 0x10fc], ebx
call fcn.0045dd00
mov ecx, dword [0x517c58]
push 0x7f00
push ebx
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x44b320
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x7f00
push ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_LoadIconA]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov eax, dword [0x517c58]
push ebx
push eax
push ebx
push ebx
push 0xc8
push 0xc8
push accept
push accept
push 0xcf0000
push str.WinVNC_Tray_Icon
push str.WinVNC_Tray_Icon
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xee0], eax
cmp eax, ebx
jne 0x44a3af
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x44a694
cmp dword [esi + 0x120c], ebx
jne 0x44a3c8
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x120c], eax
mov eax, dword [esi + 0x120c]
cmp eax, ebx
je 0x44a3ec
push str.WTSRegisterSessionNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44a3ec
mov ecx, dword [esi + 0xee0]
push ebx
push ecx
call eax
mov eax, dword [esi + 0xee0]
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [esi + 0xee0]
mov edx, dword [edx + 0x68]
push eax
call edx
mov eax, dword [esi]
push eax
lea ecx, [esi + 4]
call fcn.00450020
test eax, eax
je 0x44a3a3
mov eax, dword [esi]
lea ecx, [esi + 0xc6c]
call fcn.004563c0
push ebx
test eax, eax
je 0x44a3a4
mov ecx, dword [esi + 0xee0]
push 0x1388
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi]
lea eax, [esi + 0x122c]
push eax
mov dword [esi + 0xed8], edx
mov dword [eax], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esi + 0x123c], 2
jne 0x44a5c8
cmp dword [esi + 0x1230], 5
jne 0x44a521
cmp dword [esi + 0x1234], 1
jb 0x44a521
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon1.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0x32
mov dword [esi + 0x1204], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1208], eax
cmp dword [esi + 0x1204], ebx
jne 0x44a4f7
push ebx
push 0x32
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [0x513794]
push 1
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1204], eax
cmp dword [esi + 0x1208], ebx
jne 0x44a673
push ebx
push 0x32
call edi
push eax
push 0x31
call edi
mov ecx, dword [0x513794]
push eax
push 1
push 0x86
push ecx
jmp 0x44a667
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon1.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x90
push 0x32
mov dword [esi + 0x1204], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1208], eax
cmp dword [esi + 0x1204], ebx
jne 0x44a59b
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov edx, dword [0x513794]
push eax
push 1
push 0x66
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1204], eax
cmp dword [esi + 0x1208], ebx
jne 0x44a673
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [0x513794]
push 1
push 0x86
push eax
jmp 0x44a667
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon1.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x90
push 0x32
mov dword [esi + 0x1204], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1208], eax
cmp dword [esi + 0x1204], ebx
jne 0x44a642
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov ecx, dword [0x513794]
push eax
push 1
push 0x66
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1204], eax
cmp dword [esi + 0x1208], ebx
jne 0x44a673
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov edx, dword [0x513794]
push eax
push 1
push 0x86
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1208], eax
mov eax, dword [0x513794]
push 0x68
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [esi + 0xee4], eax
mov eax, esi
call fcn.0044a840
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8