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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5c3040]
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.00524776
add esp, 4
mov dword [ebp - 0x43c], eax
mov ecx, eax
call fcn.0041f080
mov edi, eax
mov dword [ebp - 0x444], edi
push ecx
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0041f440
cmp byte [edi + 0x20], 0
je 0x487cfb
push str.NoPassword_
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [ebp - 0x30]
push str.server_app
push 0x20
push eax
call fcn.0052c1fd
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_OK_n
mov eax, str.Secure_Plugin_:_OpenInputdesktop_Error__n
test esi, esi
cmove ecx, eax
push ecx
push 0
push 0x5c3db0
call fcn.0041dde0
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 - 0x448], 0
push 0x100
lea eax, [ebp - 0x130]
mov dword [ebp - 0x43c], ebx
push 0
push eax
call fcn.00526a30
add esp, 0xc
test esi, esi
je 0x487bd9
lea eax, [ebp - 0x448]
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 0x487b9e
push str.Secure_Plugin_:__GetUserObjectInformation__n
push eax
push 0x5c3db0
call fcn.0041dde0
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 0x5c3db0
call fcn.0041dde0
add esp, 0x18
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x487bd9
push str.Secure_Plugin_:_SelectHDESK:_SetThreadDesktop__n
push eax
push 0x5c3db0
call fcn.0041dde0
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 - 0x440], 0
mov byte [ebp - 0x330], 0
call fcn.004270f0
lea eax, [ebp - 0x438]
push eax
push 0x200
lea eax, [ebp - 0x330]
push eax
push 0x579be0
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edi + 0x2b8]
test eax, eax
je 0x487c7b
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push ebx
call eax
add esp, 0x10
jmp 0x487c8b
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x298]
push ebx
call eax
add esp, 8
mov edx, dword [ebp - 0x440]
test edx, edx
je 0x487cc0
mov ecx, edx
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487ca0
sub ecx, ebx
je 0x487cc0
push edx
lea eax, [ebp - 0x330]
push 0x1ff
push eax
call fcn.0052c1a3
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 - 0x43c]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test esi, esi
je 0x487cfb
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.00524763
mov esp, ebp
pop ebp
ret