Function at 0x41ffd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cba3
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x55f904]
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 + 0x2f4], ebx
jne 0x4201c0
call fcn.00402800
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.00403460
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.004f0080
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 reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4200d6
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 0x420100
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00403460
lea eax, [ebp - 0x82c]
mov ebx, 6
push eax
lea ecx, [edi + 0x2e4]
call fcn.004051a0
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x420179
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42016f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420583
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x4201c0
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4201b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420583
push edx
push ecx
call fcn.004ee3ca
add esp, 8
cmp dword [edi + 0x2f8], 8
lea esi, [edi + 0x2e4]
mov eax, esi
jb 0x4201d3
mov eax, dword [esi]
push eax
push str.read_reg:_path_is__s
push 0xd8
push str.XZModel::_calcInstallPath
call fcn.0042e960
add esp, 0x10
cmp dword [edi + 0x2f4], 0
je 0x420259
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 0xc
jb 0x420588
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420211
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.00406140
or ebx, 8
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 1
or ebx, 1
push eax
mov dword [ebp - 0x814], ebx
call fcn.004339f0
add esp, 4
mov byte [ebp - 0x84d], 1
test al, al
je 0x420260
mov byte [ebp - 0x84d], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4202ac
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x4202ac
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4202a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42058d
push edx
push ecx
call fcn.004ee3ca
add esp, 8
cmp byte [ebp - 0x84d], 0
je 0x4202e5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4202bf
mov eax, dword [esi]
push eax
push str._s_is_not_exist_player
push 0xdc
push str.XZModel::_calcInstallPath
call fcn.0042e960
add esp, 0x10
mov ecx, esi
push 0
push 0x545f8c
call fcn.00403460
lea ecx, [edi + 0x2cc]
cmp ecx, esi
je 0x420302
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4202f9
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403460
cmp dword [edi + 0x2f4], 0
jne 0x42047b
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x82c]
call fcn.0040e100
mov dword [ebp - 4], 2
call fcn.00402800
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.00403460
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.004035c0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x4203d3
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4203c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420592
push edx
push ecx
call fcn.004ee3ca
add esp, 8
lea eax, [ebp - 0x82c]
cmp esi, eax
je 0x4203f9
cmp dword [ebp - 0x818], 8
mov ecx, esi
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00403460
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420403
mov eax, dword [esi]
push eax
push str.get_install_path_from_MaxFreeSpace:__s
push 0xfb
push str.XZModel::_calcInstallPath
call fcn.0042e960
lea ecx, [edi + 0x2fc]
add esp, 0x10
cmp ecx, esi
je 0x420438
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42042f
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403460
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x420567
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42055d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420592
jmp 0x42055d
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 5
jb 0x420597
cmp dword [esi + 0x14], 8
jb 0x420496
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.00406140
lea eax, [ebp - 0x848]
mov dword [ebp - 4], 4
push eax
call fcn.004339f0
add esp, 4
test al, al
je 0x4204d2
mov byte [edi + 0x2c8], 1
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x880]
call fcn.0040e100
push eax
lea ecx, [edi + 0x2fc]
call fcn.004051a0
mov edx, dword [ebp - 0x86c]
cmp edx, 8
jb 0x42052b
mov ecx, dword [ebp - 0x880]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42059c
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x420567
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42055d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205a1
push edx
push ecx
call fcn.004ee3ca
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.004edf30
mov esp, ebp
pop ebp
ret
call fcn.004f890c
call fcn.004027e0
call fcn.004f890c
call fcn.004f890c
call fcn.004027e0
call fcn.004f890c
call fcn.004f890c
int3