Function at 0x403704
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43feed
call fcn.004151bc
sub esp, 0x630
mov al, byte [ebp + 0xb]
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
call fcn.00404e00
mov esi, 0x467e68
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x7c]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], edi
mov byte [ebp - 0xac], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push 1
pop ebx
lea ecx, [ebp - 0x9c]
push edi
mov byte [ebp - 4], bl
mov byte [ebp - 0x9c], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x9c]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
mov byte [ebp - 0x8c], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x8c]
call fcn.00404e9a
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.00404927
mov byte [ebp - 4], 8
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.00404e00
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.00404e00
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
cmp eax, edi
jne 0x403c67
lea eax, [ebp - 0x63c]
push 0x400
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x63c]
push str.PDUninst.exe
push eax
call fcn.00415490
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push str.SoftwareMatroxPowerDeskVersion6CurrentSettings
push 0x80000002
jne 0x403adc
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ac0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x100
push eax
lea eax, [ebp - 0x23c]
push eax
push edi
push edi
push str.InstalledLanguages
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ab2
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
mov byte [ebp - 0x44], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x54], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x34], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00404e9a
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xec]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xc
call fcn.00404927
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.00404e00
mov byte [ebp - 4], 0xf
push ebx
lea ecx, [ebp - 0x44]
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00404e00
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
call fcn.00404e00
lea eax, [ebp - 0x23c]
push eax
call fcn.00415410
pop ecx
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404e9a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x12
call fcn.00404389
push 0x40
lea eax, [ebp - 0xec]
push edi
push eax
call fcn.00415690
add esp, 0xc
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0x64]
mov byte [ebp + 0xb], 0x2c
push ebx
push edi
push eax
call fcn.00404c75
mov esi, eax
lea eax, [ebp - 0xfc]
push esi
push edi
push eax
lea ecx, [ebp - 0x64]
call fcn.004047fb
push dword [0x444460]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x13
push edi
push eax
call fcn.00404afc
push ebx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x12
call fcn.00404e00
lea eax, [esi + 1]
lea ecx, [ebp - 0x64]
push eax
push edi
call fcn.00404794
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004041b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xec]
push eax
call fcn.004043ca
test al, al
je 0x403a8d
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xec]
push edx
lea ecx, [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00404e3c
cmp esi, 0xffffffff
jne 0x4039d1
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.00404e00
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 5
call fcn.004032cb
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403c73
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0xc]
add eax, 0x24
push eax
lea eax, [ebp + 8]
push edx
push eax
call fcn.00404e3c
jmp 0x403c73
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c73
mov dword [ebp + 8], 0x100
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x14
mov byte [ebp - 0x54], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x44], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00404e9a
mov al, byte [ebp + 0xb]
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
mov byte [ebp - 0x24], al
call fcn.00404e00
push esi
call fcn.00415410
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00404e9a
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xec]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x17
call fcn.00404927
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.00404e00
mov byte [ebp - 4], 0x1a
push ebx
lea ecx, [ebp - 0x54]
call fcn.00404e00
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x19
call fcn.00404e00
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x23c]
push eax
push edi
push edi
push str.SelectedLanguage
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403c33
lea eax, [ebp - 0x23c]
push eax
call fcn.00415410
pop ecx
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00404e9a
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004041b0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xec]
push edx
lea ecx, [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00404e3c
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 5
call fcn.004032cb
jmp 0x403c73
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [eax + 0xc]
call fcn.004048b2
mov ecx, dword [ebp - 0x10]
call fcn.00403cf4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004032cb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4