Function at 0x5dd97a
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6339c8
push eax
mov eax, dword [esp + 0x28]
mov dword fs:[0], esp
sub esp, 0x34
mov edx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push edi
push ebp
push ebx
push eax
mov ecx, esi
call fcn.005dc290
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x58]
push ecx
push ebp
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jl 0x5dd9c1
mov eax, ecx
cmp dword [esp + 0x14], eax
jge 0x5dd9cd
cmp dword [esp + 0x18], eax
jl 0x5dd9d8
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
call fcn.005ddfa0
mov eax, dword [esp + 0x5c]
xor esi, esi
xor ebx, ebx
cmp eax, 0x900
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jne 0x5dda43
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov dword [esp + 0x3c], ecx
mov ebx, eax
mov eax, ecx
cdq
sub eax, edx
mov ecx, dword [esp + 0x18]
sar ebx, 1
sar eax, 1
sub ebx, eax
mov eax, dword [edi]
add ebx, eax
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
mov dword [esp + 0x40], ecx
mov esi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [edi + 4]
add esi, eax
jmp 0x5ddab2
cmp eax, esi
jne 0x5dda76
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
cdq
sub eax, edx
mov ebx, dword [edi]
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [edi + 4]
add ebx, 2
add esi, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
jmp 0x5ddab2
cmp eax, 0x200
jne 0x5ddab2
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 8]
sub eax, ecx
mov dword [esp + 0x3c], ecx
lea ebx, [eax + edx - 2]
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [edi + 4]
add esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [0x65329c]
push ecx
push 0
push str.bool
lea ecx, [esp + 0x6c]
call fcn.004e9b90
mov edx, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov ecx, dword [edx + 0x1c4]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x6c]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x6c]
push edx
call dword [eax + 0x28]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x60]
add eax, 0xfffffff4
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5ddb1a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5ddb1a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0x6c]
mov ecx, dword [esp + 0x54]
test al, al
mov eax, dword [esp + 0x68]
mov ecx, dword [ecx + 0x1c4]
push eax
mov eax, dword [esp + 0x68]
mov edx, dword [ecx]
push eax
je 0x5ddb41
call dword [edx + 0x38]
mov byte [esp + 0x54], al
jmp 0x5ddb8a
lea eax, [esp + 0x70]
push eax
call dword [edx + 0x1c]
lea ecx, [esp + 0x68]
mov dword [esp + 0x4c], 1
push ecx
call fcn.005db7b0
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x58], al
add esp, 4
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5ddb8a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5ddb8a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0x54]
test al, al
je 0x5ddbfd
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
call fcn.00469ee0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
inc eax
inc edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov edi, dword [ebp]
call fcn.005ddef0
push eax
mov ecx, ebp
call dword [edi + 0x88]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0xe8]
mov edi, dword [ebp]
push 8
call fcn.0046a700
add esp, 4
mov ecx, ebp
push eax
call dword [edi + 0x34]
mov ecx, dword [esp + 0x58]
push 0x64
push 1
call fcn.005ddef0
push eax
lea ecx, [esp + 0x28]
call fcn.00475e40
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov dword [esp + 0x50], 2
call dword [edx + 0x30]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0047d2b0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp]
push ecx
push edx
push esi
push ebx
mov ecx, ebp
call dword [eax + 0xf0]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x1c