Function at 0x40b8c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x697f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push ebp
mov ebp, dword [esp + 0x100]
push esi
push edi
mov ecx, ebp
call fcn.00471050
lea ecx, [esp + 0xb4]
call fcn.00470f30
xor ebx, ebx
push 0x64
mov dword [esp + 0x100], ebx
call fcn.005813b0
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x17]
mov byte [esp + 0x34], cl
mov cl, byte [esp + 0x17]
push 4
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
call dword [0x6c7478]
add esp, 0xc
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x104]
mov byte [esp + 0xfc], 1
fld dword [ecx + 8]
fmul dword [0x6c8a70]
fcomp dword [0x6c8a88]
fld dword [ecx + 8]
fmul dword [0x6c8a70]
fnstsw ax
test ah, 1
jne 0x40b97a
fadd qword [0x6c8a90]
call fcn.00658ed2
mov edi, eax
mov dword [esp + 0x40], edi
jmp 0x40b98b
fsub qword [0x6c8a90]
call fcn.00658ed2
mov dword [esp + 0x40], eax
mov edi, eax
xor esi, esi
cmp edi, ebx
jle 0x40b9b7
lea edx, [esp + 0x13]
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
call fcn.00538970
inc esi
mov dword [eax + 8], ebx
cmp esi, edi
jl 0x40b991
mov esi, dword [esp + 0x104]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x68]
cmp eax, ebx
jle 0x40be3a
cmp ecx, ebx
jge 0x40b9d9
mov dword [esp + 0x3c], ebx
jmp 0x40b9ef
cmp ecx, eax
jl 0x40b9e3
mov dword [esp + 0x3c], ebx
jmp 0x40b9ef
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x68], edi
cmp dword [eax + 0x18], ebx
jle 0x40be2a
mov edx, dword [eax + 0x1c]
mov eax, dword [edx + edi*4]
cmp byte [eax], bl
jne 0x40be18
push 1
push edi
push ecx
mov ecx, esi
call fcn.00495860
push eax
lea eax, [esp + 0xd8]
push eax
mov ecx, esi
call fcn.0049d530
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x100], 2
call fcn.00471310
lea ecx, [esp + 0xd4]
mov byte [esp + 0xfc], 1
call fcn.004c2f30
lea ecx, [esp + 0xb4]
xor esi, esi
call fcn.00471090
dec eax
test eax, eax
jle 0x40be0d
lea ecx, [esp + 0x60]
lea edx, [esp + 0x50]
push ecx
push edx
push esi
lea ecx, [esp + 0xc0]
call fcn.004710a0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x58]
inc esi
push eax
push ecx
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0x80], esi
call fcn.004710a0
fld dword [esp + 0x50]
fmul dword [0x6c8a7c]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40bacb
fadd qword [0x6c8a90]
call fcn.00658ed2
mov ebp, eax
mov dword [esp + 0x44], ebp
jmp 0x40badc
fsub qword [0x6c8a90]
call fcn.00658ed2
mov dword [esp + 0x44], eax
mov ebp, eax
fld dword [esp + 0x60]
fmul dword [0x6c8a7c]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40bb06
fadd qword [0x6c8a90]
call fcn.00658ed2
mov edi, eax
mov dword [esp + 0x34], edi
jmp 0x40bb17
fsub qword [0x6c8a90]
call fcn.00658ed2
mov dword [esp + 0x34], eax
mov edi, eax
fld dword [esp + 0x58]
fmul dword [0x6c8a7c]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40bb36
fadd qword [0x6c8a90]
jmp 0x40bb3c
fsub qword [0x6c8a90]
call fcn.00658ed2
fld dword [esp + 0x64]
fmul dword [0x6c8a7c]
mov dword [esp + 0x48], eax
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40bb6f
fadd qword [0x6c8a90]
call fcn.00658ed2
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x40bb80
fsub qword [0x6c8a90]
call fcn.00658ed2
mov dword [esp + 0x38], eax
mov esi, eax
lea edx, [esp + 0x13]
lea eax, [esp + 0x8c]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebx
call fcn.00538970
cmp ebp, dword [eax + 8]
jle 0x40bbcd
lea ecx, [esp + 0x57]
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebx
call fcn.00538970
mov dword [eax + 8], ebp
lea eax, [esp + 0x5f]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], ebx
call fcn.00538970
mov ebp, dword [esp + 0x48]
mov ecx, dword [eax + 8]
cmp ebp, ecx
jle 0x40bc23
lea edx, [esp + 0x56]
lea eax, [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], ebx
call fcn.00538970
mov dword [eax + 8], ebp
cmp edi, esi
mov eax, edi
jl 0x40bc2b
mov eax, esi
lea ebp, [eax + 1]
cmp edi, esi
mov dword [esp + 0x4c], ebp
mov eax, edi
jg 0x40bc3a
mov eax, esi
cmp ebp, eax
jge 0x40bde9
mov eax, ebp
xor edx, edx
div dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebx
mov eax, dword [ecx + edx*4]
cmp eax, ebx
je 0x40bc6e
cmp dword [eax + 4], ebp
je 0x40bc80
mov eax, dword [eax]
cmp eax, ebx
jne 0x40bc63
push edx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x2c]
call fcn.00578280
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 8]
cmp edx, ecx
jl 0x40bcbe
lea edx, [esp + 0x1f]
lea eax, [esp + 0xac]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
call fcn.00538970
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 8]
cmp edx, ecx
jge 0x40bde3
fild dword [esp + 0x4c]
lea edx, [esp + 0x14]
push 1
lea eax, [esp + 0x1c]
push edx
fstp dword [esp + 0x54]
fild dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x58]
push eax
push 0x447a0000
push eax
push ebx
push ecx
fstp dword [esp]
fild dword [esp + 0x68]
push ecx
fstp dword [esp]
fild dword [esp + 0x58]
push ecx
fstp dword [esp]
fild dword [esp + 0x6c]
push ecx
fstp dword [esp]
call fcn.004660f0
add esp, 0x2c
test al, al
je 0x40bde3
fld dword [esp + 0x18]
fcomp dword [0x6c8a88]
fld dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x40bd2b
fadd qword [0x6c8a90]
jmp 0x40bd31
fsub qword [0x6c8a90]
call fcn.00658ed2
fld dword [esp + 0x14]
fcomp dword [0x6c8a88]
fld dword [esp + 0x14]
mov edi, eax
fnstsw ax
test ah, 1
jne 0x40bd55
fadd qword [0x6c8a90]
jmp 0x40bd5b
fsub qword [0x6c8a90]
call fcn.00658ed2
xor edx, edx
mov esi, eax
div dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
mov eax, dword [ecx + edx*4]
cmp eax, ebx
je 0x40bd8c
cmp dword [eax + 4], esi
je 0x40bd9e
mov eax, dword [eax]
cmp eax, ebx
jne 0x40bd81
push edx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x2c]
call fcn.00578280
cmp edi, dword [eax + 8]
jle 0x40bddb
mov eax, esi
xor edx, edx
div dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x40bdc9
cmp dword [eax + 4], esi
je 0x40bdd8
mov eax, dword [eax]
cmp eax, ebx
jne 0x40bdbe
lea ecx, [esp + 0x6c]
push edx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00578280
mov dword [eax + 8], edi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
inc ebp
jmp 0x40bc2e
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0xb4]
call fcn.00471090
dec eax
cmp esi, eax
jl 0x40ba6b
mov ebp, dword [esp + 0x108]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x104]
mov eax, dword [esp + 0x3c]
inc edi
mov dword [esp + 0x68], edi
cmp edi, dword [eax + 0x18]
jl 0x40ba02
mov eax, dword [esi + 0x68]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x40b9cf
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x20], edi
jle 0x40bf1e
mov ecx, ebp
call fcn.00471090
mov esi, eax
lea edx, [esp + 0x1f]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
call fcn.00538970
fild dword [eax + 8]
cmp esi, 2
fmul dword [0x6c8acc]
fstp dword [esp + 0x18]
fild dword [esp + 0x20]
fmul dword [0x6c8acc]
fstp dword [esp + 0x14]
jl 0x40befc
lea eax, [esp + 0x60]
lea ecx, [esp + 0x50]
push eax
lea edx, [esi - 2]
push ecx
push edx
mov ecx, ebp
call fcn.004710a0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x58]
dec esi
push eax
push ecx
push esi
mov ecx, ebp
call fcn.004710a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
push ebx
push 0x38d1b717
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
call fcn.004aea90
add esp, 0x20
test al, al
je 0x40befc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
mov ecx, ebp
call fcn.00471130
jmp 0x40bf0d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00471100
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jl 0x40be4c
mov ecx, ebp
call fcn.00471090
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x24]
push 0x51f270
push eax
push ecx
mov byte [esp + 0x108], bl
call fcn.005813d0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], ebx
push edx
call dword [0x6c74ac]
add esp, 0x10
lea ecx, [esp + 0xb4]
mov dword [esp + 0xfc], 0xffffffff
call fcn.00470ff0
mov ecx, dword [esp + 0xf4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf0
ret 8