Function at 0x53cc80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x59cbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
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 0x53cd17
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
test ebp, ebp
jle 0x53cd05
test edi, edi
jl 0x53cfa6
cmp edi, ebp
jge 0x53cfa6
mov eax, dword [esp + 0x20]
mov esi, dword [eax + edi*4]
call fcn.00544440
test eax, eax
jne 0x53cd05
add edi, 1
cmp edi, ebp
jl 0x53ccde
cmp edi, ebp
je 0x53cfab
push 0x64
call ebx
jmp 0x53ccd8
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x53cfa6
cmp eax, dword [ebx + 0x58]
jge 0x53cfa6
lea edi, [eax*4]
mov eax, dword [ebx + 0x54]
mov esi, dword [eax + edi]
add eax, edi
call fcn.00544440
test eax, eax
mov edx, dword [esp + 0x14]
je 0x53cf91
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + edi]
cmp dword [ecx + 0x38], 0
je 0x53cf91
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov ecx, dword [edi + eax]
mov ebp, 1
mov dword [ecx], ebp
xor esi, esi
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + edi]
cmp esi, dword [ecx + 0x14]
jge 0x53cf24
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [eax + edi]
add eax, 0xc
test esi, esi
jl 0x53cfa6
cmp esi, dword [eax + 8]
jge 0x53cfa6
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x878], 0
je 0x53ce1e
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
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 0x53cfa6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
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 0x53cfa6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x470], 0
je 0x53cea9
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
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 0x53cfa6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0x470], 0
mov edx, dword [esp + 0x14]
xor ecx, ecx
jmp 0x53ceb0
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
cmp ecx, dword [eax + 0x884]
jge 0x53cf1d
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + edi]
add eax, 0xc
cmp esi, dword [eax + 8]
jge 0x53cfa6
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
add eax, 0x87c
test ecx, ecx
jl 0x53cfa6
cmp ecx, dword [eax + 8]
jge 0x53cfa6
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x2c], ebp
add ecx, ebp
jmp 0x53ceb0
add esi, ebp
jmp 0x53cd76
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov ecx, eax
mov edx, dword [edi + ecx]
mov ecx, dword [ebx + 0x78]
xor eax, eax
test ecx, ecx
jle 0x53cf4d
test eax, eax
jl 0x53cfa6
cmp eax, ecx
jge 0x53cfa6
mov esi, dword [ebx + 0x74]
cmp dword [esi + eax*4], edx
je 0x53cf57
add eax, ebp
cmp eax, ecx
jl 0x53cf37
push edx
push ecx
lea eax, [ebx + 0x70]
call fcn.004df1e0
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0x58]
jge 0x53cfa6
mov eax, dword [ebx + 0x54]
mov ebp, dword [edi + eax]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x18], eax
jl 0x53cfa6
lea edi, [eax + 1]
lea esi, [esp + 0x1c]
call fcn.00541660
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 0x53cd13
jmp 0x53ccd2
jmp fcn.00555520
mov eax, dword [esp + 0x20]
test eax, eax
je 0x53cfbc
push eax
call fcn.0055517b
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