Function at 0x11ec6ec0
Capabilities:
Accept command line arguments
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11fc38f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push esi
push edi
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebx, ebx
mov dword [ebp - 0x10], esp
stosb byte es:[edi], al
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call esi
mov edi, dword [ebp + 8]
cmp eax, edi
jne 0x11ec6f91
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
cmp edx, ebx
je 0x11ec6f6a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x10]
not ecx
dec ecx
mov esi, ecx
cmp esi, eax
jb 0x11ec6f38
lea esi, [eax - 1]
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x11ec6f79
cmp eax, ebx
jbe 0x11ec6f79
push esi
push edx
push edi
call fcn.11e68160
add esp, 0xc
mov byte [esi + edi], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11ec6f79
cmp dword [ebp + 0x10], ebx
jbe 0x11ec6f79
mov byte [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.11e93410
test eax, eax
je 0x11ec6fac
push 1
push str.SeDebugPrivilege
call esi
push eax
call fcn.11edd060
add esp, 0xc
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x410
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
jne 0x11ec6ffb
push edi
push eax
push 0x2000010
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
jne 0x11ec6ffb
push edi
push eax
push 0x1010
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
jne 0x11ec6ffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
call fcn.11ed0b80
add esp, 4
test eax, eax
je 0x11ec7024
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 1]
mov dword [ebp + 8], ecx
call fcn.11e93550
test eax, eax
je 0x11ec706b
push str.KernelBase.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x11ec706b
push str.GetCommandLineA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebx + 1]
mov dword [ebp + 8], edx
call fcn.11e93410
test eax, eax
je 0x11ec70c3
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x18]
lea ecx, [ebp + 8]
push eax
push 4
push ecx
push edx
push esi
call edi
test eax, eax
je 0x11ec70c3
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x210]
push 0x1f4
push ecx
push edx
push esi
call edi
test eax, eax
je 0x11ec70c3
mov dword [ebp - 0x14], 1
jmp 0x11ec70c3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x11ec7121
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
cmp eax, 0x1f4
jb 0x11ec70ea
mov eax, 0x1f3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jb 0x11ec70f7
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x11ec7121
test ecx, ecx
jbe 0x11ec7121
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.11e68160
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x14], 1
mov byte [ecx + esi], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc