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

Disassembly:
push ebp
lea ebp, [esp - 0x1210]
mov eax, 0x1210
call fcn.00476b30
push 0xffffffffffffffff
push 0x4b2250
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x120c], 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 0x4f7cb8
push eax
call fcn.00403a22
push dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00404d2e
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402963
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_Line:__s
call fcn.00404d2e
push str.SetupTemplate_version_:_13.0.0.1481_Base_Revision_2669372
call fcn.00404d2e
add esp, 0xc
call fcn.00455706
call fcn.00401295
cmp eax, esi
je 0x457b8b
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.0044e4a9
xor edi, edi
lea eax, [ebp + 0x624]
mov ebx, 0x4f7c20
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.0043a01c
lea ecx, [ebp - 0xd]
call fcn.00474880
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.004552ee
push 1
push str.SeRestorePrivilege
call edi
push eax
lea ecx, [ebp - 0xd]
call fcn.004552ee
lea ecx, [ebp + 0x64c]
call fcn.0044cc18
mov edi, eax
cmp edi, esi
jne 0x457c3a
call fcn.00456ad4
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0045aa30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044df45
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 + 0x120c]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x1210
leave
ret
lea eax, [ebp + 0x64c]
lea ecx, [ebp + 0x624]
mov dword [0x4f7c70], eax
call fcn.0044cc35
push esi
push esi
push 0xbc
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
lea edx, [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.00457189
test eax, eax
jne 0x457ce4
push esi
push esi
push 0x75
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044d2c9
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00456ad4
mov ecx, edi
call fcn.0045ec1e
mov ebx, eax
cmp ebx, esi
je 0x457ccf
mov ecx, edi
call fcn.0045e7a8
mov ecx, eax
call fcn.0043ce41
mov eax, dword [eax]
mov ecx, dword [ebx]
push 1
push eax
push ebx
call dword [ecx + 0x84]
cmp dword [ebp - 0x1c], esi
je 0x457bfa
mov ecx, edi
call fcn.0045ec4e
jmp 0x457bfa
mov ecx, edi
call fcn.0045e773
test eax, eax
je 0x457d8c
xor eax, eax
push 0x206
mov word [ebp + 0x1004], ax
lea eax, [ebp + 0x1006]
push esi
push eax
call fcn.00475410
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.entclient360entu.dll
lea eax, [ebp + 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457d8c
lea eax, [ebp + 0x1004]
push eax
call fcn.00431130
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x457d8c
push str.CheckEnv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x457d8c
push esi
call eax
cmp eax, 1
jne 0x457bfa
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.0045e90d
test eax, eax
je 0x457e4f
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00460bda
push str.parent
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040260e
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403b9e
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0045e90d
test eax, eax
je 0x457e35
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00460bda
push str.grandpa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0040260e
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00403b9e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00402963
push esi
push esi
push 0xbd
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov dword [ebp - 0x5c], 0x4bf864
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.00455c03
push esi
push esi
lea ecx, [ebp + 0x624]
call fcn.00455d63
test eax, eax
jne 0x457ee4
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044d2c9
call fcn.00456ad4
lea ecx, [ebp - 0x4c]
call fcn.0045572a
lea ecx, [ebp - 0x58]
call fcn.0045572a
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0045aa30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044df45
mov eax, esi
jmp 0x457c17
mov ecx, edi
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc0
cmp dword [eax], esi
jne 0x457f13
mov ecx, edi
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc4
test eax, eax
je 0x457f22
mov ecx, edi
call fcn.0045e773
test eax, eax
jne 0x457f22
push esi
push dword [ebp + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x457f62
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.00455953
mov edi, eax
call fcn.00456ad4
push 0x4e20
call fcn.004551b7
mov ecx, eax
call fcn.004550f0
push esi
mov ecx, ebx
call fcn.0043a01c
mov ecx, ebx
call fcn.00455d08
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360Clear
lea ecx, [ebp]
call fcn.0043cd72
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360JJX
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043cd72
push str.Software360Safe
lea ecx, [ebp + 0x418]
mov byte [ebp - 4], 9
call fcn.0043cd51
lea ecx, [ebp + 0x418]
call fcn.0043cd46
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043cd46
lea ecx, [ebp]
mov byte [ebp - 4], 7
call fcn.0043cd46
mov esi, edi
jmp 0x457eb2