Function at 0x42b1a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x456141
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x40], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0042e310
xor ebp, ebp
lea ecx, [esi + 0x630]
mov dword [esp + 0xe0], ebp
call fcn.00431400
lea ecx, [esi + 0x664]
mov byte [esp + 0xe0], 1
call fcn.00427c00
lea ecx, [esi + 0x668]
mov byte [esp + 0xe0], 2
call fcn.0042a970
push ebp
mov byte [esp + 0xe4], 3
mov dword [esi + 0x7dc], ebp
mov dword [esi + 0x7f0], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0xe8]
lea ecx, [esi + 0x6d0]
push 0x101
push ecx
mov dword [esi], eax
call fcn.00436080
mov edx, dword [0x480310]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
add esp, 8
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x42bb30
push 0x7f00
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
call edi
push 0x7f00
push ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x30], eax
mov eax, dword [str.WinVNC_Tray_Icon]
push 0x7f00
push ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edx, dword [0x480310]
mov eax, dword [str.WinVNC_Tray_Icon]
push ebp
push edx
push ebp
push ebp
push 0xc8
push 0xc8
push bind
push bind
push 0xcf0000
push eax
push eax
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x670], eax
cmp eax, ebp
jne 0x42b2ff
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42b604
cmp dword [esi + 0x7dc], ebp
jne 0x42b318
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x7dc], eax
mov eax, dword [esi + 0x7dc]
cmp eax, ebp
je 0x42b33c
push str.WTSRegisterSessionNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x42b33c
mov ecx, dword [esi + 0x670]
push ebp
push ecx
call eax
mov edx, dword [esi + 0x670]
push esi
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, dword [esp + 0xe8]
mov ecx, dword [esi + 0x670]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x60]
mov edx, dword [esi]
mov ecx, ebx
push edx
call fcn.0042e350
test eax, eax
jne 0x42b37b
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42b604
mov eax, dword [esi]
lea ecx, [esi + 0x630]
push eax
call fcn.00431420
test eax, eax
jne 0x42b399
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42b604
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x138]
test eax, eax
jne 0x42b3bc
mov eax, dword [esi + 0x670]
push ebp
push 0x1388
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi]
push ecx
lea ecx, [esi + 0x668]
call fcn.0042a980
test eax, eax
jne 0x42b3da
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42b604
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x54], 2
jne 0x42b546
cmp dword [esp + 0x48], 5
jne 0x42b4a3
cmp dword [esp + 0x4c], 1
jb 0x42b4a3
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push 0x32
call edi
push eax
push 0x31
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push str.icon1.ico
push ebp
call ebx
push 0x10
push 0x32
mov dword [esi + 0x7d4], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebp
call ebx
mov dword [esi + 0x7d8], eax
mov eax, dword [esi + 0x7d4]
cmp eax, ebp
jne 0x42b479
push ebp
push 0x32
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [0x480310]
push 1
push 0x66
push eax
call ebx
mov dword [esi + 0x7d4], eax
cmp dword [esi + 0x7d8], ebp
jne 0x42b5e9
push ebp
push 0x32
call edi
push eax
push 0x31
call edi
mov ecx, dword [0x480310]
push eax
push 1
push 0x86
push ecx
jmp 0x42b5e1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push 0x32
call edi
push eax
push 0x31
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push str.icon1.ico
push ebp
call ebx
push 0x90
push 0x32
mov dword [esi + 0x7d4], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebp
call ebx
mov dword [esi + 0x7d8], eax
mov eax, dword [esi + 0x7d4]
cmp eax, ebp
jne 0x42b519
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov edx, dword [0x480310]
push eax
push 1
push 0x66
push edx
call ebx
mov dword [esi + 0x7d4], eax
cmp dword [esi + 0x7d8], ebp
jne 0x42b5e9
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [0x480310]
push 1
push 0x86
push eax
jmp 0x42b5e1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push 0x32
call edi
push eax
push 0x31
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push str.icon1.ico
push ebp
call ebx
push 0x90
push 0x32
mov dword [esi + 0x7d4], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push str.icon2.ico
push ebp
call ebx
mov dword [esi + 0x7d8], eax
mov eax, dword [esi + 0x7d4]
cmp eax, ebp
jne 0x42b5bc
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov ecx, dword [0x480310]
push eax
push 1
push 0x66
push ecx
call ebx
mov dword [esi + 0x7d4], eax
cmp dword [esi + 0x7d8], ebp
jne 0x42b5e9
push 0x80
push 0x32
call edi
push eax
push 0x31
call edi
mov edx, dword [0x480310]
push eax
push 1
push 0x86
push edx
call ebx
mov dword [esi + 0x7d8], eax
mov eax, dword [0x480310]
push 0x68
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, esi
mov dword [esi + 0x674], eax
call fcn.0042b730
mov ecx, dword [esp + 0xd8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 4