Function at 0x420570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d1a3
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x55e904]
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 0x420760
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.004039a0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.004f05a0
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 0x420676
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 0x4206a0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.004039a0
lea eax, [ebp - 0x82c]
mov ebx, 6
push eax
lea ecx, [edi + 0x2e4]
call fcn.004055e0
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x420719
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42070f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b23
push edx
push ecx
call fcn.004ee8e8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x420760
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420756
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b23
push edx
push ecx
call fcn.004ee8e8
add esp, 8
cmp dword [edi + 0x2f8], 8
lea esi, [edi + 0x2e4]
mov eax, esi
jb 0x420773
mov eax, dword [esi]
push eax
push str.read_reg:_path_is__s
push 0xd8
push str.XZModel::_calcInstallPath
call fcn.0042ee30
add esp, 0x10
cmp dword [edi + 0x2f4], 0
je 0x4207f9
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 0xc
jb 0x420b28
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4207b1
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.00406580
or ebx, 8
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 1
or ebx, 1
push eax
mov dword [ebp - 0x814], ebx
call fcn.00433ec0
add esp, 4
mov byte [ebp - 0x84d], 1
test al, al
je 0x420800
mov byte [ebp - 0x84d], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42084c
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x42084c
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b2d
push edx
push ecx
call fcn.004ee8e8
add esp, 8
cmp byte [ebp - 0x84d], 0
je 0x420885
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42085f
mov eax, dword [esi]
push eax
push str._s_is_not_exist_player
push 0xdc
push str.XZModel::_calcInstallPath
call fcn.0042ee30
add esp, 0x10
mov ecx, esi
push 0
push 0x545f8c
call fcn.004039a0
lea ecx, [edi + 0x2cc]
cmp ecx, esi
je 0x4208a2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420899
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004039a0
cmp dword [edi + 0x2f4], 0
jne 0x420a1b
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x82c]
call fcn.0040e510
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.004039a0
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.00403b00
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x420973
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b32
push edx
push ecx
call fcn.004ee8e8
add esp, 8
lea eax, [ebp - 0x82c]
cmp esi, eax
je 0x420999
cmp dword [ebp - 0x818], 8
mov ecx, esi
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.004039a0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4209a3
mov eax, dword [esi]
push eax
push str.get_install_path_from_MaxFreeSpace:__s
push 0xfb
push str.XZModel::_calcInstallPath
call fcn.0042ee30
lea ecx, [edi + 0x2fc]
add esp, 0x10
cmp ecx, esi
je 0x4209d8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4209cf
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004039a0
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x420b07
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420afd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b32
jmp 0x420afd
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 5
jb 0x420b37
cmp dword [esi + 0x14], 8
jb 0x420a36
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.00406580
lea eax, [ebp - 0x848]
mov dword [ebp - 4], 4
push eax
call fcn.00433ec0
add esp, 4
test al, al
je 0x420a72
mov byte [edi + 0x2c8], 1
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x880]
call fcn.0040e510
push eax
lea ecx, [edi + 0x2fc]
call fcn.004055e0
mov edx, dword [ebp - 0x86c]
cmp edx, 8
jb 0x420acb
mov ecx, dword [ebp - 0x880]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b3c
push edx
push ecx
call fcn.004ee8e8
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x420b07
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420afd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420b41
push edx
push ecx
call fcn.004ee8e8
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.004ee450
mov esp, ebp
pop ebp
ret
call fcn.004f8e2c
call fcn.004027e0
call fcn.004f8e2c
call fcn.004f8e2c
call fcn.004027e0
call fcn.004f8e2c
call fcn.004f8e2c
int3