Function at 0x457c84
Capabilities:
Accept command line arguments
Acquire debug privileges
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1208]
mov eax, 0x1208
call fcn.004760e0
push 0xffffffffffffffff
push 0x4b18ee
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x1204], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Initial_setup_information_r_n
lea eax, [ebp - 0x14]
push 0x4f6b98
push eax
call fcn.00403a89
push dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00404dac
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004029d4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_Line:__s
call fcn.00404dac
push str.SetupTemplate_version_:_13.0.0.1341_Base_Revision_2586855
call fcn.00404dac
add esp, 0xc
call fcn.00455981
call fcn.00401295
cmp eax, esi
je 0x457d29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx]
lea ecx, [ebp + 0x624]
call fcn.0044e840
xor edi, edi
lea eax, [ebp + 0x624]
mov ebx, 0x4f6b00
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00439d6c
lea ecx, [ebp - 0xd]
call fcn.00473eb9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push str.SeDebugPrivilege
mov byte [ebp - 4], 2
call edi
push eax
lea ecx, [ebp - 0xd]
call fcn.00455569
push 1
push str.SeRestorePrivilege
call edi
push eax
lea ecx, [ebp - 0xd]
call fcn.00455569
lea ecx, [ebp + 0x64c]
call fcn.0044cf99
mov edi, eax
cmp edi, esi
jne 0x457dd8
call fcn.00456c72
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.004698d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044e2dc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1204]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x1208
leave
ret
lea eax, [ebp + 0x64c]
lea ecx, [ebp + 0x624]
mov dword [0x4f6b50], eax
call fcn.0044cfb6
push esi
push esi
push 0xbc
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
lea edx, [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.00457327
test eax, eax
jne 0x457e82
push esi
push esi
push 0x75
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044d6c7
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00456c72
mov ecx, edi
call fcn.0045e91a
mov ebx, eax
cmp ebx, esi
je 0x457e6d
mov ecx, edi
call fcn.0045e466
mov ecx, eax
call fcn.0043cb63
mov eax, dword [eax]
mov ecx, dword [ebx]
push 1
push eax
push ebx
call dword [ecx + 0x84]
cmp dword [ebp - 0x1c], esi
je 0x457d98
mov ecx, edi
call fcn.0045e94a
jmp 0x457d98
mov ecx, edi
call fcn.0045e431
test eax, eax
je 0x457f2a
xor eax, eax
push 0x206
mov word [ebp + 0xffc], ax
lea eax, [ebp + 0xffe]
push esi
push eax
call fcn.00474a10
add esp, 0xc
push 0x104
lea eax, [ebp + 0xffc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0xffc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.entclient360entu.dll
lea eax, [ebp + 0xffc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0xffc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457f2a
lea eax, [ebp + 0xffc]
push eax
call fcn.00430e30
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x457f2a
push str.CheckEnv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x457f2a
push esi
call eax
cmp eax, 1
jne 0x457d98
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, edi
call fcn.0045e5cb
test eax, eax
je 0x457fed
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0046084c
push str.parent
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00402675
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403c1c
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0045e5cb
test eax, eax
je 0x457fd3
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0046084c
push str.grandpa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00402675
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00403c1c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004029d4
push esi
push esi
push 0xbd
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
mov dword [ebp - 0x5c], 0x4bf49c
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00455da1
push esi
push esi
lea ecx, [ebp + 0x624]
call fcn.00455f01
test eax, eax
jne 0x458082
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044d6c7
call fcn.00456c72
lea ecx, [ebp - 0x4c]
call fcn.00465972
lea ecx, [ebp - 0x58]
call fcn.00465972
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.004698d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044e2dc
mov eax, esi
jmp 0x457db5
mov ecx, edi
call fcn.0045e466
mov ecx, eax
call fcn.0043cae9
cmp dword [eax], esi
jne 0x4580b1
mov ecx, edi
call fcn.0045e466
mov ecx, eax
call fcn.0043caed
test eax, eax
je 0x4580c0
mov ecx, edi
call fcn.0045e431
test eax, eax
jne 0x4580c0
push esi
push dword [ebp + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x458100
push 5
push dword [ebp + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x628]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x628]
call edi
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp + 0x628]
call edi
lea ecx, [ebp - 0x5c]
call fcn.00455af1
mov edi, eax
call fcn.00456c72
push 0x4e20
call fcn.00455432
mov ecx, eax
call fcn.0045536b
push esi
mov ecx, ebx
call fcn.00439d6c
mov ecx, ebx
call fcn.00455ea6
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360Clear
lea ecx, [ebp]
call fcn.0043ca9b
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360JJX
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043ca9b
push str.Software360Safe
lea ecx, [ebp + 0x418]
mov byte [ebp - 4], 9
call fcn.0043ca7a
lea ecx, [ebp + 0x418]
call fcn.0043ca6f
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043ca6f
lea ecx, [ebp]
mov byte [ebp - 4], 7
call fcn.0043ca6f
mov esi, edi
jmp 0x458050