Function at 0x52c9b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x696fbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x94]
call fcn.00537aa0
xor ebx, ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x12c], ebx
call fcn.00537aa0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x12c], 1
call fcn.00537aa0
mov ebp, dword [esp + 0x134]
push 0x10
push ebx
mov byte [esp + 0x134], 2
lea eax, [ebp + 0x4a]
mov dword [esp + 0x3c], ebx
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], eax
call fcn.004dc0b0
mov eax, dword [ebp + 0x24]
push 2
push ebx
push eax
call dword [ebp + 0x10]
mov ecx, dword [ebp + 0x24]
push ecx
call dword [ebp + 0xc]
mov edx, dword [ebp + 0x24]
push ebx
mov esi, eax
push ebx
push edx
mov dword [esp + 0x60], esi
call dword [ebp + 0x10]
push ebx
push 0xa7aff8
push esi
call fcn.004e0530
mov edi, eax
add esp, 0x34
cmp edi, ebx
mov dword [esp + 0x40], edi
je 0x52cfa5
mov eax, dword [ebp + 0x24]
push eax
push 1
push esi
push edi
call dword [ebp + 0x14]
add esp, 0x10
push 0xffffffffffffffff
push ebx
push esi
push edi
call fcn.0053df00
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x52caa3
push 0x6ebde8
jmp 0x52cf9d
mov ecx, dword [0x6d68a0]
mov edx, dword [0x6d68a4]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x6d68a8]
mov dword [esp + 0x98], edx
mov edx, dword [0x6d68ac]
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x6d6920]
mov dword [esp + 0xa0], edx
mov edx, dword [0x6d6924]
mov dword [esp + 0xa4], ecx
mov ecx, dword [0x6d6928]
mov dword [esp + 0xa8], edx
mov edx, dword [0x6d692c]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x94]
push ecx
push edx
push eax
mov dword [esp + 0x20], ebx
call fcn.0053de10
cmp eax, ebx
mov dword [esp + 0x2c], eax
jne 0x52cb34
push 0x6ebdbc
jmp 0x52cf9d
lea edi, [eax + 0xc]
push edi
mov eax, dword [edi]
call dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x6d6800
push 1
push ebx
push 0x6d6580
call dword [0x7090c8]
test eax, eax
jge 0x52cb63
push 0x6ebd90
jmp 0x52cf9d
lea edx, [esp + 0x10]
push edx
push 0x6d6760
push 3
push ebx
push 0x6d6530
call dword [0x7090c8]
test eax, eax
jge 0x52cb89
push 0x6ebd60
jmp 0x52cf9d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push ebx
call fcn.0053d690
mov esi, eax
cmp esi, ebx
jne 0x52cbac
push 0x6ebd30
jmp 0x52cf9d
mov edx, dword [0x6d6894]
mov ecx, dword [0x6d6890]
mov eax, dword [0x6d6898]
mov dword [esp + 0x50], edx
mov edx, dword [0x6d68f0]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x6d689c]
mov dword [esp + 0x54], eax
mov eax, dword [0x6d68f4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x6d68fc]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x6d68f8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
lea eax, [esi + 0xa0]
lea edx, [esp + 0x4c]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x4c], eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cc21
push 0x6ebcf4
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
add esi, 0xc
push 0x6ebcd8
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cc46
push 0x6ebca0
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
push str.MemFile
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cc68
push 0x6ebc58
jmp 0x52cf9d
mov ecx, dword [esp + 0x2c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, ebx
je 0x52cc7b
lea ecx, [eax + 0xc]
jmp 0x52cc7d
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cc9a
push 0x6ebc3c
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push str.File_Renderer
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52ccc0
push 0x6ebbe8
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x28]
push ebx
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x52cd7a
mov eax, dword [esp + 0x28]
push ebx
push eax
call fcn.0052c920
mov ecx, dword [esp + 0x30]
push 1
push ecx
mov esi, eax
call fcn.0052c920
add esp, 0x10
cmp esi, ebx
mov edi, eax
je 0x52cd28
cmp edi, ebx
jne 0x52cd22
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [edx + 0x18]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x52cd54
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
cmp edi, ebx
je 0x52cd32
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push ebx
push ecx
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x52cce9
jmp 0x52cd7a
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push ebx
push eax
call fcn.0052c920
mov edx, dword [esp + 0x44]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
push esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi]
push esi
call dword [edx + 8]
cmp dword [esp + 0x14], ebx
je 0x52cdc8
push 0x6ebbac
jmp 0x52cf9d
push 0x48
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.004dc0b0
mov eax, dword [esp + 0x50]
add esp, 0xc
lea edx, [esp + 0xdc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cdff
push 0x6ebb64
jmp 0x52cf9d
mov ecx, 4
mov edi, 0x6d6870
lea esi, [esp + 0x108]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x52ce20
push 0x6ebb38
jmp 0x52cf9d
mov ecx, dword [esp + 0x120]
cmp word [ecx], 1
je 0x52ce37
push 0x6ebb0c
jmp 0x52cf9d
mov word [ebp + 0x48], bx
mov dx, word [ecx]
mov word [ebp + 0x38], dx
mov ax, word [ecx + 2]
mov word [ebp + 0x3a], ax
mov dx, word [ecx + 0xc]
mov word [ebp + 0x44], dx
mov eax, dword [ecx + 4]
xor edx, edx
mov dword [ebp + 0x3c], eax
mov dx, word [ebp + 0x44]
xor eax, eax
imul edx, dword [ecx + 4]
mov dword [ebp + 0x40], edx
mov ax, word [ecx + 0xc]
shl eax, 3
xor esi, esi
push ebp
mov si, word [ecx + 2]
push 0x52c870
cdq
idiv esi
mov word [ebp + 0x46], ax
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52ce9d
push 0x6ebae8
jmp 0x52cf9d
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
push ebx
push 0xa7aff8
lea eax, [eax + eax*4]
shl eax, 1
push eax
mov dword [esi + 4], eax
call fcn.004e0530
add esp, 0xc
cmp eax, ebx
mov dword [esi], eax
jne 0x52cecc
push 0x6ebab4
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov dword [esi + 8], ebx
push ecx
mov edx, dword [eax]
push 0x6d6740
push eax
call dword [edx]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cef4
push str.IMediaFilter
jmp 0x52cf9d
mov eax, dword [esp + 0x24]
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x6d66f0
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cf21
push str.IMediaControl
jmp 0x52cf9d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x6d66d0
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x52cf43
push str.IMediaEvent
jmp 0x52cf9d
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
call fcn.004e41d0
test eax, eax
jne 0x52cf82
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push 0x64
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
test eax, eax
jne 0x52cf79
mov eax, dword [esp + 0x38]
cmp eax, 3
je 0x52cf89
cmp eax, 1
je 0x52cf90
call fcn.004e41d0
test eax, eax
je 0x52cf56
push 0x6eba24
jmp 0x52cf9d
push 0x6eba00
jmp 0x52cf9d
cmp dword [esi], ebx
jne 0x52d082
push 0x6eb9cc
call fcn.004e3200
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x52cfb7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x52cfc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x52cfdb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52cfed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x52cfff
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x52d00c
call fcn.0053df70
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x52d019
call fcn.0053def0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x52d02a
push eax
call fcn.004e0760
add esp, 4
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
cmp eax, ebx
je 0x52d03f
push eax
call fcn.004e0760
add esp, 4
mov dword [esi], ebx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x12c], 1
call fcn.00537a90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x12c], bl
call fcn.00537a90
lea ecx, [esp + 0x94]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00537a90
or eax, 0xffffffff
jmp 0x52d148
mov eax, dword [ebp + 0x40]
mov dword [ebp + 8], 3
mov dword [ebp + 0x450], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x52d0a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x52d0b6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x52d0c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52d0da
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x52d0ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x34]
call fcn.0053df70
mov ecx, dword [esp + 0x2c]
call fcn.0053def0
mov edx, dword [esp + 0x40]
push edx
call fcn.004e0760
add esp, 4
lea ecx, [esp + 0xdc]
mov byte [esp + 0x12c], 1
call fcn.00537a90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x12c], bl
call fcn.00537a90
lea ecx, [esp + 0x94]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00537a90
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret