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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a75bc
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 - 0xf4], eax
lea eax, [ebp - 0xec]
push eax
push str.SoftwareXuanZhiOSLink
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41978d
cmp dword [edi + 0x5c], 7
lea ecx, [edi + 0x48]
jbe 0x419589
mov ecx, dword [edi + 0x48]
push ecx
push str.pathToReg_installPath__s
push 0x351
push str.LDRemoteModel::pathToReg
call fcn.00426450
add esp, 0x10
lea ecx, [edi + 0x48]
cmp dword [edi + 0x5c], 7
jbe 0x4195ad
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x58]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallDir
push dword [ebp - 0xec]
call esi
push 8
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
push 0x4c04a4
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x10c], xmm0
call fcn.004082b0
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0x10c]
cmp dword [ebp - 0xf8], 7
cmova ecx, dword [ebp - 0x10c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [ebp - 0xec]
call esi
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x41966e
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419664
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ec9
push ecx
push edx
call fcn.004804a9
add esp, 8
mov edx, dword [ebp - 0xf4]
lea ecx, [ebp - 0x10c]
call fcn.0040d5b0
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x419689
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.SystemD
push dword [ebp - 0xec]
call esi
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x4196e6
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4196dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ece
push ecx
push edx
call fcn.004804a9
add esp, 8
cmp dword [edi + 0x88], 0
je 0x41978d
mov ecx, edi
call fcn.00416700
test al, al
je 0x419727
cmp dword [edi + 0x8c], 7
lea ecx, [edi + 0x78]
jbe 0x41970d
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x88]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir64
jmp 0x41977f
mov ecx, edi
call fcn.00416790
lea ecx, [edi + 0x78]
test al, al
je 0x41975b
cmp dword [edi + 0x8c], 7
jbe 0x419741
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x88]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir9
jmp 0x41977f
cmp dword [edi + 0x8c], 7
jbe 0x419767
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x88]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.playerDir
push dword [ebp - 0xec]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call esi
mov edx, dword [edi + 0x58]
lea ecx, [edi + 0x48]
mov eax, SysReAllocString
sub eax, edx
cmp eax, 0xc
jb 0x419ed3
cmp dword [ecx + 0x14], 7
jbe 0x4197ab
mov ecx, dword [ecx]
push 0xc
push str.ldremote.exe
push edx
push ecx
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0xd0]
call fcn.0040e310
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xc0]
sub eax, ecx
cmp eax, 1
jb 0x419ed8
cmp dword [ebp - 0xbc], 7
lea eax, [ebp - 0xd0]
push ecx
cmova eax, dword [ebp - 0xd0]
push eax
push 1
push 0x4c1624
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x28]
call fcn.0040e310
push 0xb
push str.____pcstart
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040d1f0
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x419899
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41988f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419edd
push ecx
push edx
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0xbc], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0xd0]
cmova eax, dword [ebp - 0xd0]
push eax
push 0x4c1628
push 0x365
push str.LDRemoteModel::pathToReg
mov dword [ebp - 0x14], 7
call fcn.00426450
add esp, 0x10
lea eax, [ebp - 0xec]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41992a
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.OSLink
push dword [ebp - 0xec]
call esi
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419948
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.auto_run_error__d
push 0x36d
push str.LDRemoteModel::pathToReg
call fcn.00426450
add esp, 0x10
push 0x3a
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallOSLink
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0
movups xmmword [ebp - 0xb8], xmm0
call fcn.004082b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
cmp dword [ebp - 0xa4], 7
lea eax, [ebp - 0xb8]
push ecx
cmova eax, dword [ebp - 0xb8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x419db9
mov edx, dword [edi + 0x58]
lea ecx, [edi + 0x48]
mov eax, SysReAllocString
sub eax, edx
cmp eax, 0x12
jb 0x419ed3
cmp dword [ecx + 0x14], 7
jbe 0x4199c9
mov ecx, dword [ecx]
push 0x12
push str.ldremoteuninst.exe
push edx
push ecx
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0xe8]
call fcn.0040e310
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xd4], 7
cmova ecx, dword [ebp - 0xe8]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0xf0]
call esi
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push str.OSLink
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
call fcn.004082b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x8c], 7
cmova ecx, dword [ebp - 0xa0]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayName
push dword [ebp - 0xf0]
call esi
mov ecx, dword [edi + 0x58]
add edi, 0x48
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xc
jb 0x419ed3
cmp dword [edi + 0x14], 7
jbe 0x419aa2
mov edi, dword [edi]
push 0xc
push str.ldremote.exe
push ecx
push edi
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x28]
call fcn.0040e310
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
cmova ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0xf0]
call esi
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.XuanZhi_Co._Ltd.
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.004082b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x74], 7
cmova ecx, dword [ebp - 0x88]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Publisher
push dword [ebp - 0xf0]
call esi
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.http:__oslink.io_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.004082b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 7
cmova ecx, dword [ebp - 0x70]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0xf0]
call esi
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x4c04a4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.004082b0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 7
cmova ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0xf0]
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x419c18
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419c0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x419c66
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419c5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 7
jbe 0x419cb7
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419cad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp ecx, 7
jbe 0x419d08
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419cfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x419d5c
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419d52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0xd4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp ecx, 7
jbe 0x419db9
mov edx, dword [ebp - 0xe8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419daf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee2
push ecx
push edx
call fcn.004804a9
add esp, 8
push dword [ebp - 0xf0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xa4]
cmp ecx, 7
jbe 0x419e05
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419dfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee7
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp ecx, 7
jbe 0x419e5c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419e52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee7
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x419eac
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419ea2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ee7
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret 4
call fcn.00485a5d
call fcn.00485a5d
call fcn.00408bc0
call fcn.00408bc0
call fcn.00485a5d
call fcn.00485a5d
call fcn.00485a5d
int3