Function at 0x4268f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x433698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov al, byte [esp + 0x74]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], al
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x7c], esi
push ebp
call fcn.00425640
add esp, 4
test eax, eax
je 0x426aff
fld qword [esp + 0xa0]
fcomp qword [0x43a560]
fnstsw ax
test ah, 1
jne 0x426a11
fld qword [esp + 0xa0]
fcomp qword [0x4390f0]
fnstsw ax
test ah, 0x41
je 0x426a11
fld qword [esp + 0xa0]
fmul qword [0x43a500]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xa0]
mov ecx, dword [ebp + 0x6c]
sub esp, 8
fmul qword [0x43a558]
mov edx, dword [ebp + ecx*4 + 0x70]
mov word [edx + 0x3d27462], ax
fstp qword [esp]
call fcn.00422990
mov edx, dword [ebp + 0x6c]
mov ecx, 0xb
sub ecx, eax
add esp, 8
mov eax, dword [ebp + edx*4 + 0x70]
mov word [eax + 0x3d27464], cx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + ecx*4 + 0x70]
mov cx, word [eax + 0x3d27464]
cmp cx, si
ja 0x4269de
mov word [eax + 0x3d27464], si
jmp 0x4269ed
cmp cx, 3
jb 0x4269ed
mov word [eax + 0x3d27464], 3
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x4e21
call edi
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x426a5b
push 0x43a540
push ebp
call fcn.00420310
add esp, 8
mov edi, dword [esp + 0x84]
mov dl, byte [esp + 0x24]
lea ecx, [esp + 0x24]
mov byte [edi], dl
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov eax, dword [0x43a36c]
push eax
push esi
push ecx
mov ecx, edi
call fcn.00428750
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x4271b5
mov al, byte [ecx - 1]
test al, al
je 0x4271ab
dec al
mov byte [ecx - 1], al
jmp 0x4271b5
push 0xbb80
mov dword [esp + 0x14], esi
call edi
mov edx, eax
add esp, 4
cmp edx, esi
mov dword [esp + 0xa0], edx
jne 0x426a8d
push 0x43a52c
push ebp
call fcn.00420310
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
jmp 0x426a11
mov ecx, 0x1388
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x2ee0
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
push ecx
push edx
push ebp
call fcn.00422dd0
add esp, 0x28
test eax, eax
jne 0x426b27
mov edi, dword [sym.imp.MSVCRT.dll_free]
push ebx
call edi
mov eax, dword [esp + 0xa4]
push eax
call edi
add esp, 8
mov edi, dword [esp + 0x84]
mov cl, byte [esp + 0x24]
lea eax, [esp + 0x24]
mov byte [edi], cl
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov edx, dword [0x43a36c]
push edx
push esi
push eax
jmp 0x426a33
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0xa0], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov eax, dword [esp + 0x9c]
cmp eax, esi
jne 0x426b5b
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x426bc4
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp + 0x28], esi
jne 0x426bba
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jge 0x426bc4
cmp eax, esi
jl 0x426bc4
mov ebp, eax
jmp 0x426bc4
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
sub ebp, eax
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x94], ebp
jle 0x426bdc
mov dword [esp + 0x94], ebp
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push 0x1772
call ebp
mov edi, eax
push 0x1772
mov dword [esp + 0xa4], edi
call ebp
add esp, 8
mov edx, eax
cmp edi, esi
mov dword [esp + 0x98], edx
je 0x427194
cmp edx, esi
je 0x427185
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x5dc
xor eax, eax
mov edi, edx
mov dword [esp + 0x90], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x10], esi
jle 0x426ebe
jmp 0x426c47
mov esi, dword [esp + 0x90]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*2]
stosb byte es:[edi], al
mov eax, dword [esp + 0xa0]
xor edi, edi
mov di, word [eax + edx*8 + 2]
lea ebp, [eax + edx*8]
mov eax, dword [esp + 0x14]
add edi, ecx
xor ecx, ecx
lea edx, [esp + 0x34]
mov cx, word [ebp]
add ecx, eax
push ecx
push 0x436d68
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x54]
push edi
push 0x436d68
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
test esi, esi
jne 0x426d1c
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa0]
lea edi, [ecx + 8]
jmp 0x426e7e
mov esi, dword [esp + 0x88]
xor eax, eax
mov ax, word [ebp - 0x16]
xor ecx, ecx
mov cx, word [ebp - 0x12]
mov edx, dword [esi + 0x5c]
add ecx, eax
xor eax, eax
mov ax, word [ebp + 2]
lea edi, [edx + ecx]
cmp eax, edi
jge 0x426d64
mov ecx, dword [esi + 0x68]
xor edx, edx
mov dx, word [ebp - 0x18]
xor eax, eax
mov ax, word [ebp - 0x14]
add edx, eax
add edx, ecx
xor ecx, ecx
mov cx, word [ebp]
cmp ecx, edx
jle 0x426e7b
jmp 0x426d9f
mov edi, dword [esi + 0x64]
add edi, edx
add edi, ecx
cmp eax, edi
jg 0x426d9f
mov edi, dword [esp + 0x14]
xor eax, eax
mov ax, word [ebp - 0x18]
xor ecx, ecx
mov cx, word [ebp]
xor edx, edx
mov dx, word [ebp - 0x14]
sub ecx, eax
mov eax, dword [esi + 0x68]
sub ecx, edx
mov edx, dword [esp + 0x94]
sub ecx, edi
add ecx, edx
cmp ecx, eax
jle 0x426e7b
or ecx, 0xffffffff
mov edi, 0x434cb8
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x9c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x9c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x434cb8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x98]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x98]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x438da4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
mov ecx, edx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
cmp eax, ecx
jl 0x426c40
mov edi, dword [esp + 0x9c]
cmp byte [edi], 0
je 0x4270e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x43a36c]
mov edx, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x426eee
call fcn.0042f336
test esi, esi
jbe 0x426f37
mov ecx, dword [esp + 0x2c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x28]
push ebp
call fcn.00428a60
test al, al
je 0x426f37
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov esi, dword [esp + 0x9c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], 0
mov edi, 0x438da4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x43a36c]
sub ecx, edx
cmp ecx, esi
ja 0x426f5d
call fcn.0042f336
test esi, esi
jbe 0x426fa4
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebp, [edx + esi]
push ebp
call fcn.00428a60
test al, al
je 0x426fa4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov esi, 0x438da4
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [ecx + ebp], 0
mov edi, dword [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x43a36c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
cmp edx, esi
ja 0x426fcc
call fcn.0042f336
test esi, esi
jbe 0x427015
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebp, [eax + esi]
push ebp
call fcn.00428a60
test al, al
je 0x427015
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov esi, dword [esp + 0x98]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], 0
mov edi, 0x438da4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x43a36c]
sub ecx, edx
cmp ecx, esi
ja 0x42703b
call fcn.0042f336
test esi, esi
jbe 0x427082
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebp, [edx + esi]
push ebp
call fcn.00428a60
test al, al
je 0x427082
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov esi, 0x438da4
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [ecx + ebp], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
mov eax, dword [0x43a36c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4270a4
call fcn.0042f336
test esi, esi
jbe 0x4270e8
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebp, [edx + esi]
push ebp
call fcn.00428a60
test al, al
je 0x4270e8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov esi, ebx
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [ecx + ebp], 0
mov edx, dword [esp + 0x9c]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push edx
call esi
mov eax, dword [esp + 0x9c]
push eax
call esi
push ebx
call esi
mov ecx, dword [esp + 0xac]
push ecx
call esi
mov esi, dword [esp + 0x94]
mov dl, byte [esp + 0x34]
xor edi, edi
add esp, 0x10
mov byte [esi], dl
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [0x43a36c]
lea ecx, [esp + 0x24]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00428750
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x427170
mov cl, byte [eax - 1]
test cl, cl
je 0x427166
dec cl
pop edi
mov byte [eax - 1], cl
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
dec eax
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426a11
cmp edx, esi
je 0x426a11
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x426a11
dec ecx
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x74]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret