Function at 0x41bae0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x95c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x958], eax
push ebx
push esi
push edi
push 0x27c4
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0x1009
push esi
call edi
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x82]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.Software_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41bef9
xor eax, eax
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x154]
push eax
push 0
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
je 0x41beef
nop dword [eax]
inc dword [esp + 0x1c]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x34c]
mov dword [esp + 0x1c], 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.microsoft
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41bec1
push str.classes
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41bec1
push str.odbc
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41bec1
push str.policies
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41bec1
mov eax, dword [0x4ae67c]
movups xmm0, xmmword [str.Software_]
push 0x1f4
mov dword [esp + 0x564], eax
lea eax, [esp + 0x568]
push 0
push eax
movups xmmword [esp + 0x55c], xmm0
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x20019
push 0
lea eax, [esp + 0x55c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bec1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x104
push eax
lea eax, [esp + 0x76c]
push eax
push 0
push dword [esp + 0x2c]
call ebx
cmp eax, 0x103
je 0x41bdf3
nop dword [eax]
inc dword [esp + 0x14]
push 0
push 0
push 0x1004
push esi
mov dword [esp + 0x38], 0x104
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], 0
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x758]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x76c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x2c]
call ebx
cmp eax, 0x103
jne 0x41bcf0
jmp 0x41beb7
push 0
push 0
push 0x1004
push esi
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], 0
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x140]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x34]
push eax
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
jne 0x41bbb0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x20019
push 0
push str.Software_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c2d5
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x154]
push eax
push 0
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
je 0x41c2cb
nop dword [eax]
inc dword [esp + 0x14]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x554]
mov dword [esp + 0x1c], 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.microsoft
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c29d
push str.classes
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c29d
push str.odbc
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c29d
push str.policies
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c29d
mov eax, dword [0x4ae67c]
movups xmm0, xmmword [str.Software_]
push 0x1f4
mov dword [esp + 0x35c], eax
lea eax, [esp + 0x360]
push 0
push eax
movups xmmword [esp + 0x354], xmm0
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x20019
push 0
lea eax, [esp + 0x354]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c29d
xor ebx, ebx
mov dword [esp + 0x1c], 0x104
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x76c]
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x41c1b9
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041c710
test eax, eax
jne 0x41c186
push eax
push eax
push 0x1004
push esi
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], 0
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x758]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x76c]
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x41c0a0
jmp 0x41c28d
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041c710
test eax, eax
jne 0x41c28d
push eax
push eax
push 0x1004
push esi
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], ebx
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x140]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
jne 0x41bf60
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x20019
push 0
push str..DEFAULTSoftware_
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c6d5
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x154]
push eax
push 0
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
je 0x41c6cb
nop dword [eax + eax]
inc dword [esp + 0x14]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x554]
mov dword [esp + 0x1c], 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.microsoft
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c69d
push str.classes
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c69d
push str.odbc
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c69d
push str.policies
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c69d
movups xmm0, xmmword [str..DEFAULTSoftware_]
mov eax, dword [0x4ae718]
mov dword [esp + 0x368], eax
mov ax, word [0x4ae71c]
movups xmmword [esp + 0x348], xmm0
push 0x1e2
movups xmm0, xmmword [0x4ae708]
mov word [esp + 0x370], ax
lea eax, [esp + 0x372]
push 0
push eax
movups xmmword [esp + 0x364], xmm0
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x20019
push 0
lea eax, [esp + 0x354]
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c69d
xor ebx, ebx
mov dword [esp + 0x1c], 0x104
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x76c]
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x41c5b9
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041c710
test eax, eax
jne 0x41c586
push eax
push eax
push 0x1004
push esi
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], 0
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x758]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x76c]
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x41c4a0
jmp 0x41c68d
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041c710
test eax, eax
jne 0x41c68d
push eax
push eax
push 0x1004
push esi
call edi
push 0x4cfad0
push 0
mov dword [0x4cfad4], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4cfad8], ebx
mov dword [0x4cfae4], eax
call edi
lea eax, [esp + 0x140]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x34], 2
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfad4]
push 0x1074
push esi
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x28]
call ebx
cmp eax, 0x103
jne 0x41c340
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x477150
push 1
push 0x1051
push esi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], esi
call edi
call fcn.0041a4f0
mov ecx, dword [esp + 0x964]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
mov esp, ebp
pop ebp
ret