Function at 0x1082af3
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 [0x10f4460]
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jne 0x1082b27
push 4
push 0x1000
push dword [str._mz.q]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, ebx
mov dword [0x10f4460], eax
je 0x1082b67
push ebx
push dword [str._mz.q]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1082b63
add dword [str._mz.q], 0x2000
push 0x8000
push ebx
push dword [0x10f4460]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov dword [0x10f4460], eax
jmp 0x1082b06
cmp eax, ebx
je 0x1082b6e
xor eax, eax
jmp 0x1082d68
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x10f4460]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 0x3c], ebx
je 0x1082bae
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.msvcrt.dll_strrchr
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x1082ba9
inc ebx
jmp 0x1082bb3
mov ebx, dword [ebp - 0x1c]
jmp 0x1082bb3
mov ebx, 0x1029efc
push ebx
push 0x19
lea eax, [esi + 0x20]
push eax
call fcn.0108c975
cmp eax, 0x8007007a
jne 0x1082be2
push 0x19
push ebx
push 0x1029eec
push 0x1029ebc
mov dword [esi + 0x35], 0x2e2e2e
call fcn.01071b53
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 0x1082c74
shl eax, 3
push eax
call sub.msvcrt.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esi + 0xd4], eax
je 0x1082c7a
mov ecx, dword [esi + 0xd0]
cmp ecx, ebx
mov edx, eax
je 0x1082c7a
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 0x1082c5f
jmp 0x1082c7a
mov dword [esi + 0xd4], ebx
xor eax, eax
cmp dword [ebp + 0x14], eax
mov byte [esi + 0xd8], 0
je 0x1082d39
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], 0x1ff
mov dword [ebp - 8], eax
jbe 0x1082d39
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x24]
jne 0x1082d24
mov ecx, dword [eax]
mov eax, ecx
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x1082cb7
sub eax, edx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
je 0x1082ce8
push dword [ebp + 8]
and dword [ebp - 0x10], 0
push ecx
lea eax, [esi + 0xd8]
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
mov byte [esi + 0x2d7], bl
jmp 0x1082d16
cmp dword [ebp + 8], 1
jbe 0x1082d16
push dword [ebp + 8]
lea ebx, [esi + 0xd8]
push 0x101660c
push ebx
call sub.msvcrt.dll_strncat
dec dword [ebp + 8]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax]
push ebx
call sub.msvcrt.dll_strncat
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], eax
jb 0x1082d39
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 0x1082ca9
mov eax, dword [ebp - 0x14]
add esi, 0x2d8
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
je 0x1082d66
mov edi, dword [edi]
test edi, edi
je 0x1082d66
add dword [ebp - 0xc], edi
mov eax, dword [0x10f4460]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + ecx]
xor ebx, ebx
jmp 0x1082b7c
pop edi
pop esi
pop ebx
leave
ret 0x14