Function at 0x4325b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x51384c]
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 0x432774
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4327c1
push eax
call fcn.00462d52
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x43263f
xor al, al
jmp 0x4327c4
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 0x432719
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
cmp eax, 4
jne 0x4326ab
cmp ecx, 4
jne 0x4326f7
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x38]
push 0x4b6790
push ecx
call fcn.00464b94
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
call fcn.00406190
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.00462982
add esp, 4
jmp 0x4327c1
cmp eax, 1
jne 0x4326d1
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00406190
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.00462982
add esp, 4
jmp 0x4327c1
cmp eax, 2
jne 0x4326f7
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00406190
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.00462982
add esp, 4
jmp 0x4327c1
mov edx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
push edx
call fcn.004076a0
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 0x39], 1
call fcn.00462982
add esp, 4
jmp 0x4327c1
lea ecx, [ebp - 0x38]
call fcn.00406590
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00407280
mov ebx, dword [esi]
lea ecx, [ebp - 0x38]
call fcn.00405cb0
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.004067b0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00462982
add esp, 4
jmp 0x4327c1
lea ecx, [ebp - 0x78]
call fcn.00406590
push ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00407280
mov ebx, dword [esi]
lea ecx, [ebp - 0x78]
call fcn.00405cb0
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.004067b0
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.00462838
mov esp, ebp
pop ebp
ret