Function at 0x47a380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x5d7008]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Entering_Load_n
push 9
push 0x5d7d48
mov esi, ecx
call fcn.0041c960
add esp, 0xc
lea ecx, [esp + 0x140]
call fcn.00486920
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x47a552
mov ecx, 0x584fd8
lea eax, [esp + 0x140]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a400
test dl, dl
je 0x47a3fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a400
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a3e0
xor eax, eax
jmp 0x47a405
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47a423
push str.SYSTEM
lea eax, [esp + 0x144]
push 0x101
push eax
call fcn.005417f5
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x586a74
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x47a463
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jmp 0x47a4e5
lea eax, [esp + 0x28]
push eax
push 0x20019
push 0
lea eax, [esp + 0x14c]
push eax
push dword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x28]
xor edx, edx
test eax, eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
cmovne ecx, edx
push eax
push edx
push 0x20019
push edx
push edx
push edx
push str.Default
push dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 0x24]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x28]
cmovne ecx, edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x47a4cc
push eax
call ebx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x47a4d3
push ecx
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47a4de
push eax
call ebx
push reloc.WS2_32.dll_bind
call ebx
mov ecx, str.SYSTEM
lea eax, [esp + 0x140]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a511
test dl, dl
je 0x47a50d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a511
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a4f1
xor eax, eax
jmp 0x47a516
sbb eax, eax
or eax, 1
test eax, eax
je 0x47a552
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x586a74
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47a552
push dword [esp + 0x30]
call ebx
push reloc.WS2_32.dll_accept
call ebx
mov ecx, dword [esi + 0x118]
xor eax, eax
cmp dword [0x5e65ec], eax
setne al
xor ebx, ebx
test eax, eax
mov eax, dword [ecx]
cmove ebx, dword [ebp + 8]
call dword [eax + 0x2f0]
xor ecx, ecx
test eax, eax
mov eax, str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Service_mode_n
cmovne ebx, ecx
mov ecx, str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___User_mode_n
test ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esi + 0x11c], ebx
cmovne eax, ecx
push eax
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00486920
test eax, eax
jne 0x47a5db
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 + 0x240]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x584fd8
lea eax, [esp + 0x38]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a604
test dl, dl
je 0x47a600
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a604
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a5e4
xor eax, eax
jmp 0x47a609
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47a638
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Force_USER_SYSTEM_1_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [esp + 0x38]
push str.SYSTEM
push 0x101
push eax
call fcn.005417f5
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___UserName___s_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x586a74
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47a697
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jmp 0x47ac34
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
call edi
mov ecx, dword [esp + 0x1c]
xor edx, edx
test eax, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
cmovne ecx, edx
push eax
push edx
push 0x20019
push edx
push edx
push edx
push str.Default
push dword [esp + 0x38]
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 0x20]
xor edx, edx
test eax, eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Machine_level_prefs_n
cmovne ecx, edx
push 9
push 0x5d7d48
mov dword [esp + 0x2c], ecx
call fcn.0041c960
add esp, 0xc
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_loading_local_only_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov dword [esp + 0x10], 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x5ba994
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a74a
xor edx, edx
jmp 0x47a763
cmp dword [esp + 0x10], 4
je 0x47a755
xor edx, edx
jmp 0x47a763
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x178]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.rdpmode
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a7a6
xor edx, edx
jmp 0x47a7bf
cmp dword [esp + 0x10], 4
je 0x47a7b1
xor edx, edx
jmp 0x47a7bf
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.noscreensaver
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a802
xor edx, edx
jmp 0x47a81b
cmp dword [esp + 0x10], 4
je 0x47a80d
xor edx, edx
jmp 0x47a81b
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x188]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x5ba9bc
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a85e
xor edx, edx
jmp 0x47a877
cmp dword [esp + 0x10], 4
je 0x47a869
xor edx, edx
jmp 0x47a877
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x170]
lea eax, [esp + 0x14]
mov dword [esi + 0x5d4], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.Secure
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a8c4
xor edx, edx
jmp 0x47a8dd
cmp dword [esp + 0x10], 4
je 0x47a8cf
xor edx, edx
jmp 0x47a8dd
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d4], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x248]
lea eax, [esp + 0x14]
mov dword [esi + 0x5d0], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.MSLogonRequired
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a930
xor edx, edx
jmp 0x47a949
cmp dword [esp + 0x10], 4
je 0x47a93b
xor edx, edx
jmp 0x47a949
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d0], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x254]
lea eax, [esp + 0x14]
mov dword [esi + 0x5d8], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.NewMSLogon
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47a99c
xor edx, edx
jmp 0x47a9b5
cmp dword [esp + 0x10], 4
je 0x47a9a7
xor edx, edx
jmp 0x47a9b5
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5d8], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x25c]
lea eax, [esp + 0x14]
mov dword [esi + 0x5dc], 1
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.ReverseAuthRequired
push dword [esp + 0x2c]
call ebx
mov ecx, 1
test eax, eax
je 0x47aa0d
mov edx, ecx
jmp 0x47aa24
cmp dword [esp + 0x10], 4
je 0x47aa18
mov edx, ecx
jmp 0x47aa24
cmp dword [esp + 0x14], 4
mov edx, dword [esp + 0x30]
cmovne edx, ecx
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x5dc], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x264]
lea eax, [esp + 0x14]
mov dword [esi + 0x5e0], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.UseDSMPlugin
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47aa77
xor eax, eax
jmp 0x47aa90
cmp dword [esp + 0x10], 4
je 0x47aa82
xor eax, eax
jmp 0x47aa90
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp dword [esp + 0x14], 4
cmovne eax, ecx
mov dword [esi + 0x5e0], eax
lea eax, [esi + 0x5e4]
push eax
push dword [esp + 0x1c]
call fcn.0047c1a0
push str.DSMPluginConfig
push dword [esp + 0x1c]
call fcn.0047a2f0
mov edi, eax
lea eax, [esi + 0x664]
test edi, edi
je 0x47aad9
push 0xffffffffffffffff
push edi
push 0x1ff
push eax
call fcn.0054cc69
push edi
call fcn.0053d63e
add esp, 0x14
jmp 0x47aadc
mov byte [eax], 0
mov ecx, dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x174]
mov edx, dword [esi + 0x118]
push 1
mov ecx, dword [edx]
mov edi, dword [ecx + 0x1f0]
test eax, eax
je 0x47ab02
mov ecx, edx
jmp 0x47ab17
push str.AllowLoopback
push dword [esp + 0x20]
call fcn.0047a2a0
mov ecx, dword [esi + 0x118]
push eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.AuthRequired
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47ab50
mov edx, 1
jmp 0x47ab6f
cmp dword [esp + 0x10], 4
je 0x47ab5e
mov edx, 1
jmp 0x47ab6f
cmp dword [esp + 0x14], 4
mov eax, 1
mov edx, dword [esp + 0x30]
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1a4]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.ConnectPriority
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x47abb2
xor edx, edx
jmp 0x47abcb
cmp dword [esp + 0x10], 4
je 0x47abbd
xor edx, edx
jmp 0x47abcb
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x14], 4
cmovne edx, eax
mov ecx, dword [esi + 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [esi + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x174]
test eax, eax
jne 0x47ac24
push str.AuthHosts
push dword [esp + 0x1c]
call fcn.0047a2f0
mov edx, dword [esi + 0x118]
mov edi, eax
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1ac]
mov ecx, edx
test edi, edi
je 0x47ac1e
push edi
call eax
push edi
call fcn.0053d63e
add esp, 4
jmp 0x47ac34
push 0
call eax
jmp 0x47ac34
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 + 0x30]
mov ecx, 0x584fd8
mov dword [esi + 0x550], 0x170c
setne al
mov dword [esi + 0x544], 1
push eax
call fcn.00433270
mov eax, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x558], eax
mov dword [esi + 0x55c], ecx
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 + 0x588], 0
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 + 0x58c], 0
mov dword [esi + 0x590], 0
mov dword [esi + 0x594], 0
mov dword [esi + 0x598], 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
je 0x47af5d
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Local_Preferences___Default_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_loading_DEFAULT_local_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov ecx, esi
push dword [esp + 0x20]
call fcn.0047b1f0
mov edi, dword [esi + 0x128]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.AllowShutdown
push dword [esp + 0x34]
call ebx
test eax, eax
jne 0x47ae64
cmp dword [esp + 0x10], 4
jne 0x47ae64
cmp dword [esp + 0x14], 4
mov eax, dword [esp + 0x30]
cmovne eax, edi
mov edi, eax
lea eax, [esp + 0x14]
mov dword [esi + 0x128], edi
mov edi, dword [esi + 0x120]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.AllowProperties
push dword [esp + 0x34]
call ebx
test eax, eax
jne 0x47aeb5
cmp dword [esp + 0x10], 4
jne 0x47aeb5
cmp dword [esp + 0x14], 4
mov eax, dword [esp + 0x30]
cmovne eax, edi
mov edi, eax
lea eax, [esp + 0x14]
mov dword [esi + 0x120], edi
mov edi, dword [esi + 0x124]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.AllowInjection
push dword [esp + 0x34]
call ebx
test eax, eax
jne 0x47af06
cmp dword [esp + 0x10], 4
jne 0x47af06
cmp dword [esp + 0x14], 4
mov eax, dword [esp + 0x30]
cmovne eax, edi
mov edi, eax
lea eax, [esp + 0x14]
mov dword [esi + 0x124], edi
mov edi, dword [esi + 0x12c]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 4
push eax
push 0
push str.AllowEditClients
push dword [esp + 0x34]
call ebx
test eax, eax
jne 0x47af57
cmp dword [esp + 0x10], 4
jne 0x47af57
cmp dword [esp + 0x14], 4
mov eax, dword [esp + 0x30]
cmovne eax, edi
mov edi, eax
mov dword [esi + 0x12c], edi
cmp dword [esp + 0x24], 0
je 0x47b0ec
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___User_Settings_on_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x47b027
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___LoadUser_Preferences_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_loading___s__local_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov ecx, esi
push dword [esp + 0x1c]
call fcn.0047b1f0
push dword [esi + 0x128]
push str.AllowShutdown
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x120]
mov dword [esi + 0x128], eax
push str.AllowProperties
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x124]
mov dword [esi + 0x120], eax
push str.AllowInjection
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x12c]
mov dword [esi + 0x124], eax
push str.AllowEditClients
push dword [esp + 0x24]
call fcn.0047a2a0
mov dword [esi + 0x12c], eax
cmp dword [esi + 0x120], 0
je 0x47b1ab
mov ecx, str.SYSTEM
lea eax, [esp + 0x38]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47b060
test dl, dl
je 0x47b05c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b060
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b040
xor eax, eax
jmp 0x47b065
sbb eax, eax
or eax, 1
test eax, eax
je 0x47b1ab
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___Override_system_settings_with_users_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0x586a74
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47b1ab
lea eax, [esp + 0x38]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_loading___s__global_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov ecx, esi
push dword [esp + 0x10]
call fcn.0047b1f0
push dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push reloc.WS2_32.dll_accept
call edi
jmp 0x47b1b1
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:__DBG___User_Settings_off_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x47b197
lea eax, [esp + 0x38]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_loading___s__local_settings_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov ecx, esi
push dword [esp + 0x1c]
call fcn.0047b1f0
push dword [esi + 0x128]
push str.AllowShutdown
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x120]
mov dword [esi + 0x128], eax
push str.AllowProperties
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x124]
mov dword [esi + 0x120], eax
push str.AllowInjection
push dword [esp + 0x24]
call fcn.0047a2a0
push dword [esi + 0x12c]
mov dword [esi + 0x124], eax
push str.AllowEditClients
push dword [esp + 0x24]
call fcn.0047a2a0
mov dword [esi + 0x12c], eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncproperties.cpp_:_bypassing_user_specific_settings__both_local_and_global__n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47b1bc
push eax
call edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b1c7
push eax
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47b1d2
push eax
call edi
mov ecx, esi
call fcn.0047bdc0
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret 4