Function at 0x451700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525388
mov eax, dword fs:[0]
push eax
mov eax, 0x16d4
call fcn.0047d690
mov eax, dword [0x572374]
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.0044df30
add esp, 4
call fcn.0044bd40
test eax, eax
je 0x451d31
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
test eax, eax
je 0x451d31
call eax
mov esi, eax
mov dword [ebp - 0x16d8], esi
test esi, esi
je 0x451d31
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx]
call edx
test eax, eax
je 0x451d2a
push dword [ebp - 0x16d4]
lea eax, [ebp - 0x14b0]
push edi
push eax
call fcn.00451d60
add esp, 0xc
cmp dword [ebp - 0x14a0], 0
mov dword [ebp - 4], 0
je 0x4518ab
push str.download_lua_success
call fcn.0044df30
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 0x45183f
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 0xf
jmp 0x451881
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.00417510
mov ecx, dword [ebp - 0x16d4]
inc ecx
mov dword [edi], eax
push ecx
push dword [ebp - 0x16dc]
push eax
call fcn.004a9cb0
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.00451570
add esp, 0x1c
cmp dword [ebp - 0x14b8], 0
mov byte [ebp - 4], 1
jne 0x4518c2
lea ecx, [ebp - 0x14c8]
call fcn.00415780
lea ecx, [ebp - 0x14b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415780
jmp 0x451d2a
push 0x10
push 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [0x577e1c]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
call fcn.004cc7a2
push 0x10
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x577e14]
call fcn.004cc7a2
push 0x10
push 0x10
lea eax, [ebp - 0x40]
push eax
push dword [0x577e18]
call fcn.004cc7a2
push 0x10
push 0x10
lea eax, [ebp - 0x50]
push eax
push dword [0x577e24]
call fcn.004cc7a2
add esp, 0x40
lea ecx, [ebp - 0x1498]
push str._envExplain____r_n
call fcn.00450550
push 0x53a8f8
lea ecx, [ebp - 0x1494]
mov byte [ebp - 4], 2
call fcn.00450550
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1490]
mov byte [ebp - 4], 3
call fcn.00450550
push 0x53a8f8
lea ecx, [ebp - 0x148c]
mov byte [ebp - 4], 4
call fcn.00450550
mov byte [ebp - 4], 5
call fcn.004375d0
mov ecx, eax
call fcn.00424ee0
push 0xfde9
lea ecx, [ebp - 0x15cc]
push dword [eax]
call fcn.004506b0
mov esi, dword [eax]
lea ecx, [ebp - 0x1488]
push str._envExplain.strPid___s____r_n
mov byte [ebp - 4], 6
call fcn.00450550
push esi
lea ecx, [ebp - 0x1484]
mov byte [ebp - 4], 7
call fcn.00450550
mov eax, dword [ebp - 0x15cc]
lea ecx, [ebp - 0x15c8]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x4519d5
push eax
call fcn.004c8de8
add esp, 4
call fcn.004375d0
mov ecx, eax
call fcn.00425050
push 0xfde9
lea ecx, [ebp - 0x16d0]
push dword [eax]
call fcn.004506b0
mov esi, dword [eax]
lea ecx, [ebp - 0x1480]
push str._envExplain.strFrom___s____r_n
mov byte [ebp - 4], 0xa
call fcn.00450550
push esi
lea ecx, [ebp - 0x147c]
mov byte [ebp - 4], 0xb
call fcn.00450550
mov eax, dword [ebp - 0x16d0]
lea ecx, [ebp - 0x16cc]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x451a36
push eax
call fcn.004c8de8
add esp, 4
push 0xfde9
call fcn.004521b0
push eax
lea ecx, [ebp - 0x15cc]
call fcn.004506b0
mov esi, dword [eax]
lea ecx, [ebp - 0x1478]
push str._envExplain.strAppVer___s____r_n
mov byte [ebp - 4], 0xe
call fcn.00450550
push esi
lea ecx, [ebp - 0x1474]
mov byte [ebp - 4], 0xf
call fcn.00450550
mov eax, dword [ebp - 0x15cc]
lea ecx, [ebp - 0x15c8]
mov byte [ebp - 4], 0x11
cmp eax, ecx
je 0x451a8f
push eax
call fcn.004c8de8
add esp, 4
push str._envExplain.ludashi___s____r_n
lea ecx, [ebp - 0x1470]
call fcn.00450550
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x146c]
call fcn.00450550
push str._envExplain.bizhi___s____r_n
lea ecx, [ebp - 0x1468]
mov byte [ebp - 4], 0x13
call fcn.00450550
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1464]
call fcn.00450550
push str._envExplain.mgame___s____r_n
lea ecx, [ebp - 0x1460]
mov byte [ebp - 4], 0x15
call fcn.00450550
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x145c]
call fcn.00450550
push str._envExplain.kantu___s____r_n
lea ecx, [ebp - 0x1458]
mov byte [ebp - 4], 0x17
call fcn.00450550
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x1454]
call fcn.00450550
push 0x400
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0x19
push 0
push eax
call fcn.004a9b50
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 0x451b78
add edi, eax
add esi, 8
sub dword [ebp - 0x16d4], 1
jne 0x451b53
push str.to_run_lua
call fcn.0044df30
push 0x800
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.004a9b50
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 0x450c80
push 9
push 8
lea eax, [ebp - 0x1498]
mov byte [ebp - 4], 1
push eax
call fcn.0047d809
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.004a9b50
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 0x451cb7
mov ecx, dword [ebp - 0x14c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451d51
push edx
push ecx
call fcn.0047d279
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 0x451d0f
mov ecx, dword [ebp - 0x14b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451d05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451d56
push edx
push ecx
call fcn.0047d279
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.0047d268
mov esp, ebp
pop ebp
ret
call fcn.004c716d
call fcn.004c716d
int3