Function at 0x4460b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a02
mov eax, dword fs:[0]
push eax
sub esp, 0x240
push esi
push edi
push ecx
lea edi, [ebp - 0x24c]
mov ecx, 0x90
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov esi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
cmp dword [ebp + 8], 0
je 0x446303
cmp dword [ebp + 0xc], 0
je 0x446303
cmp dword [ebp + 0x10], 0
je 0x446303
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov esi, esp
lea edx, [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x446303
mov dword [ebp - 0x240], 0x208
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov esi, esp
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x234]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x446223
push 1
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004460b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
jne 0x44621e
mov dword [ebp - 0x18], 1
jmp 0x446303
mov dword [ebp - 0x240], 0x208
mov dword [ebp - 0x1c], 1
mov esi, esp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4462a9
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
mov esi, esp
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
je 0x44629d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x240], 0x208
jmp 0x446234
cmp dword [ebp - 0x1c], 0
je 0x4462b6
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
jne 0x4462f0
mov dword [ebp - 0x18], 1
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x24c]
push edx
mov ecx, ebp
push eax
lea edx, [0x446368]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x24c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc