Function at 0x41ba40
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.0048e770
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push 0x4ae66c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41be59
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 0x41be4f
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 0x4ae680
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41be21
push 0x4ae694
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41be21
push 0x4ae6a4
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41be21
push 0x4ae6b0
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41be21
mov eax, dword [0x4ae67c]
movups xmm0, xmmword [0x4ae66c]
push 0x1f4
mov dword [esp + 0x564], eax
lea eax, [esp + 0x568]
push 0
push eax
movups xmmword [esp + 0x55c], xmm0
call fcn.0048e770
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 0x41be21
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 0x41bd53
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41bc50
jmp 0x41be17
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41bb10
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 0x4ae66c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c235
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 0x41c22b
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 0x4ae680
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c1fd
push 0x4ae694
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c1fd
push 0x4ae6a4
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c1fd
push 0x4ae6b0
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c1fd
mov eax, dword [0x4ae67c]
movups xmm0, xmmword [0x4ae66c]
push 0x1f4
mov dword [esp + 0x35c], eax
lea eax, [esp + 0x360]
push 0
push eax
movups xmmword [esp + 0x354], xmm0
call fcn.0048e770
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 0x41c1fd
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 0x41c119
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041c670
test eax, eax
jne 0x41c0e6
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41c000
jmp 0x41c1ed
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041c670
test eax, eax
jne 0x41c1ed
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41bec0
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 0x4ae6f8
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c635
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 0x41c62b
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 0x4ae680
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c5fd
push 0x4ae694
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c5fd
push 0x4ae6a4
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c5fd
push 0x4ae6b0
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c5fd
movups xmm0, xmmword [0x4ae6f8]
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.0048e770
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 0x41c5fd
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 0x41c519
nop word [eax + eax]
lea edx, [esp + 0x758]
mov dword [esp + 0x1c], 0x104
lea ecx, [esp + 0x140]
inc ebx
call fcn.0041c670
test eax, eax
jne 0x41c4e6
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41c400
jmp 0x41c5ed
lea edx, [esp + 0x140]
mov ecx, edx
call fcn.0041c670
test eax, eax
jne 0x41c5ed
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 0x4ae6c4
lea eax, [esp + 0x90]
push 0x64
push eax
call fcn.0040a370
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 0x41c2a0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4770b0
push 1
push 0x1051
push esi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], esi
call edi
call fcn.0041a450
mov ecx, dword [esp + 0x964]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret