Function at 0x100bfde0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019263c
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ebb68]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x20]
mov eax, edi
mov dword [esp + 0x30], edi
call fcn.10033560
push eax
lea esi, [esp + 0x2c]
mov dword [esp + 0x8c], 0
call fcn.100c0960
add esp, 4
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100bfe81
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100bfe81
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100bfe81
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x88], 3
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVCR100.dll___RTtypeid]
add esp, 4
push eax
mov ecx, 0x101fa184
call dword [sym.imp.MSVCR100.dll_public:_bool___thiscall_type_info::operator_class_type_info_const__const]
test al, al
je 0x100c0108
push ebx
lea esi, [esp + 0x24]
call fcn.100a0590
add esp, 4
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov bl, byte [eax + 0x10]
push 0x34
call esi
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 5
test eax, eax
je 0x100bfef4
push eax
call fcn.100248a0
jmp 0x100bfef6
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x88], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.10027120
mov byte [esp + 0x88], 6
mov edx, dword [esp + 0x10]
mov byte [edx + 0x30], 1
mov eax, dword [esp + 0x10]
push 0xc8
mov dword [eax + 0x2c], 0x64
call esi
xor esi, esi
add esp, 4
cmp eax, esi
je 0x100bff45
call fcn.100247d0
jmp 0x100bff47
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.10026950
mov byte [esp + 0x88], 7
test bl, bl
je 0x100bffe5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
cmp eax, esi
jne 0x100bff79
mov eax, dword [0x101ff4d8]
mov eax, dword [eax + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10108390
lea edx, [esp + 0x18]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 8
call fcn.100c0370
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.100ac2e0
mov edx, dword [esp + 0x10]
mov byte [edx + 8], 1
mov dword [esp + 0x3c], vtable.TransferIO::FileBaseInfo.0
lea ebx, [esp + 0x3c]
mov byte [esp + 0x88], 9
call fcn.10108490
lea ecx, [esp + 0x40]
call fcn.10145dc0
mov ecx, ebx
mov byte [esp + 0x88], 7
call fcn.10124c50
mov edi, dword [esp + 0x30]
jmp 0x100c0000
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
mov byte [eax + 8], 0
mov eax, dword [edi + 0x54]
mov ecx, dword [esp + 0x14]
push esi
add ecx, 0x10
push eax
call fcn.1000bd90
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
mov ecx, edi
call edx
mov byte [esp + 0x88], 6
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100c0053
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c0053
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c0053
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100c008c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c008c
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c008c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x88], 3
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100c00c5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c00c5
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c00c5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x88], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x100c0101
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c0101
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c0101
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, 0x11
jmp 0x100c0154
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 1
mov ecx, edi
call edx
mov dword [esp + 0x88], 0xffffffff
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x100c014f
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c014f
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c014f
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, 8
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10178946
mov esp, ebp
pop ebp
ret 4