Function at 0x140047550
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 [0x14035dc30]
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.14024619c
test eax, eax
jne 0x140047819
cmp byte [r15 + 0x20], al
je 0x1400475a7
mov dil, 1
jmp 0x1400477d0
mov ecx, 0xd0
call fcn.1402695b8
mov rdi, rax
mov qword [rbp + 0x37], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call fcn.14026c200
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rcx, [rdi + 0x10]
call fcn.140247dbc
lea rcx, [rdi + 0x20]
mov edx, 2
call fcn.14024616c
lea rcx, [rdi + 0x70]
call fcn.1402470b8
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.140045f30
lea rcx, [rbp - 0x21]
call fcn.140045f30
lea ecx, [rsi + 0x10]
call fcn.1402695b8
mov qword [rax], r15
lea rcx, [0x140046a50]
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, [0x140048030]
xor edx, edx
xor ecx, ecx
call fcn.1402835f8
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14004780b
cmp dword [r15 + 0x30], esi
jne 0x140047805
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 9], xmm0
movups xmmword [r15 + 0x28], xmm0
cmp dword [r15 + 0x30], esi
jne 0x1400476f9
lea ecx, [rsi + 5]
call fcn.140096b00
test eax, eax
je 0x1400476f1
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:BT86881f80_1629_4c1f_90f1_c57ce4e5deb1ScriptHostJavaScriptAsyncScriptHost_srcAsyncScriptHost.cpp
lea ecx, [rsi + 5]
call fcn.1400262e0
xor dil, dil
jmp 0x1400477d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [r14]
test rax, rax
je 0x14004784f
cmp byte [r14 + 8], 0
je 0x140047720
cmp byte [rax + 0xb8], 0
jne 0x14004784f
cmp byte [r14 + 0x10], 0
jne 0x140047821
mov byte [r14 + 0x10], 1
mov rcx, rsi
mov qword [rbp + 0x27], rcx
lea rax, [rbp + 0x27]
cmp rax, r14
je 0x14004775b
mov rax, qword [r14]
test rax, rax
je 0x140047754
lock inc dword [rax + 8]
mov rcx, qword [r14]
mov rsi, rcx
jmp 0x140047757
mov rcx, rsi
mov qword [rbp + 0x27], rcx
mov byte [rbp + 0x2f], 1
test rsi, rsi
je 0x140047838
cmp byte [rcx + 0xb8], 0
jne 0x140047838
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
movzx edi, byte [r15 + 0x20]
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400477cc
mov rcx, qword [rbp + 0x27]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400477ba
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
jmp 0x1400477cc
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
nop
mov rbx, qword [rbp - 0x59]
mov rcx, rbx
call fcn.1402461c0
movzx eax, dil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140269300
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.140283490
nop
mov dword [rbp - 0x41], esi
mov ecx, 6
call fcn.1402463c8
nop
mov ecx, eax
call fcn.14024638c
nop
mov edx, 2
lea rcx, [rbp + 7]
call fcn.140045c00
mov rcx, rax
call fcn.1402480ac
nop
mov edx, 4
lea rcx, [rbp - 9]
call fcn.140045c00
mov rcx, rax
call fcn.1402480ac
nop
mov edx, 4
lea rcx, [rbp + 0x17]
call fcn.140045c00
mov rcx, rax
call fcn.1402480ac
int3