Function at 0x100021c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052d0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x1c], ebx
lea ecx, [ebx + 0x818]
call fcn.100242d0
lea esi, [ebx + 0x830]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.100242d0
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
push 0
call fcn.10024210
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
push 1
call fcn.10024210
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0
push 0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
push 0x28
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x48], 1
call fcn.100105e0
mov eax, dword [esi + 0x68]
mov dword [esi + 0x4c], eax
mov eax, 0x40
lea ecx, [esi + 0x17c]
mov dword [ecx], 0
lea ecx, [ecx + 4]
sub eax, 1
jne 0x100022a2
mov dword [esi + 0x78], eax
mov dword [esi + 0x27c], eax
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], eax
mov dword [esi + 0x28c], eax
mov dword [esi + 0x290], eax
mov dword [esi + 0x74], 0x40
lea edi, [ebx + 0xac4]
mov byte [ebp - 4], 5
mov dword [edi], eax
lea esi, [ebx + 0xb00]
mov dword [edi + 4], eax
mov ecx, esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
push eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
push eax
mov dword [edi + 0x34], eax
push 1
mov dword [edi + 0x38], eax
mov dword [ebp - 0x20], esi
call fcn.100105e0
mov dword [esi + 0x10], 0
push 0
lea esi, [ebx + 0xb14]
mov byte [ebp - 4], 6
push 0
push 1
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.100105e0
mov dword [esi + 0x10], 0
push 0
lea esi, [ebx + 0xb28]
mov byte [ebp - 4], 7
push 0
push 0x1c
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.100105e0
mov dword [esi + 0x10], 0
push 0x10002ed0
push fcn.10002930
push 0x200
push 0x24
lea eax, [ebx + 0xb70]
mov byte [ebp - 4], 8
push eax
call fcn.10031677
push 0
lea esi, [ebx + 0x5370]
mov byte [ebp - 4], 9
push 0
push 4
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.100105e0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 0xa
mov dword [ebx + 0x5398], 0xffffffff
mov dword [ebx + 0x539c], 0
mov dword [ebx + 0x53a4], 0
mov dword [ebx + 0x53a0], 0xffffffff
mov dword [ebx + 0x538c], 0xffffffff
mov dword [ebx + 0x5388], 0xffffffff
mov al, byte [ebp + 0x13]
lea ecx, [ebx + 0x53ac]
push 0
push 0
push 0x18
mov dword [ebx + 0x5384], 0xffffffff
mov dword [ebx + 0x5390], 1
mov byte [ebx + 0x53a8], al
call fcn.100105e0
mov eax, dword [ebx + 0x53b0]
mov dword [ebx + 0x5394], eax
push 0x3c
mov dword [ebx + 0xb6c], 0xffffffff
push 0
push edi
mov byte [ebp - 4], 0xb
mov byte [ebx + 4], 0
mov byte [ebx + 0x404], 0
call fcn.10033d30
lea esi, [ebx + 0xb00]
mov dword [ebx + 0x810], 0
mov dword [ebx + 0x814], 0xc800000
lea eax, [ebp - 0xd]
mov ecx, dword [esi + 4]
add esp, 0xc
cmp eax, ecx
jb 0x1000249f
mov eax, dword [esi + 0x10]
add eax, ecx
lea ecx, [ebp - 0xd]
cmp ecx, eax
jae 0x1000249f
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x487
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1000249f
int3
mov eax, dword [esi + 0x10]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov edi, eax
call fcn.10010950
lea ecx, [edi + 1]
cmp ecx, eax
jle 0x100024cd
mov ecx, esi
call fcn.10010950
mov ecx, dword [esi + 0x10]
sub ecx, eax
inc ecx
push ecx
mov ecx, esi
call fcn.100107f0
mov edi, dword [esi + 0x10]
lea eax, [edi + 1]
mov edi, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
test edi, edi
je 0x100028fc
mov edx, ebx
mov ecx, edi
sub edx, edi
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 3], al
test al, al
jne 0x100024f0
mov esi, dword [ebp + 0xc]
push edi
push str._s_dir.vpk
push esi
call fcn.10005650
push esi
call fcn.1002e500
add esp, 0x10
lea ecx, [ebp - 0x88]
push 0
push 0
call fcn.10010e90
push 0
push ecx
mov eax, esp
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
mov dword [eax], esi
call fcn.10011600
test al, al
jne 0x10002558
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [eax], edi
call fcn.10011600
test al, al
je 0x100028c8
push 0
push 0x1c
lea eax, [ebp - 0x50]
mov byte [ebp + 0xf], 0
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x50], 0x55aa1234
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10012f20
test al, al
je 0x1000260d
cmp dword [ebp - 0x50], 0x55aa1234
jne 0x1000260d
mov eax, dword [ebp - 0x4c]
cmp eax, 1
jne 0x100025f0
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
sub eax, dword [ebp - 0x48]
push 0
push 0
sub eax, 0xc
mov dword [ebp - 0x40], 0
push 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.10013590
mov esi, dword [ebp - 0x48]
mov byte [ebp + 0xf], 1
jmp 0x10002640
cmp eax, 2
jle 0x10002604
push edi
push eax
push str.Unknown_version__d_for_vpk__s
call fcn.10023d80
add esp, 0xc
mov esi, dword [ebp - 0x48]
mov byte [ebp + 0xf], 1
jmp 0x10002640
push 0
push 0
push 0
lea ecx, [ebp - 0x88]
call fcn.10013590
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea edi, [ebx + 0xb00]
mov dword [ebx + 0x810], esi
mov ecx, dword [edi + 0x10]
cmp esi, ecx
jle 0x10002699
mov eax, esi
mov dword [ebp - 0x18], ecx
sub eax, ecx
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.10010950
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
cmp ecx, eax
jle 0x1000268e
mov ecx, edi
call fcn.10010950
mov ecx, dword [edi + 0x10]
add ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
mov ecx, edi
call fcn.100107f0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
jmp 0x100026be
test esi, esi
js 0x100026a2
mov dword [edi + 0x10], esi
jmp 0x100026be
push str.count___0
push 0x4be
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x100026be
int3
push 0
push esi
push dword [ebx + 0xb04]
lea ecx, [ebp - 0x88]
call fcn.10012f20
cmp byte [ebp + 0x10], 0
je 0x1000281b
cmp byte [ebp + 0xf], 0
je 0x1000281b
cmp dword [ebp - 0x44], 0
je 0x1000281b
push 0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100105e0
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x44]
lea ecx, [ebx + 0xb14]
push edi
mov byte [ebp - 4], 0xd
mov dword [ebp + 0xc], edi
call fcn.10010730
push 0x80000
lea ecx, [ebp - 0x34]
call fcn.10010730
test edi, edi
jle 0x100027fc
mov esi, 0x80000
lea ecx, [ebp - 0x88]
cmp edi, esi
push 0
cmovb esi, edi
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.10012f20
xor ebx, ebx
test esi, esi
je 0x100027ec
jmp 0x10002760
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
add esi, 0xb14
add edi, ebx
mov ecx, dword [esi + 4]
cmp edi, ecx
jb 0x1000279a
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edi, eax
jae 0x1000279a
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x466
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1000279a
int3
mov eax, dword [esi + 0x10]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], eax
call fcn.10010950
mov ecx, dword [ebp + 0x10]
inc ecx
cmp ecx, eax
jle 0x100027cc
mov ecx, esi
call fcn.10010950
mov ecx, dword [esi + 0x10]
sub ecx, eax
inc ecx
push ecx
mov ecx, esi
call fcn.100107f0
mov eax, dword [esi + 0x10]
jmp 0x100027cf
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
inc eax
add ecx, dword [ebp - 0x18]
inc ebx
mov dword [esi + 0x10], eax
mov al, byte [edi]
mov esi, dword [ebp - 0x14]
mov byte [ecx], al
cmp ebx, esi
jl 0x10002760
mov edi, dword [ebp + 0xc]
sub edi, esi
mov dword [ebp + 0xc], edi
test edi, edi
jg 0x10002730
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x24], 0
call fcn.100106a0
lea ecx, [ebp - 0x34]
call fcn.100106a0
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x40]
lea ecx, [ebx + 0xb28]
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ecx + 0x10]
shr eax, 4
cmp edx, eax
jge 0x10002847
push 0
sub eax, edx
push eax
call fcn.10002ee0
push 0
push esi
push dword [ebx + 0xb2c]
lea ecx, [ebp - 0x88]
call fcn.10012f20
xor ecx, ecx
lea eax, [ebx + 0xb3c]
cmp dword [ebp - 0x3c], 0x30
lea esi, [ebx + 0xb4c]
mov dword [eax], ecx
lea edi, [ebx + 0xb5c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
jne 0x100028c5
push ecx
push 0x10
push eax
lea ecx, [ebp - 0x88]
call fcn.10012f20
push 0
push 0x10
push esi
lea ecx, [ebp - 0x88]
call fcn.10012f20
push 0
push 0x10
push edi
lea ecx, [ebp - 0x88]
call fcn.10012f20
mov edi, dword [ebp + 8]
push 0
push edi
lea esi, [ebx + 0x404]
push 0x400
push esi
call fcn.1002dc90
push esi
call fcn.1002e500
push 0x5c
push esi
call fcn.1002dbe0
add esp, 0x1c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.10011100
mov ecx, ebx
call fcn.10003760
mov eax, dword [ebx + 0xb6c]
mov ecx, dword [ebp - 0xc]
inc eax
pop edi
mov dword [ebx + 0x808], eax
mov eax, ebx
mov dword [ebx + 0x804], 0
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc