Function at 0x51bb50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 1
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [esi], 0x64f1cc
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov dword [ebp - 4], edi
call fcn.00444af0
mov ecx, dword [0x6ec7a0]
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push 0x6c09f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
mov ebx, 4
push eax
push edi
mov dword [ebp - 0x14], ebx
push edi
jne 0x51bd7e
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x6d72cc
push ecx
call edi
test eax, eax
jne 0x51bbf9
mov edx, dword [ebp - 0x18]
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6d72bc
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bc1d
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6d72b4
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bc41
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6d72ac
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bc65
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6d72a4
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bc89
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6d729c
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bcad
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6d7294
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bcd1
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x1c], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6d728c
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bcf5
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x6d7284
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bd19
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6d7278
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bd3d
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x28], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x6d726c
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x51bd61
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6ec7a0]
push 0x6d7260
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51bd9a
mov edx, dword [ebp - 0x18]
mov dword [esi + 8], edx
mov edx, dword [0x6ec7a0]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push edi
push edi
push 0x6d7250
push edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51bdc3
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0051be30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret