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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fd88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0x48f630
push 0x18
push dword [esi + 0x34]
push dword [esi + 0x30]
call fcn.0050dab0
xor edx, edx
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x34], edx
jbe 0x48f6fc
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
add eax, 0x10
lea ecx, [ecx]
add edx, dword [eax]
adc ebx, dword [eax + 4]
lea eax, [eax + 0x18]
sub ecx, 1
jne 0x48f6d0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], edx
test ebx, ebx
jne 0x48f6ef
cmp edx, 0x10000000
jbe 0x48f6fc
push 0x69
mov byte [ebp - 0x11], 1
call fcn.00418f10
jmp 0x48f700
mov byte [ebp - 0x11], 0
push 0x100000
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0
call fcn.00404d60
mov dword [ebp - 4], 0
xor eax, eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x34], eax
jbe 0x48f8af
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov ebx, dword [esi + 0x30]
mov edi, dword [esi]
add ebx, ecx
push 0
mov esi, dword [edi]
push dword [ebx + 4]
push dword [ebx]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x18]
push 0
push dword [ebx + 0xc]
mov edi, dword [edi + 4]
push dword [ebx + 8]
mov esi, dword [edi]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esi
test esi, esi
jl 0x48f890
mov ebx, eax
jg 0x48f7ae
test ebx, ebx
je 0x48f890
mov edi, dword [ebp - 0x18]
call fcn.0049dc00
test esi, esi
jg 0x48f7c7
jl 0x48f7c3
mov eax, dword [ebp - 0x48]
cmp ebx, eax
jae 0x48f7ca
mov ecx, ebx
jmp 0x48f7cc
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edi, dword [edi]
push ecx
push dword [ebp - 0x4c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x48f890
mov edi, dword [ebp - 0x18]
push esi
push dword [ebp - 0x4c]
mov ecx, dword [edi + 4]
call fcn.00473490
mov eax, esi
mov esi, dword [ebp - 0x2c]
cdq
sub ebx, eax
sbb esi, edx
add dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
adc dword [ebp - 0x24], edx
cmp byte [ebp - 0x11], 0
je 0x48f87e
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x7fffffff
jne 0x48f837
cmp ecx, eax
jne 0x48f837
mov dword [0x58c348], 0xffffffff
jmp 0x48f87e
push ecx
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.0049c470
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2214]
cmp byte [eax + 0x6148], 0
jne 0x48f875
cmp esi, dword [0x58c348]
je 0x48f875
push 0
push 0x64
mov eax, esi
cdq
push edx
push eax
push 0x532df4
call fcn.0049fe40
mov dword [0x58c348], esi
mov esi, dword [ebp - 0x2c]
test esi, esi
jg 0x48f7b1
jl 0x48f890
test ebx, ebx
jne 0x48f7b1
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x18]
inc eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
cmp eax, dword [esi + 0x34]
jb 0x48f750
mov ebx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48f8c6
push eax
call fcn.005097b2
add esp, 4
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x48f8f7
cmp byte [ebp - 0x3c], 0
je 0x48f8ee
push dword [ebp - 0x44]
push ebx
call fcn.0049a3e0
push ebx
call fcn.005097b2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502f8e
mov esp, ebp
pop ebp
ret