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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540f10
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5a6008]
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
push 0x2e0
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x440], eax
mov ecx, eax
call fcn.0041f410
mov esi, eax
mov dword [ebp - 0x448], esi
sub esp, 8
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.0041f7e0
cmp byte [esi + 0x20], 0
je 0x47776b
push str.NoPassword_
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.0051736e
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x598cb0
push 0x20
push eax
call fcn.005173c8
add esp, 0xc
push 0x400001cf
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov edi, eax
mov ecx, str.Secure_Plugin_:_OpenInputdesktop_Error__n
test edi, edi
mov eax, str.Secure_Plugin_:_OpenInputdesktop_OK_n
cmovne ecx, eax
push ecx
push 0
push 0x5a6c48
call fcn.0041d720
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.00513330
add esp, 0xc
test edi, edi
je 0x477648
lea eax, [ebp - 0x444]
push eax
push 0x100
lea eax, [ebp - 0x130]
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
jne 0x47760d
push str.Secure_Plugin_:__GetUserObjectInformation__n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
push ebx
push edi
lea eax, [ebp - 0x130]
push eax
push str.Secure_Plugin_:_SelectHDESK_to__s___x__from__x_n
push 0
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
push edi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x477648
push str.Secure_Plugin_:_SelectHDESK:_SetThreadDesktop__n
push eax
push 0x5a6c48
call fcn.0041d720
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.00426620
lea eax, [ebp - 0x438]
push eax
push 0x200
lea eax, [ebp - 0x330]
push eax
push 0x560f28
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x4776ea
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 0x4776fa
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x298]
push ebx
call eax
add esp, 8
mov edx, dword [ebp - 0x43c]
test edx, edx
je 0x477730
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477710
sub ecx, ebx
je 0x477730
push edx
lea eax, [ebp - 0x330]
push 0x1ff
push eax
call fcn.0051736e
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 edi, edi
je 0x47776b
push edi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [esi]
mov ecx, esi
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.00511339
mov esp, ebp
pop ebp
ret