Function at 0x41d080
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push str.._vncProperties.cpp:_tsaving_current_settings_to_registry_n
push 9
push 0x44ff14
mov esi, ecx
call fcn.00401e70
mov ecx, dword [esi]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x108]
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.SocketConnect
push edi
mov dword [esp + 0x24], eax
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xd8]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.AutoPortSelect
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xd8]
test eax, eax
jne 0x41d138
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xcc]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push str.PortNumber
push edi
mov dword [esp + 0x34], eax
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xd0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.HTTPPortNumber
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xf0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.InputsEnabled
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xf8]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.LocalInputsDisabled
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x198]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.IdleTimeout
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x214]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.LocalInputsPriorityTime
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x15c]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.QuerySetting
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x164]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.QueryTimeout
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x16c]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.QueryAccept
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x174]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.QueryAllowNoPass
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x190]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.LockSetting
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1a0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.RemoveWallpaper
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1a8]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.BlankScreen
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1b0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.EnableFileTransfers
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0xe0]
test eax, eax
je 0x41d2ea
push 8
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.Password
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0xe8]
test eax, eax
je 0x41d310
push 8
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.PasswordViewOnly
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x80]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.PollUnderCursor
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x88]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.PollForeground
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x90]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.PollFullScreen
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xb0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.OnlyPollConsole
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xb8]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.OnlyPollOnEvent
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x21c]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.PollingCycle
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x98]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.DontSetHooks
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xa0]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.DontUseDriver
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0xa8]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.DriverDirectAccess
push edi
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1fc]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.LocalInputsPriority
push edi
call ebx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4