Function at 0x4542a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4ea5e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push str.vncproperties.cpp_:_saving_current_settings_to_registry_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x208]
add esp, 4
call edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.FileTransferEnabled
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c0]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.FTUserImpersonation
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x214]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.BlankMonitorEnabled
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x21c]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.BlankInputsOnly
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x234]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.primary
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x23c]
call eax
mov dword [ebp - 0x10], eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.secondary
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x200]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.DefaultScale
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x240]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.UseDSMPlugin
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x248]
call eax
push pe_nt_image_headers32
push eax
push 3
push 0
push str.DSMPlugin
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x25c]
call eax
mov ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x10], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x454433
sub ecx, dword [ebp - 0x10]
inc ecx
push ecx
push eax
push 3
push 0
push str.DSMPluginConfig
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x160]
call edx
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.SocketConnect
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x180]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.HTTPConnect
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x124]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.AutoPortSelect
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x124]
call eax
test eax, eax
jne 0x454519
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.PortNumber
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x118]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.HTTPPortNumber
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.InputsEnabled
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
call eax
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push 0
movzx ecx, al
push str.LocalInputsDisabled
push edi
mov dword [ebp - 0x10], ecx
call ebx
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1dc]
call edx
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.IdleTimeout
push edi
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x148]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.EnableJapInput
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1a8]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.QuerySetting
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1bc]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.QueryTimeout
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1b0]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.QueryAccept
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d4]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.LockSetting
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1e4]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.RemoveWallpaper
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1ec]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.RemoveEffects
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1f4]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.RemoveFontSmoothing
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1fc]
call eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push str.RemoveAero
push edi
mov dword [ebp - 0x10], eax
call ebx
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [ebp - 0xc]
push eax
call edx
push 8
lea eax, [ebp - 0xc]
push eax
push 3
push 0
push str.Password
push edi
call ebx
mov esi, dword [esi + 0x10c]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call edx
push 8
lea eax, [ebp - 0xc]
push eax
push 3
push 0
push str.Password2
push edi
call ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret