Function at 0x539198
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov byte [eax - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
cmp eax, 0x64
jne 0x5392df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
dec eax
sub eax, 0x63
jae 0x5392df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xa8]
cmp word [edx + eax*8 + 0x22], 0
jne 0x5392df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp dword [eax + 0xc], 2
jge 0x5392df
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.005b4c74
test al, al
je 0x5392df
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 0xa8]
mov ebx, dword [eax + ecx*8]
test ebx, ebx
je 0x539290
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ecx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x18]
call fcn.0052738c
jmp 0x5397e3
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x15c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ecx*8 + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
push eax
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x18]
call fcn.0052738c
jmp 0x5397e3
mov eax, dword [ebp + 8]
lea esi, [eax - 0x28]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x5394b1
mov eax, dword [ebp + 8]
cmp byte [eax - 0x29], 0
je 0x53936b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x53946b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xac]
call fcn.00408914
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x53946b
mov eax, dword [ebp + 8]
add eax, 0xffffff9c
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
lea edx, [edx + edx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xac]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x1c]
call fcn.005419c8
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
jmp 0x53946b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0xffffffff
jle 0x53946b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa8]
call fcn.00408914
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x14]
jle 0x53946b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xa8]
movzx edx, word [edx + eax*8 + 0x1e]
test dl, dl
je 0x539401
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xa8]
lea edx, [edx + eax*8]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xa8]
movsx eax, word [edx + eax*8 + 0x22]
mov edx, dword [0x6a0848]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x78]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00542030
jmp 0x539464
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0x14]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa8]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xa8]
movsx eax, word [eax + ebx*8 + 0x22]
mov edx, dword [0x6a0848]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 0xa8]
mov ecx, dword [edx + ebx*8]
lea edx, [ebp - 0x1c]
call fcn.005419c8
mov eax, dword [ebp + 8]
mov byte [eax - 5], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x5394b1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ee68
cmp al, 7
jne 0x539494
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
call fcn.005557a8
jmp 0x5394b1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
call fcn.004594d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
lea edx, [ebp - 0x1c]
call fcn.0053c704
mov eax, dword [ebp + 8]
cmp dword [eax - 0x10], 0
jle 0x53968c
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x539616
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
mov dl, 1
call fcn.005abfa4
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
mov dl, 1
call fcn.005abf90
pop edx
call fcn.0054151c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53960f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406684
call fcn.0040740c
test eax, eax
jle 0x539548
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040aea8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00526940
jmp 0x539588
mov eax, dword [ebp - 0xc]
call fcn.0045ee68
cmp al, 7
jne 0x53956a
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.005557a8
jmp 0x539588
mov eax, dword [ebp - 0xc]
call fcn.0045ed68
call fcn.004594d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0053c704
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040aea8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.0040aed8
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, 0xff
call fcn.0040e7c8
xor edx, edx
call fcn.0040e890
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0053e9bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53968c
lea eax, [ebp - 0xc]
call fcn.0041d008
ret
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00406684
call fcn.0040740c
test eax, eax
jle 0x539646
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00526940
jmp 0x53968c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ee68
cmp al, 7
jne 0x53966c
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005557a8
jmp 0x53968c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
call fcn.004594d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0053c704
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
sub eax, 1
jb 0x5396cf
sub eax, 0x63
jae 0x5397e3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
push eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x10]
mov eax, dword [ebp + 8]
add cl, byte [eax - 0xc]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00555624
jmp 0x5397e3
mov eax, dword [ebp + 8]
cmp byte [eax - 0x68], 0
jne 0x53979d
mov eax, dword [ebp + 8]
cmp dword [eax - 0x80], 0
je 0x53979d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x80]
sub eax, 1
jb 0x5396fb
sub eax, 0x63
je 0x53970c
jmp 0x53971d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x53974f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
jmp 0x53974f
mov eax, dword [ebp + 8]
fild dword [eax - 0x80]
fld dword [0x5397ec]
call fcn.00404984
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x7c]
call fcn.0054155c
mov edx, dword [ebp + 8]
mov dword [edx - 0x84], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ee68
cmp al, 7
jne 0x539778
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x84]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005557a8
jmp 0x5397e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
call fcn.004594d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x84]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0053c704
jmp 0x5397e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ee68
cmp al, 7
jne 0x5397c3
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x7c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005557a8
jmp 0x5397e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0045ed68
call fcn.004594d0
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x7c]
mov edx, dword [ebp + 8]
add edx, 0xffffffd8
call fcn.0053c704
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret