Function at 0x623250
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 0x623bb1
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 0x623b96
mov eax, dword [ebp - 4]
call fcn.0062465c
xor eax, eax
push ebp
push 0x623b84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00624624
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
xor eax, eax
push ebp
push 0x623b67
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.00614668
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x10], eax
test byte [ebp - 5], 8
je 0x6233cf
mov eax, dword [ebp - 4]
call fcn.00624e28
cmp dword [eax + 8], 0
jle 0x62333f
mov eax, dword [ebp - 4]
call fcn.00624e28
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov edi, eax
dec edi
test edi, edi
jl 0x6233cf
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x20]
cmp dword [eax + 8], 0
jle 0x6233cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
inc ebx
dec edi
jne 0x623354
test byte [ebp - 5], 4
je 0x6235de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov edi, eax
dec edi
test edi, edi
jl 0x6234b9
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061ea54
test al, al
je 0x6234b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x34]
call fcn.006211cc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x18]
pop edx
pop ecx
call fcn.00623238
test al, al
jne 0x6234b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0062116c
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
inc ebx
dec edi
jne 0x6233f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov edi, eax
sub edi, 2
test edi, edi
jl 0x6235ee
inc edi
xor ebx, ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
cmp dword [eax + 0x34], 0
je 0x6235d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x34]
call fcn.006212d4
add al, 0xfe
sub al, 2
jae 0x6235d4
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00622014
call fcn.0061ea54
test al, al
jne 0x6235d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
lea edx, [ebp - 0x20]
call fcn.0061e714
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00622014
lea edx, [ebp - 0x30]
call fcn.0061e714
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x40]
call fcn.0040ea3c
test al, al
je 0x6235d4
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x40]
call fcn.0040e938
test al, al
je 0x62358b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.006212e4
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
inc ebx
dec edi
jne 0x6234d4
jmp 0x6235ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
add eax, eax
add dword [ebp - 0xc], eax
test byte [ebp - 5], 2
je 0x6236c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x6236cf
inc dword [ebp - 0xc]
mov esi, ebx
dec esi
jmp 0x623618
dec esi
test esi, esi
jle 0x623648
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00622014
cmp dword [eax + 0x34], 0
je 0x623648
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00622014
mov eax, dword [eax + 0x34]
call fcn.006212d4
cmp al, 3
je 0x623617
test esi, esi
jl 0x62366d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.00622014
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
pop edx
call fcn.006207c4
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
dec ebx
test ebx, ebx
jne 0x62360f
jmp 0x6236cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x623882
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x623839
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
call fcn.00614668
mov esi, eax
dec esi
cmp esi, 0
jl 0x6237ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0061d6cc
mov edx, dword [0x611288]
call fcn.004074c4
test al, al
jne 0x6237cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0061d6cc
mov edx, dword [0x610e90]
call fcn.004074c4
test al, al
jne 0x6237cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0061d6cc
mov edx, dword [0x611acc]
call fcn.004074c4
test al, al
jne 0x6237cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0061d6cc
mov edx, dword [0x611c6c]
call fcn.004074c4
test al, al
je 0x6237e4
test ebx, ebx
jg 0x6237cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
dec eax
jne 0x6237e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.006146b0
dec esi
cmp esi, 0xffffffff
jne 0x62371f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061d9e8
test al, al
je 0x62382f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
call fcn.00614668
test eax, eax
jne 0x62382f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.00407288
dec ebx
cmp ebx, 0xffffffff
jne 0x6236fe
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
test byte [ebp - 5], 1
je 0x6239c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x6239d7
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061d9e8
test al, al
jne 0x6239bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061ea54
test al, al
je 0x6239bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x34]
call fcn.006212a8
movzx esi, ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.00620410
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061d9e8
test al, al
je 0x623974
test ebx, ebx
jle 0x623967
mov edx, ebx
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00622014
call fcn.0061ea54
test al, al
je 0x623967
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00622014
mov eax, dword [eax + 0x34]
call fcn.006212a8
add ax, si
push eax
mov edx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00622014
mov eax, dword [eax + 0x34]
pop edx
call fcn.006212b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.006146b0
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
dec ebx
cmp ebx, 0xffffffff
jne 0x6238a3
jmp 0x6239d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
add dword [ebp - 0xc], eax
test byte [ebp - 5], 4
je 0x623b0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x623ac4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
cmp dword [eax + 0x34], 0
je 0x623a79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov esi, dword [eax + 0x34]
mov eax, esi
call fcn.006212a8
test ax, ax
je 0x623a43
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
dec eax
jne 0x623a79
mov eax, esi
call fcn.00621160
test al, al
jne 0x623a79
mov eax, esi
call fcn.006212b8
test al, al
jne 0x623a79
mov eax, esi
call fcn.006212d4
sub al, 2
jb 0x623a72
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00614668
dec eax
jne 0x623a79
mov eax, esi
call fcn.00407288
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.0061d9e8
test al, al
je 0x623aba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
mov eax, dword [eax + 0x30]
call fcn.00614668
test eax, eax
jne 0x623aba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00622014
call fcn.00407288
dec ebx
cmp ebx, 0xffffffff
jne 0x623a06
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623b6e
call fcn.004067bc
test eax, eax
jne 0x623b2a
mov ebx, 0x64
jmp 0x623b2c
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.0040e95c
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x682cac]
call fcn.0040d140
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.00407548
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623bb8
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00408ed4
ret