Function at 0x416bf0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb1c3
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4f07b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1f0]
push eax
push str.SoftwareXuanZhiOSLink
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x416de5
cmp dword [edi + 0x4c], 8
lea esi, [edi + 0x38]
jb 0x416c5b
mov eax, dword [esi]
jmp 0x416c5d
mov eax, esi
push eax
push str.pathToReg_installPath__s
push 0x351
push str.LDRemoteModel::pathToReg
call fcn.00424250
mov eax, dword [esi + 0x10]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x416c80
mov esi, dword [esi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.InstallDir
push dword [ebp - 0x1f0]
call ebx
push 8
xor eax, eax
mov dword [ebp - 0x118], 7
push 0x4d8b70
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
call fcn.00408c90
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x118], 8
cmovae ecx, dword [ebp - 0x12c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [ebp - 0x1f0]
call ebx
cmp dword [ebp - 0x118], 8
jb 0x416d14
push dword [ebp - 0x12c]
call fcn.004847d0
add esp, 4
mov edx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x144]
call fcn.0040d600
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x416d32
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.SystemD
push dword [ebp - 0x1f0]
call ebx
cmp dword [ebp - 0x130], 8
jb 0x416d63
push dword [ebp - 0x144]
call fcn.004847d0
add esp, 4
cmp dword [edi + 0x78], 0
je 0x416de5
mov ecx, edi
call fcn.00414bc0
test al, al
je 0x416d96
cmp dword [edi + 0x7c], 8
lea ecx, [edi + 0x68]
mov eax, dword [ecx + 0x10]
jb 0x416d82
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir64
jmp 0x416ddd
mov ecx, edi
call fcn.00414c20
lea ecx, [edi + 0x68]
test al, al
mov eax, dword [ecx + 0x10]
je 0x416dc3
cmp dword [ecx + 0x14], 8
jb 0x416daf
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir9
jmp 0x416ddd
cmp dword [ecx + 0x14], 8
jb 0x416dcb
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir
push dword [ebp - 0x1f0]
call ebx
add edi, 0x38
lea ecx, [ebp - 0x1ec]
push str.ldremote.exe
mov edx, edi
call fcn.00412490
lea eax, [ebp - 0x1ec]
mov dword [ebp - 4], 0
push eax
mov edx, 0x4daf90
lea ecx, [ebp - 0x144]
call fcn.0041cab0
push str.____pcstart
push eax
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 1
push eax
call fcn.0041cba0
add esp, 0x14
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], 8
jb 0x416e4c
push dword [ebp - 0x144]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x130], 7
cmp dword [ebp - 0x1d8], 8
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x1ec]
cmovae eax, dword [ebp - 0x1ec]
push eax
push 0x4daf94
push 0x365
push str.LDRemoteModel::pathToReg
mov dword [ebp - 0x134], 0
call fcn.00424250
add esp, 0x10
lea eax, [ebp - 0x1f0]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x416ef4
mov eax, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], 8
cmovae ecx, dword [ebp - 0x1d4]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.OSLink
push dword [ebp - 0x1f0]
call ebx
push dword [ebp - 0x1f0]
call esi
jmp 0x416f12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.auto_run_error__d
push 0x36d
push str.LDRemoteModel::pathToReg
call fcn.00424250
add esp, 0x10
push 0x34
xor eax, eax
mov dword [ebp - 0x148], 7
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
call fcn.00408c90
push 6
push str.OSLink
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 4
call fcn.0040c690
cmp dword [ebp - 0x148], 8
lea ecx, [ebp - 0x1f4]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x417358
push str.ldremoteuninst.exe
mov edx, edi
lea ecx, [ebp - 0x144]
call fcn.00412490
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x130], 8
cmovae ecx, dword [ebp - 0x144]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x1f4]
call ebx
push 0x100
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0048f480
push 0x80
push str.product_name
push 0x80
lea eax, [ebp - 0x114]
push eax
push 0
call fcn.0048b088
lea eax, [ebp - 0x114]
push eax
call fcn.0043d870
mov edx, eax
add esp, 0x24
test edx, edx
jne 0x417036
lea eax, [ebp - 0x114]
push eax
push eax
call fcn.0043c9b0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d870
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [ebp - 0x118], 7
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
cmp word [edx], ax
jne 0x41705c
xor ecx, ecx
jmp 0x41707a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417067
sub ecx, dword [ebp - 0x1f8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x12c]
call fcn.00408c90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 8
cmovae ecx, dword [ebp - 0x12c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayName
push dword [ebp - 0x1f4]
call ebx
push str.ldremote.exe
mov edx, edi
lea ecx, [ebp - 0x1bc]
call fcn.00412490
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x1a8], 8
cmovae ecx, dword [ebp - 0x1bc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x1f4]
call ebx
push 0x10
xor eax, eax
mov dword [ebp - 0x160], 7
push str.XuanZhi_Co._Ltd.
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], 0
mov word [ebp - 0x174], ax
call fcn.00408c90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x174]
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x160], 8
cmovae ecx, dword [ebp - 0x174]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Publisher
push dword [ebp - 0x1f4]
call ebx
push 0x11
xor eax, eax
mov dword [ebp - 0x190], 7
push str.http:__oslink.io_
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x194], 0
mov word [ebp - 0x1a4], ax
call fcn.00408c90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x190], 8
cmovae ecx, dword [ebp - 0x1a4]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x1f4]
call ebx
push 8
xor eax, eax
mov dword [ebp - 0x178], 7
push 0x4d8b70
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], 0
mov word [ebp - 0x18c], ax
call fcn.00408c90
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x18c]
cmp dword [ebp - 0x178], 8
cmovae ecx, dword [ebp - 0x18c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x4db184
push dword [ebp - 0x1f4]
call ebx
cmp dword [ebp - 0x178], 8
jb 0x417254
push dword [ebp - 0x18c]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x178], 7
cmp dword [ebp - 0x190], 8
mov dword [ebp - 0x17c], 0
mov word [ebp - 0x18c], ax
jb 0x417288
push dword [ebp - 0x1a4]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x190], 7
cmp dword [ebp - 0x160], 8
mov dword [ebp - 0x194], 0
mov word [ebp - 0x1a4], ax
jb 0x4172bc
push dword [ebp - 0x174]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x160], 7
cmp dword [ebp - 0x1a8], 8
mov dword [ebp - 0x164], 0
mov word [ebp - 0x174], ax
jb 0x4172f0
push dword [ebp - 0x1bc]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x1a8], 7
cmp dword [ebp - 0x118], 8
mov dword [ebp - 0x1ac], 0
mov word [ebp - 0x1bc], ax
jb 0x417324
push dword [ebp - 0x12c]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x118], 7
cmp dword [ebp - 0x130], 8
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
jb 0x417358
push dword [ebp - 0x144]
call fcn.004847d0
add esp, 4
push dword [ebp - 0x1f4]
call esi
cmp dword [ebp - 0x148], 8
jb 0x417377
push dword [ebp - 0x15c]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x148], 7
cmp dword [ebp - 0x1c0], 8
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
jb 0x4173ab
push dword [ebp - 0x1d4]
call fcn.004847d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c0], 7
cmp dword [ebp - 0x1d8], 8
mov dword [ebp - 0x1c4], 0
mov word [ebp - 0x1d4], ax
jb 0x4173df
push dword [ebp - 0x1ec]
call fcn.004847d0
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 - 0x14]
xor ecx, ebp
call fcn.004845db
mov esp, ebp
pop ebp
ret 4