Function at 0x4f4980
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0042a5f0
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
push eax
call fcn.0042a5f0
mov eax, dword [esi + 0x30]
lea ecx, [edi + 0x4c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.0042a5f0
lea eax, [esi + 0x64]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x64]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x7c]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x7c]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x94]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x94]
push eax
call fcn.0042a5f0
lea eax, [esi + 0xac]
mov byte [ebp - 4], 5
lea ecx, [edi + 0xac]
push eax
call fcn.0042a5f0
lea eax, [esi + 0xc4]
mov byte [ebp - 4], 6
lea ecx, [edi + 0xc4]
push eax
call fcn.0042a5f0
lea eax, [esi + 0xdc]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xdc]
push eax
call fcn.0042a5f0
lea eax, [esi + 0xf4]
mov byte [ebp - 4], 8
lea ecx, [edi + 0xf4]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x10c]
mov byte [ebp - 4], 9
lea ecx, [edi + 0x10c]
push eax
call fcn.0042a5f0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x124]
lea eax, [esi + 0x124]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x13c]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x13c]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x154]
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x154]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x16c]
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x16c]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x184]
push eax
call fcn.0042a5f0
mov eax, dword [esi + 0x19c]
lea ecx, [edi + 0x1a0]
mov dword [edi + 0x19c], eax
lea eax, [esi + 0x1a0]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042a5f0
lea eax, [esi + 0x1b8]
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0x1b8]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x1d0]
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x1d0]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x1e8]
mov byte [ebp - 4], 0x12
lea ecx, [edi + 0x1e8]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x200]
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x200]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x218]
mov byte [ebp - 4], 0x14
lea ecx, [edi + 0x218]
push eax
call fcn.0042a5f0
mov eax, dword [esi + 0x230]
lea ebx, [edi + 0x234]
mov dword [edi + 0x230], eax
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [eax + 0x238]
mov esi, dword [esi + 0x234]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x4f4c65
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov ecx, ebx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
call fcn.004ea5a0
lea ecx, [edi + edi*2]
mov dword [ebx], eax
shl ecx, 4
add ecx, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebx]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x17
nop word [eax + eax]
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.0042a5f0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x18]
push eax
call fcn.0042a5f0
add edi, 0x30
mov byte [ebp - 4], 0x17
add esi, 0x30
mov dword [ebp - 0x24], edi
cmp esi, ebx
jne 0x4f4c30
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 4], edi
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x240]
add eax, 0x240
mov byte [ebp - 4], 0x19
push eax
call fcn.004f4230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4