Function at 0x140010eb4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], dl
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x1c0
mov r13, rcx
lea r15, [0x140298048]
mov rcx, qword [0x140298048]
xor esi, esi
lea r12, [0x1402511b8]
cmp rcx, r15
je 0x140010f14
test byte [rcx + 0x1c], 4
je 0x140010f14
lea rax, str.by_NisIpsPlugin
lea r9, str.manually_or_by_SCM_crash_recovery
test dl, dl
cmovne r9, rax
lea edx, [rsi + 0xb]
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010d08
mov edi, 1
mov ecx, edi
call fcn.140073e40
mov ebx, eax
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x140010f46
test byte [rcx + 0x1c], 2
je 0x140010f46
lea edx, [rdi + 0xb]
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
mov dword [rsp + 0x30], esi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 0x98]
call qword [case.0x14003d846.0]
nop
cmp dword [rsp + 0x30], esi
je 0x140010f9a
test ebx, ebx
je 0x140010f9a
mov ecx, edi
call fcn.140073e40
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x140010f9a
test byte [rcx + 0x1c], 2
je 0x140010f9a
mov edx, 0xd
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
call qword [sym.imp.mpclient.dll_MpConfigInitialize]
mov ebx, eax
test eax, eax
js 0x140011624
mov byte [r13 + 0x110], dil
mov dword [rsp + 0x34], esi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rsp + 0x34]
xor edx, edx
lea rcx, str.NIS_SimulateMemoryLeak
mov rax, qword [rax + 0xa0]
call qword [case.0x14003d846.0]
nop
cmp dword [rsp + 0x34], esi
je 0x140011164
lea rax, [r13 + 0x118]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001168b
cmp byte [rax + 8], sil
je 0x140011007
cmp byte [rcx + 0xb8], sil
jne 0x14001168b
cmp byte [rax + 0x10], sil
jne 0x140011651
mov byte [rax + 0x10], dil
mov rbx, rsi
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0xa0]
cmp rcx, rax
je 0x140011041
mov rcx, qword [rax]
test rcx, rcx
je 0x14001103e
lock add dword [rcx + 8], edi
mov rbx, qword [rax]
jmp 0x140011041
mov rbx, rsi
mov byte [rsp + 0xa8], dil
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x98], dil
mov ecx, 0x10
call fcn.140221508
nop
mov qword [rax], rsi
lea rcx, [rsp + 0x90]
cmp rax, rcx
je 0x14001108a
mov qword [rax], rbx
mov rbx, rsi
mov qword [rsp + 0x90], rbx
mov byte [rax + 8], dil
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140014930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140011679
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x70]
call fcn.140013a9c
nop
cmp dword [rsp + 0x88], esi
je 0x14001166c
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, 4
test eax, eax
je 0x140011673
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movdqa xmmword [rsp + 0x80], xmm0
test rbx, rbx
je 0x140011164
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140011164
mov rcx, qword [rsp + 0x90]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140011155
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x14003d846.0]
jmp 0x140011164
mov rax, qword [rcx]
mov edx, edi
mov rax, qword [rax]
call qword [case.0x14003d846.0]
nop
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
call fcn.1400b15e4
test eax, eax
jns 0x1400111ac
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x1400111ac
test byte [rcx + 0x1c], dil
je 0x1400111ac
mov edx, 0x10
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400111c1
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov qword [rsp + 0x48], rsi
lea r8, str.AVSignatureVersion
lea rcx, [rsp + 0x48]
call fcn.140074960
test eax, eax
jns 0x1400111fc
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x1400111fc
test byte [rcx + 0x1c], dil
je 0x1400111fc
mov edx, 0x11
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011211
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov qword [rsp + 0x40], rsi
lea r8, [0x1402515d8]
lea rcx, [rsp + 0x40]
call fcn.140074960
test eax, eax
jns 0x14001124c
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x14001124c
test byte [rcx + 0x1c], dil
je 0x14001124c
mov edx, 0x12
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011261
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x58]
call fcn.140074c80
mov r15d, eax
test eax, eax
jns 0x140011290
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001133c
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14001133c
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsp + 0x58]
mov r8, rdi
lea rdx, [rsp + 0x60]
call fcn.1400b3b0c
mov r15d, eax
test eax, eax
jns 0x1400112ba
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140011329
jmp 0x140011324
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm0
mov dword [rsp + 0x128], eax
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400b3c3c
mov r15d, eax
test eax, eax
js 0x14001131c
mov eax, dword [rsp + 0x100]
shl rax, 0x20
mov edx, dword [rsp + 0x104]
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140074ea0
mov r15d, eax
test rbx, rbx
je 0x140011329
mov rcx, rbx
call fcn.1402214cc
test rdi, rdi
je 0x140011337
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov edi, 1
mov eax, r15d
shr eax, 0x1f
test al, al
je 0x140011375
mov rcx, qword [0x140298048]
lea rbx, [0x140298048]
cmp rcx, rbx
je 0x14001137c
test byte [rcx + 0x1c], dil
je 0x14001137c
mov edx, 0x13
mov r9d, r15d
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
jmp 0x14001137c
lea rbx, [0x140298048]
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.14006c6bc
test eax, eax
js 0x1400113a2
mov byte [r13 + 0x111], dil
jmp 0x1400113c8
mov rcx, qword [0x140298048]
cmp rcx, rbx
je 0x1400113c8
test byte [rcx + 0x1c], dil
je 0x1400113c8
mov edx, 0x14
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
lea rdx, [r13 + 0x38]
lea rcx, [rsp + 0x170]
call fcn.140010778
mov rdi, rax
mov qword [rsp + 0x130], rax
mov al, byte [rsp + 0x1f8]
xor al, 1
mov byte [rsp + 0x200], al
mov dword [rsp + 0x50], 1
mov ecx, 0x98
call fcn.140221508
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14002f1a0
nop
lea rcx, [rax + 0x10]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xe0], rdi
lea rax, [rsp + 0x200]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xf0], rax
mov rax, qword gs:[0x58]
mov ecx, 0x18
add rcx, qword [rax]
mov al, byte [rcx]
mov byte [rsp + 0x208], al
mov byte [rcx], 1
lea rax, [rsp + 0x208]
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0xc8], sil
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call fcn.1400257c8
nop
lea rcx, [rsp + 0xc0]
call fcn.14002921c
nop
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x1400114f8
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400114f8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003d846.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400114f8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14003d846.0]
nop
mov rcx, rdi
call fcn.1400106d0
mov rax, qword [rsp + 0xd0]
mov qword [r13 + 0x28], rax
mov rbx, qword [r13 + 0x30]
mov rax, qword [rsp + 0xd8]
mov qword [r13 + 0x30], rax
test rbx, rbx
je 0x14001155a
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001155a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003d846.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001155a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14003d846.0]
xor eax, eax
lock cmpxchg dword [r13 + 0x10], esi
mov edx, eax
test eax, eax
js 0x14001157a
lea ecx, [rax + 1]
lock cmpxchg dword [r13 + 0x10], ecx
cmp edx, eax
jne 0x14001155a
mov r9d, esi
jmp 0x140011580
mov r9d, 0x80004004
mov rcx, qword [rsp + 0x1e8]
mov eax, r9d
shr eax, 0x1f
test al, al
jne 0x1400116a6
mov byte [r13 + 0x112], 1
mov rcx, qword [0x140298048]
lea rax, [0x140298048]
cmp rcx, rax
je 0x1400115c9
test byte [rcx + 0x1c], 4
je 0x1400115c9
mov edx, 0x15
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cb4
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400115d9
call fcn.1402214cc
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400115ea
call qword [sym.imp.mpclient.dll_MpFreeMemory]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400115fb
call qword [sym.imp.mpclient.dll_MpFreeMemory]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001160c
call qword [sym.imp.mpclient.dll_MpFreeMemory]
nop
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1c0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [0x140298048]
cmp rcx, r15
je 0x14001164a
test byte [rcx + 0x1c], dil
je 0x14001164a
mov edx, 0xe
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.140010cd4
mov ecx, ebx
call fcn.1400b1314
mov edx, 2
lea rcx, [rsp + 0x138]
call fcn.14001093c
mov rcx, rax
call fcn.14006e88c
nop
mov ecx, edi
call fcn.14006d8f0
call fcn.14006d934
nop
mov dword [rsp + 0x88], esi
mov ecx, 6
call fcn.14006d8f0
nop
mov edx, 4
lea rcx, [rsp + 0x160]
call fcn.14001093c
mov rcx, rax
call fcn.14006e88c
nop
lea r8, str.amcore_antimalware_source_nri_serviceplatformmain.cpp
mov edx, 0x96
call fcn.140015d78
int3