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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018b088
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
lea eax, [edi + 4]
mov dword [esp + 0x2c], eax
add eax, 4
push eax
mov dword [esp + 0x2c], 0x101975f4
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x101c503c]
mov esi, dword [edi + 0x50]
mov ecx, 0x64
sub ecx, eax
imul ecx, esi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
cmp eax, esi
mov dword [esp + 0x98], ebx
jne 0x100e7c42
cmp esi, 1
jle 0x100e7c42
cmp dword [edi + 0x40], ebx
jbe 0x100e7c42
sub eax, 1
mov edx, dword [edi + 0x40]
cmp edx, ebx
jne 0x100e7c4b
mov eax, esi
cmp eax, ebx
jne 0x100e7c59
cmp dword [edi + 0x4c], ebx
jbe 0x100e7c59
mov eax, 1
mov ecx, dword [edi + 0x4c]
cmp eax, ecx
jb 0x100e7c62
mov eax, ecx
mov ecx, eax
sub esi, ecx
mov eax, esi
cmp eax, edx
mov dword [esp + 0x1c], ecx
jb 0x100e7c72
mov eax, edx
cmp ecx, ebx
mov dword [esp + 0x18], eax
jbe 0x100e7e67
cmp dword [edi + 0x4c], ebx
jbe 0x100e7e67
mov eax, dword [edi + 0x48]
mov esi, dword [eax]
cmp esi, eax
lea ebp, [edi + 0x44]
jne 0x100e7c98
call fcn.1015828d
cmp dword [esi + 8], 0xffffffff
je 0x100e7e49
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x100e7e49
mov ecx, dword [esi + 0x3c]
sub ecx, eax
je 0x100e7e49
push ebx
mov edi, 0xf
push 0x1019777d
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10001b80
push ebx
push 0x1019777d
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 1
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10001b80
push ebx
push 0x1019777d
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 2
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10001b80
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov byte [esp + 0x98], 3
jne 0x100e7d37
xor edi, edi
jmp 0x100e7d3c
mov edi, dword [esi + 0x3c]
sub edi, eax
cmp eax, ebx
je 0x100e7d47
mov edx, dword [esi + 0x3c]
sub edx, eax
jne 0x100e7d4c
call fcn.1015828d
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x1c]
mov edx, dword [esi + 0x18]
push edi
push eax
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x70]
push edx
push ebx
lea eax, [esp + 0x5c]
push eax
push ebx
push 0xea60
push 0xa
call fcn.1002aa60
add esp, 0x1c
mov ecx, eax
call fcn.10025170
mov edi, 0x10
cmp dword [esp + 0x50], edi
jb 0x100e7da4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x100e7dc7
mov edx, dword [esp + 0x58]
push edx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x98], bl
jb 0x100e7df4
mov eax, dword [esp + 0x74]
push eax
call fcn.10157f3b
add esp, 4
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x100e7dff
xor eax, eax
jmp 0x100e7e04
mov eax, dword [esi + 0x3c]
sub eax, ecx
push eax
push 4
push ebx
call fcn.1010b39c
add esp, 8
mov ecx, eax
call fcn.1010a9db
cmp dword [esi + 0x30], ebx
je 0x100e7e38
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x100e7e27
xor eax, eax
jmp 0x100e7e2c
mov eax, dword [esi + 0x3c]
sub eax, ecx
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, 1
add dword [eax + 0x58], ecx
add dword [eax + 0x64], ecx
mov edi, eax
mov eax, dword [ebp + 4]
mov eax, dword [eax]
push eax
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.100e7150
sub dword [esp + 0x1c], 1
jne 0x100e7c7e
cmp dword [esp + 0x18], ebx
jbe 0x100e805a
cmp dword [edi + 0x40], ebx
jbe 0x100e805a
mov eax, dword [edi + 0x3c]
mov esi, dword [eax]
cmp esi, eax
lea ebp, [edi + 0x38]
mov dword [esp + 0x1c], ebp
jne 0x100e7e8f
call fcn.1015828d
cmp dword [esi + 8], 0xffffffff
je 0x100e803c
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x100e803c
mov edx, dword [esi + 0x3c]
sub edx, eax
je 0x100e803c
push ebx
mov ebp, 0xf
push 0x1019777d
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10001b80
push ebx
push 0x1019777d
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 4
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10001b80
push ebx
push 0x1019777d
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 5
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10001b80
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov byte [esp + 0x98], 6
jne 0x100e7f2e
xor edi, edi
jmp 0x100e7f33
mov edi, dword [esi + 0x3c]
sub edi, eax
cmp eax, ebx
je 0x100e7f3e
mov ecx, dword [esi + 0x3c]
sub ecx, eax
jne 0x100e7f43
call fcn.1015828d
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
push edi
push eax
movzx eax, word [esi + 0x1c]
push edx
mov edx, dword [esi + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x78]
push edx
push ebx
push 0xea60
push 0xa
call fcn.1002aa60
add esp, 0x1c
mov ecx, eax
call fcn.10025170
mov edi, 0x10
cmp dword [esp + 0x6c], edi
jb 0x100e7f9b
mov eax, dword [esp + 0x58]
push eax
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x100e7fba
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x98], bl
jb 0x100e7fe3
mov edx, dword [esp + 0x74]
push edx
call fcn.10157f3b
add esp, 4
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x100e7fee
xor eax, eax
jmp 0x100e7ff3
mov eax, dword [esi + 0x3c]
sub eax, ecx
push eax
push 4
push ebx
call fcn.1010b39c
add esp, 8
mov ecx, eax
call fcn.1010a9db
cmp dword [esi + 0x30], ebx
je 0x100e8027
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
jne 0x100e8016
xor eax, eax
jmp 0x100e801b
mov eax, dword [esi + 0x3c]
sub eax, ecx
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, 1
add dword [eax + 0x58], ecx
add dword [eax + 0x60], ecx
mov edi, eax
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
push eax
push ebp
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.100e7150
sub dword [esp + 0x18], 1
jne 0x100e7e71
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x30]
add eax, 1
cdq
idiv ecx
mov eax, dword [edi + 0x2c]
mov esi, edx
cdq
idiv ecx
xor ecx, ecx
mov dword [edi + 0x54], esi
cmp edx, esi
mov edx, dword [esp + 0x20]
setg cl
push edx
add ecx, eax
mov dword [edi + 0x50], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret