Function at 0x49fec0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5278fa
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, dword [ebx - 0x168]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x30]
push esi
push eax
mov dword [ebx + 0x24], esi
mov ecx, dword [0x5742b4]
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x28], esi
je 0x49ff43
cmp dword [eax + 8], 1
jne 0x4a05eb
cmp dword [eax + 8], 1
jne 0x4a0250
cmp byte [ebx + 0x2c], 0
jne 0x4a0250
mov esi, dword [0x57307c]
test esi, esi
je 0x49ff83
call fcn.00450280
test al, al
mov eax, str.Q360PromoClass
jne 0x49ff74
mov eax, str.Q360PromoClassLow
mov edx, dword [ebx - 0x168]
push 1
push edx
push eax
call fcn.0043dc90
push 0
lea edi, [ebx - 0x198]
call fcn.004a0f70
mov eax, dword [ebx - 0x168]
push 0x185
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [ebx + 0x68], 0
jne 0x49ffd6
mov esi, dword [ebx + 0x14]
lea ecx, [esp + 0x28]
push ecx
call fcn.00451f20
add esp, 4
mov dword [esp + 0x328], 0
mov dword [esp + 0x10], 1
mov esi, 8
jmp 0x4a0005
mov esi, 8
cmp dword [ebx + 0x6c], esi
jb 0x49ffe5
mov ecx, dword [ebx + 0x58]
jmp 0x49ffe8
lea ecx, [ebx + 0x58]
lea edx, [esp + 0x18]
push edx
call fcn.0042bf40
mov dword [esp + 0x328], 1
mov dword [esp + 0x10], 2
mov eax, dword [eax]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x328], 3
test byte [esp + 0x10], 2
je 0x4a004d
mov eax, dword [esp + 0x18]
and dword [esp + 0x10], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a004d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x328], 4
test byte [esp + 0x10], 1
je 0x4a0081
mov eax, dword [esp + 0x28]
and dword [esp + 0x10], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x4c], 0
jne 0x4a00c6
sub esp, 8
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x28], esp
push ecx
push edx
call fcn.00495660
lea eax, [esp + 0x2c]
push eax
call fcn.004d0170
add esp, 0xc
mov byte [esp + 0x328], 5
or dword [esp + 0x10], 4
jmp 0x4a00ec
cmp dword [ebx + 0x50], esi
jb 0x4a00d0
mov ecx, dword [ebx + 0x3c]
jmp 0x4a00d3
lea ecx, [ebx + 0x3c]
lea edx, [esp + 0x1c]
push edx
call fcn.0042bf40
mov dword [esp + 0x328], 6
or dword [esp + 0x10], esi
mov eax, dword [eax]
sub eax, 0x10
call fcn.0042b8e0
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x328], 8
test byte [esp + 0x10], 8
je 0x4a0134
mov eax, dword [esp + 0x1c]
and dword [esp + 0x10], 0xfffffff7
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x328], 9
test byte [esp + 0x10], 4
je 0x4a0163
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0163
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov esi, 1
call fcn.004521c0
add esp, 4
push 0
mov byte [esp + 0x32c], 0xa
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edi
push edx
push eax
mov esi, 5
call fcn.00452970
mov byte [esp + 0x338], 9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a01bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4a0211
cmp dword [ebx + 0x14], 0xb
je 0x4a0211
lea edi, [eax + 8]
push 0x5742b0
call fcn.004c98c0
lea eax, [esp + 0x4c]
call fcn.00497e10
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x5742b0
mov byte [esp + 0x32c], 0xb
call fcn.004c9500
mov edx, dword [esp + 0x74]
push edx
call fcn.00449a00
add esp, 4
lea esi, [esp + 0x4c]
call fcn.00497e40
mov edi, dword [esp + 0x20]
lea eax, [edi - 0x10]
mov dword [ebx + 0x28], 1
mov byte [esp + 0x328], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a023c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x328], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x4a05cf
mov dword [ebx + 0x28], 2
mov eax, dword [eax + 8]
mov dword [esp + 0x14], 9
mov edi, 0xc
cmp eax, 2
jne 0x4a0276
mov dword [esp + 0x14], 0xb
jmp 0x4a028e
cmp eax, 3
jne 0x4a0281
mov dword [esp + 0x14], edi
jmp 0x4a028e
cmp eax, 4
jne 0x4a028e
mov dword [esp + 0x14], 3
cmp dword [ebx + 0x68], esi
jne 0x4a02b4
mov esi, dword [ebx + 0x14]
lea ecx, [esp + 0x24]
push ecx
call fcn.00451f20
add esp, 4
mov dword [esp + 0x328], edi
mov dword [esp + 0x10], 0x10
jmp 0x4a02df
cmp dword [ebx + 0x6c], 8
jb 0x4a02bf
mov ecx, dword [ebx + 0x58]
jmp 0x4a02c2
lea ecx, [ebx + 0x58]
lea edx, [esp + 0x20]
push edx
call fcn.0042bf40
mov dword [esp + 0x328], 0xd
mov dword [esp + 0x10], 0x20
mov eax, dword [eax]
sub eax, 0x10
call fcn.0042b8e0
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x328], 0xf
test byte [esp + 0x10], 0x20
je 0x4a0327
mov eax, dword [esp + 0x20]
and dword [esp + 0x10], 0xffffffdf
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x328], 0x10
test byte [esp + 0x10], 0x10
je 0x4a035b
mov eax, dword [esp + 0x24]
and dword [esp + 0x10], 0xffffffef
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a035b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x4c], 0
jne 0x4a03a0
sub esp, 8
mov esi, esp
mov dword [esp + 0x24], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
push ecx
push edx
call fcn.00495660
lea eax, [esp + 0x30]
push eax
call fcn.004d0170
add esp, 0xc
mov byte [esp + 0x328], 0x11
or dword [esp + 0x10], 0x40
jmp 0x4a03cb
cmp dword [ebx + 0x50], 8
jb 0x4a03ab
mov ecx, dword [ebx + 0x3c]
jmp 0x4a03ae
lea ecx, [ebx + 0x3c]
lea edx, [esp + 0x1c]
push edx
call fcn.0042bf40
mov dword [esp + 0x328], 0x12
or dword [esp + 0x10], 0x80
mov eax, dword [eax]
sub eax, 0x10
call fcn.0042b8e0
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x328], 0x14
test byte [esp + 0x10], 0x80
je 0x4a0416
mov eax, dword [esp + 0x1c]
and dword [esp + 0x10], 0xffffff7f
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x328], 0x15
test byte [esp + 0x10], 0x40
je 0x4a0445
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0445
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov esi, 1
call fcn.004521c0
add esp, 4
mov byte [esp + 0x328], 0x16
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
push 0
push edi
push edx
push eax
call fcn.00452970
mov byte [esp + 0x338], 0x15
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a049e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 4
je 0x4a057e
lea edx, [esp + 0xe4]
push edx
call fcn.00462400
push ecx
mov byte [esp + 0x32c], 0x17
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebx - 0x168]
mov dword [esp + 0x1c], esp
push eax
lea esi, [esp + 0x11c]
call fcn.00464e90
test eax, eax
je 0x4a0569
mov ecx, str.IDS_CHECK_NETWORK_ACCESS
lea esi, [esp + 0x30]
call fcn.00454570
mov esi, 8
mov byte [esp + 0x328], 0x18
cmp dword [eax + 0x18], esi
jb 0x4a0516
mov edx, dword [eax + 4]
jmp 0x4a0519
lea edx, [eax + 4]
push 0
push 0
lea ecx, [esp + 0xec]
call fcn.004641c0
mov byte [esp + 0x328], 0x17
cmp dword [esp + 0x48], esi
jb 0x4a0544
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004f3984
add esp, 4
xor edx, edx
push 1
lea esi, [esp + 0xe8]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
call fcn.004640a0
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0x32c], 0x15
call fcn.004625a0
mov ecx, dword [ebx - 0x168]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a059c
mov edx, dword [ebx - 0x168]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [edi - 0x10]
mov byte [esp + 0x328], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x328], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.004f398f
mov esp, ebp
pop ebp
ret 4