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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dee7
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x56c36c]
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 edi, ecx
cmp byte [0x56c2c1], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x180], eax
je 0x43c690
push 0
push 0
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x174]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43c6b0
mov eax, dword [ebp - 0x174]
add eax, 1
je 0x43c354
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047fc8b
add esp, 4
mov dword [ebp - 0x184], eax
mov ebx, eax
jmp 0x43c35c
xor ebx, ebx
mov dword [ebp - 0x184], ebx
push 0
call fcn.0047f232
add esp, 4
mov dword [ebp - 0x1bc], ebx
mov eax, dword [ebp - 0x178]
mov dword [ebp - 4], 0
test eax, eax
je 0x43c390
push eax
call fcn.0047fc8b
add esp, 4
mov dword [ebp - 0x168], eax
mov esi, eax
jmp 0x43c398
xor esi, esi
mov dword [ebp - 0x168], esi
push 0
call fcn.0047f232
add esp, 4
mov dword [ebp - 0x1c0], esi
mov eax, dword [ebp - 0x174]
xor esi, esi
inc eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x168]
lea eax, [ebp - 0x16c]
push eax
push esi
lea eax, [ebp - 0x17c]
push eax
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x43c46e
test eax, eax
jne 0x43c688
push dword [ebp - 0x170]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push eax
mov eax, dword [ebp - 0x180]
push ebx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43c680
mov eax, dword [ebp - 0x174]
inc esi
inc eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x168]
lea eax, [ebp - 0x16c]
push eax
push 0
lea eax, [ebp - 0x17c]
push eax
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x43c3f4
cmp byte [ebp + 0xc], 0
je 0x43c64e
push 1
push 0
mov ecx, edi
mov dword [ebp - 0x16c], 0
call fcn.0043d6a0
mov esi, eax
test esi, esi
je 0x43c64e
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [eax]
mov eax, dword [0x571774]
or eax, 0xf003f
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], 0
mov al, byte [edi + 0xc]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0x198], al
mov eax, dword [edi + 4]
push 0
push 0
and eax, 0xfff2ffd9
mov byte [ebp - 4], 2
or eax, 0x20019
push eax
push esi
push dword [edi]
call fcn.0043e4a0
mov eax, dword [0x571774]
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.0042c180
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 esi
push dword [ecx]
lea ecx, [ebp - 0x194]
call fcn.0043e4a0
mov eax, dword [ebp - 0x1a8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1a8], 0
test eax, eax
je 0x43c577
push eax
call ebx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0
test eax, eax
je 0x43c58e
push eax
call ebx
push dword [ebp - 0x1b0]
call fcn.0047f232
push dword [ebp - 0x1b4]
call fcn.0047f232
mov eax, dword [ebp - 0x1b8]
add esp, 8
mov dword [ebp - 0x1b8], 0
test eax, eax
je 0x43c5be
push eax
call ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0043c2b0
mov eax, dword [ebp - 0x194]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x43c5f0
push eax
call esi
mov dword [ebp - 0x194], 0
push dword [ebp - 0x18c]
call fcn.0047f232
mov eax, dword [ebp - 0x1a4]
add esp, 4
mov byte [ebp - 4], 1
test eax, eax
je 0x43c619
push eax
call esi
mov dword [ebp - 0x1a4], 0
push dword [ebp - 0x19c]
call fcn.0047f232
mov eax, dword [ebp - 0x16c]
add esp, 4
inc eax
mov ecx, edi
mov dword [ebp - 0x16c], eax
push 1
push eax
call fcn.0043d6a0
mov esi, eax
test esi, esi
jne 0x43c4a0
mov ebx, dword [ebp - 0x184]
push dword [ebp - 0x168]
call fcn.0047f232
push ebx
call fcn.0047f232
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.0047f941
mov esp, ebp
pop ebp
ret 8
push eax
push str.copyTo_set_
jmp 0x43c6b6
push eax
push str.copyTo_enum_
jmp 0x43c6b6
push 0x11b
push str.C:ent_slave_rootworkspaceVNCConnectBuildsClientsVNC_7.13.xlabelcon_windows_64_rvcore_baseoswinRegistry.cxx
push str.writeAllowed
lea ecx, [ebp - 0x160]
call fcn.00428f10
push eax
call fcn.00428f90
push eax
push str.copyTo_query_
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
int3