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

Disassembly:
push 0xffffffffffffffff
push 0x1018c018
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov esi, ecx
mov dword [esp + 0x18], eax
lea eax, [esi + 8]
mov dword [esp + 0x30], eax
add eax, 4
push eax
mov dword [esp + 0x30], 0x10199614
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x28]
lea eax, [esi + 0x24]
mov esi, dword [ecx]
mov edi, eax
mov edx, ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edx
test edi, edi
je 0x100d602e
cmp edi, eax
je 0x100d6033
call fcn.1015988d
cmp esi, dword [esp + 0x40]
je 0x100d61e2
test edi, edi
jne 0x100d6046
call fcn.1015988d
cmp esi, dword [edi + 4]
jne 0x100d605a
call fcn.1015988d
cmp esi, dword [edi + 4]
jne 0x100d605a
call fcn.1015988d
lea ecx, [esi + 0x30]
call fcn.100d7b00
push 0
push 0x64
push edx
push eax
call fcn.1015a7a0
lea ebp, [esi + 0x30]
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x48], edx
call fcn.100d7a80
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
push ebx
call fcn.1015bb60
cmp esi, dword [edi + 4]
mov byte [esp + 0x17], al
jne 0x100d60a2
call fcn.1015988d
cmp esi, dword [edi + 4]
jne 0x100d60a2
call fcn.1015988d
lea ecx, [esi + 0x30]
call fcn.100d7a80
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x3c], edx
call fcn.10058470
cmp esi, dword [edi + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov cl, byte [esp + 0x17]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], cl
mov dword [esp + 0x7d], 0
jne 0x100d6104
call fcn.1015988d
mov ecx, ebp
call fcn.10058550
mov ebp, dword [esp + 0x18]
mov esi, dword [ebp + 4]
xor bl, bl
cmp esi, dword [ebp + 8]
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], edx
jbe 0x100d6130
call fcn.1015988d
lea esp, [esp]
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x100d613d
call fcn.1015988d
cmp esi, edi
je 0x100d61a8
cmp esi, dword [ebp + 8]
jb 0x100d614b
call fcn.1015988d
mov edi, esi
lea edx, [esp + 0x60]
xor eax, eax
sub edi, edx
lea ecx, [esp + eax + 0x60]
mov dl, byte [edi + ecx]
cmp dl, byte [ecx]
jne 0x100d6199
add eax, 1
cmp eax, 0x14
jb 0x100d6155
cmp esi, dword [ebp + 8]
jb 0x100d6172
call fcn.1015988d
mov al, byte [esp + 0x17]
add byte [esi + 0x1c], al
cmp esi, dword [ebp + 8]
jb 0x100d6183
call fcn.1015988d
mov ecx, dword [esp + 0x81]
mov edx, dword [esp + 0x85]
or dword [esi + 0x21], ecx
or dword [esi + 0x25], edx
mov bl, 1
cmp esi, dword [ebp + 8]
jb 0x100d61a3
call fcn.1015988d
add esi, 0x29
jmp 0x100d6130
test bl, bl
jne 0x100d61b8
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.10054830
mov ecx, ebp
call fcn.1004f8c0
cmp eax, dword [esp + 0xa4]
jae 0x100d61e2
lea ecx, [esp + 0x1c]
call fcn.100a5730
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x100d6026
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x100d61f1
xor esi, esi
jmp 0x100d6207
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x63e7063f
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10159cce
add esp, 0x88
ret 8