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

Disassembly:
push 0xffffffffffffffff
push 0x542948
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596c60]
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.004dcfe0
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.0047c390
lea edx, [esp + 0x44]
mov ecx, 0x2f
call fcn.00478460
mov ebx, dword [esp + 0xac]
xor edi, edi
add esp, 0x18
mov dword [esp + 0x40], edi
test ebx, ebx
je 0x4de0ff
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 0x4de439
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 0x4de266
mov eax, ebx
mov dword [esp + 0x3c], ebx
nop
cmp ecx, ebp
jbe 0x4de26d
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4de17f
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c390
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.00501520
mov esi, dword [eax]
cmp edi, esi
je 0x4de1c6
test esi, esi
je 0x4de1b4
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 0x4de1c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4de1d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x4de1ea
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 0x4de22d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.005020d0
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 0x4de22d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 5
test esi, esi
je 0x4de23f
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 0x4de160
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x4de277
push str.invalid_vector_T__subscript
call fcn.0052907d
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4de28f
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c390
mov eax, dword [esi + 4]
xor ebp, ebp
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4de41d
cmp eax, ebp
jbe 0x4de26d
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.00501520
mov byte [esp + 0x80], 8
xor esi, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
test eax, eax
je 0x4de2fa
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov dword [esp + 0x20], esi
test edi, edi
je 0x4de336
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.005020d0
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 0x4de336
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 8
test esi, esi
je 0x4de348
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
push ecx
push esp
lea ecx, [esp + 0x24]
call fcn.00501cb0
push ecx
mov ebx, esp
mov dword [ebx], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4de37a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
je 0x4de37a
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 0x4de3b3
test ebx, ebx
je 0x4de3a5
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4de3b3
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 0x4de3e3
test ebx, ebx
je 0x4de3d3
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
test eax, eax
je 0x4de3e3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
call fcn.004df110
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4de402
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 0x4de2a7
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x58], 8
jb 0x4de435
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4de435
push eax
call fcn.00507b54
add esp, 4
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x80], 3
test edi, edi
je 0x4de44b
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
je 0x4de48d
mov esi, ebx
cmp ebx, ebp
je 0x4de484
cmp dword [esi + 0x14], 8
jb 0x4de46a
mov eax, dword [esi]
test eax, eax
je 0x4de46a
push eax
call fcn.00507b54
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 0x4de455
push ebx
call fcn.00507b54
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x4de4a5
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4de4a5
push eax
call fcn.00507b54
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 0x4de4d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4de4e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x80], 0xffffffff
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4de501
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.005072fd
add esp, 0x70
ret