Function at 0x571a00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x813415
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov eax, dword [esp + 0x298]
push ebx
push ebp
push esi
push edi
add eax, 0xffffffb2
mov esi, ecx
xor edi, edi
cmp eax, 0xc4
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edi
ja case.0x571a48.82
xor ecx, ecx
mov cl, byte [eax + 0x572484]
jmp dword [ecx*4 + 0x572470]
mov ebx, dword [esp + 0x2b0]
cmp dword [ebx + 8], 0x701
jne case.0x571a48.82
lea edi, [esi + 0x190]
mov ecx, edi
call fcn.006d09e0
add ebx, 0xc
add esi, 0x194
mov edx, dword [ebx]
mov dword [esi], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov ecx, edi
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
call fcn.006d0a70
jmp case.0x571a48.82
cmp dword [esp + 0x2ac], 0xf060
jne case.0x571a48.82
mov edi, dword [esp + 0x2a4]
mov ecx, esi
push edi
call fcn.00572700
test al, al
je 0x571ac2
push 2
push edi
mov ecx, esi
call fcn.005726c0
mov eax, 1
jmp 0x571afa
mov eax, dword [esp + 0x2ac]
mov ecx, eax
shr ecx, 0x10
jne case.0x571a48.82
cmp ax, 9
je 0x571b45
cmp ax, 2
je 0x571b15
mov edx, dword [esp + 0x2a4]
and eax, 0xffff
push eax
push edx
mov ecx, esi
call fcn.005726c0
xor eax, eax
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x290
ret 0x10
mov eax, dword [esp + 0x2b0]
cmp eax, edi
mov edi, dword [esp + 0x2a4]
jne 0x571b38
push edi
mov ecx, esi
call fcn.00572700
test al, al
je case.0x571a48.82
push 2
push edi
jmp 0x571af1
push 2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jmp 0x571b31
mov esi, dword [esp + 0x2a4]
push 9
push esi
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], 9
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x60]
push ecx
push edi
push 0x53
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x571a48.82
mov ebx, dword [esp + 0x2a4]
push 0xa
push ebx
call fcn.0056ffb0
push 7
push ebx
mov dword [esp + 0x28], eax
call fcn.0056ffb0
push 5
push ebx
mov dword [esp + 0x74], eax
call fcn.0056ffb0
push 0xa
push ebx
mov dword [esp + 0xb0], eax
call fcn.0056ffe0
push 7
push ebx
mov dword [esp + 0xbc], eax
call fcn.0056ffe0
push 5
push ebx
mov dword [esp + 0x7c], eax
call fcn.0056ffe0
add esp, 0x30
lea edx, [esp + 0xa0]
mov dword [esp + 0x98], edi
mov dword [esp + 0xa0], 0x1f4
push edi
push edx
push edi
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x571d6a
mov eax, dword [esi + 0x10]
push ebx
and eax, 0x80
cmp al, 0x80
sete byte [esp + 0x17]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], 0x866a20
mov al, byte [esp + 0x13]
mov dword [esp + 0x29c], 0
test al, al
lea eax, [esp + 0x11c]
jne 0x571c66
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esp + 0x38], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], 0x8669a4
lea ecx, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], 0x8669a0
lea eax, [esi + 0x4c]
mov byte [esp + 0x29c], 2
test eax, eax
je 0x571cb7
add eax, 4
jmp 0x571cb9
xor eax, eax
push eax
push ebp
call fcn.00569cf0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x94], edx
mov edx, ecx
mov dword [esp + 0x1c], eax
and edx, 0x80000
add esp, 8
xor eax, eax
cmp edx, 0x80000
sete al
mov edi, eax
mov al, byte [esp + 0x13]
test al, al
mov eax, dword [esp + 0x14]
jne 0x571f0a
mov edx, ecx
and edx, 0x10000
cmp edx, 0x10000
je 0x571d14
and ecx, 0x20000
cmp ecx, 0x20000
jne 0x571d17
add edi, 2
mov ecx, dword [esp + 0xb0]
imul ecx, edi
add ecx, eax
mov al, byte [esp + 0x13]
test al, al
jne 0x571d35
add ecx, 5
test edi, edi
jne 0x571d35
add ecx, 5
mov eax, dword [esp + 0x58]
add ecx, 2
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x571d5e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebp, ebp
je 0x571d6a
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esp + 0x88]
xor edi, edi
push edx
push ebx
mov dword [esp + 0x90], edi
call fcn.00568e30
lea eax, [esp + 0x58]
mov dword [esp + 0x58], edi
push eax
push ebx
mov dword [esp + 0x64], edi
call fcn.00568d40
mov cl, byte [esi + 0xb5]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x10
xor eax, eax
test cl, cl
mov dword [esp + 0x20], eax
je 0x571db5
cmp dword [esi + 0xf0], edi
je 0x571dc9
mov ax, word [esi + 0xc8]
and eax, 0xffff
push eax
push ebx
call ebp
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
je 0x571de3
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00568e30
add esp, 8
mov ax, word [esi + 0x128]
and eax, 0xffff
push eax
push ebx
call ebp
push 0xf
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
push 0x443
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, edi
mov dword [esp + 0x7c], edi
je 0x571e21
lea edx, [esp + 0x7c]
push edx
push ebp
call fcn.00568e30
add esp, 8
mov al, byte [esp + 0x13]
xor ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x60], al
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov eax, dword [esi + 0x174]
mov dword [esp + 0x29c], 3
cmp eax, edi
je 0x571f2a
mov edx, dword [esi + 0x178]
sub edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x30], edx
je 0x571f2a
cmp edx, edi
mov eax, edx
jge 0x571e83
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.007d7320
mov edi, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
add esp, 4
cmp edi, eax
mov dword [esp + 0x38], eax
je 0x571ed7
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.005299d0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add edi, 4
add esp, 8
add edx, 4
cmp edi, eax
mov dword [esp + 0x14], edx
jne 0x571eab
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
push eax
push edi
lea ecx, [esp + 0x68]
call fcn.004c11d0
mov eax, dword [esp + 0x64]
push eax
call fcn.007d7349
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
add esp, 4
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov dword [esp + 0x6c], eax
jne 0x571f16
xor eax, eax
jmp 0x571f1f
mov ecx, dword [esp + 0x114]
jmp 0x571d1e
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
lea ecx, [edx + eax*4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov edi, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
cmp edi, eax
je 0x571fb3
mov ax, word [edi + 0x18]
and eax, 0xffff
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x14], eax
je 0x571fa2
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x14]
push ecx
push 1
push edx
lea ecx, [esp + 0x6c]
call fcn.00561200
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.00568e30
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add esp, 8
cmp ecx, eax
jg 0x571fa2
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x178]
add edi, 0x64
cmp edi, eax
jne 0x571f3a
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x571ff3
sub ecx, eax
mov esi, ecx
sar esi, 2
je 0x571ff3
cmp esi, 0x80000000
jb 0x571fe0
push 0x27
push str.C:ReposBvSrcNoCrtLibNumCvt.h
push str.value____InType_1______sizeof_OutType_8___1__
call fcn.006d2b10
add esp, 0xc
dec esi
mov eax, dword [esp + 0x28]
imul esi, dword [esp + 0x90]
add eax, esi
mov dword [esp + 0x28], eax
push 0x1c
call fcn.007d7320
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
je 0x57207b
lea edi, [esi + 4]
mov dword [esp + 0x30], 1
mov dword [edi], 0x852164
mov dword [esi + 0x18], vtable.IRefCountable.0
push 0
mov ecx, edi
mov byte [esp + 0x2a0], 5
call fcn.004866f0
mov eax, dword [edi]
mov dword [esi], vtable.SubWnd.0
mov dword [esp + 0x29c], 4
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.SubWnd.1.0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [esi + eax], 0
mov ecx, dword [edi]
mov dword [esi], vtable.SubWnd_RichView.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], vtable.SubWnd_RichView.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + ecx], 0
jmp 0x57207d
xor esi, esi
push ecx
mov byte [esp + 0x2a0], 3
mov edi, esp
mov dword [esp + 0x34], esp
test esi, esi
mov dword [edi], 0
je 0x5720be
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi + 4]
lea ecx, [eax + esi + 4]
call dword [edx + 4]
mov eax, dword [edi]
test eax, eax
je 0x5720be
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 8]
push ebp
mov dword [edi], esi
call fcn.0056a370
mov ecx, dword [esp + 0x2c]
push 0
add ecx, 0x144
push ecx
push ebp
call fcn.00569990
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x14
push 0
push 0
push 0x43b
push ebp
call edi
mov dword [esp + 0x48], eax
or eax, 0x40000
push eax
push 0
push 0x445
push ebp
mov dword [esp + 0x40], eax
call edi
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0x320
push edx
call fcn.00568e80
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
sub eax, esi
mov esi, dword [esp + 0x24]
add esp, 4
add eax, edx
mov edx, dword [esp + 0x24]
neg esi
sbb esi, esi
add ecx, ecx
and esi, ebx
mov dword [esp + 0x88], eax
mov ebx, esi
sub ebx, ecx
mov ecx, dword [esp + 0x40]
sub ebx, ecx
lea ecx, [edx + 0x190]
add ebx, eax
mov dword [esp + 0x38], ecx
call fcn.006d09e0
mov byte [esp + 0x3c], 1
push 0
push 0
push 0x441
push ebp
mov byte [esp + 0x2ac], 7
call edi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x7c]
mov ecx, eax
mov dword [esp + 0x18], edx
mov edi, dword [eax + 0x1a0]
mov dword [esp + 0x14], 1
sub edi, dword [ecx + 0x198]
mov dword [esp + 0x80], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
add eax, 0xa
cmp eax, ebx
mov dword [esp + 0x18], eax
jg 0x572214
mov eax, dword [esp + 0x30]
push eax
push 0
push 0x445
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.00568d80
mov ecx, dword [esp + 0x2c]
add esp, 8
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ecx + 0x198]
sub eax, edx
cmp eax, edi
mov dword [esp + 0x1c], eax
jge 0x572206
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x7c], edx
xor eax, eax
jmp 0x57220a
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x64
mov dword [esp + 0x14], eax
jle 0x5721ae
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x80], edi
call fcn.006d0a70
mov eax, dword [esp + 0x48]
mov byte [esp + 0x3c], 0
push eax
push 0
push 0x445
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x7c]
push ecx
push ebp
call fcn.00568d80
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
add esp, 8
lea eax, [esi + edx]
add eax, ebx
cmp eax, ecx
jg 0x572264
mov eax, ecx
mov ecx, dword [esp + 0x5c]
add ecx, ecx
add eax, ecx
mov ecx, dword [esp + 0x98]
cmp eax, ecx
mov dword [esp + 0x18], eax
jg 0x57227f
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x57228b
xor eax, eax
jmp 0x572294
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
add edx, eax
mov eax, dword [esp + 0x4c]
lea ebx, [edx + eax*2]
mov eax, dword [esp + 0x44]
cmp eax, edi
jg 0x5722b8
mov eax, edi
mov ecx, dword [esp + 0x50]
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
cmp eax, ecx
jg 0x5722d0
mov eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x54]
cmp ebx, ecx
jg 0x5722de
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jl 0x5722ed
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x2a4]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00568d80
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x572327
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x68]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add esi, eax
mov eax, dword [esp + 0x5c]
add esi, eax
mov eax, dword [esp + 0x44]
cmp eax, edi
jle 0x572347
sub eax, edi
sar eax, 1
add eax, ecx
mov ecx, eax
mov edx, dword [esp + 0x7c]
add edi, ecx
sub edi, ecx
push 0
lea eax, [esi + edx]
push edi
sub eax, esi
push eax
push ecx
push esi
push ebp
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
sub eax, edx
sub ebx, edi
cdq
sub eax, edx
sub ebx, esi
mov esi, eax
sar esi, 1
xor edi, edi
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5723e3
mov ecx, dword [esp + 0x68]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x5723e3
mov edx, dword [eax + edi*4]
lea ecx, [esp + 0x50]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
call fcn.00568e30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
add esp, 8
mov eax, ebx
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x54]
add eax, edx
push ecx
push ebp
push eax
mov eax, dword [esp + 0x74]
push esi
mov ecx, dword [eax + edi*4]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x90]
add ebp, edx
add esi, ebp
inc edi
jmp 0x572380
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2a4]
mov eax, dword [edi + 0x188]
push eax
push esi
call fcn.00568ed0
mov al, byte [edi + 0x186]
add esp, 8
test al, al
jne 0x57241f
push 0
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 0
push 0xf060
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
mov ax, word [edi + 0x184]
mov ebx, 1
test ax, ax
je 0x57244a
and eax, 0xffff
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x57244a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
mov eax, dword [edi + 0x18c]
cmp eax, 0xfffffffe
je 0x57245c
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.007d7349
add esp, 4
mov eax, ebx
jmp 0x571afa