Function at 0x14008b590
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15, rcx
lea rbx, [rcx + 0x38]
mov qword [rbp - 0x59], rbx
mov rcx, rbx
call fcn.1400f6188
test eax, eax
jne 0x14008b848
cmp byte [r15 + 0x20], al
je 0x14008b5e7
mov dil, 1
jmp 0x14008b7ff
mov ecx, 0xd0
call fcn.14011a288
mov rdi, rax
mov qword [rbp + 0x37], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call fcn.140138ee0
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rcx, [rdi + 0x10]
call fcn.1402e228c
lea rcx, [rdi + 0x20]
mov edx, 2
call fcn.1400f6158
lea rcx, [rdi + 0x70]
call fcn.1400fe548
mov byte [rdi + 0xb8], 0
xor esi, esi
mov dword [rdi + 0xbc], esi
mov word [rdi + 0xc0], si
mov byte [rdi + 0xc2], sil
mov qword [rdi + 0xc8], rsi
mov byte [rbp - 0x19], sil
mov byte [rbp - 0x11], sil
lea r14, [r15 + 8]
mov qword [rbp - 0x21], rsi
mov byte [rbp - 0x31], sil
mov rax, qword [r14]
mov qword [rbp - 0x39], rax
mov qword [r14], rdi
movzx eax, byte [r14 + 0x10]
mov byte [rbp - 0x29], al
mov byte [r14 + 0x10], sil
lea rcx, [rbp - 0x39]
call fcn.140089fb0
lea rcx, [rbp - 0x21]
call fcn.140089fb0
lea ecx, [rsi + 0x10]
call fcn.14011a288
mov qword [rax], r15
lea rcx, [0x14008ab50]
mov qword [rax + 8], rcx
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14008c020]
xor edx, edx
xor ecx, ecx
call fcn.1401474d8
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14008b83a
cmp dword [r15 + 0x30], esi
jne 0x14008b834
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 9], xmm0
movups xmmword [r15 + 0x28], xmm0
cmp dword [r15 + 0x30], esi
jne 0x14008b739
lea ecx, [rsi + 5]
call fcn.1400e2070
test eax, eax
je 0x14008b731
lea rax, str.Thread_did_not_start_properly
mov qword [rsp + 0x20], rax
mov r9d, 0x118
lea r8, str.McAfee::Script::CAsyncScriptHost::Initialize
lea rdx, str.E:BT_f6ebede3_c182_45d3_88bc_201ba661fbb3ScriptHostJavaScriptAsyncScriptHost_srcAsyncScriptHost.cpp
lea ecx, [rsi + 5]
call fcn.14003209c
xor dil, dil
jmp 0x14008b7ff
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [r14]
test rax, rax
je 0x14008b87e
cmp byte [r14 + 8], 0
je 0x14008b760
cmp byte [rax + 0xb8], 0
jne 0x14008b87e
cmp byte [r14 + 0x10], 0
jne 0x14008b850
mov byte [r14 + 0x10], 1
mov rcx, rsi
mov qword [rbp + 0x27], rcx
lea rax, [rbp + 0x27]
cmp rax, r14
je 0x14008b79b
mov rax, qword [r14]
test rax, rax
je 0x14008b794
lock inc dword [rax + 8]
mov rcx, qword [r14]
mov rsi, rcx
jmp 0x14008b797
mov rcx, rsi
mov qword [rbp + 0x27], rcx
mov byte [rbp + 0x2f], 1
test rsi, rsi
je 0x14008b867
cmp byte [rcx + 0xb8], 0
jne 0x14008b867
mov rax, qword [rcx]
call qword [rax + 8]
movzx edi, byte [r15 + 0x20]
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14008b7fb
mov r9, qword [rbp + 0x27]
mov rcx, qword [r9 + 0xc8]
test rcx, rcx
je 0x14008b7e9
mov rax, qword [rcx]
mov rdx, r9
call qword [rax]
jmp 0x14008b7fb
mov rcx, qword [r9]
mov r8, qword [rcx]
mov edx, 1
mov rcx, r9
call r8
nop
mov rbx, qword [rbp - 0x59]
mov rcx, rbx
call fcn.1400f61ac
movzx eax, dil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14014288c
nop
mov dword [rbp - 0x41], esi
mov ecx, 6
call fcn.1400f62f8
nop
mov ecx, eax
call fcn.1400f62bc
nop
mov edx, 2
lea rcx, [rbp + 7]
call fcn.140089d30
mov rcx, rax
call fcn.1402e25e4
nop
mov edx, 4
lea rcx, [rbp - 9]
call fcn.140089d30
mov rcx, rax
call fcn.1402e25e4
nop
mov edx, 4
lea rcx, [rbp + 0x17]
call fcn.140089d30
mov rcx, rax
call fcn.1402e25e4
int3