Function at 0x100ccdf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018adf3
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6d0]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x580], edi
call fcn.10021db0
lea ebp, [eax + 4]
push ebp
mov dword [esp + 0x50], 0x10199614
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x67d]
mov byte [esp + 0x584], 1
call fcn.10012070
mov ebx, 0x10
cmp dword [esp + 0x48], ebx
jb 0x100cce95
mov edx, dword [esp + 0x34]
push edx
call fcn.10159534
add esp, 4
cmp byte [esp + 0x6c2], 1
jne 0x100cd06a
movzx eax, word [esp + 0x6c5]
movzx ecx, word [esp + 0x6c3]
push eax
push ecx
lea edx, [esp + 0x681]
push edx
lea eax, [esp + 0x430]
push eax
call fcn.100edaba
add esp, 0x10
push eax
mov byte [esp + 0x584], 2
call fcn.100ecef1
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1002a9c0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x5b4]
mov byte [esp + 0x58c], 3
call fcn.10005470
cmp dword [esp + 0x48], ebx
jb 0x100ccf14
mov edx, dword [esp + 0x34]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x43c], ebx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
mov byte [esp + 0x580], 1
jb 0x100ccf46
mov eax, dword [esp + 0x428]
push eax
call fcn.10159534
add esp, 4
mov ecx, dword [esp + 0x679]
mov edx, dword [esp + 0x67d]
xor eax, eax
mov dword [esp + 0x400], eax
mov dword [esp + 0x400], ecx
mov ecx, dword [esp + 0x685]
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x681]
mov dword [esp + 0x404], edx
mov edx, dword [esp + 0x689]
mov dword [esp + 0x40c], ecx
mov ecx, dword [esp + 0x675]
mov dword [esp + 0x408], eax
mov eax, dword [esp + 0x671]
mov dword [esp + 0x410], edx
mov dx, word [esp + 0x6c5]
mov dword [esp + 0x418], ecx
mov cx, word [esp + 0x6c3]
mov dword [esp + 0x414], eax
mov byte [esp + 0x422], 0x64
mov word [esp + 0x41c], cx
mov word [esp + 0x41e], dx
xor eax, eax
jmp 0x100cd000
cmp byte [esp + eax + 0x400], 0
jne 0x100cd02f
add eax, 1
cmp eax, 0x14
jb 0x100cd000
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x588]
call fcn.10036120
mov eax, 5
jmp 0x100cd62b
cmp cx, dx
ja 0x100cd012
lea edx, [esp + 0x400]
push edx
lea ecx, [esi + 0x4c68]
call fcn.100d4830
test al, al
je 0x100cd06a
lea ecx, [esp + 0x4c]
call fcn.10001720
lea ecx, [esp + 0x588]
call fcn.10036120
mov eax, 5
jmp 0x100cd62b
mov ebx, dword [esi + 0x59d0]
lea eax, [esp + 0x665]
push eax
lea ecx, [esp + 0x28]
lea edi, [esi + 0x59cc]
push ecx
mov ecx, edi
call fcn.10062240
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x100cd097
cmp eax, edi
je 0x100cd09c
call fcn.1015988d
cmp dword [ebp + 4], ebx
je 0x100cd0ab
mov edx, dword [esp + 0x20]
push edx
jmp 0x100cd013
lea eax, [esp + 0x58c]
push eax
lea ecx, [esp + 0x468]
call fcn.1010add5
lea ecx, [esp + 0x464]
mov byte [esp + 0x580], 4
call fcn.10109cc0
test al, al
jne 0x100cd141
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x594]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], al
call fcn.10005470
cmp dword [esp + 0x48], 0x10
jb 0x100cd114
mov edx, dword [esp + 0x34]
push edx
call fcn.10159534
add esp, 4
lea ecx, [esp + 0x464]
call fcn.1002c3e0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x588]
call fcn.10036120
mov eax, 6
jmp 0x100cd62b
mov ebx, dword [esi + 0x64]
lea edi, [esi + 0x60]
mov dword [esp + 0x460], 0xf
mov dword [esp + 0x45c], 0
mov byte [esp + 0x44c], 0
mov ecx, dword [esp + 0x6d4]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x594]
mov dword [esp + 0x44c], ecx
push edx
lea ecx, [esp + 0x454]
mov byte [esp + 0x58c], 5
call fcn.10005470
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.100a9860
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x100cd1b4
cmp eax, edi
je 0x100cd1b9
call fcn.1015988d
cmp dword [ebp + 4], ebx
jne 0x100cd2ed
cmp byte [esp + 0x60a], 1
jne 0x100cd2ed
push 1
push 3
lea ecx, [esp + 0x68]
call fcn.10011410
mov edx, dword [esp + 0x6d4]
push edx
lea eax, [esp + 0x590]
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x58c], 6
call fcn.100258f0
add esp, 8
mov ecx, eax
call fcn.10011190
cmp byte [esp + 0x6c2], 1
je 0x100cd250
lea edx, [esp + 0x424]
push edx
lea ecx, [esp + 0x64]
call fcn.100376f0
lea ecx, [esp + 0x5a8]
push ecx
push eax
lea ecx, [esi + 0x5260]
mov byte [esp + 0x588], 7
mov dword [esp + 0x1c], 1
call fcn.1002dc10
test al, al
jne 0x100cd250
mov bl, 1
jmp 0x100cd252
xor bl, bl
test byte [esp + 0x14], 1
mov dword [esp + 0x580], 6
je 0x100cd270
lea ecx, [esp + 0x424]
call fcn.10089160
test bl, bl
je 0x100cd2dc
sub esp, 0x1c
lea edx, [esp + 0x5c4]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.10005ff0
mov ecx, 0x101cef09
call fcn.10004be0
lea ecx, [esp + 0x60]
mov byte [esp + 0x580], 5
call fcn.10003a80
lea ecx, [esp + 0x444]
call fcn.100a8670
lea ecx, [esp + 0x464]
call fcn.1002c3e0
lea ecx, [esp + 0x4c]
call fcn.10001720
lea ecx, [esp + 0x588]
call fcn.10036120
mov eax, 1
jmp 0x100cd62b
lea ecx, [esp + 0x60]
mov byte [esp + 0x580], 5
call fcn.10003a80
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.100a9860
mov ebp, dword [esp + 0x14]
cmp edi, ebp
mov ebx, dword [edi + 4]
je 0x100cd311
call fcn.1015988d
cmp ebx, dword [esp + 0x18]
je 0x100cd341
lea ecx, [esp + 0x14]
call fcn.10061ca0
cmp byte [eax + 0x184], 0
jne 0x100cd341
lea ecx, [esp + 0x14]
call fcn.10061ca0
add eax, 0x20
add dword [eax + 0x158], 1
jmp 0x100cd5ce
cmp edi, ebp
mov ebx, dword [edi + 4]
je 0x100cd34d
call fcn.1015988d
cmp ebx, dword [esp + 0x18]
je 0x100cd38c
lea ecx, [esp + 0x14]
call fcn.10061ca0
cmp byte [eax + 0x184], 0
je 0x100cd38c
lea ecx, [esp + 0x14]
call fcn.10061ca0
mov edx, dword [eax + 0x20]
push edx
push 0
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.10061ca0
add eax, 4
push eax
mov ecx, esi
call fcn.100c7420
xor ebx, ebx
cmp dword [esp + 0x6d4], ebx
je 0x100cd455
mov dword [esp + 0x440], 0xf
mov dword [esp + 0x43c], ebx
mov byte [esp + 0x42c], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x594]
push eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x58c], 8
mov dword [esp + 0x430], ebx
call fcn.10005470
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call fcn.100a9860
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
call fcn.1002e660
test al, al
je 0x100cd441
lea ecx, [esp + 0x54]
call fcn.10061ca0
cmp byte [eax + 0x184], bl
je 0x100cd441
lea ecx, [esp + 0x54]
call fcn.10061ca0
mov edx, dword [eax + 0x20]
push edx
push ebx
push 1
push ebx
lea ecx, [esp + 0x64]
call fcn.10061ca0
add eax, 4
push eax
mov ecx, esi
call fcn.100c7420
lea ecx, [esp + 0x424]
mov byte [esp + 0x580], 5
call fcn.100a8670
add dword [esi + 0x6c], 1
push ebx
mov ecx, esi
call fcn.100a4420
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x588]
mov dword [ecx], eax
push edx
lea ecx, [esp + 0xec]
mov dword [esp + 0x58c], eax
call fcn.100b5720
push eax
lea eax, [esp + 0x448]
mov bl, 9
push eax
lea ecx, [esp + 0x26c]
mov byte [esp + 0x588], bl
call fcn.100b8060
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x588], 0xa
call fcn.100bf680
lea ecx, [esp + 0x264]
mov byte [esp + 0x580], bl
call fcn.100ad140
lea ecx, [esp + 0xe8]
mov byte [esp + 0x580], 5
call fcn.100ad0d0
mov ebx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x28]
lea edi, [esi + 0x34]
push edx
mov ecx, edi
call fcn.10004d20
mov eax, dword [esp + 0x24]
test eax, eax
mov ebp, dword [edi + 4]
je 0x100cd4ff
cmp eax, edi
je 0x100cd504
call fcn.1015988d
cmp dword [esp + 0x28], ebp
jne 0x100cd52c
mov eax, dword [ebx]
mov ecx, dword [esp + 0x6d4]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x58]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, edi
call fcn.10023410
push 1
push 3
lea ecx, [esp + 0x68]
call fcn.10011410
mov ecx, dword [esp + 0x6d4]
push ecx
lea edx, [esp + 0x590]
push edx
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x58c], 0xb
call fcn.100258f0
add esp, 8
mov ecx, eax
call fcn.10011190
lea ecx, [esp + 0x424]
push ecx
lea ecx, [esp + 0x64]
call fcn.100376f0
push eax
mov byte [esp + 0x584], 0xc
call fcn.100ecabf
add esp, 4
push eax
lea ecx, [esi + 0x4d38]
call fcn.100afb10
lea ecx, [esp + 0x424]
call fcn.10089160
lea ecx, [esp + 0xb4]
mov byte [esp + 0x580], 5
call fcn.10002b10
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0xb8], 0x10199618
call fcn.10158bf4
add esp, 4
cmp dword [esp + 0x460], 0x10
jb 0x100cd5e8
mov eax, dword [esp + 0x44c]
push eax
call fcn.10159534
add esp, 4
lea ecx, [esp + 0x464]
mov dword [esp + 0x460], 0xf
mov dword [esp + 0x45c], 0
mov byte [esp + 0x44c], 0
call fcn.1002c3e0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x588]
call fcn.10036120
xor eax, eax
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.10159cce
add esp, 0x570
ret 0x150