Function at 0x45c2c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d572b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x510200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x298], 0x20019
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x45c317
mov ecx, dword [ebp - 0x298]
or ecx, 0x100
mov dword [ebp - 0x298], ecx
jmp 0x45c329
mov edx, dword [ebp - 0x298]
or edx, 0x200
mov dword [ebp - 0x298], edx
lea eax, [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x298]
push ecx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402850
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c5aa
mov dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2ac], eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
cmp dword [ebp - 0x2b0], 0
jne 0x45c59d
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x298]
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c58a
mov byte [ebp - 0x291], 1
mov ecx, dword [ebp - 0x2a4]
add ecx, 0x20
call fcn.0045b6a0
movzx eax, al
test eax, eax
je 0x45c570
lea ecx, [ebp - 0x218]
push ecx
push 0x4dd764
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.00445c20
add esp, 0xc
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.00414350
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00401ec0
cmp dword [ebp + 8], 0x80000002
jne 0x45c4a1
lea ecx, [ebp - 0x230]
push ecx
push 0x4dd768
lea edx, [ebp - 0x260]
push edx
call fcn.0045bfb0
add esp, 0xc
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408be0
lea ecx, [ebp - 0x260]
call fcn.00401ec0
jmp 0x45c531
cmp dword [ebp + 8], 0x80000001
jne 0x45c4ea
lea ecx, [ebp - 0x230]
push ecx
push str.HKEY_CURRENT_USER_
lea edx, [ebp - 0x278]
push edx
call fcn.0045bfb0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408be0
lea ecx, [ebp - 0x278]
call fcn.00401ec0
jmp 0x45c531
cmp dword [ebp + 8], 0x80000000
jne 0x45c531
lea ecx, [ebp - 0x230]
push ecx
push str.HKEY_CLASSES_ROOT_
lea edx, [ebp - 0x290]
push edx
call fcn.0045bfb0
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408be0
lea ecx, [ebp - 0x290]
call fcn.00401ec0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2a4]
add ecx, 0x20
call fcn.0045c250
mov byte [ebp - 0x291], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401ec0
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x291]
test eax, eax
jne 0x45c58a
jmp 0x45c59d
mov cx, word [0x4dd7e0]
mov word [ebp - 0x218], cx
jmp 0x45c35e
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049da3c
mov esp, ebp
pop ebp
ret 0xc