Function at 0x180109bdb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1801ed5e0
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0xd0], 0
je 0x1801ed651
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1801ed651
lea rax, str.m_numAllocatedCores__0___fInitialAllocation
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1e8
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ed651
int3
xor eax, eax
test eax, eax
jne 0x1801ed5fa
xor eax, eax
test eax, eax
jne 0x1801ed5fa
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0xe4], 0
je 0x1801ed6b4
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1801ed6b4
lea rax, str.m_numExternalThreads__0___fInitialAllocation
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1e9
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ed6b4
int3
xor eax, eax
test eax, eax
jne 0x1801ed65d
xor eax, eax
test eax, eax
jne 0x1801ed65d
mov dword [rsp + 0x60], 0
mov qword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1801ed737
mov rcx, qword [rsp + 0x110]
call fcn.1801073c2
mov rcx, qword [rsp + 0x110]
cmp dword [rcx + 0xb4], eax
je 0x1801ed737
lea rax, str._fInitialAllocation__m_minimumHardwareThreads__MinHWThreads__
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1f5
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ed737
int3
xor eax, eax
test eax, eax
jne 0x1801ed6d4
xor eax, eax
test eax, eax
jne 0x1801ed6d4
movzx eax, byte [rsp + 0x128]
test eax, eax
je 0x1801ed7ab
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xd0]
add eax, dword [rsp + 0x118]
mov dword [rsp + 0xac], eax
mov rcx, qword [rsp + 0x110]
call fcn.1801073c2
mov ecx, dword [rsp + 0xac]
cmp ecx, eax
jbe 0x1801ed790
mov dword [rsp + 0x9c], 1
jmp 0x1801ed79b
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xa0], eax
jmp 0x1801ed7b6
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x118], eax
jbe 0x1801ed7e6
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x118]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xa4], eax
jmp 0x1801ed7f1
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x38], 0
jbe 0x1801ed81a
cmp dword [rsp + 0x118], 0
jne 0x1801ed81a
mov dword [rsp + 0x84], 1
jmp 0x1801ed825
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x128]
test eax, eax
je 0x1801ed851
cmp dword [rsp + 0x38], 0
jne 0x1801ed851
mov dword [rsp + 0x88], 1
jmp 0x1801ed85c
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x33], al
mov dword [rsp + 0x80], 0xffffffff
mov dword [rsp + 0x4c], 0xffffffff
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x128]
test eax, eax
je 0x1801ed8bc
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc8], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call fcn.18010b693
mov dword [rsp + 0x8c], eax
jmp 0x1801ed8c7
mov dword [rsp + 0x8c], 0xffffffff
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x74], eax
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1801ed932
mov rcx, qword [rsp + 0x110]
call fcn.1801073c2
mov rcx, qword [rsp + 0x110]
cmp dword [rcx + 0xd0], eax
ja 0x1801ed932
lea rax, str._fRemoveVProcs___m_numAllocatedCores___MinHWThreads___
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x20d
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ed932
int3
xor eax, eax
test eax, eax
jne 0x1801ed8d2
xor eax, eax
test eax, eax
jne 0x1801ed8d2
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x70], 0
jbe 0x1801eda41
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0xd4], 0
jbe 0x1801ed980
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xb0]
cmp dword [rax + 0xd4], ecx
jbe 0x1801ed9ba
lea rax, str.m_numFullySubscribedCores___0__m_numFullySubscribedCores___m_desiredHardwareThreads
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x212
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ed9ba
int3
xor eax, eax
test eax, eax
jne 0x1801ed951
xor eax, eax
test eax, eax
jne 0x1801ed951
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xd4]
cmp dword [rsp + 0x70], eax
ja 0x1801ed9f5
mov rax, qword [rsp + 0x110]
mov ecx, dword [rsp + 0x70]
imul ecx, dword [rax + 0xc0]
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1801eda41
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x110]
mov eax, dword [rax + 0xd4]
imul eax, dword [rcx + 0xc0]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0xd4]
mov edx, dword [rsp + 0x70]
sub edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x110]
mov edx, dword [rdx + 0xc0]
dec edx
imul ecx, edx
add eax, ecx
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1801edaaf
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x34], eax
jb 0x1801eda75
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xbc]
cmp dword [rsp + 0x34], eax
jbe 0x1801edaaf
lea rax, str._fInitialAllocation___vprocCount___m_minConcurrency__vprocCount___m_maxConcurrency_
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x21e
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801edaaf
int3
xor eax, eax
test eax, eax
jne 0x1801eda41
xor eax, eax
test eax, eax
jne 0x1801eda41
cmp dword [rsp + 0x34], 0
jbe 0x1801edb1d
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0xd0], rax
mov eax, 8
mov rcx, qword [rsp + 0xd0]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov r9d, 0x220
lea r8, str.d:_agent_work1_s_src_vctoolscrtcrtw32concrtSchedulerProxy.cpp
movzx edx, byte [rsp + 0x78]
mov rcx, rax
call fcn.1801056ee
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
jmp 0x1801edb29
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x128]
test eax, eax
jne 0x1801edb5a
mov dword [rsp + 0x90], 1
jmp 0x1801edb65
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x30], al
mov dword [rsp + 0x40], 0
jmp 0x1801edb85
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x60], eax
jb 0x1801edb9f
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1801ee184
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xf0]
cmp dword [rsp + 0x40], eax
jae 0x1801ee184
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0x110]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 0
ja 0x1801edbea
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x24], 0
jbe 0x1801ee17f
mov dword [rsp + 0x3c], 0
jmp 0x1801edbfe
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x60], eax
jb 0x1801edc18
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1801ee173
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x3c], eax
jae 0x1801ee173
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x48
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 3
jne 0x1801edfb3
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1801edc7d
mov eax, dword [rsp + 0x118]
dec eax
cmp dword [rsp + 0x60], eax
je 0x1801edc70
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x74], eax
jne 0x1801edc7d
mov dword [rsp + 0x94], 1
jmp 0x1801edc88
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1801edcb1
cmp dword [rsp + 0x38], 0
je 0x1801edcb1
mov dword [rsp + 0x98], 0
jmp 0x1801edcbc
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x34], 0
jne 0x1801edcde
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x38], 0
je 0x1801edd18
lea rax, str.pCore__m_numAssignedThreads__0__pCore__m_numFixedThreads__0
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x23c
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801edd18
int3
xor eax, eax
test eax, eax
jne 0x1801edcc8
xor eax, eax
test eax, eax
jne 0x1801edcc8
mov rax, qword [rsp + 0x68]
mov dword [rax], 4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x24], ecx
jb 0x1801edd7b
lea rax, str.pNode__m_allocatedCores___pNode__m_coreCount
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x23e
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801edd7b
int3
xor eax, eax
test eax, eax
jne 0x1801edd2f
xor eax, eax
test eax, eax
jne 0x1801edd2f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xd0]
inc eax
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xd0], eax
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1801eddd7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1801edfa4
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1801ede30
movzx eax, byte [rsp + 0x33]
test eax, eax
jne 0x1801ede30
lea rax, str._assignExternalThread__fShareExternalThreadCore
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x24e
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ede30
int3
xor eax, eax
test eax, eax
jne 0x1801edde4
xor eax, eax
test eax, eax
jne 0x1801edde4
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0xd4], 0
jbe 0x1801ede87
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xc0]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xd4]
dec eax
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xd4], eax
jmp 0x1801ede9b
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xc0]
dec eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x34]
add eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xe0]
add eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xe0], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0xa8], 0
jbe 0x1801edf54
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0xe8]
call qword [0x1803e8010]
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0xb0]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
jmp 0x1801edecf
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x64], eax
jbe 0x1801edf98
lea rax, str.vprocIndex___vprocCount
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x266
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801edf98
int3
xor eax, eax
test eax, eax
jne 0x1801edf54
xor eax, eax
test eax, eax
jne 0x1801edf54
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x1801ee16e
mov rax, qword [rsp + 0x68]
cmp dword [rax], 4
jne 0x1801ee11e
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x1801ee07e
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1801edfde
cmp dword [rsp + 0x38], 0
je 0x1801ee018
lea rax, str._fRemoveVProcs__externalThreadCores__0
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x275
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee018
int3
xor eax, eax
test eax, eax
jne 0x1801edfce
xor eax, eax
test eax, eax
jne 0x1801edfce
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x34]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x7c], eax
jb 0x1801ee05c
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x7c], eax
jne 0x1801ee079
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x40], eax
jne 0x1801ee079
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
jmp 0x1801ee11c
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1801ee11c
cmp dword [rsp + 0x38], 1
je 0x1801ee0cc
lea rax, str.externalThreadCores__1
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x283
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee0cc
int3
xor eax, eax
test eax, eax
jne 0x1801ee08b
xor eax, eax
test eax, eax
jne 0x1801ee08b
mov rcx, qword [rsp + 0x68]
call fcn.18010a10d
movzx eax, al
test eax, eax
jne 0x1801ee11c
cmp qword [rsp + 0x58], 0
je 0x1801ee0fb
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x40], eax
jne 0x1801ee11c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x40], eax
jne 0x1801ee11c
mov byte [rsp + 0x30], 1
jmp 0x1801ee16e
mov rax, qword [rsp + 0x68]
cmp dword [rax], 1
je 0x1801ee162
lea rax, str.pCore__m_coreState__ProcessorCore::Unassigned
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x292
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee162
int3
xor eax, eax
test eax, eax
jne 0x1801ee11e
xor eax, eax
test eax, eax
jne 0x1801ee11e
jmp 0x1801edbf4
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x20], 0
jmp 0x1801edb7b
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x64], eax
je 0x1801ee1c8
lea rax, str.vprocIndex__vprocCount
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x299
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee1c8
int3
xor eax, eax
test eax, eax
jne 0x1801ee184
xor eax, eax
test eax, eax
jne 0x1801ee184
cmp dword [rsp + 0x34], 0
jbe 0x1801ee212
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x110]
call fcn.180107151
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.180108eb6
movzx eax, byte [rsp + 0x128]
test eax, eax
je 0x1801ee4b4
cmp qword [rsp + 0x58], 0
je 0x1801ee231
cmp dword [rsp + 0x4c], 0xffffffff
jne 0x1801ee26b
lea rax, str.pExternalThreadNode___0__externalThreadCoreIndex____unsigned_int___1
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2a2
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee26b
int3
xor eax, eax
test eax, eax
jne 0x1801ee222
xor eax, eax
test eax, eax
jne 0x1801ee222
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x1801ee2d2
cmp dword [rsp + 0x38], 0
je 0x1801ee2c1
lea rax, str.externalThreadCores__0
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, IsUserAnAdmin
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee2c1
int3
xor eax, eax
test eax, eax
jne 0x1801ee280
xor eax, eax
test eax, eax
jne 0x1801ee280
jmp 0x1801ee495
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1801ee448
cmp dword [rsp + 0x38], 1
je 0x1801ee320
lea rax, str.externalThreadCores__1
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2a9
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee320
int3
xor eax, eax
test eax, eax
jne 0x1801ee2df
xor eax, eax
test eax, eax
jne 0x1801ee2df
mov rcx, qword [rsp + 0x110]
call fcn.1801073c2
mov rcx, qword [rsp + 0x110]
cmp dword [rcx + 0xd0], eax
ja 0x1801ee383
lea rax, str.m_numAllocatedCores___MinHWThreads__
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2aa
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee383
int3
xor eax, eax
test eax, eax
jne 0x1801ee32c
xor eax, eax
test eax, eax
jne 0x1801ee32c
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x110]
call fcn.18010a095
mov eax, dword [rsp + 0x4c]
imul rax, rax, 0x48
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov dword [rax + rcx], 4
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x24], ecx
jb 0x1801ee40a
lea rax, str.pExternalThreadNode__m_allocatedCores___pExternalThreadNode__m_coreCount
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2b0
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee40a
int3
xor eax, eax
test eax, eax
jne 0x1801ee3be
xor eax, eax
test eax, eax
jne 0x1801ee3be
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0xd0]
inc eax
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xd0], eax
jmp 0x1801ee495
cmp dword [rsp + 0x38], 1
je 0x1801ee489
lea rax, str.externalThreadCores__1
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2b6
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee489
int3
xor eax, eax
test eax, eax
jne 0x1801ee448
xor eax, eax
test eax, eax
jne 0x1801ee448
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x110]
call fcn.18010a69e
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x110]
call fcn.1801073c2
mov rcx, qword [rsp + 0x110]
cmp dword [rcx + 0xd0], eax
jb 0x1801ee4ee
mov rcx, qword [rsp + 0x110]
call fcn.18010c917
mov rcx, qword [rsp + 0x110]
cmp dword [rcx + 0xd0], eax
jbe 0x1801ee528
lea rax, str.m_numAllocatedCores___MinHWThreads____m_numAllocatedCores___DesiredHWThreads__
mov qword [rsp + 0x28], rax
lea rax, [0x18033c3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x2bf
lea rdx, [0x1803550d0]
mov ecx, 2
call fcn.180106daa
cmp eax, 1
jne 0x1801ee528
int3
xor eax, eax
test eax, eax
jne 0x1801ee4b4
xor eax, eax
test eax, eax
jne 0x1801ee4b4
mov rax, qword [rsp + 0xc0]
add rsp, 0x108
ret