Function at 0x41a790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2033
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x4e143c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x814], ebx
cmp dword [edi + 0x208], ebx
jne 0x41a980
call fcn.00402110
push 0x1a
xor eax, eax
mov dword [ebp - 0x868], ebx
push str.SoftwareXuanZhiLDPlayer9
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x858], ebx
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
call fcn.00402a50
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0048da50
add esp, 0xc
mov dword [ebp - 0x84c], ebx
cmp dword [ebp - 0x854], 8
lea ecx, [ebp - 0x84c]
lea eax, [ebp - 0x868]
cmovae eax, dword [ebp - 0x868]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41a896
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x830], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push str.InstallDir
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x81c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x818], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a8c0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00402a50
lea eax, [ebp - 0x82c]
mov ebx, 6
push eax
lea ecx, [edi + 0x1f8]
call fcn.00403e00
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x41a939
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a92f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad43
push edx
push ecx
call fcn.0048bac4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x41a980
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a976
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad43
push edx
push ecx
call fcn.0048bac4
add esp, 8
cmp dword [edi + 0x20c], 8
lea esi, [edi + 0x1f8]
mov eax, esi
jb 0x41a993
mov eax, dword [esi]
push eax
push str.read_reg:_path_is__s
push 0xe2
push str.XZModel::_calcInstallPath
call fcn.00429810
add esp, 0x10
cmp dword [edi + 0x208], 0
je 0x41aa19
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xc
jb 0x41ad48
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41a9d1
mov eax, dword [esi]
push 0xc
push str.dnplayer.exe
push ecx
push eax
push ecx
push dword [ebp - 0x814]
lea ecx, [ebp - 0x82c]
call fcn.004044b0
or ebx, 8
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 1
or ebx, 1
push eax
mov dword [ebp - 0x814], ebx
call fcn.0042de20
add esp, 4
mov byte [ebp - 0x84d], 1
test al, al
je 0x41aa20
mov byte [ebp - 0x84d], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41aa6c
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x41aa6c
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad4d
push edx
push ecx
call fcn.0048bac4
add esp, 8
cmp byte [ebp - 0x84d], 0
je 0x41aaa5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41aa7f
mov eax, dword [esi]
push eax
push str._s_is_not_exist_player
push 0xe6
push str.XZModel::_calcInstallPath
call fcn.00429810
add esp, 0x10
mov ecx, esi
push 0
push 0x4cadec
call fcn.00402a50
lea ecx, [edi + 0x1e0]
cmp ecx, esi
je 0x41aac2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41aab9
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00402a50
cmp dword [edi + 0x208], 0
jne 0x41ac3b
lea edx, [edi + 0x228]
lea ecx, [ebp - 0x82c]
call fcn.0040b5f0
mov dword [ebp - 4], 2
call fcn.00402110
push 0x13
xor eax, eax
mov dword [ebp - 0x868], 0
push str.LDPlayerLDPlayer9_
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
call fcn.00402a50
mov byte [ebp - 4], 3
lea eax, [ebp - 0x868]
cmp dword [ebp - 0x854], 8
lea ecx, [ebp - 0x82c]
push dword [ebp - 0x858]
cmovae eax, dword [ebp - 0x868]
push eax
call fcn.00402bb0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x41ab93
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad52
push edx
push ecx
call fcn.0048bac4
add esp, 8
lea eax, [ebp - 0x82c]
cmp esi, eax
je 0x41abb9
cmp dword [ebp - 0x818], 8
mov ecx, esi
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00402a50
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41abc3
mov eax, dword [esi]
push eax
push str.get_install_path_from_MaxFreeSpace:__s
push 0x105
push str.XZModel::_calcInstallPath
call fcn.00429810
lea ecx, [edi + 0x210]
add esp, 0x10
cmp ecx, esi
je 0x41abf8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41abef
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00402a50
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x41ad27
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad52
jmp 0x41ad1d
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 5
jb 0x41ad57
cmp dword [esi + 0x14], 8
jb 0x41ac56
mov esi, dword [esi]
push 5
push str._vms_
push ecx
push esi
push ecx
push dword [ebp - 0x814]
lea ecx, [ebp - 0x848]
call fcn.004044b0
lea eax, [ebp - 0x848]
mov dword [ebp - 4], 4
push eax
call fcn.0042de20
add esp, 4
test al, al
je 0x41ac92
mov byte [edi + 0x1dc], 1
lea edx, [edi + 0x228]
lea ecx, [ebp - 0x880]
call fcn.0040b5f0
push eax
lea ecx, [edi + 0x210]
call fcn.00403e00
mov edx, dword [ebp - 0x86c]
cmp edx, 8
jb 0x41aceb
mov ecx, dword [ebp - 0x880]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ace1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad5c
push edx
push ecx
call fcn.0048bac4
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x41ad27
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ad61
push edx
push ecx
call fcn.0048bac4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b62c
mov esp, ebp
pop ebp
ret
call fcn.004952eb
call fcn.004020f0
call fcn.004952eb
call fcn.004952eb
call fcn.004020f0
call fcn.004952eb
call fcn.004952eb
int3