Function at 0x411ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [esp + 0x338]
push edi
mov edi, ecx
mov dword [esp + 0x34], 0x104
lea ecx, [esp + 4]
mov dword [edi + 0x18], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov dword [esp + 0x334], 0
call fcn.004150f0
mov ecx, dword [edi + 0x44]
mov byte [esp + 0x334], 1
push ecx
lea ecx, [esp + 0x48]
call fcn.00415bf0
lea edx, [esp + 0xac]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x44]
test eax, eax
mov eax, str.VolMic__
je 0x411d64
mov eax, str.VolSpkrs__
push eax
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x128]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
push str.SoftwareAnalog_DevicesSMax4Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x411dd9
push 1
mov ecx, edi
call fcn.00411fa0
lea ecx, [esp + 0x44]
mov byte [esp + 0x334], 0
call fcn.004151b0
lea ecx, [esp + 4]
mov dword [esp + 0x334], 0xffffffff
call fcn.00424f94
jmp 0x411f86
mov eax, dword [edi + 0x44]
push esi
test eax, eax
jne 0x411e22
lea eax, [esp + 0x38]
lea ecx, [esp + 0x22c]
push eax
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x138]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411e18
mov esi, dword [esp + 0x22c]
jmp 0x411f48
mov esi, 0xcccc
jmp 0x411f48
mov eax, 0xcccc
lea edx, [esp + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x22c]
push edx
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x138]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411ed4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x25c]
push str._i__i__i__i__i__i__i__i__i__i__i__i
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x38
cmp dword [edi + 0x60], 0xffffffff
jne 0x411ee8
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
cmp eax, esi
jbe 0x411f48
jmp 0x411f46
mov eax, dword [edi + 0x64]
cmp eax, 4
jne 0x411efe
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
cmp eax, esi
jbe 0x411f48
jmp 0x411f46
cmp eax, 5
jne 0x411f11
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
cmp eax, esi
jbe 0x411f48
jmp 0x411f46
cmp eax, 6
jne 0x411f1c
mov esi, dword [esp + 0x10]
jmp 0x411f48
cmp eax, 7
jne 0x411f27
mov esi, dword [esp + 0x14]
jmp 0x411f48
cmp eax, 0x10
jne 0x411f3a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp eax, esi
jbe 0x411f48
jmp 0x411f46
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp eax, esi
jbe 0x411f48
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xcccccccd
lea ecx, [esp + 0x48]
mul esi
shr edx, 2
mov dword [edi + 0x3c], edx
mov byte [esp + 0x338], 0
call fcn.004151b0
lea ecx, [esp + 8]
mov dword [esp + 0x338], 0xffffffff
call fcn.00424f94
pop esi
mov ecx, dword [esp + 0x32c]
pop edi
mov dword fs:[0], ecx
add esp, 0x334
ret 4