Function at 0x461440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df854
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x527064]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x3c]
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetStringRegValue
push 0x98
push 3
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 1
call fcn.00431610
mov byte [ebp - 4], 2
mov edx, str.GetStringRegValue___START
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
push 0x410
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x428], 0
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x42c], 0x410
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x428]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4615b0
cmp dword [ebp + 0x38], 8
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push esi
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push esi
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x461560
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
call fcn.00445800
jmp 0x461619
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetStringRegValue
push 0xa8
push 4
lea ecx, [ebp - 0x424]
call fcn.00431610
mov byte [ebp - 4], 4
mov edx, str.Failed_to_get_registry_value_:
mov ecx, dword [eax]
call fcn.004333c0
push esi
lea edx, [ebp + 0x24]
mov ecx, eax
call fcn.00433d20
mov edx, str.._Error:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 5
jmp 0x4615fe
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetStringRegValue
push 0xad
push 4
lea ecx, [ebp - 0x424]
call fcn.00431610
mov byte [ebp - 4], 6
mov edx, 0x502f3c
mov ecx, dword [eax]
call fcn.004333c0
push esi
lea edx, [ebp + 0xc]
mov ecx, eax
call fcn.00433d20
mov edx, str.._Error:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x46162a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetStringRegValue
push 0xb3
push 3
lea ecx, [ebp - 0x424]
call fcn.00431610
mov byte [ebp - 4], 8
mov edx, str.GetStringRegValue___END
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
add eax, 0x14
push eax
call edi
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x461688
push 2
inc eax
push eax
push dword [ebp + 0xc]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
cmp eax, 8
jb 0x4616b3
push 2
inc eax
push eax
push dword [ebp + 0x24]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
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.004908ad
mov esp, ebp
pop ebp
ret 0x3c