Function at 0x447c2d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458d42
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push dword [0x47e120]
call fcn.00412e3a
pop ecx
mov dword [esp + 0x30], eax
and dword [esp + 0x78], 0
push dword [0x47e120]
push dword [0x47e208]
push 0
call fcn.0043f0da
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], 0x17
mov dword [esp + 0x28], 0x62
mov dword [esp + 0x1c], 0x63
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp eax, ecx
jg 0x447ce1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
imul eax, ecx
mov ecx, dword [esp + 0xc]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea eax, [ecx + eax - 0x13]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x447d03
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
sub eax, ecx
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x447d13
push eax
call fcn.0044079f
lea edi, [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00404350
mov esi, eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
test eax, eax
jle 0x447d3c
mov edx, dword [esi + 0x10]
cmp dword [edx], edi
je 0x447d3f
inc ecx
add edx, 4
cmp ecx, eax
jl 0x447d30
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x447d73
test ecx, ecx
js 0x447d73
cmp ecx, eax
jge 0x447d73
lea edx, [eax - 1]
cmp ecx, edx
je 0x447d70
mov edx, dword [esi + 0x10]
sub eax, ecx
shl eax, 2
lea ecx, [edx + ecx*4]
lea edx, [eax - 4]
push edx
lea edx, [ecx + 4]
push edx
push eax
push ecx
call fcn.0040403e
add esp, 0x10
dec dword [esi + 0x14]
mov eax, dword [ebx + 0x54]
sub eax, dword [ebx + 0x50]
sar eax, 2
test eax, eax
jne 0x447d91
mov ecx, dword [ebx + 0x64]
sub ecx, dword [ebx + 0x60]
sar ecx, 2
test ecx, ecx
je 0x447ef4
mov ecx, dword [ebx + 0x64]
sub ecx, dword [ebx + 0x60]
sar ecx, 2
push ecx
push eax
push dword [0x47e124]
push 0
call fcn.0043f0da
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x50]
call fcn.00402b5b
mov byte [esp + 0x78], 1
fld qword [0x477900]
fstp qword [esp + 0x24]
fld qword [0x4778e0]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
mov eax, dword [ebx + 0x64]
fsub qword [0x4778f8]
mov edi, dword [ebx + 0x60]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x24]
cmp edi, eax
je 0x447e02
mov eax, edi
lea esi, [esp + 0x34]
call fcn.00402be8
add edi, 4
cmp edi, dword [esp + 0x1c]
jne 0x447dee
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x14], 0x17
mov dword [esp + 0x1c], 0x62
mov dword [esp + 0xc], 0x63
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x447e60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax - 0x13]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x447e82
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
add eax, dword [esp + 0xc]
add eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jmp 0x447e97
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
add esi, 4
cmp esi, edi
jne 0x447e8c
mov esi, dword [esp + 0x34]
jmp 0x447eac
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
add esi, 4
cmp esi, edi
jne 0x447ea1
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
cmp eax, ecx
je 0x447ee6
push ecx
call fcn.00403867
mov esi, dword [ebx + 0x64]
mov edi, eax
pop ecx
mov dword [esp + 0x1c], edi
jmp 0x447edb
mov eax, dword [edi]
test eax, eax
je 0x447ed8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 4
cmp edi, esi
jne 0x447ecc
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x64], eax
lea esi, [esp + 0x34]
mov byte [esp + 0x78], 0
call fcn.004030f6
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x447f0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0xa8], 0
lea eax, [ebx + 0xac]
xor ecx, ecx
cmp dword [eax], ecx
je 0x447f1e
push ecx
push ecx
call fcn.00403fac
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x447f2a
call fcn.00431950
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x447f3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x20], 0
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x44802e
push eax
push dword [0x47e128]
push 0
call fcn.0043f0da
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp ecx, eax
je 0x447fa3
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x447f8e
lea eax, [esi + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esi]
test eax, eax
je 0x447f87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call fcn.00410ce6
pop ecx
lea eax, [esp + 0x20]
call fcn.004031f2
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebx + 0xdc]
jne 0x447f6a
lea edi, [ebx + 0xd8]
call fcn.00402ee0
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x14], 0x17
mov dword [esp + 0x1c], 0x62
mov dword [esp + 0xc], 0x63
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x44800c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax - 0x13]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x44802e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
add eax, dword [esp + 0xc]
add eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
call fcn.0043ea3c
mov dword [esp + 0xc], 0x48
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, ecx
push 0x4f
pop ecx
sub ecx, eax
add ecx, dword [esp + 0xc]
push 0x57
add ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
cdq
pop ecx
idiv ecx
push 0x42
mov ecx, eax
mov eax, dword [esp + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x10]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx - 0x14]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffffa1
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
pop ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
add ecx, dword [esp + 0xc]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, ecx
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul eax, eax, 0x41
imul ecx, edx
mov edx, dword [esp + 0xc]
imul ecx, edx
imul ecx, ecx, 0x47
add eax, ecx
mov ecx, dword [esp + 0xc]
imul ecx, ecx, 0x2f
sub eax, ecx
mov ecx, dword [esp + 0xc]
push dword [ebx + 0x2c]
lea eax, [eax + ecx - 0x18]
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esp + 0x1c], 0x24
mov dword [esp + 0xc], 0x16
push 0x11
pop ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x39
mov dword [esp + 0x18], 0x30
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul eax, eax, 0x13
sub edx, eax
mov eax, dword [esp + 0x18]
sub edx, eax
add edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x4481fa
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
push 0x51
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
pop esi
imul eax, ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul ecx, edx
sub ecx, eax
add ecx, dword [esp + 0x10]
add ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
lea eax, [ecx + eax + 0x79]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
imul ecx, ecx, 0x62
cdq
idiv esi
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
imul ecx, edx
imul ecx, ecx, 0x61
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
sub eax, 0x2b
mov dword [esp + 0x14], eax
add dword [esp + 0x1c], 0x3a
push 0
lea eax, [esp + 0x48]
call fcn.00442573
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x5c]
lea edi, [ebx + 0x30]
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x4c], eax
lea eax, [esp + 0x44]
movsd dword es:[edi], dword [esi]
call fcn.0044259d
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], 5
mov dword [esp + 0x18], 0x50
mov dword [esp + 0x1c], 0x51
mov dword [esp + 0x24], 0x1c
mov dword [esp + 0x10], 0x48
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x14]
push 0x1f
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0xe
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0x166e
sub ecx, eax
mov eax, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
add ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cdq
pop ecx
idiv ecx
mov esi, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4482db
push esi
call fcn.0043e23f
push esi
call fcn.00410ce6
pop ecx
and dword [ebx + 0x24], 0
or dword [esp + 0x78], 0xffffffff
lea esi, [esp + 0x30]
call fcn.0040481a
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret