Function at 0x4bd4a0
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::CAutoSaveLoadPage.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]
mov byte [ebp - 4], 3
mov dword [ecx + 4], 0xfffffffe
cmp esi, edi
je 0x4bd575
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4bd55e
dec dword [ecx + 4]
jne 0x4bd559
cmp byte [ecx + 8], bl
je 0x4bd549
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4bd559
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 0x4bd575
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 0x4bd5b0
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 0x4bd63c
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 0x4bd634
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 0x4bd636
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 0x4bd69b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bd69b
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bd68f
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bd69d
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bd69d
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 8]
cmp esi, ebx
jne 0x4bd6ab
xor ecx, ecx
jmp 0x4bd6ca
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
je 0x4bd6b7
mov edx, dword [ecx + 0xc]
jmp 0x4bd6b9
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 + 8], 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 0x4bd6f0
xor eax, eax
jmp 0x4bd708
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x4bd6fc
mov edx, dword [eax + 0xc]
jmp 0x4bd6fe
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 0x4bd5b0
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 0x4bd7b8
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 0x4bd7b0
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 0x4bd7b2
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 0x4bd817
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bd817
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bd80b
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bd819
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bd819
xor eax, eax
cmp dword [eax + 8], ebx
jl 0x4bda56
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 0x4bd877
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
je 0x4bd877
mov edx, dword [eax + 0x50]
cmp edx, ebx
je 0x4bd86b
mov eax, dword [eax + 0x4c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bd879
mov eax, dword [eax + 0x4c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bd879
xor eax, eax
mov esi, dword [eax + 8]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xc], 2
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bd891
xor eax, eax
jmp 0x4bd8a9
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bd89d
mov ecx, dword [eax + 0xc]
jmp 0x4bd89f
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bd8d8
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bd8b8
xor eax, eax
jmp 0x4bd8d0
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bd8c4
mov ecx, dword [eax + 0xc]
jmp 0x4bd8c6
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 0x4bd8e0
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bd8eb
xor eax, eax
jmp 0x4bd903
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bd8f7
mov ecx, dword [eax + 0xc]
jmp 0x4bd8f9
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bd930
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bd912
xor eax, eax
jmp 0x4bd92a
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bd91e
mov ecx, dword [eax + 0xc]
jmp 0x4bd920
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 0x4bd938
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bd943
xor eax, eax
jmp 0x4bd95b
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bd94f
mov ecx, dword [eax + 0xc]
jmp 0x4bd951
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bd987
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bd96a
xor eax, eax
jmp 0x4bd982
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bd976
mov ecx, dword [eax + 0xc]
jmp 0x4bd978
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 0x4bd98f
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bd99a
xor eax, eax
jmp 0x4bd9b2
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bd9a6
mov ecx, dword [eax + 0xc]
jmp 0x4bd9a8
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bd9df
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bd9c1
xor eax, eax
jmp 0x4bd9d9
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bd9cd
mov ecx, dword [eax + 0xc]
jmp 0x4bd9cf
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 0x4bd9e7
mov esi, 0xe
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x4bd9f2
xor eax, eax
jmp 0x4bda0a
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4bd9fe
mov ecx, dword [eax + 0xc]
jmp 0x4bda00
xor ecx, ecx
mov eax, dword [edi + 0xc]
add eax, esi
imul eax, ecx
add eax, edx
cmp byte [eax], bl
je 0x4bda39
mov edx, dword [edi + 0x58]
cmp edx, ebx
jne 0x4bda19
xor eax, eax
jmp 0x4bda31
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x4bda25
mov ecx, dword [eax + 0xc]
jmp 0x4bda27
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 0x4bda41
mov esi, 0xe
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp + 0xc], eax
add eax, 0xfffffffe
cmp eax, 0xf
jl 0x4bd886
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 0x4bdaae
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4bdaa7
mov ecx, eax
call fcn.00415650
jmp 0x4bdaa9
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 0x4bdad3
mov dword [ebp + 0xc], ebx
jmp 0x4bdaec
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x4bdadf
mov edx, dword [edx + 0xc]
jmp 0x4bdae1
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 0x4bdb6a
push 0x74
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
je 0x4bdb50
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 0x4bdb52
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 0x4bdb6a
xor eax, eax
jmp 0x4bdb80
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x4bdb76
mov edx, dword [eax + 0xc]
jmp 0x4bdb78
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 0x4bdba8
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