Function at 0x414806
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push esi
push edi
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x238], 0
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x234]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 1
push 0x44db6c
call fcn.00414f10
add esp, 8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4148a7
xor eax, eax
jmp 0x414d5d
mov dword [ebp - 0x238], 0x128
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov byte [eax], 0x7f
mov dword [ebp - 0x244], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x414d22
mov byte [ebp - 0x268], 0x4b
mov byte [ebp - 0x267], 0x45
mov byte [ebp - 0x266], 0x52
mov byte [ebp - 0x265], 0x4e
mov byte [ebp - 0x264], 0x45
mov byte [ebp - 0x263], 0x4c
mov byte [ebp - 0x262], 0x33
mov byte [ebp - 0x261], 0x32
mov byte [ebp - 0x260], 0x2e
mov byte [ebp - 0x25f], 0x64
mov byte [ebp - 0x25e], 0x6c
mov byte [ebp - 0x25d], 0x6c
mov byte [ebp - 0x25c], 0
mov byte [ebp - 0x254], 0x4f
mov byte [ebp - 0x253], 0x70
mov byte [ebp - 0x252], 0x65
mov byte [ebp - 0x251], 0x6e
mov byte [ebp - 0x250], 0x50
mov byte [ebp - 0x24f], 0x72
mov byte [ebp - 0x24e], 0x6f
mov byte [ebp - 0x24d], 0x63
mov byte [ebp - 0x24c], 0x65
mov byte [ebp - 0x24b], 0x73
mov byte [ebp - 0x24a], 0x73
mov byte [ebp - 0x249], 0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x230]
push edx
push 0
push 0x410
call dword [ebp - 0x258]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x230], 0
je 0x414d0a
cmp dword [ebp - 0x230], 4
je 0x414d0a
cmp dword [ebp - 0x230], 8
je 0x414d0a
mov byte [ebp - 0x298], 0x4b
mov byte [ebp - 0x297], 0x45
mov byte [ebp - 0x296], 0x52
mov byte [ebp - 0x295], 0x4e
mov byte [ebp - 0x294], 0x45
mov byte [ebp - 0x293], 0x4c
mov byte [ebp - 0x292], 0x33
mov byte [ebp - 0x291], 0x32
mov byte [ebp - 0x290], 0x2e
mov byte [ebp - 0x28f], 0x64
mov byte [ebp - 0x28e], 0x6c
mov byte [ebp - 0x28d], 0x6c
mov byte [ebp - 0x28c], 0
mov byte [ebp - 0x284], 0x4c
mov byte [ebp - 0x283], 0x6f
mov byte [ebp - 0x282], 0x63
mov byte [ebp - 0x281], 0x61
mov byte [ebp - 0x280], 0x6c
mov byte [ebp - 0x27f], 0x53
mov byte [ebp - 0x27e], 0x69
mov byte [ebp - 0x27d], 0x7a
mov byte [ebp - 0x27c], 0x65
mov byte [ebp - 0x27b], 0
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x298]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 0x278], 0x50
mov byte [ebp - 0x277], 0x53
mov byte [ebp - 0x276], 0x41
mov byte [ebp - 0x275], 0x50
mov byte [ebp - 0x274], 0x49
mov byte [ebp - 0x273], 0x2e
mov byte [ebp - 0x272], 0x44
mov byte [ebp - 0x271], 0x4c
mov byte [ebp - 0x270], 0x4c
mov byte [ebp - 0x26f], 0
mov byte [ebp - 0x2ac], 0x45
mov byte [ebp - 0x2ab], 0x6e
mov byte [ebp - 0x2aa], 0x75
mov byte [ebp - 0x2a9], 0x6d
mov byte [ebp - 0x2a8], 0x50
mov byte [ebp - 0x2a7], 0x72
mov byte [ebp - 0x2a6], 0x6f
mov byte [ebp - 0x2a5], 0x63
mov byte [ebp - 0x2a4], 0x65
mov byte [ebp - 0x2a3], 0x73
mov byte [ebp - 0x2a2], 0x73
mov byte [ebp - 0x2a1], 0x4d
mov byte [ebp - 0x2a0], 0x6f
mov byte [ebp - 0x29f], 0x64
mov byte [ebp - 0x29e], 0x75
mov byte [ebp - 0x29d], 0x6c
mov byte [ebp - 0x29c], 0x65
mov byte [ebp - 0x29b], 0x73
mov byte [ebp - 0x29a], 0
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x110]
push ecx
push 4
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x248]
push eax
call dword [ebp - 0x288]
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x248]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + eax + 6]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [ebp - 0x26c]
mov edx, dword [ebp - 0x244]
add edx, dword [ebp - 0x240]
cmp eax, edx
jae 0x414c49
push 0x42
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 0x23c], eax
push 4
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x23c]
add eax, dword [ebp - 0x244]
push eax
call fcn.00424650
add esp, 0xc
mov ecx, dword [ebp - 0x244]
add ecx, 4
mov dword [ebp - 0x244], ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, dword [ebp - 0x244]
push ecx
call fcn.00424650
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x244]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x244], edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x23c]
add edx, dword [ebp - 0x244]
push edx
call fcn.00424650
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x244]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x244], edx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4148ef
push 0x42
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 0x23c], eax
push 0
push str.SeDebugPrivilege
call fcn.00414f10
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret