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

Disassembly:
push 0xffffffffffffffff
push 0x10251c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
xor ebx, ebx
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
cmp esi, ebx
mov byte [esp + 0x60], 1
je 0x55539e
mov ecx, dword [eax + 8]
mov eax, ecx
sub eax, esi
sar eax, 2
cmp eax, ebx
je 0x55539e
cmp dword [esp + 0x68], 0x64
jne 0x554f9e
cmp eax, 1
jne 0x55539e
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.00554419
jmp 0x55539e
cmp esi, ecx
je 0x554fe8
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esp + 0x10], 0x63
push esi
jg 0x554fcd
lea ecx, [esp + 0x18]
call fcn.005072b9
mov ebx, dword [esp + 0x1c]
jmp 0x554fda
lea ecx, [esp + 0x28]
call fcn.005072b9
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
add esi, 4
cmp esi, ecx
jne 0x554fa9
cmp dword [esp + 0x68], 0x5a
je 0x555103
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x554fff
xor eax, eax
jmp 0x555006
mov eax, ebp
sub eax, esi
sar eax, 2
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x555012
xor ebx, ebx
jmp 0x555017
sub ebx, ecx
sar ebx, 2
lea edx, [ebx + eax]
mov ebx, 1
cmp edx, ebx
jne 0x555074
test esi, esi
je 0x5550ae
mov eax, ebp
sub eax, esi
sar eax, 2
cmp eax, ebx
jne 0x555074
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.00554419
cmp dword [esp + 0x68], ebx
jne 0x555050
mov edi, dword [edi + 0x84]
jmp 0x555056
mov edi, dword [edi + 0x80]
mov eax, dword [esp + 0x6c]
cmp edi, dword [eax + 0x10]
ja 0x555069
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x555069
mov dword [eax + 0x14], ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55508e
push eax
jmp 0x555086
test esi, esi
je 0x5550ae
sub ebp, esi
sar ebp, 2
test ebp, ebp
je 0x5550ae
test ecx, ecx
je 0x55508e
push ecx
call fcn.0049cb9b
add esp, 4
push esi
call fcn.0049cb9b
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
mov edx, dword [edi + 0x40]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x54], 4
je 0x5550cd
mov edx, dword [eax + 0x78]
test edx, edx
jne 0x5550c8
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x5550cd
or edi, 0xffffffff
jmp 0x5550d2
mov edi, 0xfffffffe
test ecx, ecx
je 0x5550df
push ecx
call fcn.0049cb9b
add esp, 4
test esi, esi
je 0x5550ec
push esi
call fcn.0049cb9b
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
mov edx, dword [esp + 0x28]
xor esi, esi
cmp edx, esi
jne 0x555111
xor ecx, ecx
jmp 0x555118
sub ebp, edx
sar ebp, 2
mov ecx, ebp
mov ebp, dword [esp + 0x18]
cmp ebp, esi
jne 0x555124
xor eax, eax
jmp 0x55512b
mov eax, ebx
sub eax, ebp
sar eax, 2
add eax, ecx
cmp eax, 1
jne 0x555380
cmp ebp, esi
je 0x555312
sub ebx, ebp
sar ebx, 2
cmp ebx, eax
jne 0x555312
mov eax, dword [ebp]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x555312
mov eax, dword [edi + 0x90]
cmp eax, 0xffffffff
jne 0x555202
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov bl, 2
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], bl
call fcn.005072b9
push 1
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00554809
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x48]
mov dword [eax + 0x14], esi
call fcn.00483999
mov ecx, dword [edi + 0x48]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x64], 3
call fcn.0055ae49
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], bl
call fcn.004830b9
mov eax, dword [edi + 0x74]
cmp eax, dword [edi + 0x78]
je 0x5551da
mov dword [eax + 0x14], esi
mov ecx, dword [edi + 0x78]
add eax, 0x28
cmp eax, ecx
jne 0x5551cd
mov ecx, dword [edi + 0x48]
push 0x64
add ecx, 0x264
call fcn.004fd6c9
mov ecx, dword [edi + 0x48]
mov byte [ecx + 0x3a8], 1
lea ecx, [esp + 0x34]
call fcn.004bb7d9
jmp 0x555340
cmp eax, esi
jne 0x55525c
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
lea edx, [edi + 0x98]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov dword [edi + 0x90], 1
lea ecx, [esp + 0x14]
call fcn.004bb7d9
lea ecx, [esp + 0x24]
call fcn.004bb7d9
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
cmp eax, 1
jne 0x5552e8
mov esi, dword [esp + 0x6c]
push esi
lea ecx, [edi + 0x98]
call fcn.00481909
test al, al
jne 0x555230
xor ebx, ebx
mov dword [esp + 0x70], ebx
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x70]
push ecx
push 0x10276ddc
push eax
mov byte [esp + 0x6c], 4
call dword [edx]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x70]
push edx
push edi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.005531f9
mov eax, dword [esp + 0x7c]
add esp, 0x10
cmp eax, edi
je 0x5552c9
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x18]
call fcn.004e75d9
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x70]
dec edx
cmp eax, ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edx
mov byte [esp + 0x60], 1
je 0x555340
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x555340
lea ecx, [esp + 0x14]
call fcn.004bb7d9
lea ecx, [esp + 0x24]
call fcn.004bb7d9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.00554419
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0x80]
cmp eax, dword [ecx + 0x10]
ja 0x555340
mov edx, dword [edi + 0x40]
mov eax, dword [edx + 0xc]
cmp dword [eax + 0x54], 4
je 0x555354
mov dword [ecx + 0x14], 2
lea ecx, [esp + 0x14]
call fcn.004bb7d9
lea ecx, [esp + 0x24]
call fcn.004bb7d9
jmp 0x55539e
lea ecx, [esp + 0x14]
call fcn.004bb7d9
lea ecx, [esp + 0x24]
call fcn.004bb7d9
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
cmp ebp, esi
je 0x555391
push ebp
call fcn.0049cb9b
mov edx, dword [esp + 0x2c]
add esp, 4
cmp edx, esi
je 0x55539e
push edx
call fcn.0049cb9b
add esp, 4
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc