Function at 0x1003d860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f5ad
mov eax, dword fs:[0]
push eax
mov eax, 0x16c4
call fcn.10067fc0
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x16c8], eax
call fcn.10037460
test eax, eax
je 0x1003de96
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
test eax, eax
je 0x1003de96
call eax
mov edi, eax
mov dword [ebp - 0x16cc], edi
test edi, edi
je 0x1003de96
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx]
call edx
test eax, eax
je 0x1003de8f
push dword [ebp - 0x16c8]
lea eax, [ebp - 0x14a0]
push esi
push eax
call fcn.1003ded0
add esp, 0xc
mov ecx, dword [ebp - 0x1490]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1003d967
inc ecx
lea eax, [ebp - 0x14a0]
cmp dword [ebp - 0x148c], 0x10
push ecx
cmovae eax, dword [ebp - 0x14a0]
push eax
push 3
push str.lua_push
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub esp, 0x18
lea eax, [ebp - 0x14a0]
mov ecx, esp
push eax
call fcn.1003c6f0
lea eax, [ebp - 0x14b8]
push eax
call fcn.1003d6d0
add esp, 0x1c
cmp dword [ebp - 0x14a8], 0
mov byte [ebp - 4], 1
jne 0x1003d97e
lea ecx, [ebp - 0x14b8]
call fcn.1000e690
lea ecx, [ebp - 0x14a0]
mov dword [ebp - 4], 0xffffffff
call fcn.1000e690
jmp 0x1003de8f
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x10161a18]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x1480], xmm0
call fcn.100c210c
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x10161a10]
call fcn.100c210c
push 0x10
push 0x10
lea eax, [ebp - 0x1480]
push eax
push dword [0x10161a14]
call fcn.100c210c
add esp, 0x30
lea ecx, [ebp - 0x1470]
push str._envExplain____r_n
call fcn.1003c4a0
push 0x1011ccc8
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 2
call fcn.1003c4a0
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1468]
mov byte [ebp - 4], 3
call fcn.1003c4a0
push 0x1011ccc8
lea ecx, [ebp - 0x1464]
mov byte [ebp - 4], 4
call fcn.1003c4a0
mov byte [ebp - 4], 5
call fcn.10023f20
mov ecx, eax
call fcn.100192b0
push 0xfde9
lea ecx, [ebp - 0x15bc]
push dword [eax]
call fcn.1003c600
mov esi, dword [eax]
lea ecx, [ebp - 0x1460]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.1003c4a0
push esi
lea ecx, [ebp - 0x145c]
mov byte [ebp - 4], 7
call fcn.1003c4a0
mov eax, dword [ebp - 0x15bc]
lea ecx, [ebp - 0x15b8]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x1003da80
push eax
call fcn.100b1df1
add esp, 4
call fcn.10023f20
mov ecx, eax
call fcn.10018120
push 0xfde9
lea ecx, [ebp - 0x16c0]
push dword [eax]
call fcn.1003c600
mov esi, dword [eax]
lea ecx, [ebp - 0x1458]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.1003c4a0
push esi
lea ecx, [ebp - 0x1454]
mov byte [ebp - 4], 0xb
call fcn.1003c4a0
mov eax, dword [ebp - 0x16c0]
lea ecx, [ebp - 0x16bc]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x1003dae1
push eax
call fcn.100b1df1
add esp, 4
push 0xfde9
call fcn.1003dff0
push eax
lea ecx, [ebp - 0x15bc]
call fcn.1003c600
mov esi, dword [eax]
lea ecx, [ebp - 0x1450]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.1003c4a0
push esi
lea ecx, [ebp - 0x144c]
mov byte [ebp - 4], 0xf
call fcn.1003c4a0
mov eax, dword [ebp - 0x15bc]
lea ecx, [ebp - 0x15b8]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x1003db3a
push eax
call fcn.100b1df1
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1448]
call fcn.1003c4a0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1444]
call fcn.1003c4a0
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1440]
mov byte [ebp - 4], 0x13
call fcn.1003c4a0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x143c]
call fcn.1003c4a0
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1438]
mov byte [ebp - 4], 0x15
call fcn.1003c4a0
lea eax, [ebp - 0x1480]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1434]
call fcn.1003c4a0
push 0x400
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x17
push 0
push eax
call fcn.10094be0
add esp, 0xc
mov dword [ebp - 0x16c4], 8
xor edi, edi
lea esi, [ebp - 0x146c]
nop word [eax + eax]
push dword [esi]
mov eax, 0x3ff
push dword [esi - 4]
sub eax, edi
push eax
lea eax, [ebp - 0x430]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test eax, eax
js 0x1003dc05
add edi, eax
add esi, 8
sub dword [ebp - 0x16c4], 1
jne 0x1003dbe0
push 0x800
lea eax, [ebp - 0xc30]
push 0
push eax
call fcn.10094be0
mov edi, dword [ebp - 0x16cc]
lea ecx, [ebp - 0x16c8]
add esp, 0xc
mov dword [ebp - 0x16c8], 0x7ff
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xc30]
push ecx
push 1
lea ecx, [ebp - 0x430]
push ecx
mov ecx, edi
call dword [eax + 8]
push 0x1003cd30
push 8
push 8
lea eax, [ebp - 0x1470]
mov byte [ebp - 4], 1
push eax
call fcn.1006810f
xor eax, eax
mov dword [ebp - 0x16c4], 0
push 0x18
lea ecx, [ebp - 0x1488]
mov dword [ebp - 0x1478], 0
mov dword [ebp - 0x1474], 7
mov word [ebp - 0x1488], ax
call fcn.10013950
push 0x22
mov esi, eax
mov dword [ebp - 0x1478], 0x11
push str.SOFTWAREPCStoreX
push esi
mov dword [ebp - 0x1474], 0x17
call fcn.100952d0
xor eax, eax
add esp, 0xc
mov word [esi + 0x22], ax
mov dword [ebp - 0x1488], esi
push 5
push str.push
lea ecx, [ebp - 0x1488]
mov byte [ebp - 4], 0x18
call fcn.10013b20
cmp dword [ebp - 0x1474], 8
lea ecx, [ebp - 0x16c4]
push 0
push ecx
push 0
push 0xf023f
push 0
push 0
lea eax, [ebp - 0x1488]
cmovae eax, dword [ebp - 0x1488]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0x16c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1474]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x1003dd70
mov ecx, dword [ebp - 0x1488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dd66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003deb6
push edx
push ecx
call fcn.10067ba9
add esp, 8
xor eax, eax
mov dword [ebp - 0x1478], 0
push 0x800
push eax
mov word [ebp - 0x1488], ax
lea eax, [ebp - 0x1430]
push eax
mov dword [ebp - 0x1474], 7
call fcn.10094be0
add esp, 0xc
mov dword [ebp - 0x16d0], 0x7ff
cmp dword [ebp - 0x14a4], 0x10
lea eax, [ebp - 0x16d0]
mov edx, dword [edi]
lea ecx, [ebp - 0x14b8]
cmovae ecx, dword [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x1430]
push eax
mov eax, dword [ebp - 0x14a8]
inc eax
push eax
push ecx
mov ecx, edi
call dword [edx + 8]
mov edx, dword [ebp - 0x14a4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003de1c
mov ecx, dword [ebp - 0x14b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003de12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003debb
push edx
push ecx
call fcn.10067ba9
add esp, 8
mov edx, dword [ebp - 0x148c]
mov dword [ebp - 0x14a8], 0
mov dword [ebp - 0x14a4], 0xf
mov byte [ebp - 0x14b8], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1003de74
mov ecx, dword [ebp - 0x14a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003de6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003dec0
push edx
push ecx
call fcn.10067ba9
add esp, 8
mov dword [ebp - 0x1490], 0
mov dword [ebp - 0x148c], 0xf
mov byte [ebp - 0x14a0], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, 1
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.10067b98
mov esp, ebp
pop ebp
ret
call fcn.100b0310
call fcn.100b0310
call fcn.100b0310
int3