Function at 0x560d50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x612440
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x60]
mov edi, dword [ecx + 4]
test edi, edi
je 0x560dc0
cmp dword [edi + 0x14], 0
je 0x560dc0
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x2c]
lea ebx, [eax + edx]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
jmp 0x560dd2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov ebx, ecx
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, ebp
and eax, 0x200
mov dword [esp + 0x40], eax
je 0x560df8
mov eax, dword [ecx + 8]
sub eax, ebx
lea eax, [eax + edx - 1]
mov dword [esp + 0x64], eax
jmp 0x560e18
test ebp, 0x100
je 0x560e14
mov eax, dword [ecx + 8]
sub eax, ebx
add eax, edx
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x64], eax
jmp 0x560e18
mov dword [esp + 0x64], edx
test ebp, 0x400
je 0x560e2d
mov ebp, dword [ecx + 0xc]
add ebp, dword [ecx + 4]
sub ebp, dword [esp + 0x24]
dec ebp
jmp 0x560e4f
test ebp, 0x800
je 0x560e4c
mov eax, dword [ecx + 0xc]
sub eax, dword [esp + 0x24]
mov edx, dword [ecx + 4]
add eax, edx
add eax, edx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x560e4f
mov ebp, dword [ecx + 4]
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebx
cmp edi, ecx
je 0x560ea7
cmp dword [edi + 0x14], ecx
je 0x560ea7
mov edx, dword [esi]
mov edi, dword [esp + 0x60]
push 1
push ebp
push eax
mov eax, dword [edx + 0x104]
push edi
mov ecx, esi
call eax
mov eax, dword [edi + 4]
test eax, eax
je 0x560e89
mov eax, dword [eax + 8]
add eax, 4
add dword [esp + 0x64], eax
sub ebx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cdq
sub eax, edx
sar eax, 1
add ebp, eax
xor ecx, ecx
mov edx, dword [0x6d983c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [eax]
mov dword [esp + 0x54], ecx
jmp 0x560ed0
movzx eax, word [ebx]
cmp ax, 0xa
je 0x560f61
test ax, ax
je 0x560f61
mov edx, dword [esp + 0x5c]
mov ecx, ebx
sub ecx, dword [edx]
sar ecx, 1
cmp ecx, dword [esp + 0x6c]
jne 0x560f4d
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
movzx ecx, word [ebx]
push ecx
push 1
lea ecx, [esp + 0x1c]
call fcn.0050de40
mov edx, dword [esi]
mov edx, dword [edx + 0x140]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
lea ecx, [eax + ebp]
mov dword [esp + 0x60], ecx
add ebx, 2
jmp 0x560ed0
push eax
push 1
lea ecx, [esp + 0x1c]
call fcn.0050de40
add ebx, 2
jmp 0x560ed0
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], 0
mov edi, dword [esp + 0x64]
je 0x560fce
test dword [esp + 0x68], 0x300
je 0x560fbb
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x40], 0
je 0x560fa8
sub edi, dword [esp + 0x30]
add edi, dword [esp + 0x18]
jmp 0x560fbb
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x64]
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
push ebp
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
add ebp, dword [esp + 0x34]
cmp ebp, dword [esp + 0x60]
jne 0x560fe0
add dword [esp + 0x20], edi
add dword [esp + 0x1c], edi
cmp word [ebx], 0
je 0x560fff
mov eax, dword [0x63bb88]
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.0050e950
add ebx, 2
jmp 0x560ed0
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
je 0x56105d
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0x64
push 0
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x4c]
call fcn.00562c80
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
mov byte [esp + 0x58], 1
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 0
call fcn.005429d0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0xe0]
dec eax
push eax
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x56107e
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov dword [eax], edi
sub ebp, ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0xc0]
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
mov edx, dword [edx + 0xc0]
add eax, ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
add eax, ecx
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x54], 0xffffffff
cmp eax, 0xffffffff
je 0x5610d9
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5610d9
call fcn.0050ccc0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x18