Function at 0x41be50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x95c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x958], eax
push ebx
push esi
push edi
push 0x27c4
push dword [0x4e6030]
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.0048fb10
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 0x41c269
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 0x41c25f
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 0x41c231
push str.classes
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c231
push str.odbc
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c231
push str.policies
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c231
mov eax, dword [0x4b48bc]
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.0048fb10
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 0x41c231
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 0x41c163
nop dword [eax]
inc dword [esp + 0x14]
push 0
push 0
push 0x1004
push esi
mov dword [esp + 0x38], 0x104
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], 0
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41c060
jmp 0x41c227
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], 0
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41bf20
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 0x41c645
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 0x41c63b
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 0x41c60d
push str.classes
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c60d
push str.odbc
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c60d
push str.policies
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c60d
mov eax, dword [0x4b48bc]
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.0048fb10
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 0x41c60d
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 0x41c529
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041ca80
test eax, eax
jne 0x41c4f6
push eax
push eax
push 0x1004
push esi
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], 0
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41c410
jmp 0x41c5fd
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041ca80
test eax, eax
jne 0x41c5fd
push eax
push eax
push 0x1004
push esi
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], ebx
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41c2d0
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 0x41ca45
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 0x41ca3b
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 0x41ca0d
push str.classes
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41ca0d
push str.odbc
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41ca0d
push str.policies
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41ca0d
movups xmm0, xmmword [str..DEFAULTSoftware_]
mov eax, dword [0x4b4958]
mov dword [esp + 0x368], eax
mov ax, word [0x4b495c]
movups xmmword [esp + 0x348], xmm0
push 0x1e2
movups xmm0, xmmword [0x4b4948]
mov word [esp + 0x370], ax
lea eax, [esp + 0x372]
push 0
push eax
movups xmmword [esp + 0x364], xmm0
call fcn.0048fb10
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 0x41ca0d
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 0x41c929
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041ca80
test eax, eax
jne 0x41c8f6
push eax
push eax
push 0x1004
push esi
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], 0
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41c810
jmp 0x41c9fd
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041ca80
test eax, eax
jne 0x41c9fd
push eax
push eax
push 0x1004
push esi
call edi
push 0x4d6b10
push 0
mov dword [0x4d6b14], eax
lea eax, [esp + 0x148]
push 0x104d
push esi
mov dword [0x4d6b18], ebx
mov dword [0x4d6b24], 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 [0x4d6b14]
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.0040a420
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 [0x4d6b14]
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 0x41c6b0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x478350
push 1
push 0x1051
push esi
mov dword [0x4e5c18], 0
mov dword [0x4e5c14], esi
call edi
call fcn.0041a860
mov ecx, dword [esp + 0x964]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ea75
mov esp, ebp
pop ebp
ret