Function at 0x1007f740
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1015db17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov al, byte [0x1018c957]
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
xor edi, edi
add al, 0x64
cmp ebp, edi
mov dword [esp + 0x3c], edi
mov byte [0x1018c956], al
mov byte [0x1018c954], 0x16
jne 0x1007f79e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], 1
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov dword [esp + 0x54], edi
mov edx, dword [ebp]
lea eax, [esp + 0x54]
mov ebx, 1
push eax
mov ecx, ebp
mov dword [esp + 0x4c], ebx
call dword [edx + 0x20]
cmp eax, edi
mov byte [0x1018c951], 0x40
je 0x1007f884
mov ecx, dword [0x1018c92c]
mov eax, 0x2d1
cdq
idiv ecx
mov esi, dword [0x1018c928]
mov eax, 0x39f
push 0x71
push 0x62
mov dl, byte [edx + esi]
mov byte [esp + 0x18], dl
cdq
idiv ecx
mov al, byte [edx + esi]
mov esi, dword [esp + 0x18]
push esi
push esi
mov byte [esp + 0x2c], al
call fcn.1007f5f0
mov edi, dword [0x1018c92c]
mov cl, al
mov eax, 0x179
mov ebp, dword [0x1018c928]
cdq
idiv edi
mov al, byte [edx + ebp]
add cl, al
mov eax, 0x63
cdq
idiv edi
mov al, byte [edx + ebp]
mov dl, 0x53
add cl, al
mov eax, dword [esp + 0x2c]
push ecx
mov cl, byte [0x1018c954]
sub dl, cl
push 0x7a
push edx
push esi
push eax
call fcn.1007f620
mov esi, dword [esp + 0x74]
mov cl, 0x2b
sub cl, al
mov eax, dword [esp + 0x78]
add esp, 0x24
mov byte [0x1018c950], cl
mov dword [esi], 0
mov dword [esp + 0x3c], ebx
test eax, eax
mov byte [esp + 0x48], 0
je 0x1007f86f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.100289f0
mov eax, 0x3c2
mov byte [esp + 0x50], 2
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
mov cl, byte [edx + eax]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
add cl, 0x42
push edx
push eax
mov byte [0x1018c956], cl
call fcn.1007f630
add esp, 0x10
mov cl, byte [0x1018c956]
mov esi, dword [esp + 0x24]
inc cl
mov byte [esp + 0x48], 3
cmp esi, edi
mov byte [0x1018c956], cl
mov dword [esp + 0x20], esi
je 0x1007f8ec
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov dl, byte [0x1018c957]
mov byte [esp + 0x48], 4
push edx
call fcn.1007fc30
mov edi, dword [0x1018c92c]
mov cl, al
mov eax, 0x1f2
cdq
idiv edi
mov al, cl
mov ecx, dword [0x1018c928]
imul byte [edx + ecx]
push eax
mov eax, 0x112
cdq
idiv edi
mov dl, byte [edx + ecx]
push edx
push 0xffffffffffffffb0
call fcn.1007f5f0
add esp, 0x10
mov byte [esp + 0x10], al
test esi, esi
je 0x1007fb64
cmp dword [esp + 0x28], 0x64
jl 0x1007fb64
mov al, byte [esp + 0x50]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.1000bc70
mov eax, 0x6a
mov cl, byte [0x1018c954]
cdq
idiv dword [0x1018c92c]
mov bl, byte [0x1018c951]
mov eax, dword [0x1018c928]
dec cl
dec bl
mov byte [esp + 0x48], 6
mov byte [0x1018c954], cl
mov byte [0x1018c951], bl
sub cl, bl
mov dl, byte [edx + eax]
push edx
push ecx
push 0xffffffffffffffc0
call fcn.1007fc40
mov byte [0x1018c955], al
lea eax, [esp + 0x38]
push eax
push esi
call fcn.10026fa0
mov cl, byte [0x1018c952]
add esp, 0x14
mov dl, cl
add dl, 0x62
dec cl
test eax, eax
mov byte [0x1018c953], dl
mov byte [0x1018c952], cl
jge 0x1007fa32
mov edi, dword [esp + 0x50]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 1
mov dword [edi], 0
mov byte [esp + 0x4c], 4
call fcn.1000bc70
mov eax, dword [esi]
push esi
mov byte [esp + 0x4c], 3
call dword [eax + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x48], 2
test eax, eax
je 0x1007fa09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 1
test eax, eax
je 0x1007fa1c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x48], 0
test eax, eax
je 0x1007fc0e
jmp 0x1007fc08
call fcn.1007fc30
mov byte [0x1018c955], al
mov dword [esp + 0x18], 0
mov eax, 0x1b6
mov bl, 8
cdq
idiv dword [0x1018c92c]
mov eax, dword [0x1018c928]
push ebp
mov byte [esp + 0x4c], bl
mov cl, byte [edx + eax]
lea edx, [esp + 0x20]
push edx
mov byte [0x1018c954], cl
call fcn.10028750
mov eax, dword [eax]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x34]
push ecx
push edx
push eax
mov byte [esp + 0x5c], 9
call fcn.10027c40
mov edi, eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x5c], bl
xor ebx, ebx
add esp, 0x14
cmp eax, ebx
je 0x1007fa9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [0x1018c952], 0xa3
jge 0x1007fab7
mov al, byte [esp + 0x10]
dec al
add al, 0x3d
mov byte [0x1018c957], al
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
cmp eax, ebx
mov dword [edi], eax
je 0x1007facf
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x3c], 1
mov byte [esp + 0x48], 6
je 0x1007fae6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x48], 4
cmp ecx, ebx
je 0x1007fb11
mov al, byte [ecx - 1]
test al, al
je 0x1007fb05
cmp al, 0xff
je 0x1007fb05
dec al
mov byte [ecx - 1], al
jmp 0x1007fb11
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [esi]
push esi
mov byte [esp + 0x4c], 3
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x48], 2
cmp eax, ebx
je 0x1007fb3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 1
cmp eax, ebx
je 0x1007fb4e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x48], 0
cmp eax, ebx
je 0x1007fc0e
jmp 0x1007fc08
mov ecx, dword [0x1018c92c]
mov eax, 0x26b
cdq
idiv ecx
mov edi, dword [0x1018c928]
mov eax, 0xe
mov dl, byte [edx + edi]
mov byte [esp + 0x10], dl
cdq
idiv ecx
mov cl, 0x2c
mov al, byte [edx + edi]
mov edx, dword [esp + 0x10]
push eax
mov al, byte [0x1018c956]
imul cl
push eax
mov al, byte [0x1018c957]
add al, 0x53
push edx
push eax
call fcn.1007f5f0
mov cl, byte [0x1018c952]
mov edi, dword [esp + 0x60]
sub cl, al
add esp, 0x10
mov byte [0x1018c953], cl
mov dword [edi], 0
test esi, esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x48], 3
je 0x1007fbd5
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x48], 2
test eax, eax
je 0x1007fbe8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 1
test eax, eax
je 0x1007fbfb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x48], 0
test eax, eax
je 0x1007fc0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret