Function at 0x41c850
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 0x46347a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x47a040]
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.00437bbc
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.00437bbc
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.004209b0
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.00437bbc
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.00404660
mov ecx, eax
test ecx, ecx
je 0x41caa9
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.0041fca0
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 [0x47cfec]
test al, 1
jne 0x41c9ff
or eax, 1
mov dword [0x47cfec], eax
push 0x64
push 0
push 0x47cf88
mov byte [ebp - 4], 6
call fcn.00439ab0
add esp, 0xc
call fcn.0041a7e0
push 0x4654b0
call fcn.00437f3d
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [0x47cfd8]
lea ecx, [ebp - 0x14]
call fcn.0041ba70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 0x44]
sub esi, 0x10
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x41ca66
cmp dword [esi + 0xc], 0
jl 0x41ca57
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x41ca57
call fcn.00405cd0
mov dword [ebp - 0x1c], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ca4f
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 0x41ca63
push dword [eax - 0xc]
lea ecx, [edi + 0x44]
push eax
call fcn.004058c0
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 0x41ca82
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], 0x41d300
call fcn.0041d610
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.00401920
int3