Function at 0x48b8b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b4fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov ecx, 0x56a4bc
mov dword [ebp - 4], ebx
mov dword [edi], vtable.PlayMovieScene::CPlayMovie.0
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x48b93d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x48b93d
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x48b931
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x48b93f
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x48b93f
xor eax, eax
mov ecx, dword [eax + 4]
mov dword [edi + 8], ecx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x48b99a
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x48b99a
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x48b98e
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x48b99c
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x48b99c
xor eax, eax
push 0x38
mov dword [eax + 4], ebx
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x48b9bf
mov ecx, eax
call fcn.004894f0
mov esi, eax
jmp 0x48b9c1
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 0
call fcn.00416a20
mov ecx, dword [0x5699f0]
push esi
add ecx, 0x48
call fcn.004742d0
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x48ba33
mov esi, dword [esi + 0x30]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x48ba33
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x48ba27
mov esi, dword [esi + 0x10]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
add esi, eax
jmp 0x48ba35
mov esi, dword [esi + 0x10]
xor ecx, ecx
imul esi, ecx
add esi, eax
jmp 0x48ba35
xor esi, esi
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
jne 0x48ba40
xor esi, esi
jmp 0x48ba56
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x48ba4c
mov eax, dword [eax + 0xc]
jmp 0x48ba4e
xor eax, eax
mov esi, dword [esi + 0x24]
imul esi, eax
add esi, ecx
mov ecx, 0x56a4b4
call fcn.00416a20
mov eax, dword [0x5699f0]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
jne 0x48ba70
xor edi, edi
jmp 0x48ba86
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x48ba7c
mov edx, dword [edx + 0xc]
jmp 0x48ba7e
xor edx, edx
mov edi, dword [eax + 0x4c]
imul edi, edx
add edi, ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov al, byte [eax]
mov ecx, 0x56a4bc
mov byte [edi + 0x34], al
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x48bae9
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x48bae9
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x48badd
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x48baeb
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x48baeb
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, ebx
jne 0x48baf6
xor esi, esi
jmp 0x48bb0c
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x48bb02
mov ecx, dword [ecx + 0xc]
jmp 0x48bb04
xor ecx, ecx
mov esi, dword [eax + 0x24]
imul esi, ecx
add esi, edx
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov esi, dword [eax]
mov ecx, 0x56a5f8
call fcn.004075c0
mov ecx, dword [0x5699e8]
push esi
push 0x64
call fcn.00474eb0
mov ecx, 0x56a4b4
mov esi, eax
call fcn.00416a20
mov eax, dword [0x5699f0]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
jne 0x48bb55
xor eax, eax
jmp 0x48bb6b
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x48bb61
mov edx, dword [edx + 0xc]
jmp 0x48bb63
xor edx, edx
mov eax, dword [eax + 0x4c]
imul eax, edx
add eax, ecx
mov ecx, esi
cmp esi, 0xffffd8f0
jge 0x48bb7c
mov ecx, 0xffffd8f0
jmp 0x48bb82
cmp esi, ebx
jle 0x48bb82
xor ecx, ecx
mov dword [eax + 0x30], ecx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x48bbe3
mov esi, dword [esi + 0x30]
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x48bbbd
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x48bbe6
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x48bbd4
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
imul eax, edx
add eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x48bbe6
mov eax, dword [esi + 4]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x48bbe6
mov dword [ebp - 0x14], ebx
mov ecx, 0x56a4b4
call fcn.00416a20
mov ebx, dword [0x5699f0]
mov ecx, 0x56a554
call fcn.00405790
mov ecx, dword [0x5699e0]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x48bc11
xor edi, edi
jmp 0x48bc27
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x48bc1d
mov edx, dword [edx + 0xc]
jmp 0x48bc1f
xor edx, edx
mov edi, dword [ecx + 0x14]
imul edi, edx
add edi, eax
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [0x5699f4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x48bc41
xor esi, esi
jmp 0x48bc57
mov edx, dword [eax + 0x58]
test edx, edx
je 0x48bc4d
mov edx, dword [edx + 0xc]
jmp 0x48bc4f
xor edx, edx
mov esi, dword [eax + 0x54]
imul esi, edx
add esi, ecx
mov ecx, dword [ebp - 0x14]
push str.prog_param00
call fcn.00471170
push eax
mov ecx, ebx
call fcn.0044dfe0
mov ecx, eax
call fcn.004a0350
push eax
mov ecx, edi
call fcn.00431350
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, esi
call fcn.00478710
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
jne 0x48bd69
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jbe 0x48bced
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48bced
mov edx, dword [eax + 0x20]
test edx, edx
je 0x48bce1
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x48bcef
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x48bcef
xor eax, eax
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + 8]
mov ecx, 0x56a4b4
mov dword [eax + 4], edx
call fcn.00416a20
mov eax, dword [0x5699f0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x48bd12
xor eax, eax
jmp 0x48bd28
mov edx, dword [eax + 0x38]
test edx, edx
je 0x48bd1e
mov edx, dword [edx + 0xc]
jmp 0x48bd20
xor edx, edx
mov eax, dword [eax + 0x34]
imul eax, edx
add eax, ecx
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x48bd33
xor eax, eax
jmp 0x48bd49
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48bd3f
mov ecx, dword [ecx + 0xc]
jmp 0x48bd41
xor ecx, ecx
mov eax, dword [eax + 0x14]
imul eax, ecx
add eax, edx
mov ecx, eax
call fcn.00414aa0
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
push 0
call fcn.004309c0
jmp 0x48bda9
mov ecx, 0x56a4b4
call fcn.00416a20
mov eax, dword [0x5699f0]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x48bd83
xor ecx, ecx
jmp 0x48bd99
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x48bd8f
mov esi, dword [ecx + 0xc]
jmp 0x48bd91
xor esi, esi
mov ecx, dword [eax + 0x4c]
imul ecx, esi
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push 0
push edx
call eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bdcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret