Function at 0x4dd860
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5422b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x595c60]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x595c60]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 1
call fcn.004dc800
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
sub esp, 0x18
mov byte [esp + 0x98], 3
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x7c]
push eax
call fcn.0047c410
lea edx, [esp + 0x44]
mov ecx, 0x2f
call fcn.004784e0
mov ebx, dword [esp + 0xac]
xor edi, edi
add esp, 0x18
mov dword [esp + 0x40], edi
test ebx, ebx
je 0x4dd91f
mov eax, dword [ebx]
mov edi, ebx
push ebx
call dword [eax + 4]
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x30]
mov eax, 0x2aaaaaab
mov ebx, dword [esp + 0x2c]
mov ecx, ebp
sub ecx, ebx
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x20], ecx
je 0x4ddc59
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
xor ebp, ebp
mov byte [esp + 0x80], 5
lea eax, [ecx - 1]
mov dword [esp + 0x24], eax
lea edx, [ebp + 3]
test eax, eax
je 0x4dda86
mov eax, ebx
mov dword [esp + 0x3c], ebx
nop
cmp ecx, ebp
jbe 0x4dda8d
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4dd99f
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c410
mov edx, 3
lea eax, [esp + 0x44]
push eax
sub esp, 0x10
lea ecx, [esp + 0x9c]
mov eax, esp
mov word [eax], dx
mov dword [eax + 8], 1
lea eax, [esp + 0x30]
push eax
call fcn.00500ea0
mov esi, dword [eax]
cmp edi, esi
je 0x4dd9e6
test esi, esi
je 0x4dd9d4
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, edi
mov edi, esi
mov dword [esp + 0x40], edi
test eax, eax
je 0x4dd9e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4dd9f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x4dda0a
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, edi
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4dda4d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00501a50
push 0
mov byte [esp + 0x84], 7
push dword [eax]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x54]
mov byte [esp + 0x80], 6
mov ebx, eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4dda4d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 5
test esi, esi
je 0x4dda5f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
inc ebp
mov ecx, dword [esp + 0x20]
add eax, 0x18
mov edx, 3
mov dword [esp + 0x3c], eax
cmp ebp, dword [esp + 0x24]
jb 0x4dd980
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x4dda97
push str.invalid_vector_T__subscript
call fcn.005289ed
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4ddaaf
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c410
mov eax, dword [esi + 4]
xor ebp, ebp
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4ddc3d
cmp eax, ebp
jbe 0x4dda8d
mov eax, dword [ecx + ebp*4]
mov ecx, 3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
push eax
sub esp, 0x10
mov eax, esp
mov word [eax], cx
lea ecx, [esp + 0x9c]
mov dword [eax + 8], 1
lea eax, [esp + 0x2c]
push eax
call fcn.00500ea0
mov byte [esp + 0x80], 8
xor esi, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
test eax, eax
je 0x4ddb1a
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov dword [esp + 0x20], esi
test edi, edi
je 0x4ddb56
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.00501a50
push 0
mov byte [esp + 0x84], 0xa
push dword [eax]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x54]
mov byte [esp + 0x80], 9
mov ebx, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4ddb56
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 8
test esi, esi
je 0x4ddb68
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
push ecx
push esp
lea ecx, [esp + 0x24]
call fcn.00501630
push ecx
mov ebx, esp
mov dword [ebx], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4ddb9a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
je 0x4ddb9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
sub esp, 0xc
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov ebx, dword [esp + 0xa0]
cmp dword [esi], ebx
je 0x4ddbd3
test ebx, ebx
je 0x4ddbc5
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4ddbd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0xa8]
mov byte [esi + 8], al
mov ebx, dword [esp + 0xa4]
cmp dword [esi + 4], ebx
je 0x4ddc03
test ebx, ebx
je 0x4ddbf3
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
test eax, eax
je 0x4ddc03
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
call fcn.004de930
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ddc22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x38]
inc ebp
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp eax, ebp
ja 0x4ddac7
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x58], 8
jb 0x4ddc55
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4ddc55
push eax
call fcn.005074d4
add esp, 4
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x80], 3
test edi, edi
je 0x4ddc6b
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
je 0x4ddcad
mov esi, ebx
cmp ebx, ebp
je 0x4ddca4
cmp dword [esi + 0x14], 8
jb 0x4ddc8a
mov eax, dword [esi]
test eax, eax
je 0x4ddc8a
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebp
jne 0x4ddc75
push ebx
call fcn.005074d4
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x4ddcc5
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ddcc5
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov byte [esp + 0x80], al
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test ecx, ecx
je 0x4ddcf4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4ddd05
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x80], 0xffffffff
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4ddd21
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00506c7d
add esp, 0x70
ret