Function at 0x451600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5228c8
mov eax, dword fs:[0]
push eax
mov eax, 0x16d4
call fcn.0047c9d0
mov eax, dword [0x570374]
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 edi, dword [ebp + 8]
push str.DownloadAndInstallPushApps
mov dword [ebp - 0x16d4], eax
call fcn.0044de20
add esp, 4
call fcn.0044bbd0
test eax, eax
je 0x451c31
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
test eax, eax
je 0x451c31
call eax
mov esi, eax
mov dword [ebp - 0x16d8], esi
test esi, esi
je 0x451c31
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx]
call edx
test eax, eax
je 0x451c2a
push dword [ebp - 0x16d4]
lea eax, [ebp - 0x14b0]
push edi
push eax
call fcn.00451c60
add esp, 0xc
cmp dword [ebp - 0x14a0], 0
mov dword [ebp - 4], 0
je 0x4517ab
push str.download_lua_success
call fcn.0044de20
mov ecx, dword [ebp - 0x14a0]
lea eax, [ebp - 0x14b0]
add esp, 4
inc ecx
cmp dword [ebp - 0x149c], 0x10
cmovae eax, dword [ebp - 0x14b0]
push ecx
push eax
push 3
push str.lua_push
push str.SOFTWAREQuickSee
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub esp, 0x18
lea ecx, [ebp - 0x14b0]
mov edi, esp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x149c], 0x10
mov eax, dword [ebp - 0x14a0]
cmovae ecx, dword [ebp - 0x14b0]
mov dword [ebp - 0x16d4], eax
mov dword [ebp - 0x16dc], ecx
cmp eax, 0x10
jae 0x45173f
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 0xf
jmp 0x451781
mov esi, eax
mov ecx, edi
mov eax, SysReAllocString
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004174e0
mov ecx, dword [ebp - 0x16d4]
inc ecx
mov dword [edi], eax
push ecx
push dword [ebp - 0x16dc]
push eax
call fcn.004a9010
mov eax, dword [ebp - 0x16d4]
add esp, 0xc
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x16d8]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x14c8]
push eax
call fcn.00451470
add esp, 0x1c
cmp dword [ebp - 0x14b8], 0
mov byte [ebp - 4], 1
jne 0x4517c2
lea ecx, [ebp - 0x14c8]
call fcn.00415750
lea ecx, [ebp - 0x14b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415750
jmp 0x451c2a
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x575e1c]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
call fcn.004caf8f
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x575e14]
call fcn.004caf8f
push 0x10
push 0x10
lea eax, [ebp - 0x40]
push eax
push dword [0x575e18]
call fcn.004caf8f
push 0x10
push 0x10
lea eax, [ebp - 0x50]
push eax
push dword [0x575e24]
call fcn.004caf8f
add esp, 0x40
lea ecx, [ebp - 0x1498]
push str._envExplain____r_n
call fcn.00450440
push 0x539610
lea ecx, [ebp - 0x1494]
mov byte [ebp - 4], 2
call fcn.00450440
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1490]
mov byte [ebp - 4], 3
call fcn.00450440
push 0x539610
lea ecx, [ebp - 0x148c]
mov byte [ebp - 4], 4
call fcn.00450440
mov byte [ebp - 4], 5
call fcn.004374a0
mov ecx, eax
call fcn.00424ea0
push 0xfde9
lea ecx, [ebp - 0x15cc]
push dword [eax]
call fcn.004505a0
mov esi, dword [eax]
lea ecx, [ebp - 0x1488]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.00450440
push esi
lea ecx, [ebp - 0x1484]
mov byte [ebp - 4], 7
call fcn.00450440
mov eax, dword [ebp - 0x15cc]
lea ecx, [ebp - 0x15c8]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x4518d5
push eax
call fcn.004c7a00
add esp, 4
call fcn.004374a0
mov ecx, eax
call fcn.00425010
push 0xfde9
lea ecx, [ebp - 0x16d0]
push dword [eax]
call fcn.004505a0
mov esi, dword [eax]
lea ecx, [ebp - 0x1480]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.00450440
push esi
lea ecx, [ebp - 0x147c]
mov byte [ebp - 4], 0xb
call fcn.00450440
mov eax, dword [ebp - 0x16d0]
lea ecx, [ebp - 0x16cc]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x451936
push eax
call fcn.004c7a00
add esp, 4
push 0xfde9
call fcn.004520b0
push eax
lea ecx, [ebp - 0x15cc]
call fcn.004505a0
mov esi, dword [eax]
lea ecx, [ebp - 0x1478]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.00450440
push esi
lea ecx, [ebp - 0x1474]
mov byte [ebp - 4], 0xf
call fcn.00450440
mov eax, dword [ebp - 0x15cc]
lea ecx, [ebp - 0x15c8]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x45198f
push eax
call fcn.004c7a00
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1470]
call fcn.00450440
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x146c]
call fcn.00450440
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1468]
mov byte [ebp - 4], 0x13
call fcn.00450440
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1464]
call fcn.00450440
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1460]
mov byte [ebp - 4], 0x15
call fcn.00450440
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x145c]
call fcn.00450440
push str._envExplain.kantu___s____r_n
lea ecx, [ebp - 0x1458]
mov byte [ebp - 4], 0x17
call fcn.00450440
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x1454]
call fcn.00450440
push 0x400
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x19
push 0
push eax
call fcn.004a8eb0
add esp, 0xc
mov dword [ebp - 0x16d4], 9
xor edi, edi
lea esi, [ebp - 0x1494]
push dword [esi]
mov eax, 0x3ff
push dword [esi - 4]
sub eax, edi
push eax
lea eax, [ebp - 0x450]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test eax, eax
js 0x451a78
add edi, eax
add esi, 8
sub dword [ebp - 0x16d4], 1
jne 0x451a53
push str.to_run_lua
call fcn.0044de20
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.004a8eb0
mov esi, dword [ebp - 0x16d8]
lea ecx, [ebp - 0x16dc]
add esp, 0x10
mov dword [ebp - 0x16dc], 0x7ff
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xc50]
push ecx
push 1
lea ecx, [ebp - 0x450]
push ecx
mov ecx, esi
call dword [eax + 8]
push 0x450b70
push 9
push 8
lea eax, [ebp - 0x1498]
mov byte [ebp - 4], 1
push eax
call fcn.0047cb49
push 0
lea eax, [ebp - 0x16d8]
mov dword [ebp - 0x16d8], 0
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push str.SOFTWAREQuickSeepush
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 0x16d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x800
lea eax, [ebp - 0x1450]
push 0
push eax
call fcn.004a8eb0
add esp, 0xc
mov dword [ebp - 0x16e0], 0x7ff
cmp dword [ebp - 0x14b4], 0x10
lea eax, [ebp - 0x16e0]
mov edx, dword [esi]
lea ecx, [ebp - 0x14c8]
cmovae ecx, dword [ebp - 0x14c8]
push eax
lea eax, [ebp - 0x1450]
push eax
mov eax, dword [ebp - 0x14b8]
inc eax
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
mov edx, dword [ebp - 0x14b4]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x451bb7
mov ecx, dword [ebp - 0x14c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451bad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451c51
push edx
push ecx
call fcn.0047c5b9
add esp, 8
mov edx, dword [ebp - 0x149c]
mov dword [ebp - 0x14b8], 0
mov dword [ebp - 0x14b4], 0xf
mov byte [ebp - 0x14c8], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x451c0f
mov ecx, dword [ebp - 0x14b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451c05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451c56
push edx
push ecx
call fcn.0047c5b9
add esp, 8
mov dword [ebp - 0x14a0], 0
mov dword [ebp - 0x149c], 0xf
mov byte [ebp - 0x14b0], 0
mov eax, dword [esi]
mov ecx, esi
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.0047c5a8
mov esp, ebp
pop ebp
ret
call fcn.004c60e0
call fcn.004c60e0
int3