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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568070
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2dc
call fcn.0052b79c
add esp, 4
mov dword [ebp - 0x440], eax
mov ecx, eax
call fcn.0041e5f0
mov edi, eax
mov dword [ebp - 0x448], edi
push ecx
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0041ea80
cmp byte [edi + 0x20], 0
je 0x47f29b
push str.NoPassword_
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.0053193e
add esp, 0xc
lea eax, [ebp - 0x30]
push str.server_app
push 0x20
push eax
call fcn.00531998
add esp, 0xc
push 0x400001cf
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov esi, eax
mov ecx, str.Secure_Plugin_:_OpenInputdesktop_Error__n
mov eax, str.Secure_Plugin_:_OpenInputdesktop_OK_n
test esi, esi
cmovne ecx, eax
push ecx
push 0
push 0x5d6df8
call fcn.0041d510
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ebx, eax
mov dword [ebp - 0x444], 0
push 0x100
lea eax, [ebp - 0x130]
mov dword [ebp - 0x440], ebx
push 0
push eax
call fcn.0052d9b0
add esp, 0xc
test esi, esi
je 0x47f179
lea eax, [ebp - 0x444]
push eax
push 0x100
lea eax, [ebp - 0x130]
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
jne 0x47f13e
push str.Secure_Plugin_:__GetUserObjectInformation__n
push eax
push 0x5d6df8
call fcn.0041d510
add esp, 0xc
push ebx
push esi
lea eax, [ebp - 0x130]
push eax
push str.Secure_Plugin_:_SelectHDESK_to__s___x__from__x_n
push 0
push 0x5d6df8
call fcn.0041d510
add esp, 0x18
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x47f179
push str.Secure_Plugin_:_SelectHDESK:_SetThreadDesktop__n
push eax
push 0x5d6df8
call fcn.0041d510
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]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x43c], 0
mov byte [ebp - 0x330], 0
call fcn.00426c50
lea eax, [ebp - 0x438]
push eax
push 0x200
lea eax, [ebp - 0x330]
push eax
push 0x5b9638
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edi + 0x2b8]
test eax, eax
je 0x47f21b
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push ebx
call eax
add esp, 0x10
jmp 0x47f22b
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x298]
push ebx
call eax
add esp, 8
mov edx, dword [ebp - 0x43c]
test edx, edx
je 0x47f260
mov ecx, edx
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47f240
sub ecx, ebx
je 0x47f260
push edx
lea eax, [ebp - 0x330]
push 0x1ff
push eax
call fcn.0053193e
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x330]
push eax
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x440]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test esi, esi
je 0x47f29b
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret