Function at 0x1001a88
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x12d3198]
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jne 0x1001aba
push 4
push 0x1000
push dword [0x1003024]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, ebx
mov dword [0x12d3198], eax
je 0x1001af6
push ebx
push dword [0x1003024]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1001afd
add dword [0x1003024], 0x2000
push 0x8000
push ebx
push dword [0x12d3198]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov dword [0x12d3198], eax
jmp 0x1001a99
xor eax, eax
jmp 0x1001d01
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x12d3198]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 0x3c], ebx
je 0x1001b48
push 1
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
cmp dword [ebp - 0x1c], ebx
je 0x1001b41
push 0x5c
push dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll_strrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x1001b3c
inc eax
jmp 0x1001b4d
mov eax, dword [ebp - 0x1c]
jmp 0x1001b4d
mov eax, 0x100122f
jmp 0x1001b4d
mov eax, 0x1001220
push 0x80
push eax
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
mov byte [esi + 0x9f], 0
mov dword [esi + 0x10], ebx
mov eax, dword [edi + 0x44]
mov dword [esi], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x120], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x124], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x128], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x12c], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x130], eax
mov eax, dword [edi + 4]
add esp, 0xc
cmp dword [ebp + 0x10], ebx
mov dword [esi + 0x134], eax
je 0x1001bf8
shl eax, 3
push eax
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [esi + 0x138], eax
je 0x1001bfe
mov ecx, dword [esi + 0x134]
cmp ecx, ebx
mov edx, eax
je 0x1001bfe
lea eax, [edi + 0xdc]
mov ebx, dword [eax + 0x10]
mov dword [edx], ebx
mov ebx, dword [eax]
mov dword [edx + 4], ebx
add edx, 8
add eax, 0x40
dec ecx
jne 0x1001be3
jmp 0x1001bfe
mov dword [esi + 0x138], ebx
mov byte [esi + 0x53c], 0
mov eax, dword [edi + 0x50]
mov dword [esi + 0x93c], eax
xor eax, eax
cmp dword [ebp + 0x14], eax
lea ebx, [esi + 0x13c]
mov byte [esi + 0x940], 0
mov byte [ebx], 0
je 0x1001cd2
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], 0x3ff
mov dword [ebp - 8], eax
jbe 0x1001cd2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x24]
jne 0x1001cbd
mov ecx, dword [eax]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x18], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001c57
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
je 0x1001c85
push dword [ebp + 8]
and dword [ebp - 0x10], 0
push ecx
push ebx
call dword [sym.imp.msvcrt.dll_strncpy]
mov eax, dword [ebp + 8]
add esp, 0xc
mov byte [ebx + eax], 0
jmp 0x1001caf
cmp dword [ebp + 8], 1
jbe 0x1001caf
push dword [ebp + 8]
push 0x100121c
push ebx
call dword [sym.imp.msvcrt.dll_strncat]
dec dword [ebp + 8]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax]
push ebx
call dword [sym.imp.msvcrt.dll_strncat]
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], eax
jb 0x1001cd2
sub dword [ebp + 8], eax
mov eax, dword [ebp - 4]
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
add eax, 0x2c
cmp ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
jb 0x1001c46
mov eax, dword [ebp - 0x14]
add esi, 0xb40
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
je 0x1001cff
mov edi, dword [edi]
test edi, edi
je 0x1001cff
add dword [ebp - 0xc], edi
mov eax, dword [0x12d3198]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + ecx]
xor ebx, ebx
jmp 0x1001b0b
pop edi
pop esi
pop ebx
leave
ret 0x14