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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x106d160]
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jne 0x10207f0
push 4
push 0x1000
push dword [0x102c2d0]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, ebx
mov dword [0x106d160], eax
je 0x1020830
push ebx
push dword [0x102c2d0]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x102082c
add dword [0x102c2d0], 0x2000
push 0x8000
push ebx
push dword [0x106d160]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov dword [0x106d160], eax
jmp 0x10207cf
cmp eax, ebx
je 0x1020837
xor eax, eax
jmp 0x1020a31
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x106d160]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 0x3c], ebx
je 0x1020877
push 1
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
push 0x5c
push dword [ebp - 0x1c]
call sub.ntdll.dll_strrchr
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1020872
inc ebx
jmp 0x102087c
mov ebx, dword [ebp - 0x1c]
jmp 0x102087c
mov ebx, 0x100890c
push ebx
push 0x19
lea eax, [esi + 0x20]
push eax
call fcn.0100b4e5
cmp eax, 0x8007007a
jne 0x10208ab
push 0x19
push ebx
push 0x10088fc
push 0x10088cc
mov dword [esi + 0x35], 0x2e2e2e
call fcn.01015d10
add esp, 0x10
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
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 + 0xbc], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0xc0], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0xc4], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0xcc], eax
mov eax, dword [edi + 4]
mov dword [esi + 0xd0], eax
je 0x102093d
shl eax, 3
push eax
call sub.msvcrt.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esi + 0xd4], eax
je 0x1020943
mov ecx, dword [esi + 0xd0]
cmp ecx, ebx
mov edx, eax
je 0x1020943
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 0x1020928
jmp 0x1020943
mov dword [esi + 0xd4], ebx
xor eax, eax
cmp dword [ebp + 0x14], eax
mov byte [esi + 0xd8], 0
je 0x1020a02
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], 0x1ff
mov dword [ebp - 8], eax
jbe 0x1020a02
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x24]
jne 0x10209ed
mov ecx, dword [eax]
mov eax, ecx
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x1020980
sub eax, edx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
je 0x10209b1
push dword [ebp + 8]
and dword [ebp - 0x10], 0
push ecx
lea eax, [esi + 0xd8]
push eax
call sub.ntdll.dll_strncpy
add esp, 0xc
mov byte [esi + 0x2d7], bl
jmp 0x10209df
cmp dword [ebp + 8], 1
jbe 0x10209df
push dword [ebp + 8]
lea ebx, [esi + 0xd8]
push 0x1004f54
push ebx
call sub.ntdll.dll_strncat
dec dword [ebp + 8]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax]
push ebx
call sub.ntdll.dll_strncat
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], eax
jb 0x1020a02
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 0x1020972
mov eax, dword [ebp - 0x14]
add esi, 0x2d8
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
je 0x1020a2f
mov edi, dword [edi]
test edi, edi
je 0x1020a2f
add dword [ebp - 0xc], edi
mov eax, dword [0x106d160]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + ecx]
xor ebx, ebx
jmp 0x1020845
pop edi
pop esi
pop ebx
leave
ret 0x14