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

Disassembly:
push ebp
lea ebp, [esp - 0x10d0]
mov eax, 0x10d0
call fcn.00471870
push 0xffffffffffffffff
push 0x4acd37
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x10cc], 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 0x4f18e0
push eax
call fcn.004039cd
push dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00404d3e
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040290e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_Line:__s
call fcn.00404d3e
push str.SetupTemplate_version_:_15.0.0.1291_Base_Revision_2607834
call fcn.00404d3e
add esp, 0xc
call fcn.00453017
call fcn.00401295
cmp eax, esi
je 0x455601
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.0044bded
xor edi, edi
lea eax, [ebp + 0x624]
mov ebx, 0x4f1850
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00439c9e
lea ecx, [ebp - 0xd]
call fcn.0046f612
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.00452bea
push 1
push str.SeRestorePrivilege
call edi
push eax
lea ecx, [ebp - 0xd]
call fcn.00452bea
lea ecx, [ebp + 0x64c]
call fcn.0044a88b
mov edi, eax
cmp edi, esi
jne 0x4556b0
call fcn.004544f8
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0044385b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044b898
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 + 0x10cc]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x10d0
leave
ret
lea eax, [ebp + 0x64c]
lea ecx, [ebp + 0x624]
mov dword [0x4f189c], eax
call fcn.0044a8ab
push esi
push esi
push 0xbc
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
lea edx, [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.00454bf0
test eax, eax
jne 0x45575a
push esi
push esi
push 0x75
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044aece
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004544f8
mov ecx, edi
call fcn.0045bfe0
mov ebx, eax
cmp ebx, esi
je 0x455745
mov ecx, edi
call fcn.0045bac6
mov ecx, eax
call fcn.0043ca13
mov eax, dword [eax]
mov ecx, dword [ebx]
push 1
push eax
push ebx
call dword [ecx + 0x80]
cmp dword [ebp - 0x1c], esi
je 0x455670
mov ecx, edi
call fcn.0045c010
jmp 0x455670
mov ecx, edi
call fcn.0045ba91
test eax, eax
je 0x455802
xor eax, eax
push 0x206
mov word [ebp + 0xec4], ax
lea eax, [ebp + 0xec6]
push esi
push eax
call fcn.004701a0
add esp, 0xc
push 0x104
lea eax, [ebp + 0xec4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0xec4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.entclient360entu.dll
lea eax, [ebp + 0xec4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0xec4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455802
lea eax, [ebp + 0xec4]
push eax
call fcn.00430cf7
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x455802
push str.CheckEnv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x455802
push esi
call eax
cmp eax, 1
jne 0x455670
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.0045bca6
test eax, eax
je 0x4558c5
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0045e6f5
push str.parent
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004025d8
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403bb5
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0045bca6
test eax, eax
je 0x4558ab
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0045e6f5
push str.grandpa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004025d8
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.00403bb5
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040290e
push esi
push esi
push 0xbd
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
mov dword [ebp - 0x5c], 0x4ba44c
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.00453522
push esi
push esi
lea ecx, [ebp + 0x624]
call fcn.004536ce
test eax, eax
jne 0x45595a
push esi
push esi
push 0xe17
lea ecx, [ebp + 0x64c]
call fcn.0044aece
call fcn.004544f8
lea ecx, [ebp - 0x4c]
call fcn.0044e2a8
lea ecx, [ebp - 0x58]
call fcn.0044e2a8
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0044385b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x624]
call fcn.0044b898
mov eax, esi
jmp 0x45568d
mov ecx, edi
call fcn.0045bac6
mov ecx, eax
call fcn.0043c99f
cmp dword [eax], esi
jne 0x455989
mov ecx, edi
call fcn.0045bac6
mov ecx, eax
call fcn.0043c9a3
test eax, eax
je 0x455998
mov ecx, edi
call fcn.0045ba91
test eax, eax
jne 0x455998
push esi
push dword [ebp + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4559d8
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.00453272
mov edi, eax
call fcn.004544f8
push 0x4e20
call fcn.00452ab3
mov ecx, eax
call fcn.004529ec
push esi
mov ecx, ebx
call fcn.00439c9e
mov ecx, ebx
call fcn.00453673
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360Clear
lea ecx, [ebp]
call fcn.0043c963
push esi
push str.SoftwareMicrosoftWindowsCurrentVersion360JJX
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043c963
push str.Software360Safe
lea ecx, [ebp + 0x418]
mov byte [ebp - 4], 9
call fcn.0043c942
lea ecx, [ebp + 0x418]
call fcn.0043c937
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 8
call fcn.0043c937
lea ecx, [ebp]
mov byte [ebp - 4], 7
call fcn.0043c937
mov esi, edi
jmp 0x455928