Function at 0x4611f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x3c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetDWORDRegValue
push 0x7e
push 3
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00431610
mov byte [ebp - 4], 2
mov edx, str.GetDWORDRegValue___START
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x40]
mov byte [ebp - 4], 4
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x24]
cmovae eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0043eae0
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov esi, eax
test esi, esi
jne 0x46132e
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
push ecx
push dword [ebp - 0x14]
cmovae eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push edi
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4612dd
cmp dword [ebp - 0x18], 4
je 0x46132a
lea esi, [eax + 0xd]
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetDWORDRegValue
push 0x8a
push 4
lea ecx, [ebp - 0x10]
call fcn.00431610
mov byte [ebp - 4], 5
mov edx, str.Failed_to_get_DWORD_from_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], 6
jmp 0x461376
xor esi, esi
jmp 0x46138b
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetDWORDRegValue
push 0x8f
push 4
call fcn.00431610
mov byte [ebp - 4], 7
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], 8
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call ebx
mov byte [ebp - 4], 4
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::GetDWORDRegValue
push 0x92
push 3
lea ecx, [ebp - 0x10]
call fcn.00431610
mov byte [ebp - 4], 9
mov edx, str.GetDWORDRegValue___END__exit_code_read_from_registry_is:
mov ecx, dword [eax]
call fcn.004333c0
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.0043a5d0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call ebx
test edi, edi
je 0x4613e0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x4613f7
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 0x461422
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 esp, ebp
pop ebp
ret 0x3c