Function at 0x10059030
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b8be1
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x6c], esi
mov dword [esi], vtable.TSIPCMsg.0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0xf
mov byte [esi + 0x5c], 0
mov dword [esi + 0x74], 1
mov dword [ebp - 0x40], 0
mov edi, 0xf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x28], 0
mov ebx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xb
movlpd qword [ebp - 0x50], xmm0
call fcn.10070e10
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100591d4
push eax
lea ecx, [ebp - 0x68]
call fcn.1004d8a0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
call fcn.10047850
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10059171
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100592bf
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edi, dword [ebp - 0x44]
lea ecx, [ebp - 0x68]
lea eax, [edi + 0x1c]
push eax
call fcn.1004d8a0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x28]
call fcn.10047850
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x100591c0
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100591b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100592bf
push edx
push ecx
call fcn.1018a765
add esp, 8
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x3c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
jmp 0x100591e0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push 7
push str.unknown
lea ecx, [esi + 8]
call fcn.10047990
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x20]
cmp ecx, eax
je 0x1005920c
push dword [ebp - 0x30]
cmp edi, 0x10
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10047990
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x38]
cmp ecx, eax
je 0x10059229
push dword [ebp - 0x18]
cmp ebx, 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10047990
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
lea ecx, [esi + 0x74]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x54], eax
mov eax, 1
mov byte [esi + 0x58], 1
xchg dword [ecx], eax
cmp ebx, 0x10
jb 0x10059272
mov ecx, dword [ebp - 0x28]
lea edx, [ebx + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100592bf
push edx
push ecx
call fcn.1018a765
add esp, 8
cmp edi, 0x10
jb 0x100592a1
mov ecx, dword [ebp - 0x40]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059297
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100592bf
push edx
push ecx
call fcn.1018a765
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
call fcn.1019291f
int3