Function at 0x4138c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x565158
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
imul edi, edi, 0x64
mov ecx, dword [ecx + 0xa8]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add edi, dword [eax + 0x5b8]
push 0xffff0002
push edx
push 0
push 0
push 0
push ebp
push ebp
push ecx
push 0x23
mov ecx, ebx
call fcn.00519f3b
mov esi, eax
push 0xc
mov dword [esp + 0x38], esi
call fcn.0050fcfd
add esp, 4
push eax
push 0
push 0
push 0
xor ecx, ecx
push 0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
push 0
push 4
mov dword [eax + 4], ecx
push esi
mov ecx, ebx
mov dword [eax], 3
call fcn.00519eed
cmp dword [esp + 0x30], 0
jne 0x413962
mov dword [edi + 0x58], esi
jmp 0x413965
mov dword [edi + 0x5c], esi
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [edi + 0x48], edx
add esi, 0x1f8
xor eax, eax
mov edi, str.V1.24.R03
mov ecx, 0xa
repe cmpsb byte [esi], byte es:[edi]
lea edi, [eax - 1]
je 0x41398d
sbb eax, eax
sbb eax, edi
test eax, eax
jl 0x413bf2
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x338], 1
jge 0x4139af
cmp dword [eax + 0x330], 0
jne 0x413bf2
cmp edx, 2
mov esi, dword [esp + 0x34]
jle 0x413a04
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push 0x581484
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x38], eax
call fcn.0050fcfd
add esp, 4
push eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push ecx
mov dword [eax], 3
mov dword [eax + 4], edi
mov eax, dword [esp + 0x4c]
push 4
push eax
mov ecx, ebx
call fcn.00519eed
cmp dword [esp + 0x2c], 4
jle 0x413a57
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push 0x581480
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x38], eax
call fcn.0050fcfd
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push 4
push ecx
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
cmp dword [esp + 0x2c], 8
jle 0x413aaa
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push str.9_12
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x38], eax
call fcn.0050fcfd
mov edx, dword [esp + 0x38]
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push 4
push edx
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
cmp dword [esp + 0x2c], 0xc
jle 0x413afd
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push str.13_16
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x38], eax
call fcn.0050fcfd
add esp, 4
push eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push ecx
mov dword [eax], 3
mov dword [eax + 4], edi
mov eax, dword [esp + 0x4c]
push 4
push eax
mov ecx, ebx
call fcn.00519eed
cmp dword [esp + 0x2c], 8
jl 0x413b50
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push 0x581460
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x38], eax
call fcn.0050fcfd
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push 4
push ecx
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
cmp dword [esp + 0x2c], 0xc
jl 0x413ca8
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push str.8_16
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov dword [esp + 0x30], eax
call fcn.0050fcfd
mov edx, dword [esp + 0x30]
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push 4
push edx
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
push 0xffff0002
push esi
push 0
push 0
push 0
push ebp
push ebp
push str.1_16
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov ebp, eax
call fcn.0050fcfd
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push 4
push ebp
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
jmp 0x413ca8
push str.1_16
lea ecx, [esp + 0x2c]
call fcn.004019c0
mov eax, dword [esp + 0x2c]
cmp eax, 4
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x28]
jg 0x413c23
push 3
push 0x581484
call fcn.00401840
jmp 0x413c39
cmp eax, 8
jg 0x413c2f
push 0x581460
jmp 0x413c34
push str.1_16
call fcn.00401980
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push 0xffff0002
push eax
push 0
push 0
push 0
push ebp
push ebp
push ecx
push 0x23
mov ecx, ebx
call fcn.00519f3b
push 0xc
mov esi, eax
call fcn.0050fcfd
add esp, 4
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [eax + 8], ecx
push 4
push esi
mov ecx, ebx
mov dword [eax], 3
mov dword [eax + 4], edi
call fcn.00519eed
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x413ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x20]
push esi
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18