Function at 0x42b300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529082
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x57f7a0]
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 ebx, ecx
lea eax, [ebp - 0x1bc]
push eax
push str.SoftwareXuanZhiLDPlayer9
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42b45b
cmp dword [ebx + 0x3c], 8
lea ecx, [ebx + 0x28]
mov eax, dword [ecx + 0x10]
jb 0x42b363
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallDir
push dword [ebp - 0x1bc]
call edi
cmp dword [ebx + 0x70], 8
lea ecx, [ebx + 0x5c]
mov eax, dword [ecx + 0x10]
jb 0x42b38b
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [ebp - 0x1bc]
call edi
cmp dword [ebx + 0x54], 8
lea ecx, [ebx + 0x40]
mov eax, dword [ecx + 0x10]
jb 0x42b3b3
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DataDir
push dword [ebp - 0x1bc]
call edi
cmp dword [ebx + 0xb8], 8
lea esi, [ebx + 0xa4]
mov eax, dword [esi + 0x10]
jb 0x42b3e3
mov ecx, dword [esi]
jmp 0x42b3e5
mov ecx, esi
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallProgress
push dword [ebp - 0x1bc]
call edi
lea eax, [ebp - 0x1c8]
push eax
call fcn.004ec2eb
add esp, 4
lea eax, [ebp - 0x1c8]
push 8
push eax
push 4
push 0
push str.installTime
push dword [ebp - 0x1bc]
call edi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x42b433
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.InstallProgress
push dword [ebp - 0x1bc]
call edi
push dword [ebp - 0x1bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42b472
push str.install_writeRegedit__key__INSTALL_REG_LOCATION__failed_
push 0x12c
push str.SimulatorSetupCore::_writeRegedit
call fcn.00439030
add esp, 0xc
push 0x3d
xor eax, eax
mov dword [ebp - 0x18c], 7
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer9
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], 0
mov word [ebp - 0x1a0], ax
call fcn.00407470
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
cmp dword [ebp - 0x18c], 8
lea eax, [ebp - 0x1a0]
push ecx
cmovae eax, dword [ebp - 0x1a0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x42b915
push 5
lea eax, [ebp - 0x1b8]
mov ecx, ebx
push eax
call fcn.0042f8f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b8]
mov eax, dword [ebp - 0x1a8]
cmp dword [ebp - 0x1a4], 8
cmovae ecx, dword [ebp - 0x1b8]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x1bc]
call edi
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004f31f0
push 0x80
push str.player_window
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.004eb0bb
lea eax, [ebp - 0x110]
push eax
call fcn.004a32d0
mov edx, eax
add esp, 0x24
test edx, edx
jne 0x42b582
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.004a2410
lea eax, [ebp - 0x110]
push eax
call fcn.004a32d0
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
cmp word [edx], ax
jne 0x42b5a8
xor ecx, ecx
jmp 0x42b5bf
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b5b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.00407470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x12c], 8
cmovae ecx, dword [ebp - 0x140]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayName
push dword [ebp - 0x1bc]
call edi
push 4
lea eax, [ebp - 0x188]
mov ecx, ebx
push eax
call fcn.0042f8f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x174], 8
cmovae ecx, dword [ebp - 0x188]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x1bc]
call edi
push 0x22
xor eax, eax
mov dword [ebp - 0x114], 7
push str.XUANZHI_INTERNATIONAL_CO.__LIMITED
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.00407470
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x114], 8
cmovae ecx, dword [ebp - 0x128]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Publisher
push dword [ebp - 0x1bc]
call edi
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004f31f0
push 0x80
push str.link_product
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.004eb0bb
lea eax, [ebp - 0x110]
push eax
call fcn.004a32d0
mov edx, eax
add esp, 0x24
test edx, edx
jne 0x42b716
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.004a2410
lea eax, [ebp - 0x110]
push eax
call fcn.004a32d0
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
cmp word [edx], ax
jne 0x42b73c
xor ecx, ecx
jmp 0x42b750
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b741
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.00407470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x144], 8
cmovae ecx, dword [ebp - 0x158]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x1bc]
call edi
push 6
xor eax, eax
mov dword [ebp - 0x15c], 7
push str.9.0.71
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x160], 0
mov word [ebp - 0x170], ax
call fcn.00407470
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x170]
cmp dword [ebp - 0x15c], 8
cmovae ecx, dword [ebp - 0x170]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x1bc]
call edi
cmp dword [ebp - 0x15c], 8
jb 0x42b80f
push dword [ebp - 0x170]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], 7
cmp dword [ebp - 0x144], 8
mov dword [ebp - 0x160], 0
mov word [ebp - 0x170], ax
jb 0x42b843
push dword [ebp - 0x158]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x144], 7
cmp dword [ebp - 0x114], 8
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
jb 0x42b877
push dword [ebp - 0x128]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], 7
cmp dword [ebp - 0x174], 8
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
jb 0x42b8ab
push dword [ebp - 0x188]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x174], 7
cmp dword [ebp - 0x12c], 8
mov dword [ebp - 0x178], 0
mov word [ebp - 0x188], ax
jb 0x42b8df
push dword [ebp - 0x140]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x12c], 7
cmp dword [ebp - 0x1a4], 8
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
jb 0x42b92c
push dword [ebp - 0x1b8]
call fcn.004db8b0
add esp, 4
jmp 0x42b92c
push str.install_writeRegedit__key__UNINSTALL_REG_LOCATION__failed_
push 0x14e
push str.SimulatorSetupCore::_writeRegedit
call fcn.00439030
add esp, 0xc
push dword [ebp - 0x1bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18c], 8
jb 0x42b94f
push dword [ebp - 0x1a0]
call fcn.004db8b0
add esp, 4
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.004ea604
mov esp, ebp
pop ebp
ret