Function at 0x4059d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xf0
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push 0x96
mov esi, ecx
call fcn.0045dd59
push 0x96
mov dword [esp + 0x20], eax
call fcn.0045dd59
push 0x96
mov dword [esp + 0x28], eax
call fcn.0045dd59
push 0x96
mov dword [esp + 0x1c], eax
call fcn.0045dd59
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push esi
push 0
push str.UseRegistry
push str.admin
mov dword [esp + 0x24], eax
call ebp
push eax
lea eax, [esp + 0x34]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.UseRegistry
push str.admin
call ebx
push esi
push 0
push str.MSLogonRequired
push str.admin
call ebp
push eax
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.MSLogonRequired
push str.admin
call ebx
push esi
push 0
push str.NewMSLogon
push str.admin
call ebp
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.NewMSLogon
push str.admin
call ebx
mov eax, dword [esp + 0x18]
push esi
push 0x96
push eax
push 0x47b37f
push str.group1
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x1c]
push esi
push 0x96
push ecx
push 0x47b37f
push str.group2
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0xc]
push esi
push 0x96
push edx
push 0x47b37f
push str.group3
push str.admin_auth
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x18]
push edi
push eax
push str.group1
push str.admin_auth
call ebx
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push str.group2
push str.admin_auth
call ebx
mov edx, dword [esp + 0xc]
push edi
push edx
push str.group3
push str.admin_auth
call ebx
push esi
push 0
push str.locdom1
push str.admin_auth
call ebp
push esi
push 0
push str.locdom2
push str.admin_auth
mov dword [esp + 0x1c], eax
call ebp
push esi
push 0
push str.locdom3
push str.admin_auth
mov dword [esp + 0x2c], eax
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.locdom1
push str.admin_auth
call ebx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.locdom2
push str.admin_auth
call ebx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.locdom3
push str.admin_auth
call ebx
push esi
push 0
push str.DebugMode
push str.admin
call ebp
push esi
push 0
push str.DebugLevel
push str.admin
mov dword [esp + 0x1c], eax
call ebp
push esi
push 0
push 0x47b05c
push str.admin
mov dword [esp + 0x2c], eax
call ebp
push esi
push 0
push 0x47b06c
push str.admin
mov dword [esp + 0x28], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.DebugMode
push str.admin
call ebx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.DebugLevel
push str.admin
call ebx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push 0x47b05c
push str.admin
call ebx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push 0x47b06c
push str.admin
call ebx
push esi
push 0
push str.UseDSMPlugin
push str.admin
call ebp
push esi
push 0
push str.AllowLoopback
push str.admin
mov dword [esp + 0x20], eax
call ebp
push esi
push 1
push str.AuthRequired
push str.admin
mov dword [esp + 0x1c], eax
call ebp
push esi
push 0
push str.ConnectPriority
push str.admin
mov dword [esp + 0x2c], eax
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.UseDSMPlugin
push str.admin
call ebx
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.AllowLoopback
push str.admin
call ebx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.AuthRequired
push str.admin
call ebx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.ConnectPriority
push str.admin
call ebx
push esi
push 0x80
lea eax, [esp + 0x80]
push eax
push 0x47b37f
push str.DSMPlugin
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x14]
push esi
push 0x96
push ecx
push 0x47b37f
push str.AuthHosts
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea edx, [esp + 0x7c]
push edx
push str.DSMPlugin
push str.admin
call ebx
mov eax, dword [esp + 0x14]
push edi
push eax
push str.AuthHosts
push str.admin
call ebx
push esi
push 1
push str.AllowShutdown
push str.admin
call ebp
push esi
push 1
push str.AllowProperties
push str.admin
mov dword [esp + 0x20], eax
call ebp
push esi
push 1
push str.AllowEditClients
push str.admin
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.AllowShutdown
push str.admin
call ebx
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.AllowProperties
push str.admin
call ebx
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.AllowEditClients
push str.admin
call ebx
push esi
push 1
push str.FileTransferEnabled
push str.admin
call ebp
push esi
push 1
push str.FTUserImpersonation
push str.admin
mov dword [esp + 0x20], eax
call ebp
push esi
push 1
push str.BlankMonitorEnabled
push str.admin
mov dword [esp + 0x24], eax
call ebp
push esi
push 1
push str.DefaultScale
push str.admin
mov dword [esp + 0x1c], eax
call ebp
push esi
push 0
push str.CaptureAlphaBlending
push str.admin
mov dword [esp + 0x2c], eax
call ebp
push esi
push 0
push str.BlackAlphaBlending
push str.admin
mov dword [esp + 0x28], eax
call ebp
push esi
push 0x1e
push str.FileTransferTimeout
push str.admin
mov dword [esp + 0x30], eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.FileTransferEnabled
push str.admin
call ebx
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.FTUserImpersonation
push str.admin
call ebx
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.BlankMonitorEnabled
push str.admin
call ebx
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.DefaultScale
push str.admin
call ebx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.CaptureAlphaBlending
push str.admin
call ebx
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push 0x47b400
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
push str.BlackAlphaBlending
push str.admin
call ebx
push 0x1e
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.FileTransferTimeout
push str.admin
call ebx
push esi
push 1
push str.SocketConnect
push str.admin
call ebp
push esi
push 1
push str.HTTPConnect
push str.admin
mov dword [esp + 0x30], eax
call ebp
push esi
push 1
push str.XDMCPConnect
push str.admin
mov dword [esp + 0x20], eax
call ebp
push esi
push 1
push str.AutoPortSelect
push str.admin
mov dword [esp + 0x24], eax
call ebp
push esi
push 0
push str.PortNumber
push str.admin
mov dword [esp + 0x1c], eax
call ebp
mov dword [esp + 0x1c], eax
push esi
push 0
push str.HTTPPortNumber
push str.admin
call ebp
push esi
push 0
push str.IdleTimeout
push str.admin
mov dword [esp + 0x28], eax
call ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.SocketConnect
push str.admin
call ebx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.HTTPConnect
push str.admin
call ebx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.XDMCPConnect
push str.admin
call ebx
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.AutoPortSelect
push str.admin
call ebx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.PortNumber
push str.admin
call ebx
mov eax, dword [esp + 0x18]
push eax
push 0x47b400
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.HTTPPortNumber
push str.admin
call ebx
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.IdleTimeout
push str.admin
call ebx
push esi
push 0
push str.RemoveWallpaper
push str.admin
call ebp
push esi
push 0
push str.RemoveAero
push str.admin
mov dword [esp + 0x34], eax
call ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.RemoveWallpaper
push str.admin
call ebx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.RemoveAero
push str.admin
call ebx
push esi
push 0
push str.QuerySetting
push str.admin
call ebp
push esi
push 0
push str.QueryTimeout
push str.admin
mov dword [esp + 0x34], eax
call ebp
push esi
push 0
push str.QueryAccept
push str.admin
mov dword [esp + 0x30], eax
call ebp
push esi
push 0
mov dword [esp + 0x18], eax
push str.QueryIfNoLogon
push str.admin
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.QuerySetting
push str.admin
call ebx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.QueryTimeout
push str.admin
call ebx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.QueryAccept
push str.admin
call ebx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.QueryIfNoLogon
push str.admin
call ebx
push esi
push 8
lea eax, [esp + 0x58]
push eax
push 0x47b404
push str.ultravnc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push edi
push 8
lea ecx, [esp + 0x58]
push ecx
push 0x47b404
push str.ultravnc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
push esi
push 0
push str.InputsEnabled
push str.admin
call ebp
push esi
push 0
push str.LockSetting
push str.admin
mov dword [esp + 0x34], eax
call ebp
mov dword [esp + 0x20], eax
push esi
push 0
push str.LocalInputsDisabled
push str.admin
call ebp
push esi
push 0
push str.EnableJapInput
push str.admin
mov dword [esp + 0x20], eax
call ebp
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.InputsEnabled
push str.admin
call ebx
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.LockSetting
push str.admin
call ebx
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.LocalInputsDisabled
push str.admin
call ebx
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push 0x47b400
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.EnableJapInput
push str.admin
call ebx
push esi
push 0
push str.TurboMode
push str.poll
call ebp
push esi
push 0
push str.PollUnderCursor
push str.poll
mov dword [esp + 0x34], eax
call ebp
push esi
push 0
push str.PollForeground
push str.poll
mov dword [esp + 0x30], eax
call ebp
push esi
push 0
push str.PollFullScreen
push str.poll
mov dword [esp + 0x20], eax
call ebp
push esi
push 0
push str.OnlyPollConsole
push str.poll
mov dword [esp + 0x24], eax
call ebp
push esi
push 0
push str.OnlyPollOnEvent
push str.poll
mov dword [esp + 0x1c], eax
call ebp
push esi
push 0
push str.EnableDriver
push str.poll
mov dword [esp + 0x2c], eax
call ebp
push esi
push 0
push str.EnableHook
push str.poll
mov dword [esp + 0x28], eax
call ebp
push esi
push 0
push str.EnableVirtual
push str.poll
mov dword [esp + 0x3c], eax
call ebp
push esi
push 0
push str.SingleWindow
push str.poll
mov dword [esp + 0x38], eax
call ebp
push esi
push 0x20
lea edx, [esp + 0x60]
push edx
push 0x47b37f
push str.SingleWindowName
push str.poll
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.TurboMode
push str.poll
call ebx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.PollUnderCursor
push str.poll
call ebx
mov eax, dword [esp + 0x10]
push eax
push 0x47b400
lea ecx, [esp + 0x38]
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.PollForeground
push str.poll
call ebx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.PollFullScreen
push str.poll
call ebx
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.OnlyPollConsole
push str.poll
call ebx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.OnlyPollOnEvent
push str.poll
call ebx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.EnableDriver
push str.poll
call ebx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.EnableHook
push str.poll
call ebx
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push 0x47b400
push ecx
call esi
add esp, 0xc
push edi
lea edx, [esp + 0x34]
push edx
push str.EnableVirtual
push str.poll
call ebx
push ebp
lea eax, [esp + 0x34]
push 0x47b400
push eax
call esi
add esp, 0xc
push edi
lea ecx, [esp + 0x34]
push ecx
push str.SingleWindow
push str.poll
call ebx
push edi
lea edx, [esp + 0x5c]
push edx
push str.SingleWindowName
push str.poll
call ebx
mov ecx, dword [esp + 0xf8]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045dc1f
add esp, 0xf0
ret