Function at 0x40a2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51677b
mov eax, dword fs:[0]
push eax
sub esp, 0xc48
mov eax, dword [0x5749c8]
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 esi, ecx
cmp byte [esi + 0x555], 0
je 0x40a570
mov eax, dword [esi + 0x48]
push eax
lea ecx, [ebp - 0xc44]
call fcn.00401f70
mov edx, dword [str.SOFTWAREConexantSA3]
xor eax, eax
mov dword [ebp - 4], eax
cmp edx, eax
je 0x40a34f
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a340
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x558]
call fcn.004019a0
mov eax, dword [esi + 0x55c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40a521
push str.FLOW
push eax
call fcn.0050028f
add esp, 8
test eax, eax
jne 0x40a456
mov eax, dword [ebp - 0xc44]
cmp dword [eax - 0xc], 0
jl 0x40a456
push str._ControlPanel
push eax
call fcn.004ffd17
add esp, 8
test eax, eax
je 0x40a456
sub eax, dword [ebp - 0xc44]
sar eax, 1
cmp eax, 0xffffffff
je 0x40a456
mov ecx, dword [str.SOFTWAREConexantSA3]
push ecx
lea ecx, [esi + 0x558]
call fcn.00401c20
push 0x5269fc
lea ecx, [esi + 0x558]
call fcn.00409bd0
mov eax, dword [esi + 0x558]
lea edx, [ebp - 0xc50]
push edx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a456
mov edx, dword [ebp - 0xc50]
lea eax, [ebp - 0xc4c]
push eax
lea ecx, [ebp - 0x628]
push ecx
push 0
push 0
push str.CplExeFile
push edx
mov dword [ebp - 0xc4c], 0x30c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a456
mov eax, dword [esi + 0x48]
push ecx
mov ecx, esp
mov dword [ebp - 0xc48], esp
push eax
call fcn.00401f70
push 0
push 0
mov ecx, esi
call fcn.00409c30
mov dword [esi + 0x48], 0x5254ac
mov edx, dword [str.SOFTWAREConexantSA3]
test edx, edx
jne 0x40a464
xor eax, eax
jmp 0x40a47f
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a470
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x558]
call fcn.004019a0
push 1
push 0x5269f8
lea ecx, [esi + 0x558]
call fcn.00404110
mov eax, dword [esi + 0x55c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esi + 0x558]
call fcn.00404110
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 0xc50]
push ecx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a50a
mov ecx, dword [ebp - 0xc50]
lea edx, [ebp - 0xc4c]
push edx
lea eax, [ebp - 0x628]
push eax
push 0
push 0
push str.CplExeFile
push ecx
mov dword [ebp - 0xc4c], 0x30c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a521
mov eax, dword [esi + 0x55c]
push eax
push str.Conexant
lea ecx, [esi + 0x558]
call fcn.00403b40
mov edx, dword [esi + 0x48]
push ecx
mov ecx, esp
mov dword [ebp - 0xc48], esp
push edx
call fcn.00401f70
push 0
push 0
mov ecx, esi
call fcn.00409c30
mov eax, dword [ebp - 0xc44]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40a6de
mov ecx, dword [esi + 0x55c]
cmp dword [ecx - 0xc], 0
je 0x40a631
push 1
push 0x5269f8
lea ecx, [esi + 0x558]
call fcn.00404110
mov eax, dword [esi + 0x55c]
mov edx, dword [eax - 0xc]
push edx
push eax
lea ecx, [esi + 0x558]
call fcn.00404110
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 0xc48]
push ecx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a5fe
mov ecx, dword [ebp - 0xc48]
lea edx, [ebp - 0xc54]
push edx
lea eax, [ebp - 0xc40]
push eax
push 0
push 0
push str.CplExeFile
push ecx
mov dword [ebp - 0xc54], 0x30c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a615
mov edx, dword [esi + 0x55c]
push edx
push str.Conexant
lea ecx, [esi + 0x558]
call fcn.00403b40
push ecx
mov ecx, esp
mov dword [ebp - 0xc44], esp
push 0x5269e2
call fcn.004043b0
push 0
push 0
jmp 0x40a6d7
cmp byte [esi + 0x549], 0
je 0x40a659
push ecx
mov ecx, esp
mov dword [ebp - 0xc44], esp
push 0x5269e2
call fcn.004043b0
movzx eax, byte [esi + 0x553]
push eax
push 4
jmp 0x40a6d7
cmp byte [ebp + 8], 0
jne 0x40a6ba
cmp byte [esi + 0x548], 0
je 0x40a687
push ecx
mov ecx, esp
mov dword [ebp - 0xc44], esp
push 0x5269e2
call fcn.004043b0
movzx edx, byte [esi + 0x553]
push edx
push 3
jmp 0x40a6d7
cmp byte [esi + 0x554], 0
je 0x40a6ba
mov ecx, esi
call fcn.00404d30
test al, al
je 0x40a6de
push ecx
mov ecx, esp
mov dword [ebp - 0xc44], esp
push 0x5269e2
call fcn.004043b0
movzx eax, byte [esi + 0x553]
push eax
push 2
jmp 0x40a6d7
push ecx
mov ecx, esp
mov dword [ebp - 0xc44], esp
push 0x5269e2
call fcn.004043b0
movzx ecx, byte [esi + 0x553]
push ecx
push 1
mov ecx, esi
call fcn.00409c30
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.004ffbb1
mov esp, ebp
pop ebp
ret 4