Function at 0x4192b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4d1480]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x30], eax
mov edi, ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x2011f
push 0
push 0
push 0
push str.SoftwareXuanZhiOSLink
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4194f4
cmp dword [edi + 0x5c], 7
lea eax, [edi + 0x48]
jbe 0x419312
mov eax, dword [edi + 0x48]
push eax
push str.pathToReg_installPath__s
push 0x33a
push str.LDRemoteModel::pathToRegMachine
call fcn.00426450
add esp, 0x10
lea ecx, [edi + 0x48]
cmp dword [edi + 0x5c], 7
jbe 0x419336
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x58]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallDir
push dword [esp + 0x48]
call esi
push 8
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push 0x4c04a4
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.004082b0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 7
cmova ecx, dword [esp + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Version
push dword [esp + 0x48]
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x4193e5
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4193db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419507
push ecx
push edx
call fcn.004804a9
add esp, 8
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
call fcn.0040d5b0
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x4193fc
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 [esp + 0x48]
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x419453
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419449
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41950c
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, edi
call fcn.00416700
test al, al
je 0x419487
cmp dword [edi + 0x8c], 7
lea ecx, [edi + 0x78]
jbe 0x41946d
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 0x4194df
mov ecx, edi
call fcn.00416790
lea ecx, [edi + 0x78]
test al, al
je 0x4194bb
cmp dword [edi + 0x8c], 7
jbe 0x4194a1
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 0x4194df
cmp dword [edi + 0x8c], 7
jbe 0x4194c7
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 [esp + 0x48]
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0048049b
mov esp, ebp
pop ebp
ret 4
call fcn.00485a5d
call fcn.00485a5d
int3