Function at 0x46acb4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4e
push 0
push 0
dec ecx
jne 0x46acbc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x46afde
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x46af8a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00468e78
cmp al, 1
jne 0x46acfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46afc0
lea ecx, [ebp - 0x23c]
mov edx, 0x46aff8
mov eax, 0xfb
call fcn.004695b8
mov eax, dword [ebp - 0x23c]
call fcn.004043b8
call fcn.0046abe4
test al, al
je 0x46ad29
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x240]
mov edx, 0x46b024
mov eax, 0x182e
call fcn.004695b8
mov eax, dword [ebp - 0x240]
call fcn.004043b8
call fcn.0046abe4
test al, al
je 0x46ad56
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x244]
mov edx, 0x46b04c
mov eax, 0x1e38
call fcn.004695b8
mov eax, dword [ebp - 0x244]
call fcn.004043b8
call fcn.0046abe4
test al, al
je 0x46ad83
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x248]
mov edx, 0x46b07c
mov eax, 0xaaf
call fcn.004695b8
mov eax, dword [ebp - 0x248]
call fcn.004043b8
call fcn.0046abe4
test al, al
je 0x46adb0
mov byte [ebp - 1], 1
cmp byte [ebp - 1], 0
jne 0x46aeaa
xor eax, eax
push ebp
push 0x46aea0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 1
push 0
lea ecx, [ebp - 0x24c]
mov edx, 0x46b0b4
mov eax, 0x1356
call fcn.004695b8
mov eax, dword [ebp - 0x24c]
call fcn.004043b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46ae8d
mov dword [ebp - 0xc], 0x101
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x235]
push eax
push 0
push 0
lea ecx, [ebp - 0x250]
mov edx, 0x46b0f8
mov eax, 0x111f
call fcn.004695b8
mov eax, dword [ebp - 0x250]
call fcn.004043b8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x235]
mov ecx, 0x101
call fcn.00404168
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x258]
mov edx, 0x46b120
mov eax, 9
call fcn.004695b8
mov edx, dword [ebp - 0x258]
pop eax
call fcn.00404304
jne 0x46ae89
mov byte [ebp - 1], 1
jmp 0x46ae8d
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46aeaa
cmp byte [ebp - 1], 0
jne 0x46af80
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 2
call fcn.00467660
mov ebx, eax
mov dword [ebp - 0x134], 0x128
jmp 0x46af65
lea ecx, [ebp - 0x264]
mov edx, 0x46b13c
mov eax, 0x39f
call fcn.004695b8
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
call fcn.0046aa18
mov eax, dword [ebp - 0x260]
call fcn.004043b8
mov edx, eax
lea eax, [ebp - 0x25c]
call fcn.004040f0
mov eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404168
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
call fcn.0046aa18
mov edx, dword [ebp - 0x268]
pop eax
call fcn.004044fc
test eax, eax
jle 0x46af65
push ebx
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46afc0
lea edx, [ebp - 0x134]
mov eax, ebx
call fcn.004676a0
test eax, eax
jne 0x46aed5
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46afc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46afe5
lea eax, [ebp - 0x270]
mov edx, 0xe
call fcn.00403f1c
ret