Function at 0x53d020
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56bcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c04b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], vtable.CArray_struct_CECPRequest::xmlAttributes::attr__struct_CECPRequest::xmlAttributes::attr_const__.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 1
lea ecx, [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push 1
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0053cee0
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [ecx], str.type
mov dword [ecx + 4], esi
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [ebx + 0x38]
lea eax, [esi + 1]
push eax
call fcn.0053cee0
mov eax, dword [esp + 0x1c]
mov edx, str.ecp:container
push 1
push 1
mov dword [eax + esi*8], str.domain
mov dword [eax + esi*8 + 4], edi
lea eax, [esp + 0x20]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00537920
movzx eax, ax
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, ebx
movzx esi, ax
mov eax, dword [ebx]
push edi
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
movzx eax, ax
test cx, cx
je 0x53d10d
cmp cx, 1
jne 0x53d10f
test ax, ax
je 0x53d10f
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x18], ecx
jle 0x53d16a
lea ebx, [ebx]
mov eax, dword [ebx + 0x14]
push 0
push 0x5c54e4
push 0x5c1a6c
push 0
push dword [eax + ecx*4]
call sub.MSVCR120.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x53d15c
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
movzx eax, ax
test si, si
je 0x53d15a
cmp si, 1
jne 0x53d15c
test ax, ax
je 0x53d15c
mov esi, eax
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x18]
jl 0x53d120
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax + 0x2c], ebx
jle 0x53d1bc
mov eax, dword [eax + 0x28]
push 0
push 0x5c5598
push 0x5c5400
push 0
push dword [eax + ebx*4]
call sub.MSVCR120.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x53d1b2
lea ecx, [eax + 0x64]
mov eax, dword [ecx]
push edi
call dword [eax]
movzx eax, ax
test si, si
je 0x53d1b0
cmp si, 1
jne 0x53d1b2
test ax, ax
je 0x53d1b2
mov esi, eax
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, dword [eax + 0x2c]
jl 0x53d175
mov ebx, dword [edi + 0x10]
mov ecx, edi
push 1
call fcn.004d2430
test eax, eax
je 0x53d1f4
mov cl, byte [0x596324]
mov byte [eax], cl
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
inc eax
add eax, ecx
cmp eax, dword [edi + 0xc]
ja 0x53d1f4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
cmp ebx, 0xffffffff
je 0x53d1f4
xor eax, eax
jmp 0x53d1f9
mov eax, 1
mov dword [esp + 0x14], eax
mov ecx, edi
movzx ebx, ax
mov eax, dword [edi + 0x10]
push 2
mov dword [esp + 0x14], eax
call fcn.004d2430
test eax, eax
je 0x53d242
mov cx, word [0x596320]
mov word [eax], cx
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
add eax, 2
add eax, ecx
cmp eax, dword [edi + 0xc]
ja 0x53d242
cmp dword [esp + 0x10], 0xffffffff
lea eax, [ecx + 2]
mov dword [edi + 0x10], eax
je 0x53d242
xor eax, eax
jmp 0x53d247
mov eax, 1
mov ecx, dword [esp + 0x14]
test cx, cx
je 0x53d25b
cmp cx, 1
jne 0x53d25e
test ax, ax
je 0x53d25e
movzx ebx, ax
push ecx
mov edx, str.ecp:container
mov ecx, edi
call fcn.00537bd0
add esp, 4
movzx eax, ax
test bx, bx
je 0x53d281
cmp bx, 1
jne 0x53d283
test ax, ax
je 0x53d283
mov ebx, eax
mov eax, dword [edi + 0x10]
mov ecx, edi
push 1
mov dword [esp + 0x18], eax
call fcn.004d2430
test eax, eax
je 0x53d2c1
mov cl, byte [0x5962d4]
mov byte [eax], cl
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
inc eax
add eax, ecx
cmp eax, dword [edi + 0xc]
ja 0x53d2c1
cmp dword [esp + 0x14], 0xffffffff
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
je 0x53d2c1
xor eax, eax
jmp 0x53d2c6
mov eax, 1
test bx, bx
je 0x53d2d6
cmp bx, 1
jne 0x53d2d9
test ax, ax
je 0x53d2d9
movzx ebx, ax
mov eax, dword [edi + 0x10]
mov ecx, edi
push 2
mov dword [esp + 0x18], eax
call fcn.004d2430
test eax, eax
je 0x53d31b
mov cx, word [0x5762fc]
mov word [eax], cx
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
add eax, 2
add eax, ecx
cmp eax, dword [edi + 0xc]
ja 0x53d31b
cmp dword [esp + 0x14], 0xffffffff
lea eax, [ecx + 2]
mov dword [edi + 0x10], eax
je 0x53d31b
xor eax, eax
jmp 0x53d320
mov eax, 1
test bx, bx
je 0x53d330
cmp bx, 1
jne 0x53d333
test ax, ax
je 0x53d333
movzx ebx, ax
test si, si
je 0x53d343
cmp si, 1
jne 0x53d346
test bx, bx
je 0x53d346
movzx esi, bx
mov dword [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
test eax, eax
je 0x53d368
push eax
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], vtable.CArray_struct_CECPRequest::xmlAttributes::attr__struct_CECPRequest::xmlAttributes::attr_const__.0
test eax, eax
je 0x53d392
push eax
call edi
add esp, 4
mov ax, si
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4