Function at 0x41ff90
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov eax, 0x205c
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x2058], eax
push ebp
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov ebp, ecx
push 0
push 0
push 0x1009
push 0x2760
push dword [0x4def88]
mov dword [esp + 0x2c], ebp
call edi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push eax
call esi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1878], ax
lea eax, [esp + 0x187a]
push eax
call fcn.0048e770
add esp, 0x18
lea eax, [esp + 0x20]
push eax
push 0x14
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x1864]
push eax
push dword [esp + 0x24]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4202a1
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1868]
push 0x4ad2c0
push eax
call ebx
push 0x27c0
push dword [0x4def88]
call edi
mov edi, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ebp
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4202a0
push 0x7fe
push eax
mov dword [esp + 0x28], eax
mov word [esp + 0x1070], ax
lea eax, [esp + 0x1072]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x87c], ax
lea eax, [esp + 0x87e]
push eax
call fcn.0048e770
add esp, 0x18
mov dword [esp + 0x18], 0x400
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x86c]
push eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x107c]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x420296
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [0x4c5194], 0
je 0x4202b9
push 0x4ae754
lea eax, [esp + 0x86c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x420183
lea eax, [esp + 0x1868]
push eax
lea eax, [esp + 0x6c]
push eax
call ebp
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x6c]
push eax
call ebx
push 0
push 0x80
push 3
push 0
push 5
push 0x80000000
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x420197
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x420246
lea ecx, [esp + 0x868]
call fcn.004785b0
test eax, eax
je 0x420246
push 0
push 0
push 0x1004
push edi
mov dword [0x4cfb28], 9
call esi
mov dword [0x4cfb10], eax
lea eax, [esp + 0x68]
push 0x4aebd0
push eax
mov dword [0x4cfb14], 0
call ebp
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
call ebx
push 0x4cfb0c
push 0
push 0x104d
lea eax, [esp + 0x74]
push edi
mov dword [0x4cfb20], eax
call esi
lea eax, [esp + 0x1068]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
push 0x1074
push edi
call esi
lea eax, [esp + 0x868]
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
push 0x1074
push edi
call esi
push 0x1869f
push 0
push 0x1014
push edi
call esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x86c]
mov dword [esp + 0x1c], 0x400
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0x400
push ecx
push 0
lea ecx, [esp + 0x28]
inc eax
push ecx
lea ecx, [esp + 0x107c]
mov dword [esp + 0x34], eax
push ecx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x420110
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [esp + 0x2064]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048d815
add esp, 0x205c
ret
call fcn.00422740
int3