Function at 0x4ca620
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.004b8890
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 0x4ca6df
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 0x4caa19
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 0x4ca846
mov eax, ebx
mov dword [esp + 0x3c], ebx
nop
cmp ecx, ebp
jbe 0x4ca84d
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4ca75f
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 0x4ca7a6
test esi, esi
je 0x4ca794
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 0x4ca7a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ca7b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x4ca7ca
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 0x4ca80d
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 0x4ca80d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 5
test esi, esi
je 0x4ca81f
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 0x4ca740
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x4ca857
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 0x4ca86f
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 0x4ca9fd
cmp eax, ebp
jbe 0x4ca84d
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 0x4ca8da
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov dword [esp + 0x20], esi
test edi, edi
je 0x4ca916
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 0x4ca916
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 8
test esi, esi
je 0x4ca928
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 0x4ca95a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
je 0x4ca95a
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 0x4ca993
test ebx, ebx
je 0x4ca985
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4ca993
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 0x4ca9c3
test ebx, ebx
je 0x4ca9b3
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
test eax, eax
je 0x4ca9c3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
call fcn.00478b60
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ca9e2
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 0x4ca887
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x58], 8
jb 0x4caa15
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4caa15
push eax
call fcn.00507b54
add esp, 4
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x80], 3
test edi, edi
je 0x4caa2b
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
je 0x4caa6d
mov esi, ebx
cmp ebx, ebp
je 0x4caa64
cmp dword [esi + 0x14], 8
jb 0x4caa4a
mov eax, dword [esi]
test eax, eax
je 0x4caa4a
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 0x4caa35
push ebx
call fcn.00507b54
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x4caa85
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4caa85
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 0x4caab4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4caac5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x80], 0xffffffff
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4caae1
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