Function at 0x14008e580
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 [0x1403ceac0]
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.1400fdf44
test eax, eax
jne 0x14008e838
cmp byte [r15 + 0x20], al
je 0x14008e5d7
mov dil, 1
jmp 0x14008e7ef
mov ecx, 0xd0
call fcn.140296fc8
mov rdi, rax
mov qword [rbp + 0x37], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call fcn.1402b60e0
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rcx, [rdi + 0x10]
call fcn.1402e9e58
lea rcx, [rdi + 0x20]
mov edx, 2
call fcn.1400fdf14
lea rcx, [rdi + 0x70]
call fcn.140105bd0
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.14008cfd0
lea rcx, [rbp - 0x21]
call fcn.14008cfd0
lea ecx, [rsi + 0x10]
call fcn.140296fc8
mov qword [rax], r15
lea rcx, [0x14008db40]
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, [0x14003b600]
xor edx, edx
xor ecx, ecx
call fcn.1402c7870
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14008e82a
cmp dword [r15 + 0x30], esi
jne 0x14008e824
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 9], xmm0
movups xmmword [r15 + 0x28], xmm0
cmp dword [r15 + 0x30], esi
jne 0x14008e729
lea ecx, [rsi + 5]
call fcn.1400de610
test eax, eax
je 0x14008e721
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:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptAsyncScriptHost_srcAsyncScriptHost.cpp
lea ecx, [rsi + 5]
call fcn.140028a20
xor dil, dil
jmp 0x14008e7ef
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [r14]
test rax, rax
je 0x14008e86e
cmp byte [r14 + 8], 0
je 0x14008e750
cmp byte [rax + 0xb8], 0
jne 0x14008e86e
cmp byte [r14 + 0x10], 0
jne 0x14008e840
mov byte [r14 + 0x10], 1
mov rcx, rsi
mov qword [rbp + 0x27], rcx
lea rax, [rbp + 0x27]
cmp rax, r14
je 0x14008e78b
mov rax, qword [r14]
test rax, rax
je 0x14008e784
lock inc dword [rax + 8]
mov rcx, qword [r14]
mov rsi, rcx
jmp 0x14008e787
mov rcx, rsi
mov qword [rbp + 0x27], rcx
mov byte [rbp + 0x2f], 1
test rsi, rsi
je 0x14008e857
cmp byte [rcx + 0xb8], 0
jne 0x14008e857
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx edi, byte [r15 + 0x20]
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14008e7eb
mov r9, qword [rbp + 0x27]
mov rcx, qword [r9 + 0xc8]
test rcx, rcx
je 0x14008e7d9
mov rax, qword [rcx]
mov rdx, r9
call qword [rax]
jmp 0x14008e7eb
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.1400fdf68
movzx eax, dil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140296f70
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.1402c9dc0
nop
mov dword [rbp - 0x41], esi
mov ecx, 6
call fcn.1400fdfcc
nop
mov ecx, eax
call fcn.1400fdf90
nop
mov edx, 2
lea rcx, [rbp + 7]
call fcn.14008cd30
mov rcx, rax
call fcn.1402ea098
nop
mov edx, 4
lea rcx, [rbp - 9]
call fcn.14008cd30
mov rcx, rax
call fcn.1402ea098
nop
mov edx, 4
lea rcx, [rbp + 0x17]
call fcn.14008cd30
mov rcx, rax
call fcn.1402ea098
int3