Function at 0x10042e20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1025e76b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push 0x64
call fcn.1024cbd1
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x2c], edi
je 0x10042e7f
mov ecx, esi
call fcn.100a21c0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [esp + 0x44], 1
call fcn.10041280
mov dword [esi], 0x1026bf48
mov dword [esp + 0xc], esi
jmp 0x10042e85
mov dword [esp + 0xc], edi
mov esi, edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x3c], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x54], edx
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x5c], edx
mov eax, dword [eax + 0x38]
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.100a2390
test eax, eax
jne 0x10042f0c
cmp esi, edi
je 0x10042ef6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebp
lea eax, [ebx + 0x14]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.1009ee90
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ebp, edx
mov dword [esp + 0x30], 2
mov dword [esp + 0x18], ebp
inc ebp
cmp ebp, edi
jne 0x10042f50
cmp eax, edi
je 0x10042f45
push eax
call fcn.1024cbfa
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x1004303e
cmp eax, edi
jne 0x10042f88
lea edi, [ebp*4]
push edi
call fcn.1024cbd1
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x1004303e
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x10042fa6
cmp ebp, edx
jle 0x10042f9e
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x1004303e
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x10042fd0
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x10042fc4
mov eax, 4
jmp 0x10042fd0
cmp eax, 0x400
jle 0x10042fd0
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x38], eax
jl 0x10042fde
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax*4]
push ecx
call fcn.1024cbd1
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.10044fa0
mov eax, dword [ebx + 4]
push eax
call fcn.1024cbfa
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
add esp, 0x10
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [eax + ecx*4], esi
lea ecx, [esp + 0x1c]
call fcn.1009eef0
mov ecx, dword [esp + 0x28]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4