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

Disassembly:
push 0xffffffffffffffff
push 0x10189d88
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x78], eax
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 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], 0x101975f4
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 0x100dad0e
cmp edi, eax
je 0x100dad13
call fcn.1015828d
cmp esi, dword [esp + 0x40]
je 0x100daec2
test edi, edi
jne 0x100dad26
call fcn.1015828d
cmp esi, dword [edi + 4]
jne 0x100dad3a
call fcn.1015828d
cmp esi, dword [edi + 4]
jne 0x100dad3a
call fcn.1015828d
lea ecx, [esi + 0x30]
call fcn.100dc7f0
push 0
push 0x64
push edx
push eax
call fcn.10159ae0
lea ebp, [esi + 0x30]
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x48], edx
call fcn.100dc790
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
push ebx
call fcn.1015a9c0
cmp esi, dword [edi + 4]
mov byte [esp + 0x17], al
jne 0x100dad82
call fcn.1015828d
cmp esi, dword [edi + 4]
jne 0x100dad82
call fcn.1015828d
lea ecx, [esi + 0x30]
call fcn.100dc790
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x3c], edx
call fcn.100dc760
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 0x100dade4
call fcn.1015828d
mov ecx, ebp
call fcn.100dc870
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 0x100dae10
call fcn.1015828d
lea esp, [esp]
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x100dae1d
call fcn.1015828d
cmp esi, edi
je 0x100dae88
cmp esi, dword [ebp + 8]
jb 0x100dae2b
call fcn.1015828d
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 0x100dae79
add eax, 1
cmp eax, 0x14
jb 0x100dae35
cmp esi, dword [ebp + 8]
jb 0x100dae52
call fcn.1015828d
mov al, byte [esp + 0x17]
add byte [esi + 0x1c], al
cmp esi, dword [ebp + 8]
jb 0x100dae63
call fcn.1015828d
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 0x100dae83
call fcn.1015828d
add esi, 0x29
jmp 0x100dae10
test bl, bl
jne 0x100dae98
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.10058980
mov ecx, ebp
call fcn.10053a70
cmp eax, dword [esp + 0xa4]
jae 0x100daec2
lea ecx, [esp + 0x1c]
call fcn.100a9730
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x100dad06
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x100daed1
xor esi, esi
jmp 0x100daee7
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.101586e7
add esp, 0x88
ret 8