Function at 0x5225b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57ed88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x1c], vtable.CArray_class_CClientTask___class_CClientTask__.0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x58], eax
mov dword [esp + 0x14], eax
jg 0x522647
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
test ebp, ebp
jle 0x522635
test edi, edi
jl 0x5228d6
cmp edi, ebp
jge 0x5228d6
mov eax, dword [esp + 0x20]
mov esi, dword [eax + edi*4]
call fcn.0052a440
test eax, eax
jne 0x522635
add edi, 1
cmp edi, ebp
jl 0x52260e
cmp edi, ebp
je 0x5228db
push 0x64
call ebx
jmp 0x522608
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x5228d6
cmp eax, dword [ebx + 0x58]
jge 0x5228d6
lea edi, [eax*4]
mov eax, dword [ebx + 0x54]
mov esi, dword [eax + edi]
add eax, edi
call fcn.0052a440
test eax, eax
mov edx, dword [esp + 0x14]
je 0x5228c1
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + edi]
cmp dword [ecx + 0x48], 0
je 0x5228c1
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov ecx, dword [eax + edi]
mov ebp, 1
mov dword [ecx + 4], ebp
xor esi, esi
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + edi]
cmp esi, dword [ecx + 0x24]
jge 0x522854
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [eax + edi]
add eax, 0x1c
test esi, esi
jl 0x5228d6
cmp esi, dword [eax + 8]
jge 0x5228d6
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x878], 0
je 0x52274f
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov edx, dword [eax + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x878]
push ecx
call dword [sym.imp.WS2_32.dll_WSACancelAsyncRequest]
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0x878], 0
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x470], 0
je 0x5227da
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov edx, dword [eax + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x470]
push ecx
call dword [sym.imp.WS2_32.dll_WSACancelAsyncRequest]
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0x470], 0
mov edx, dword [esp + 0x14]
xor ecx, ecx
lea esp, [esp]
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
cmp ecx, dword [eax + 0x884]
jge 0x52284d
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0x1c
cmp esi, dword [eax + 8]
jge 0x5228d6
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
add eax, 0x87c
test ecx, ecx
jl 0x5228d6
cmp ecx, dword [eax + 8]
jge 0x5228d6
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x30], ebp
add ecx, ebp
jmp 0x5227e0
add esi, ebp
jmp 0x5226a7
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov ecx, eax
mov edx, dword [edi + ecx]
mov ecx, dword [ebx + 0x78]
xor eax, eax
test ecx, ecx
jle 0x52287d
test eax, eax
jl 0x5228d6
cmp eax, ecx
jge 0x5228d6
mov esi, dword [ebx + 0x74]
cmp dword [esi + eax*4], edx
je 0x522887
add eax, ebp
cmp eax, ecx
jl 0x522867
push edx
push ecx
lea eax, [ebx + 0x70]
call fcn.0041d2f0
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0x58]
jge 0x5228d6
mov eax, dword [ebx + 0x54]
mov ebp, dword [edi + eax]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x18], eax
jl 0x5228d6
lea edi, [eax + 1]
lea esi, [esp + 0x1c]
call fcn.00459ef0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], ebp
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add edx, 1
cmp edx, dword [ebx + 0x58]
mov dword [esp + 0x14], edx
jl 0x522643
jmp 0x522602
jmp fcn.00530cad
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5228ec
push eax
call fcn.005308f6
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret