Function at 0x43c580
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e0d7
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x56d370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [0x56d2c1], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x180], eax
je 0x43c91a
push 0
push 0
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x170]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43c93a
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x184]
inc eax
push eax
call fcn.0042a8b0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 4], 0
test eax, eax
je 0x43c62d
push eax
call fcn.0047ffab
add esp, 4
mov dword [ebp - 0x16c], eax
mov esi, eax
jmp 0x43c635
xor esi, esi
mov dword [ebp - 0x16c], esi
push 0
call fcn.0047f552
add esp, 4
mov dword [ebp - 0x1bc], esi
mov eax, dword [ebp - 0x170]
xor edi, edi
inc eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
push eax
push esi
mov esi, dword [ebp - 0x184]
lea eax, [ebp - 0x17c]
push eax
push edi
lea eax, [ebp - 0x178]
push eax
push esi
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x43c70c
test eax, eax
jne 0x43c912
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push dword [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x180]
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43c90a
mov eax, dword [ebp - 0x170]
inc edi
inc eax
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x16c]
lea eax, [ebp - 0x17c]
push eax
push 0
lea eax, [ebp - 0x178]
push eax
push esi
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x43c692
cmp byte [ebp + 0xc], 0
je 0x43c8d8
push 1
push 0
mov ecx, ebx
call fcn.0043d920
mov edi, eax
test edi, edi
je 0x43c8d8
xor esi, esi
nop dword [eax]
mov eax, dword [0x57273c]
or eax, 0xf003f
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], 0
mov al, byte [ebx + 0xc]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0x198], al
mov eax, dword [ebx + 4]
push 0
push 0
and eax, 0xfff2ffd9
mov byte [ebp - 4], 2
or eax, 0x20019
push eax
push edi
push dword [ebx]
call fcn.0043e6c0
mov eax, dword [0x57273c]
or eax, 0xf003f
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 3
mov byte [ebp - 0x161], 1
call fcn.0042c090
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x161]
push eax
push 0
mov byte [ebp - 4], 4
mov eax, dword [ecx + 4]
or eax, 0xf003f
push eax
push edi
push dword [ecx]
lea ecx, [ebp - 0x194]
call fcn.0043e6c0
mov eax, dword [ebp - 0x1a8]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1a8], 0
test eax, eax
je 0x43c80d
push eax
call edi
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0
test eax, eax
je 0x43c824
push eax
call edi
push dword [ebp - 0x1b0]
call fcn.0047f552
push dword [ebp - 0x1b4]
call fcn.0047f552
mov eax, dword [ebp - 0x1b8]
add esp, 8
mov dword [ebp - 0x1b8], 0
test eax, eax
je 0x43c854
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0043c580
mov eax, dword [ebp - 0x194]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x43c886
push eax
call edi
mov dword [ebp - 0x194], 0
push dword [ebp - 0x18c]
call fcn.0047f552
mov eax, dword [ebp - 0x1a4]
add esp, 4
mov byte [ebp - 4], 1
test eax, eax
je 0x43c8af
push eax
call edi
mov dword [ebp - 0x1a4], 0
push dword [ebp - 0x19c]
call fcn.0047f552
add esp, 4
inc esi
mov ecx, ebx
push 1
push esi
call fcn.0043d920
mov edi, eax
test edi, edi
jne 0x43c730
mov esi, dword [ebp - 0x184]
push dword [ebp - 0x16c]
call fcn.0047f552
push esi
call fcn.0047f552
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047fc61
mov esp, ebp
pop ebp
ret 8
push eax
push str.copyTo_set_
jmp 0x43c940
push eax
push str.copyTo_enum_
jmp 0x43c940
push 0x11b
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.12.xlabelcon_windows_64_rvcore_baseoswin_registry.cxx
push str.writeAllowed
lea ecx, [ebp - 0x160]
call fcn.00428e20
push eax
call fcn.00428ea0
push eax
push str.copyTo_query_
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x5582d8
lea eax, [ebp - 0x158]
push eax
call fcn.00481150
int3