Function at 0x440b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x48a348]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
mov esi, ecx
call fcn.00449210
test eax, eax
jne 0x440bb6
lea ecx, [eax + 9]
push str.._vncproperties.cpp_:__DBG___NO_current_user_n
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret
mov ecx, 0x47b37f
lea eax, [esp + 0x18]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x440be0
test dl, dl
je 0x440bdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x440be0
add eax, 2
add ecx, 2
test dl, dl
jne 0x440bc0
xor eax, eax
jmp 0x440be5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x440c1d
lea ecx, [eax + 9]
push str.._vncproperties.cpp_:__DBG___Force_USER_SYSTEM_2_n
mov eax, 0x48c4e8
call fcn.00401000
mov eax, dword [str.SYSTEM]
mov cx, word [0x47b37c]
mov dl, byte [0x47b37e]
add esp, 4
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
mov byte [esp + 0x1e], dl
lea edi, [esi + 8]
push edi
push 0
push str.DebugMode
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
call fcn.00438070
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0
push str.DebugLevel
push str.admin
call ebx
push edi
push 0
push 0x47b05c
push str.admin
mov dword [0x48c4f8], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x144]
call eax
push edi
push 0
push 0x47b06c
push str.admin
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x13c]
call eax
push edi
push 0
push str.MSLogonRequired
push str.admin
mov dword [esi + 0x18c], 0
call ebx
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x18c], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1e8]
call eax
push edi
push 0
push str.NewMSLogon
push str.admin
mov dword [esi + 0x198], 0
call ebx
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x198], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1f0]
call eax
push edi
push 0
push str.UseDSMPlugin
push str.admin
mov dword [esi + 0x19c], 0
call ebx
push edi
push 0x80
mov dword [esi + 0x19c], eax
lea eax, [esi + 0x1a0]
push eax
push 0x47b37f
push str.DSMPlugin
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x140]
call eax
test eax, eax
je 0x440d4d
push 1
jmp 0x440d5d
push edi
push 0
push str.AllowLoopback
push str.admin
call ebx
push eax
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1a4]
call eax
push edi
push 1
push str.AuthRequired
push str.admin
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x168]
call eax
push edi
push 0
push str.ConnectPriority
push str.admin
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x12c]
call eax
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x140]
call eax
test eax, eax
jne 0x440e16
push 0x96
call fcn.0045e0f8
add esp, 4
push edi
push 0x96
push eax
push 0x47b37f
push str.AuthHosts
push str.admin
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
test eax, eax
je 0x440e1e
push eax
mov eax, dword [edx + 0x170]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045e501
add esp, 4
jmp 0x440e28
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x170]
push 0
call eax
push str.._vncproperties.cpp_:__DBG___Load_User_Preferences_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
add esp, 4
push str.._vncproperties.cpp_:_clearing_user_settings_n
mov ecx, 9
mov eax, 0x48c4e8
call fcn.00401000
mov eax, 1
add esp, 4
mov dword [esi + 0x138], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x12c], eax
lea ecx, [eax + 8]
push str.d:dataultravncultravnc_project_rootultravncwinvncwinvnc_vncPasswd.h_:_PASSWD_:_FromClear_called_n
mov eax, 0x48c4e8
mov dword [esi + 0x13c], 0x170c
call fcn.00401000
add esp, 4
push 0x47b37f
lea eax, [esp + 0x14]
call fcn.0040dfa0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, 1
mov dword [esi + 0x144], ecx
xor ecx, ecx
add esp, 4
mov dword [esi + 0x148], edx
mov dword [esi + 0x14c], 2
mov dword [esi + 0x158], 0xa
mov dword [esi + 0x154], ecx
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x168], eax
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], ecx
mov dword [esi + 0x16c], 0xffffffff
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x178], ecx
mov dword [esi + 0x19c], ecx
mov byte [esi + 0x1a0], cl
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x190], ecx
mov dword [esi + 0x194], ecx
call fcn.00441010
mov eax, dword [esi + 0x118]
push edi
push eax
push str.AllowShutdown
push str.admin
call ebx
push edi
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x114]
push eax
push str.AllowProperties
push str.admin
call ebx
push edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x11c]
push eax
push str.AllowEditClients
push str.admin
call ebx
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x11c], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
push edi
add eax, edx
push eax
push str.FileTransferTimeout
push str.admin
call ebx
imul eax, eax, 0x3e8
cmp eax, 0xea60
mov dword [esi + 0x120], eax
jle 0x440fe3
mov dword [esi + 0x120], 0xea60
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x120]
mov dword [eax + 0x574], ecx
call fcn.0043ffe0
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045dc1f
mov esp, ebp
pop ebp
ret