Function at 0x4f7a10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x71b4cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
xor edx, edx
mov dl, byte [0x746634]
push edi
mov esi, ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
push edx
mov dword [esp + 0x18], esi
call fcn.004cfcb0
push fcn.005e5c20
push fcn.005b3190
push 0xe
push 8
lea edi, [esi + 0x230]
xor ebx, ebx
push edi
mov dword [esp + 0x3c], ebx
mov dword [esi], 0x7470c8
call fcn.006fb55f
push fcn.005e5c20
push fcn.005b3190
push 0xe
push 8
lea eax, [esi + 0x2a0]
push eax
mov byte [esp + 0x3c], 1
call fcn.006fb55f
mov dword [esi + 0x314], ebx
mov dword [esi + 0x318], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x324], ebx
mov dword [esi + 0x334], ebx
mov dword [esi + 0x338], ebx
mov dword [esi + 0x330], ebx
push fcn.004015a0
push 0x4eadd0
push 0xa
push 0x1c
lea ecx, [esi + 0x3a8]
push ecx
mov byte [esp + 0x3c], 4
call fcn.006fb55f
lea ecx, [esi + 0x4c8]
mov byte [esp + 0x28], 5
call fcn.005b3190
mov dword [esi + 0x514], ebx
mov dword [esi + 0x518], ebx
mov dword [esi + 0x51c], ebx
mov dword [esi + 0x8f8], ebx
mov dword [esi + 0x8fc], ebx
mov dword [esi + 0x8f4], ebx
mov dword [esi + 0x924], ebx
mov dword [esi + 0x928], ebx
mov dword [esi + 0x920], ebx
mov dword [esi + 0x954], ebx
mov dword [esi + 0x958], ebx
mov dword [esi + 0x950], ebx
push 0x1b8
mov byte [esp + 0x2c], 9
mov dword [esi + 0xa88], ebx
mov word [esi + 0x9d8], 0xffff
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xa
je 0x4f7b75
push esi
mov ecx, eax
call fcn.005aca80
jmp 0x4f7b77
xor eax, eax
push 0x278
mov byte [esp + 0x2c], 9
mov dword [esi + 0xa74], eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xb
je 0x4f7ba5
mov ecx, eax
call fcn.005d0ce0
jmp 0x4f7ba7
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 0x340], eax
push 0x9d8
mov byte [esp + 0x2c], 9
mov dword [eax + 0x2c], ecx
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x28], 0xc
je 0x4f7bdc
push esi
mov ecx, eax
call fcn.004d5cb0
jmp 0x4f7bde
xor eax, eax
push ebp
mov dword [esi + 0x9c8], eax
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
push ebx
push esi
mov byte [esp + 0x34], 9
call fcn.004aed80
mov ecx, eax
call fcn.004b0850
push 0x2711
mov ecx, esi
mov byte [esi + 0x4c4], bl
mov dword [esi + 0x4e0], ebx
call fcn.004f0d70
mov ebp, 0xe
mov edi, edi
push str.default
mov ecx, edi
call fcn.005e5140
add edi, 8
dec ebp
jne 0x4f7c20
mov dword [esi + 0x350], ebx
mov dword [esi + 0x354], ebx
call fcn.006fc447
cdq
mov ecx, 0x4b0
idiv ecx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
add edx, 0xbb8
mov dword [esi + 0x358], edx
call fcn.006fc447
cdq
mov ecx, 0x190
idiv ecx
push 0x4c
add edx, 0x12c
mov dword [esi + 0x35c], edx
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c], 0xd
je 0x4f7c9c
mov ecx, eax
call fcn.005a4930
jmp 0x4f7c9e
xor eax, eax
push 0x18
mov byte [esp + 0x30], 9
mov dword [esi + 0xa2c], eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c], 0xe
je 0x4f7cce
mov edx, dword [esi + 4]
push ebx
push edx
mov ecx, eax
call fcn.0055d290
jmp 0x4f7cd0
xor eax, eax
mov dword [esi + 0xa30], eax
xor eax, eax
mov ebp, 0x7f000000
lea edx, [esi + 0xa50]
mov edi, edx
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [edx], ebp
mov dword [esi + 0xa54], ebp
mov dword [esi + 0xa58], ebp
mov dword [esi + 0xa5c], ebp
mov byte [esi + 0xa68], 1
mov dword [esi + 0xa6c], ebx
mov byte [esi + 0xa70], 0xff
mov eax, dword [0x746644]
mov dword [esi + 0x944], eax
mov dword [esi + 0x1c8], ebx
mov word [esi + 0x228], bx
mov word [esi + 0xa34], bx
mov word [esi + 0xa36], bx
mov ecx, dword [0x746644]
mov dword [esi + 0xa38], ecx
mov eax, 0x3f800000
mov dword [esi + 0xa0c], eax
mov dword [esi + 0xa08], eax
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [esi + 0x314], edx
mov eax, 0xffff
mov edi, 1
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x318], ecx
mov word [esi + 0x9f0], ax
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x31c], edx
mov word [esi + 0x80], ax
mov dword [esi + 0x9fc], ebx
mov dword [esi + 0xa00], ebx
mov dword [esi + 0xa18], ebx
mov dword [esi + 0xa04], ebx
mov dword [esi + 0xa14], ebx
mov byte [esi + 0x8ed], bl
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x368], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x4f4], edi
mov byte [esi + 0x4d0], bl
mov byte [esi + 0x4d1], bl
mov byte [esi + 0x4d2], bl
mov byte [esi + 0x4d3], bl
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x3a0], ebx
mov dword [esi + 0x3a4], ebx
mov byte [esi + 0x4d8], bl
mov dword [esi + 0x4dc], edi
mov dword [esi + 0x310], ebp
mov dword [esi + 0x320], edi
mov dword [esi + 0x34c], ebx
mov byte [esi + 0x9f8], bl
mov byte [esi + 0x9f2], bl
mov dword [esi + 0x9f4], ebp
mov dword [esi + 0x84], ebp
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x34], 9
call fcn.004aede0
mov ecx, eax
call fcn.004ade40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
mov dword [esi + 0xa20], ebx
mov dword [esi + 0xa24], ebp
mov eax, dword [esi + 4]
push ebx
push ebx
push edi
push edi
push eax
mov ecx, esi
mov dword [esi + 0x8f0], 0xffffffff
call fcn.0051b370
or eax, 0xffffffff
push 0x73d71c
lea ecx, [esi + 0x4c8]
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x52c], 0xbb8
mov dword [esi + 0x530], 0x3e8
mov dword [esi + 0x534], ebx
mov dword [esi + 0x538], ebx
mov dword [esi + 0x150], eax
mov byte [esi + 0x8ec], bl
mov dword [esi + 0x8c8], ebx
mov dword [esi + 0x8cc], ebx
mov dword [esi + 0x8d0], ebx
mov word [esi + 0x8e0], bx
mov dword [esi + 0x8d4], ebx
mov dword [esi + 0x8d8], ebx
mov dword [esi + 0x8dc], ebx
mov dword [esi + 0x8e4], ebx
mov dword [esi + 0x9e0], ebx
mov dword [esi + 0x9e4], ebx
mov dword [esi + 0x9e8], eax
mov dword [esi + 0x9ec], eax
mov dword [esi + 0x4f0], edi
mov dword [esi + 0x4ec], edi
mov dword [esi + 0x4f8], ebx
call fcn.005e5140
mov dword [esi + 0x500], ebx
mov dword [esi + 0x4fc], ebx
mov dword [esi + 0x4d4], ebp
mov dword [esi + 0x970], ebx
mov dword [esi + 0x974], ebx
mov dword [esi + 0x978], ebx
mov dword [esi + 0x97c], ebx
mov dword [esi + 0x984], ebx
mov dword [esi + 0x980], ebx
mov dword [esi + 0x988], ebx
mov dword [esi + 0x98c], ebx
mov dword [esi + 0x990], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
call fcn.006fc447
cdq
mov ecx, 0xa
idiv ecx
inc dl
mov byte [esi + 0x91d], dl
call fcn.006fc447
cdq
mov ecx, 0xa
idiv ecx
inc dl
mov byte [esi + 0x91c], dl
call fcn.006fc447
cdq
mov ecx, 0xa
idiv ecx
inc dl
mov byte [esi + 0x91e], dl
call fcn.006fc447
cdq
mov ecx, 0xa
idiv ecx
lea edi, [esi + 0x9a8]
mov ecx, 8
inc dl
mov byte [esi + 0x91f], dl
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esi + 0x384], ebx
mov dword [esi + 0x398], ebx
mov dword [esi + 0x994], ebx
mov dword [esi + 0x998], ebx
mov dword [esi + 0x99c], ebx
mov dword [esi + 0x9a0], ebx
mov dword [esi + 0x504], ebp
mov dword [esi + 0x508], ebp
mov dword [esi + 0x50c], ebp
mov dword [esi + 0x510], ebp
mov edx, eax
mov dword [esi + 0x514], edx
mov dword [esi + 0x518], eax
mov ecx, eax
mov dword [esi + 0x51c], ecx
mov dword [esi + 0x524], ebp
mov dword [esi + 0x528], ebp
mov dword [esi + 0x520], ebp
mov dword [esi + 0x53c], ebp
or edi, 0xffffffff
mov dword [esi + 0x540], edi
mov dword [esi + 0x544], edi
mov dword [esi + 0x548], edi
mov dword [esi + 0x54c], edi
mov dword [esi + 0x550], ebx
mov dword [esi + 0x554], ebx
mov dword [esi + 0x560], ebx
mov dword [esi + 0x564], edi
mov dword [esi + 0x8e8], ebx
mov byte [esi + 0xa10], bl
mov dword [esi + 0x930], ebx
mov dword [esi + 0x92c], ebp
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x960], ebx
mov dword [esi + 0x9cc], ebx
mov dword [esi + 0x10c], esi
mov dword [esi + 0x9d0], ebx
mov dword [esi + 0x93c], ebx
mov dword [esi + 0x940], ebx
mov dword [esi + 0x9d4], ebx
mov dword [esi + 0x948], edi
mov byte [esi + 0x94c], 0xff
mov byte [esi + 0x94d], bl
mov dword [esi + 0xa28], ebx
mov dword [esi + 0x968], edi
mov dword [esi + 0x964], ebx
mov dword [esi + 0x95c], ebp
mov dword [esi + 0x370], ebp
mov dword [esi + 0x96c], ebx
mov dword [esi + 0x918], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0xa3c], ebx
mov dword [esi + 0xa44], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0xa40], 1
call fcn.006fc447
cdq
mov ecx, 0x64
idiv ecx
mov dword [esi + 0x390], edx
call fcn.006fc447
cdq
mov ecx, 0x64
idiv ecx
push 0x1f40
mov ecx, esi
mov dword [esi + 0x394], edx
mov dword [esi + 0x9dc], ebx
mov dword [esi + 0xa48], ebx
mov word [esi + 0xa4c], bx
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x344], ebx
mov dword [esi + 0x348], ebx
mov byte [esi + 0x9da], bl
mov dword [esi + 0x9a4], ebx
mov dword [esi + 0xa78], ebx
mov dword [esi + 0xa7c], ebx
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0xa8c], edi
mov dword [esi + 0xa84], ebx
mov dword [esi + 0xa80], ebx
call fcn.004ce8a0
mov dword [esi + 0xa90], ebx
mov dword [esi + 0xa94], ebx
mov dword [esi + 0xa9c], ebx
mov dword [esi + 0xa98], ebx
mov dword [esi + 0xaa0], ebx
mov dword [esi + 0xaa4], ebx
test byte [esi + 0xa00], 2
pop ebp
jne 0x4f8224
mov ecx, dword [esi + 0x9fc]
mov eax, ecx
shr eax, 1
not eax
and eax, 1
or ecx, 2
cmp eax, ebx
mov dword [esi + 0x9fc], ecx
je 0x4f8224
push 1
mov ecx, esi
call fcn.0050ee30
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x22c], ebx
mov dword [esi + 0xaa8], ebx
mov dword [esi + 0xaac], ebx
mov dword [esi + 0xab0], ebx
mov dword [esi + 0xab4], 0x42140000
mov dword [esi + 0xab8], ebx
mov dword [esi + 0xabc], ebx
mov byte [esi + 0xac0], bl
mov dword [esi + 0xac4], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8