Function at 0x5f9354
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f9cb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x5f9c9a
mov eax, dword [ebp - 4]
call fcn.005fa7b4
xor eax, eax
push ebp
push 0x5f9c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005fa77c
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
xor eax, eax
push ebp
push 0x5f9c6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x5f94d3
mov eax, dword [ebp - 4]
call fcn.005faf80
cmp dword [eax + 8], 0
jle 0x5f9443
mov eax, dword [ebp - 4]
call fcn.005faf80
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov edi, eax
dec edi
test edi, edi
jl 0x5f94d3
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x5f94cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x58]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
inc ebx
dec edi
jne 0x5f9458
test byte [ebp - 5], 4
je 0x5f96e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov edi, eax
dec edi
test edi, edi
jl 0x5f95bd
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f39b8
test al, al
je 0x5f95b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x34]
call fcn.005f617c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.005f933c
test al, al
jne 0x5f95b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.005f611c
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x5c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
inc ebx
dec edi
jne 0x5f94f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov edi, eax
sub edi, 2
test edi, edi
jl 0x5f96f2
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
cmp dword [eax + 0x34], 0
je 0x5f96d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x34]
call fcn.005f6284
add al, 0xfe
sub al, 2
jae 0x5f96d8
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005f7030
call fcn.005f39b8
test al, al
jne 0x5f96d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
lea edx, [ebp - 0x20]
call fcn.005f35c0
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005f7030
lea edx, [ebp - 0x30]
call fcn.005f35c0
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x40]
call fcn.0040fd5c
test al, al
je 0x5f96d8
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x40]
call fcn.0040fcf0
test al, al
je 0x5f968f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.005f6294
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x60]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
inc ebx
dec edi
jne 0x5f95d8
jmp 0x5f96f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x5f97c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x5f97d3
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x5f971c
dec esi
test esi, esi
jle 0x5f974c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f7030
cmp dword [eax + 0x34], 0
je 0x5f974c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f7030
mov eax, dword [eax + 0x34]
call fcn.005f6284
cmp al, 3
je 0x5f971b
test esi, esi
jl 0x5f9771
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f7030
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
pop edx
call fcn.005f5724
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x64]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
dec ebx
test ebx, ebx
jne 0x5f9713
jmp 0x5f97d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x5f9986
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x5f993d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov esi, eax
dec esi
cmp esi, 0
jl 0x5f98f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f2570
mov edx, dword [0x5e5fc0]
call fcn.00407978
test al, al
jne 0x5f98d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f2570
mov edx, dword [0x5e5bc8]
call fcn.00407978
test al, al
jne 0x5f98d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f2570
mov edx, dword [0x5e6804]
call fcn.00407978
test al, al
jne 0x5f98d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005f2570
mov edx, dword [0x5e69a4]
call fcn.00407978
test al, al
je 0x5f98e8
test ebx, ebx
jg 0x5f98d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
dec eax
jne 0x5f98e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.005e94b8
dec esi
cmp esi, 0xffffffff
jne 0x5f9823
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f2894
test al, al
je 0x5f9933
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
call fcn.005e9470
test eax, eax
jne 0x5f9933
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.004076a8
dec ebx
cmp ebx, 0xffffffff
jne 0x5f9802
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x68]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
test byte [ebp - 5], 1
je 0x5f9acd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x5f9adb
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f2894
test al, al
jne 0x5f9ac1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f39b8
test al, al
je 0x5f9ac1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x34]
call fcn.005f6258
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f5370
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f2894
test al, al
je 0x5f9a78
test ebx, ebx
jle 0x5f9a6b
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005f7030
call fcn.005f39b8
test al, al
je 0x5f9a6b
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005f7030
mov eax, dword [eax + 0x34]
call fcn.005f6258
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005f7030
mov eax, dword [eax + 0x34]
pop edx
call fcn.005f6260
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005e94b8
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x6c]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
dec ebx
cmp ebx, 0xffffffff
jne 0x5f99a7
jmp 0x5f9adb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x5f9c11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x5f9bc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
cmp dword [eax + 0x34], 0
je 0x5f9b7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.005f6258
test ax, ax
je 0x5f9b47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
dec eax
jne 0x5f9b7d
mov eax, esi
call fcn.005f6110
test al, al
jne 0x5f9b7d
mov eax, esi
call fcn.005f6268
test al, al
jne 0x5f9b7d
mov eax, esi
call fcn.005f6284
sub al, 2
jb 0x5f9b76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005e9470
dec eax
jne 0x5f9b7d
mov eax, esi
call fcn.004076a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.005f2894
test al, al
je 0x5f9bbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
mov eax, dword [eax + 0x30]
call fcn.005e9470
test eax, eax
jne 0x5f9bbe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.005f7030
call fcn.004076a8
dec ebx
cmp ebx, 0xffffffff
jne 0x5f9b0a
mov eax, dword [ebp - 0x10]
push eax
push 0x64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MulDiv
push eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x70]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9c72
call fcn.00406860
test eax, eax
jne 0x5f9c2e
mov ebx, 0x64
jmp 0x5f9c30
xor ebx, ebx
push ebx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040fd14
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x62d480]
call fcn.0040cf70
mov eax, dword [ebp - 0x74]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffd
call fcn.004079fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9cbc
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00409384
ret