Function at 0x494910
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x505f41
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov esi, ecx
lea edi, [esi + 4]
push edi
mov dword [esp + 0x70], 0
call fcn.00402840
mov eax, dword [eax]
sub eax, 0x10
call fcn.004048c0
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
push ebp
mov dword [esp + 0x68], 0
mov eax, dword [edi]
push ebx
push eax
push esi
call fcn.00494e50
push edi
mov ecx, 0x50ff28
mov dword [esp + 0x30], eax
call fcn.0049eaf0
add esp, 4
test al, al
je 0x494cf6
mov ebx, 2
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
push ebx
push str._03d
lea edi, [esp + 0x2c]
mov byte [esp + 0x6c], 1
call fcn.00404890
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
add esp, 8
push ebp
push eax
push edi
push esi
call fcn.00494e50
lea eax, [edi - 0x10]
mov byte [esp + 0x64], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4949f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0x64
jle 0x494991
mov dword [esp + 0x24], 0x65
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x64], 2
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x64], 3
mov ecx, dword [esp + 0x24]
push ecx
push str.._03d
lea edi, [esp + 0x30]
call fcn.00404890
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
add esp, 4
mov edi, esp
mov ecx, 0x563288
lea ebx, [esp + 0x24]
mov dword [esp + 0x34], esp
mov dword [esp + 0x38], edi
call eax
lea ecx, [eax + 0x10]
mov dword [edi], ecx
lea eax, [ecx - 0x10]
mov byte [esp + 0x68], 4
cmp dword [eax + 4], 0
mov ebp, dword [eax]
je 0x494ac7
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x494aa2
cmp dword [ecx - 8], 0
jl 0x494ce7
mov dword [ecx - 0xc], 0
mov ecx, dword [edi]
xor edx, edx
mov word [ecx], dx
jmp 0x494ac7
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494ab8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x68], 5
mov edi, dword [esp + 0x2c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x494afe
cmp eax, dword [edi]
jne 0x494afe
mov ebp, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x494b39
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x494cf1
mov eax, dword [edi + 4]
mov dword [ebp + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.004e3f3b
add esp, 0x10
push SHChangeNotifyDeregister
lea edx, [esp + 0x44]
add ebp, 0x10
mov dword [esi], ebp
push edx
xor ecx, ecx
mov byte [esp + 0x74], 3
call fcn.00404630
mov byte [esp + 0x64], 6
or dword [esp + 0x6c], 1
push eax
mov esi, ebx
call fcn.0048f8f0
add esp, 4
test eax, eax
je 0x494b87
mov eax, dword [esp + 0x20]
push str.360zip.VOLUME
push eax
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x494b87
mov bl, 1
jmp 0x494b89
xor bl, bl
mov dword [esp + 0x64], 3
test byte [esp + 0x6c], 1
je 0x494bdd
mov eax, dword [esp + 0x40]
and dword [esp + 0x6c], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494bbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x494c87
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, 0x563288
xor ebp, ebp
mov dword [esp + 0x38], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.004013b0
push ecx
mov byte [esp + 0x6c], 8
mov eax, edi
mov dword [esp + 0x38], esp
mov esi, esp
call fcn.004048c0
push SHChangeNotifyDeregister
lea ecx, [esp + 0x54]
add eax, 0x10
push ecx
mov dword [esi], eax
mov ecx, ebp
mov byte [esp + 0x74], 3
call fcn.00404630
mov esi, eax
mov byte [esp + 0x64], 9
call fcn.00497470
mov byte [esp + 0x64], 3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494cac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494cca
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x24], eax
jle 0x4949fe
mov ebx, dword [esp + 0x1c]
jmp 0x494e08
push 0x80070057
call fcn.00401540
call fcn.00401490
mov eax, dword [edi]
push 0x50ff90
push eax
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x494d7e
lea ebx, [eax + 1]
lea ecx, [ecx]
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x6c], eax
push ebx
push str.r_02d
lea edi, [esp + 0x74]
mov byte [esp + 0x6c], 0xa
call fcn.00404890
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x74]
add esp, 8
push ebp
push eax
push edi
push esi
call fcn.00494e50
lea eax, [edi - 0x10]
mov byte [esp + 0x64], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494d6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0x64
jl 0x494d10
mov ebx, dword [esp + 0x1c]
jmp 0x494e08
mov edi, dword [edi]
push 0x50ff98
push edi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x494e08
mov dword [esp + 0x6c], 2
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x64], 0xb
mov ecx, dword [esp + 0x6c]
push ecx
push str.z_02d
lea edi, [esp + 0x30]
call fcn.00404890
mov edi, dword [esp + 0x30]
add esp, 8
push ebp
push ebx
push edi
push esi
call fcn.00494e50
lea eax, [edi - 0x10]
mov byte [esp + 0x64], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494dfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
inc eax
cmp eax, 0x64
mov dword [esp + 0x6c], eax
jl 0x494d9a
lea eax, [ebx - 0x10]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494e2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4