Function at 0x4325f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x51484c]
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 ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
lea edx, [ebp - 0x48]
push edx
push 0
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0
push edi
push eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov byte [ebp - 0x39], 0
test ebx, ebx
jne 0x4327b4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x432801
push eax
call fcn.00462d92
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x43267f
xor al, al
jmp 0x432804
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
push edx
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x432759
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
cmp eax, 4
jne 0x4326eb
cmp ecx, 4
jne 0x432737
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x38]
push 0x4b6790
push ecx
call fcn.00464bd4
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
call fcn.004061d0
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.004629c2
add esp, 4
jmp 0x432801
cmp eax, 1
jne 0x432711
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
push eax
call fcn.004061d0
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.004629c2
add esp, 4
jmp 0x432801
cmp eax, 2
jne 0x432737
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004061d0
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.004629c2
add esp, 4
jmp 0x432801
mov edx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
push edx
call fcn.004076e0
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.004629c2
add esp, 4
jmp 0x432801
lea ecx, [ebp - 0x38]
call fcn.004065d0
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.004072c0
mov ebx, dword [esi]
lea ecx, [ebp - 0x38]
call fcn.00405cf0
push eax
mov eax, dword [ebx + 0x28]
push str.RegistryQueryError2
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push edi
push str.ValueName
mov ecx, esi
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004067f0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004629c2
add esp, 4
jmp 0x432801
lea ecx, [ebp - 0x78]
call fcn.004065d0
push ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.004072c0
mov ebx, dword [esi]
lea ecx, [ebp - 0x78]
call fcn.00405cf0
mov edx, dword [ebx + 0x28]
push eax
push str.RegistryQueryError
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push edi
push str.ValueName
mov ecx, esi
call edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.004067f0
mov al, byte [ebp - 0x39]
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.00462878
mov esp, ebp
pop ebp
ret