Function at 0x47e8d0
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x5d7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x31c
mov esi, ecx
call fcn.0053d643
add esp, 4
mov dword [ebp - 0x438], eax
mov ecx, eax
call fcn.0041f100
push ecx
mov ebx, eax
push esi
mov ecx, ebx
call fcn.0041f4c0
cmp byte [ebx + 0x20], 0
je 0x47eb3a
push str.NoPassword_
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.005417f5
add esp, 0xc
lea eax, [ebp - 0x24]
push str.server_app
push 0x20
push eax
call fcn.0054184f
add esp, 0xc
push 0x400001cf
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov esi, eax
test esi, esi
jne 0x47e979
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_OpenInputdesktop_Error__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov edi, eax
jmp 0x47ea0a
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_OpenInputdesktop_OK_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov edi, eax
lea eax, [ebp - 0x43c]
push eax
push 0x100
lea eax, [ebp - 0x328]
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
jne 0x47e9cf
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__GetUserObjectInformation__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push edi
push esi
lea eax, [ebp - 0x328]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_SelectHDESK_to__s___x__from__x_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x47ea0a
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_SelectHDESK:_SetThreadDesktop__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0x10000000
push str.dummy
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [ebp - 0x434], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x438], 0
mov byte [ebp - 0x228], 0
call fcn.00425a60
lea eax, [ebp - 0x430]
push eax
push 0x200
lea eax, [ebp - 0x228]
push eax
push 0x584fd8
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebx + 0x2f8]
test eax, eax
je 0x47eab5
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x434]
call eax
add esp, 0x10
jmp 0x47eaca
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x434]
mov eax, dword [ebx + 0x2d8]
call eax
add esp, 8
mov edx, dword [ebp - 0x438]
test edx, edx
je 0x47eb04
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x434], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47eae0
sub ecx, dword [ebp - 0x434]
je 0x47eb04
push edx
lea eax, [ebp - 0x228]
push 0x1ff
push eax
call fcn.005417f5
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x228]
push eax
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test esi, esi
je 0x47eb3a
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d630
mov esp, ebp
pop ebp
ret