Function at 0x47e650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2b84
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x4eb6b8]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x480], ecx
jb 0x47e696
mov ecx, dword [edi]
jmp 0x47e698
mov ecx, edi
mov eax, dword [eax]
lea edx, [ebp - 0x47c]
push edx
push 0x20019
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x478], eax
cmp eax, ebx
je 0x47e85a
lea ecx, [ebp - 0x520]
push ecx
call fcn.00414a60
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x478]
push esi
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push edx
push ecx
lea eax, [ebp - 0x520]
push str.RegOpenKeyEx_Failed._lStatus:
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.004122f0
add esp, 4
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 0xc
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 8
push 0x19
mov esi, 0xf
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.004190e0
mov byte [ebp - 4], 1
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.004190e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x520]
push edx
call fcn.00414b60
mov byte [ebp - 4], 3
push eax
push 0x1c
push ebx
call fcn.00413e40
push eax
lea edx, [ebp - 0x43c]
lea ecx, [ebp - 0x458]
call fcn.00471900
mov byte [ebp - 4], 2
cmp dword [ebp - 0x460], 8
jb 0x47e7ca
mov eax, dword [ebp - 0x474]
push eax
call fcn.0049ca60
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], cx
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [ebp - 0x444], edi
jb 0x47e803
mov edx, dword [ebp - 0x458]
push edx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x428], edi
jb 0x47e82f
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.00403e50
xor al, al
jmp 0x47ec62
push 0x40e
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov byte [ebp - 0x478], bl
mov word [ebp - 0x420], cx
call fcn.004a4260
add esp, 0xc
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x484]
push edx
push ebx
mov eax, esi
mov dword [ebp - 0x488], 0x410
call fcn.004169f0
push eax
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47ea58
lea ecx, [ebp - 0x520]
push ecx
call fcn.00414a60
mov dword [ebp - 4], 4
push esi
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push ebx
push ecx
lea edx, [ebp - 0x520]
push str.RegQueryValueEx_Failed._lStatus:
push edx
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.004122f0
add esp, 4
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 0xc
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 8
push 0x19
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.004190e0
mov byte [ebp - 4], 5
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.004190e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x520]
push ecx
call fcn.00414b60
mov byte [ebp - 4], 7
push eax
push 0x29
push ebx
call fcn.00413e40
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x43c]
call fcn.00471900
mov byte [ebp - 4], 6
cmp dword [ebp - 0x460], 8
jb 0x47e9c7
mov edx, dword [ebp - 0x474]
push edx
call fcn.0049ca60
add esp, 4
xor eax, eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x428], 0x10
jb 0x47e9fc
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x444], 0x10
jb 0x47ea2e
mov edx, dword [ebp - 0x458]
push edx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.00403e50
jmp 0x47ea76
cmp dword [ebp - 0x484], 4
jne 0x47ea76
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x480]
mov byte [ebp - 0x478], 1
mov dword [ecx], eax
mov edx, dword [ebp - 0x47c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x520]
push eax
mov dword [ebp - 0x47c], ebx
call fcn.00414a60
mov dword [ebp - 4], 8
push ebx
push ecx
push str.._samDesired:
push ecx
mov ecx, dword [ebp - 0x480]
mov edx, dword [ecx]
push edx
push ecx
mov eax, dword [ebp - 0x478]
push str.._dwKeyValue:
push ecx
push esi
push ecx
push str.._strKeyName:
push ecx
push edi
push ecx
push str._strSubKey:
push ecx
push eax
push ecx
lea ecx, [ebp - 0x520]
push 0x4cdcac
push ecx
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.00412110
add esp, 4
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 0xc
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.0041dcf0
add esp, 0xc
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.00475c10
add esp, 4
push eax
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.00475c10
push 0x19
mov esi, 0xf
push str.CRegUtility::ReadRegValue
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
call fcn.004190e0
mov byte [ebp - 4], 9
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
call fcn.004190e0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x520]
push eax
call fcn.00414b60
mov byte [ebp - 4], 0xb
push eax
push 0x38
push 3
call fcn.00413e40
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x43c]
call fcn.00471900
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x460], 8
jb 0x47ebd2
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], dx
mov byte [ebp - 4], 9
mov edi, 0x10
cmp dword [ebp - 0x428], edi
jb 0x47ec0b
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x444], edi
jb 0x47ec38
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], ebx
mov byte [ebp - 0x458], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x520]
call fcn.00403e50
mov al, byte [ebp - 0x478]
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.0049ca6b
mov esp, ebp
pop ebp
ret 8