Function at 0x18004a040
Capabilities:
Get number of processors

Disassembly:
test dl, dl
je 0x18004a489
sub rsp, 0xb8
mov rax, qword [0x1802138c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov ecx, dword [0x1802d8bf4]
mov rax, qword gs:[0x58]
mov edx, 8
mov qword [rsp + 0xd0], rsi
xor esi, esi
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1802d9598], eax
jle 0x18004a0c2
lea rcx, [0x1802d9598]
call fcn.180168e64
cmp dword [0x1802d9598], 0xffffffff
jne 0x18004a0c2
lea rcx, [0x1802d95a0]
call fcn.180031c80
lea rcx, [0x1802d9598]
mov qword [0x1802d95a8], rsi
call fcn.180168df8
lea rcx, [rsp + 0x60]
mov qword [0x1802d95a8], 0xbebc200
call fcn.180031c80
mov rax, qword [rsp + 0x60]
mov rcx, rax
sub rcx, qword [0x1802d95a0]
cmp rcx, qword [0x1802d95a8]
jl 0x18004a46a
mov qword [0x1802d95a0], rax
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], esi
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], Ordinal_30
movabs rcx, 0xf3a21bcd95725a4a
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
cmp dword [rcx], esi
je 0x18004a46a
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xb0], rdi
movaps xmmword [rsp + 0xa0], xmm6
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
lea rbp, str.core
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbp
movabs rcx, 0xb80d8756b4668ab6
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
movabs rdi, 0x8702416e512ec454
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbp
mov rcx, rdi
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
cmp dword [rcx], esi
jne 0x18004a24a
mov rax, qword gs:[0x20]
lea rcx, [rsp + 0x60]
mov rbx, qword [rax]
call fcn.180031c80
mov rax, qword [rax]
add rax, 0x4c4b40
cmp byte [rbx + 0x20], sil
jne 0x18004a20a
mov byte [rbx + 0x20], 1
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
mov rcx, qword [rax + 0x10]
mov edx, dword [rax + 8]
mov qword [rcx + rdx*8], rbp
mov rcx, rdi
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
cmp dword [rcx], esi
je 0x18004a1e1
xorps xmm6, xmm6
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x88], esi
mov dword [rsp + 0x90], esi
call fcn.180026500
movabs rdi, 0xd80958fc74e988a6
mov rcx, rdi
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
movabs rcx, 0xa6db4965674d243
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
lea r8, [rsp + 0x68]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r8
inc dword [rax + 8]
call fcn.180026500
lea r8, [rsp + 0x80]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r8
movabs rcx, 0x3e8d3d5f549087a
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
movabs rcx, 0x6c38af3693a69a91
mov r8d, dword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rdx + r8*8], rbp
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
call fcn.180026500
mov rcx, rdi
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.1800263a0
call fcn.180026500
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026500
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026500
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], esi
movabs rcx, 0x3b390a939af0b5fc
inc dword [rax + 8]
call fcn.1800263a0
call fcn.180026500
movss xmm0, dword [0x1801d477c]
xorps xmm3, xmm3
movss xmm2, dword [rsp + 0x68]
subss xmm2, dword [rsp + 0x80]
mov rcx, qword [rax]
movss xmm1, dword [0x1801d48a0]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [0x1801d48e8]
mulss xmm2, dword [0x1801d4738]
mov edx, dword [rcx]
lea rcx, str.ent_sht_flame
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm0
addss xmm2, dword [0x1801d4750]
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm6
call fcn.18003fa50
call fcn.180026500
movabs rcx, 0x88c6814073dd4a73
mov dword [rax + 8], esi
mov dword [rax + 0x18], esi
call fcn.1800263a0
call fcn.180026500
movaps xmm6, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180168800
add rsp, 0xb8
ret