Function at 0x47ccc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x5d7008]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
push edi
call fcn.00486920
test eax, eax
jne 0x47cd15
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___NO_current_user_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov ecx, 0x584fd8
lea eax, [esp + 0x18]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47cd40
test dl, dl
je 0x47cd3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47cd40
add eax, 2
add ecx, 2
test dl, dl
jne 0x47cd20
xor eax, eax
jmp 0x47cd45
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47cd60
push str.SYSTEM
lea eax, [esp + 0x1c]
push 0x101
push eax
call fcn.005417f5
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ebx, [esi + 8]
push ebx
push 0
push str.DebugMode
push str.admin
call edi
push eax
call fcn.00471420
push ebx
push 0x200
lea eax, [esp + 0x230]
push eax
push 0x584fd8
push str.path
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x228]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47cdb0
sub ecx, edx
jne 0x47cdf5
push 0x104
lea eax, [esp + 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47cdec
lea eax, [esp + 0x120]
push 0x5c
push eax
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x47ce0f
mov byte [eax], 0
lea eax, [esp + 0x120]
jmp 0x47cdfc
lea eax, [esp + 0x228]
push eax
push 0x104
push 0x5d7f62
call fcn.005417f5
add esp, 0xc
push ebx
push 0
push str.DebugLevel
push str.admin
call edi
push ebx
push 0
push str.Avilog
push str.admin
mov dword [0x5d7d58], eax
call edi
push ebx
push 0
test eax, eax
push 0x5ba994
push str.admin
setne byte [0x5d7f61]
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x178]
push ebx
push 0
push str.rdpmode
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x180]
push ebx
push 0
push str.noscreensaver
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x188]
push ebx
push 0
push 0x5ba9bc
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x170]
push ebx
push 0
push str.Secure
push str.admin
mov dword [esi + 0x5d4], 0
call edi
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d4], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x248]
push ebx
push 0
push str.MSLogonRequired
push str.admin
mov dword [esi + 0x5d0], 0
call edi
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d0], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x254]
push ebx
push 0
push str.NewMSLogon
push str.admin
mov dword [esi + 0x5d8], 0
call edi
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d8], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x25c]
push ebx
push 0
push str.UseDSMPlugin
push str.admin
mov dword [esi + 0x5e0], 0
call edi
push ebx
push 0x80
mov dword [esi + 0x5e0], eax
lea eax, [esi + 0x5e4]
push eax
push 0x584fd8
push str.DSMPlugin
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 1
push str.ReverseAuthRequired
push str.admin
mov dword [esi + 0x5dc], 1
call edi
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5dc], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x264]
push ebx
push 0x200
lea eax, [esi + 0x664]
push eax
push 0x584fd8
push str.DSMPluginConfig
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x174]
test eax, eax
je 0x47cff2
mov ecx, dword [esi + 0x118]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1f0]
jmp 0x47d010
push ebx
push 1
push str.AllowLoopback
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1f0]
push ebx
push 1
push str.AuthRequired
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1a4]
push ebx
push 0
push str.ConnectPriority
push str.admin
call edi
mov ecx, dword [esi + 0x118]
push eax
mov edx, dword [ecx]
call dword [edx + 0x160]
mov ecx, dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x174]
test eax, eax
jne 0x47d0a9
push 0x96
call fcn.0053d681
add esp, 4
mov edi, eax
push ebx
push 0x96
push edi
push 0x584fd8
push str.AuthHosts
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x118]
push edi
mov edx, dword [ecx]
call dword [edx + 0x1ac]
push edi
call fcn.0053d63e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 4
jmp 0x47d0b9
mov ecx, dword [esi + 0x118]
push 0
mov eax, dword [ecx]
call dword [eax + 0x1ac]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_clearing_user_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
xor eax, eax
mov dword [esi + 0x54c], 1
add esp, 0xc
mov dword [esi + 0x548], 1
cmp dword [esi + 0x5d4], eax
lea edx, [esp + 0x10]
mov ecx, 0x584fd8
mov dword [esi + 0x550], 0x170c
setne al
mov dword [esi + 0x544], 1
push eax
call fcn.00433270
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esi + 0x55c], ecx
mov ecx, esi
mov dword [esi + 0x558], eax
mov dword [esi + 0x12c], 1
mov dword [esi + 0x128], 1
mov dword [esi + 0x120], 1
mov dword [esi + 0x124], 0
mov dword [esi + 0x568], 2
mov dword [esi + 0x574], 0xa
mov dword [esi + 0x578], 0
mov dword [esi + 0x570], 0
mov dword [esi + 0x57c], 0
mov dword [esi + 0x580], 0
mov dword [esi + 0x584], 0x80
mov dword [esi + 0x59c], 1
mov dword [esi + 0x5a4], 0
mov dword [esi + 0x5a8], 0
mov dword [esi + 0x5ac], 0
mov dword [esi + 0x5b0], 0
mov dword [esi + 0x5b4], 0
mov dword [esi + 0x5a0], 0xffffffff
mov dword [esi + 0x588], 0
mov dword [esi + 0x58c], 0
mov dword [esi + 0x590], 0
mov dword [esi + 0x594], 0
mov dword [esi + 0x598], 0
mov dword [esi + 0x5b8], 0
mov dword [esi + 0x5e0], 0
mov byte [esi + 0x5e4], 0
mov byte [esi + 0x664], 0
mov dword [esi + 0x5bc], 1
mov dword [esi + 0x5c0], 1
mov dword [esi + 0x5c4], 1
mov dword [esi + 0x5c8], 0
mov dword [esi + 0x56c], 0
mov dword [esi + 0x5cc], 1
call fcn.0047d3d0
push ebx
push dword [esi + 0x128]
push str.AllowShutdown
push str.admin
call edi
push ebx
push dword [esi + 0x120]
mov dword [esi + 0x128], eax
push str.AllowProperties
push str.admin
call edi
push ebx
push dword [esi + 0x124]
mov dword [esi + 0x120], eax
push str.AllowInjection
push str.admin
call edi
push ebx
push dword [esi + 0x12c]
mov dword [esi + 0x124], eax
push str.AllowEditClients
push str.admin
call edi
mov dword [esi + 0x12c], eax
push ebx
push dword [esi + 0x130]
push str.FileTransferTimeout
push str.admin
call edi
mov dword [esi + 0x130], eax
cmp eax, 0x258
jle 0x47d2ff
mov dword [esi + 0x130], 0x258
push ebx
push dword [esi + 0x134]
push str.KeepAliveInterval
push str.admin
call edi
push ebx
push dword [esi + 0x138]
mov dword [esi + 0x134], eax
push str.IdleInputTimeout
push str.admin
call edi
mov ecx, dword [esi + 0x130]
mov dword [esi + 0x138], eax
lea eax, [ecx - 1]
cmp dword [esi + 0x134], eax
jl 0x47d348
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x118]
push ebx
push 0x400
mov dword [eax + 0x868], ecx
mov edx, dword [esi + 0x118]
mov ecx, dword [esi + 0x134]
mov eax, dword [edx + 0x868]
dec eax
cmp ecx, eax
cmovge ecx, eax
mov dword [edx + 0x86c], ecx
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x138]
mov dword [edx + 0x870], eax
lea eax, [esi + 0x13c]
push eax
push 0x584fd8
push str.service_commandline
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
call fcn.0047bdc0
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret