Function at 0x421150
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Make suspicious ntquerysysteminformation call
Query environment variable

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4f], 0xc1eb1542
mov dword [ebp - 0x4b], 0x7c90ec48
mov byte [ebp - 0x47], 0x42
mov al, byte [0x4dd6a8]
test al, al
jne 0x4211b2
mov dword [esp], 0x4dd6a8
call fcn.004ceb90
test eax, eax
je 0x4211b2
lea eax, [ebp - 0x4f]
mov ecx, 0x4df3c0
mov dword [esp], eax
call fcn.0042e96c
push eax
mov dword [esp], 0x4cfec0
call fcn.004013f0
mov dword [esp], 0x4dd6a8
call fcn.004cec60
mov ecx, 0x4df3c0
mov esi, 0x4dd0e0
lea edi, [ebp - 0x4f]
call fcn.0042e93c
mov dword [esp], 0x4df3c0
call fcn.00422510
mov ecx, 0x37
mov dword [ebp - 0x53], 0x45007e3e
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd680]
test al, al
jne 0x421220
mov dword [esp], 0x4dd680
call fcn.004ceb90
test eax, eax
je 0x421220
lea eax, [ebp - 0x4f]
mov ecx, 0x4df2c0
mov dword [esp], eax
call fcn.0042e834
push eax
mov dword [esp], 0x4cfef8
call fcn.004013f0
mov dword [esp], 0x4dd680
call fcn.004cec60
mov ecx, 0x4df2c0
call fcn.0042e804
mov dword [esp], 0x4df2c0
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42123f
lea eax, [ebp - 0x53]
call eax
lea eax, [ebp - 0x58]
mov dword [esp], 5
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
call sub.ntdll.dll_NtQuerySystemInformation
sub esp, 0x10
cmp eax, 0xc0000004
jne 0x421481
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x58]
xor edi, edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00424920
mov ebx, eax
test eax, eax
je 0x421481
mov dword [ebp - 0x4f], 0xc1eb1542
mov dword [ebp - 0x4b], 0x7c90ec48
mov byte [ebp - 0x47], 0x42
mov al, byte [0x4dd688]
test al, al
jne 0x4212e1
mov dword [esp], 0x4dd688
call fcn.004ceb90
test eax, eax
je 0x4212e1
lea eax, [ebp - 0x4f]
mov ecx, 0x4df300
mov dword [esp], eax
call fcn.0042e96c
push esi
mov dword [esp], 0x4cff30
call fcn.004013f0
mov dword [esp], 0x4dd688
call fcn.004cec60
mov ecx, 0x4df300
lea edi, [ebp - 0x4f]
mov esi, 0x4dd0e0
call fcn.0042e93c
mov dword [esp], 0x4df300
call fcn.00422510
mov ecx, 0x37
mov dword [ebp - 0x53], 0x59108642
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd690]
test al, al
jne 0x42134f
mov dword [esp], 0x4dd690
call fcn.004ceb90
test eax, eax
je 0x42134f
lea eax, [ebp - 0x4f]
mov ecx, 0x4df320
mov dword [esp], eax
call fcn.0042e834
push ecx
mov dword [esp], 0x4cff34
call fcn.004013f0
mov dword [esp], 0x4dd690
call fcn.004cec60
mov ecx, 0x4df320
call fcn.0042e804
mov dword [esp], 0x4df320
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42136e
lea eax, [ebp - 0x53]
call eax
lea eax, [ebp - 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 5
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [ebp - 0x4f], 0xc1eb1542
mov dword [ebp - 0x5c], eax
sub esp, 0x10
mov dword [ebp - 0x4b], 0x7c90ec48
mov byte [ebp - 0x47], 0x42
mov al, byte [0x4dd698]
test al, al
jne 0x4213e6
mov dword [esp], 0x4dd698
call fcn.004ceb90
test eax, eax
je 0x4213e6
lea eax, [ebp - 0x4f]
mov ecx, 0x4df360
mov dword [esp], eax
call fcn.0042e96c
push edx
mov dword [esp], 0x4cff40
call fcn.004013f0
mov dword [esp], 0x4dd698
call fcn.004cec60
mov ecx, 0x4df360
lea edi, [ebp - 0x4f]
mov esi, 0x4dd0e0
call fcn.0042e93c
mov dword [esp], 0x4df360
call fcn.00422510
mov ecx, 0x37
mov dword [ebp - 0x53], 0x6d208e46
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x4dd6a0]
test al, al
jne 0x421454
mov dword [esp], 0x4dd6a0
call fcn.004ceb90
test eax, eax
je 0x421454
lea eax, [ebp - 0x4f]
mov ecx, 0x4df380
mov dword [esp], eax
call fcn.0042e834
push eax
mov dword [esp], 0x4cff44
call fcn.004013f0
mov dword [esp], 0x4dd6a0
call fcn.004cec60
mov ecx, 0x4df380
call fcn.0042e804
mov dword [esp], 0x4df380
call sub.msvcrt.dll_getenv
test eax, eax
je 0x421473
lea eax, [ebp - 0x53]
call eax
cmp dword [ebp - 0x5c], 0
jns 0x42148c
mov dword [esp], ebx
call fcn.00424bd8
xor eax, eax
jmp 0x4214a7
add ebx, dword [ebx]
cmp dword [ebx], 0
je 0x42149d
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebp + 8]
test al, al
jne 0x421485
mov dword [esp], ebx
call fcn.00424bd8
mov al, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8