Function at 0x40fc00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9c6d
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x554008]
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
xor ebx, ebx
cmp byte [edi + 0x25], bl
setne bl
add ebx, reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0xe0], vtable.RegistrySettingsManager.0
mov dword [ebp - 0xdc], 0
call fcn.0049b504
add esp, 4
mov dword [ebp - 0xd4], eax
push 0
push 1
push str.SoftwareTightVNCServer
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041f2d0
mov esi, eax
mov dword [ebp - 0xdc], esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
mov dword [ebp - 0xd0], vtable.StringStorage.0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov dword [ebp - 0xc0], vtable.StringStorage.0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
push str.ControlPassword
call fcn.0042bcc0
lea eax, [ebp - 0xc0]
push eax
push str.ControlPassword
call fcn.0042bd70
push ecx
push 0
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xfc]
push esi
call fcn.0041f3d0
mov eax, dword [ebp - 0xf8]
test eax, eax
jne 0x40fdbe
xor bl, bl
mov dword [ebp - 0xfc], vtable.RegistryKey.0
jmp 0x40fe24
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd4], 3
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xd8], 9
push ecx
lea ecx, [ebp - 0xd4]
push ecx
push 0
push str.ControlPassword
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0xfc], vtable.RegistryKey.0
mov eax, dword [ebp - 0xf8]
sete bl
test eax, eax
je 0x40fe24
cmp eax, dword [ebp - 0xf4]
je 0x40fe1a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xf0], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc0], vtable.StringStorage.0
call fcn.004039c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], vtable.StringStorage.0
call fcn.004039c0
test bl, bl
je 0x40ff72
push 0x80
lea eax, [ebp - 0xac]
mov dword [ebp - 0xb0], vtable.DesCrypt.0
push 0
push eax
call fcn.0049ca40
add esp, 8
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044f690
mov dword [ebp - 0xc0], vtable.AnsiStringStorage.0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fed6
sub ecx, edx
lea eax, [ebp - 0xbc]
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00429f60
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
sub eax, ecx
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.0049e720
add esp, 0xc
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.00402fa0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xc0]
call fcn.0044efc0
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x2c]
push dword [edi + 8]
call fcn.00410030
mov byte [ebp - 4], 0xa
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0xc0]
call fcn.0044ef00
test esi, esi
je 0x40ff7e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
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.0049afeb
mov esp, ebp
pop ebp
ret