Function at 0x1002f220
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007145c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10087040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100424ac
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [ebp - 0x1c], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CxTimer_class_CDataReporter_.0
mov dword [ebp - 0x1c], esi
push 0x24
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100424ac
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0
call fcn.10033440
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
lea esi, [edi + 0x34]
mov dword [ebp - 0x1c], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100424ac
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002f471
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x44], eax
lea esi, [edi + 0x48]
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
mov dword [esi], vtable.CHttpDownloadEventPtr_class_CDataReporter_.0
mov dword [ebp - 0x14], 0
call fcn.100327c0
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [eax + 0x24], edi
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
movups xmmword [ecx + 0x24], xmm0
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 5
mov eax, dword [0x10089eac]
test al, 1
jne 0x1002f3c7
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov edx, dword [0x10089e98]
lea ecx, [ebp - 0x14]
call fcn.10026fa0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 0x44]
sub esi, 0x10
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x1002f42e
cmp dword [esi + 0xc], 0
jl 0x1002f41f
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x1002f41f
call fcn.10005bd0
mov dword [ebp - 0x1c], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002f417
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [edi + 0x44], eax
jmp 0x1002f42b
push dword [eax - 0xc]
lea ecx, [edi + 0x44]
push eax
call fcn.10005aa0
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002f44a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x4c]
mov ecx, edi
mov dword [eax + 0x30], 0x1002fcc0
call fcn.10030090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.100013a0
int3