Function at 0x41c646
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
push 0x2c
mov eax, 0x4af5ce
call fcn.0048f423
mov edi, ecx
push str.ProcessKiller
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], edi
call fcn.00401b1e
lea eax, [ebp - 0x28]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0041c5cd
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [ebp - 0x24], esi
cmp dword [0x5079a8], esi
jne 0x41c709
push 0x4c0b74
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [0x507340]
push 0x18
lea ecx, [eax + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x2c], esi
cmp edx, 0x10
jne 0x41c6eb
push 4
pop eax
push eax
call fcn.0048e498
mov esi, eax
call fcn.0048f9e0
mov dword [esi], eax
push esi
mov dword [0x507340], eax
call fcn.0048e469
mov esi, dword [ebp - 0x2c]
pop ecx
pop ecx
test esi, esi
je 0x41c6fe
push str.OpenProcessToken
push esi
call ebx
mov dword [0x5079a8], eax
jmp 0x41c703
mov eax, dword [0x5079a8]
test eax, eax
je 0x41c769
xor esi, esi
lea eax, [ebp - 0x24]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x5079a8]
test eax, eax
je 0x41c769
lea eax, [ebp - 0x34]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41c769
mov eax, dword [ebp - 0x34]
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
push esi
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x41c769
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x10], eax
test eax, eax
je 0x41c7a9
push 0x4c2f58
push eax
call ebx
push 0x4c31ec
push dword [edi + 0x10]
mov dword [edi + 0x14], eax
call ebx
push 0x4c31fc
push dword [edi + 0x10]
mov dword [edi + 0x18], eax
call ebx
mov dword [edi + 0x1c], eax
xor eax, eax
cmp dword [edi + 0x14], eax
je 0x41c7ba
cmp dword [edi + 0x18], eax
je 0x41c7ba
cmp dword [edi + 0x1c], eax
jne 0x41c839
cmp dword [edi + 0x10], eax
je 0x41c839
call fcn.0041cbc9
test al, al
jne 0x41c7f5
mov eax, dword [0x507340]
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x2f4]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048dbeb
push eax
call fcn.0048fbd7
pop ecx
pop ecx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0xc], eax
test eax, eax
je 0x41c839
push str.ZwQuerySystemInformation
push eax
call ebx
push 0x4c3234
push dword [edi + 0x10]
mov dword [edi + 0x20], eax
call ebx
push 0x4c3244
push dword [edi + 0x10]
mov dword [edi + 0x24], eax
call ebx
push 0x4c3250
push dword [edi + 0x10]
mov dword [edi + 0x28], eax
call ebx
mov dword [edi + 0x2c], eax
mov eax, edi
call fcn.0048f3d2
ret