Function at 0x4bc870
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f938
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x30], ebx
mov dword [ecx + 0x34], ebx
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], ebx
lea esi, [ecx + 0x4c]
mov dword [ecx], vtable.SaveLoadScene::CQuickSaveLoadPage.0
mov dword [ebp - 4], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebx
mov dword [ecx + 0x60], ebx
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x68], ebx
mov dword [ecx + 0x6c], ebx
mov edi, dword [ebp + 0xc]
or eax, 0xffffffff
mov byte [ebp - 4], 3
mov dword [ecx + 4], eax
cmp esi, edi
je 0x4bc944
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4bc92d
add dword [ecx + 4], eax
jne 0x4bc928
cmp byte [ecx + 8], bl
je 0x4bc918
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4bc928
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4bc944
inc dword [eax + 4]
mov esi, dword [ebp - 0x10]
push 0xf
lea ecx, [esi + 8]
call fcn.004a0490
push 0xf
lea ecx, [esi + 0x58]
call fcn.00406f50
xor edi, edi
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x1c], 0x5452ec
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], vtable.CCriticalLock.0
jmp 0x4bc980
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
call eax
mov byte [ebp - 4], 4
cmp dword [0x552af4], ebx
jne 0x4bca0c
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x4bca04
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4bca06
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 3
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 6
jbe 0x4bca6b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bca6b
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bca5f
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bca6d
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bca6d
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 8]
cmp esi, ebx
jne 0x4bca7b
xor ecx, ecx
jmp 0x4bca9a
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
je 0x4bca87
mov edx, dword [ecx + 0xc]
jmp 0x4bca89
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
add ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
imul ecx, edx
add ecx, esi
cmp dword [eax + 4], ebx
mov esi, dword [ebp - 0x10]
setge dl
movzx eax, dl
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esi + 4]
push edx
push edi
push eax
call fcn.004bc0f0
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jne 0x4bcac0
xor eax, eax
jmp 0x4bcad8
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x4bcacc
mov edx, dword [eax + 0xc]
jmp 0x4bcace
xor edx, edx
mov eax, dword [esi + 0x5c]
add eax, edi
imul eax, edx
add eax, ecx
inc edi
mov dword [eax], 0xffffffff
mov dword [ebp + 0xc], edi
cmp edi, 0xf
jl 0x4bc980
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x20], vtable.CCriticalLock.0
mov dword [ebp - 0x1c], ecx
call eax
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 6
cmp dword [0x552af4], ebx
jne 0x4bcb88
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 7
cmp esi, ebx
je 0x4bcb80
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4bcb82
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 3
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 6
jbe 0x4bcbe7
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bcbe7
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bcbdb
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bcbe9
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bcbe9
xor eax, eax
cmp dword [eax + 4], ebx
jl 0x4bce26
mov ecx, 0x553818
call fcn.004175a0
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
jbe 0x4bcc47
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bcc47
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bcc3b
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bcc49
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bcc49
xor eax, eax
mov esi, dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xc], 2
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bcc61
xor eax, eax
jmp 0x4bcc79
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bcc6d
mov ecx, dword [eax + 0xc]
jmp 0x4bcc6f
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bcca8
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bcc88
xor eax, eax
jmp 0x4bcca0
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bcc94
mov ecx, dword [eax + 0xc]
jmp 0x4bcc96
xor ecx, ecx
mov eax, dword [edi + 0x5c]
add eax, esi
imul eax, ecx
add eax, edx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffffe
mov dword [eax], ecx
dec esi
jns 0x4bccb0
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bccbb
xor eax, eax
jmp 0x4bccd3
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bccc7
mov ecx, dword [eax + 0xc]
jmp 0x4bccc9
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bcd00
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bcce2
xor eax, eax
jmp 0x4bccfa
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bccee
mov ecx, dword [eax + 0xc]
jmp 0x4bccf0
xor ecx, ecx
mov eax, dword [edi + 0x5c]
add eax, esi
imul eax, ecx
add eax, edx
mov edx, dword [ebp + 0xc]
dec edx
mov dword [eax], edx
dec esi
jns 0x4bcd08
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bcd13
xor eax, eax
jmp 0x4bcd2b
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bcd1f
mov ecx, dword [eax + 0xc]
jmp 0x4bcd21
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bcd57
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bcd3a
xor eax, eax
jmp 0x4bcd52
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bcd46
mov ecx, dword [eax + 0xc]
jmp 0x4bcd48
xor ecx, ecx
mov eax, dword [edi + 0x5c]
add eax, esi
imul eax, ecx
add eax, edx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
dec esi
jns 0x4bcd5f
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bcd6a
xor eax, eax
jmp 0x4bcd82
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bcd76
mov ecx, dword [eax + 0xc]
jmp 0x4bcd78
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bcdaf
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bcd91
xor eax, eax
jmp 0x4bcda9
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bcd9d
mov ecx, dword [eax + 0xc]
jmp 0x4bcd9f
xor ecx, ecx
mov eax, dword [edi + 0x5c]
add eax, esi
imul eax, ecx
add eax, edx
mov edx, dword [ebp + 0xc]
inc edx
mov dword [eax], edx
dec esi
jns 0x4bcdb7
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bcdc2
xor eax, eax
jmp 0x4bcdda
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bcdce
mov ecx, dword [eax + 0xc]
jmp 0x4bcdd0
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bce09
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bcde9
xor eax, eax
jmp 0x4bce01
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bcdf5
mov ecx, dword [eax + 0xc]
jmp 0x4bcdf7
xor ecx, ecx
mov eax, dword [edi + 0x5c]
add eax, esi
imul eax, ecx
add eax, edx
mov ecx, dword [ebp + 0xc]
add ecx, 2
mov dword [eax], ecx
dec esi
jns 0x4bce11
mov esi, 0xe
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp + 0xc], eax
add eax, 0xfffffffe
cmp eax, 0xf
jl 0x4bcc56
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0x20], vtable.CCriticalLock.0
mov dword [ebp - 0x1c], 0x5452c8
call eax
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 8
cmp dword [0x552af0], ebx
jne 0x4bce7e
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4bce77
mov ecx, eax
call fcn.00415650
jmp 0x4bce79
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov byte [ebp - 4], 3
call eax
mov eax, dword [0x552af0]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
jne 0x4bcea3
mov dword [ebp + 0xc], ebx
jmp 0x4bcebc
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x4bceaf
mov edx, dword [edx + 0xc]
jmp 0x4bceb1
xor edx, edx
mov eax, dword [eax + 0x1c]
imul eax, edx
add eax, ecx
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x64]
cmp ecx, ebx
jne 0x4bcf3a
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x4bcf20
mov dword [esi], vtable.Graphics::IGUIButton.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00476c80
mov dword [esi], vtable.CGUIButton.0
mov dword [esi + 0x70], 0xffffffff
jmp 0x4bcf22
xor esi, esi
push esi
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 3
call fcn.004be1d0
mov ecx, dword [edi + 0x64]
cmp ecx, ebx
jne 0x4bcf3a
xor eax, eax
jmp 0x4bcf50
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x4bcf46
mov edx, dword [eax + 0xc]
jmp 0x4bcf48
xor edx, edx
mov eax, dword [edi + 0x68]
imul eax, edx
add eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
push 0x54e3a8
push eax
call fcn.0048b850
test al, al
jne 0x4bcf78
push 0x533160
lea ecx, [ebp + 0xc]
push ecx
mov dword [ebp + 0xc], 1
call fcn.004f4775
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8