Function at 0x4123c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1a50
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
test esi, esi
je 0x4123fb
mov eax, dword [esi + 0xc]
push 0x4db51c
push eax
call fcn.004ac913
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
jne 0x41240d
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esi + 0x18]
test eax, eax
push ebx
push ebp
jne 0x412460
mov eax, dword [edi + 4]
test eax, eax
jne 0x4126d7
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4126d7
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4126d7
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4126d7
pop ebp
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esp + 0xc]
lea ebx, [ebx]
test eax, eax
je 0x4126d2
mov ebp, dword [eax + 8]
test ebp, ebp
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
je 0x4126c1
mov eax, dword [ebp + 0xc]
push 0x4db514
push eax
call fcn.004ac913
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
je 0x412574
lea esi, [esp + 0x10]
mov eax, ebp
call fcn.00405420
mov eax, dword [eax]
lea ebx, [edi + 8]
call fcn.0049afb0
mov esi, dword [edi + 4]
or esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [edi + 4], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4124d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x14]
mov eax, ebp
call fcn.00405420
mov eax, dword [eax]
lea ebx, [edi + 0x20]
mov esi, eax
call fcn.0049ab40
mov edx, dword [edi + 0x1c]
or edx, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [edi + 0x1c], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412511
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x18]
mov eax, ebp
call fcn.00405420
mov eax, dword [eax]
lea ebx, [edi + 0x38]
call fcn.0049c150
mov edx, dword [edi + 0x30]
or edx, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [edi + 0x30], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41254c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esi, [esp + 0x1c]
mov eax, ebp
call fcn.00405420
mov eax, dword [eax]
lea ebx, [edi + 0x54]
mov esi, eax
call fcn.00438420
mov edx, dword [edi + 0x50]
or edx, eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x50], edx
jmp 0x4126a7
mov eax, dword [ebp + 0xc]
push str.description
push eax
call fcn.004ac913
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
je 0x41261e
push str.name
mov eax, ebp
call fcn.004054e0
test eax, eax
je 0x4125e4
lea esi, [esp + 0x20]
call fcn.00405420
lea ecx, [edi + 0x64]
push eax
mov dword [esp + 0x3c], 0
call fcn.00403e70
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.size
mov eax, ebp
call fcn.004054e0
test eax, eax
je 0x4126c1
lea esi, [esp + 0x24]
call fcn.00405420
mov edx, dword [eax]
lea ecx, [edi + 0x68]
push ecx
push str._I64i
push edx
call fcn.004acfb3
mov eax, dword [esp + 0x30]
add esp, 0xc
jmp 0x4126a7
mov eax, dword [ebp + 0xc]
push str.metadata
push eax
call fcn.004ac913
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
je 0x412655
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x412647
mov eax, dword [ecx]
push 1
call dword [eax]
push ebp
call fcn.00411e30
add esp, 4
mov dword [edi + 0x70], eax
jmp 0x4126c1
mov eax, dword [ebp + 0xc]
push str.packaged
push eax
call fcn.004ac913
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
je 0x4126c1
push 0x4db4b4
mov eax, ebp
call fcn.004054e0
test eax, eax
je 0x4126c1
lea esi, [esp + 0x28]
call fcn.00405420
lea ecx, [edi + 0x74]
push eax
mov dword [esp + 0x3c], 1
call fcn.00403e70
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x412456
jmp 0x412416
jmp fcn.004bcac3
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret