Function at 0x140037590
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1c8], rbx
mov r15, rcx
lea rax, vtable.CProcessListRealtime2::CFunctionEnterExit.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
cmp qword [rcx + 0x180], 0
je 0x140037617
lea rbx, str.StartDetectionThreads
mov qword [rsp + 0x60], rbx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.140249b10
mov r8, rbx
lea rdx, [0x1402862f8]
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rcx, qword [r15 + 0x180]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
xor r13d, r13d
mov dword [r15 + 0x6d8], r13d
mov dword [r15 + 0x10c], r13d
mov dword [rsp + 0x1b0], r13d
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, r15
lea r8, [0x14002eea0]
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15 + 0x318], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, r15
lea r8, [0x1400335e0]
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15 + 0x268], rax
mov rax, qword [r15 + 0x2e8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140037840
lea rsi, vtable.CProcessListRealtime2::CWatchFolder.0
mov ecx, 0x98
call fcn.14018ef40
mov rdi, rax
mov qword [rsp + 0x1c0], rax
test rax, rax
je 0x1400377c9
mov ebp, dword [rbx + 0x838]
mov r14d, dword [r15 + 0xcd8]
mov qword [rax], rsi
lea rax, vtable.CSABStringW.0
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r13
mov dword [rdi + 0x18], r13d
lea rdx, [rbx + 0x18]
lea rcx, [rdi + 8]
call fcn.14002a980
mov dword [rdi + 0x1c], 1
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], r13
mov qword [rdi + 0x38], r13
mov qword [rdi + 0x40], r15
mov dword [rdi + 0x48], ebp
mov dword [rdi + 0x8c], r14d
mov dword [rdi + 0x90], 1
mov dword [rdi + 0x94], 0x100
lea rcx, [0x14028b028]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140037761
lea rdx, str.ReadDirectoryChangesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x28], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x50], rax
mov dword [rdi + 0x88], r13d
mov ecx, dword [rdi + 0x8c]
call fcn.140247068
mov qword [rdi + 0x78], rax
mov ecx, dword [rdi + 0x8c]
call fcn.140247068
mov qword [rdi + 0x80], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x10000
mov r9, rdi
lea r8, [0x1400385c0]
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x38], rax
jmp 0x1400377cc
mov rdi, r13
mov qword [rsp + 0x1b8], rdi
mov rdi, qword [r15 + 0x2c8]
mov rsi, qword [rdi + 8]
lea r9, [rsp + 0x1b8]
mov r8, rsi
mov rdx, rdi
lea rcx, [r15 + 0x2c8]
call fcn.140009370
mov rdx, qword [r15 + 0x2d0]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x140037ab4
lea rcx, [rdx + 1]
mov qword [r15 + 0x2d0], rcx
mov qword [rdi + 8], rax
mov qword [rsi], rax
mov rbx, qword [rbx]
cmp rbx, qword [r15 + 0x2e8]
lea rsi, vtable.CProcessListRealtime2::CWatchFolder.0
jne 0x1400376b0
mov rax, qword [r15 + 0x308]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140037a52
lea rdi, vtable.CProcessListRealtime2::CWatchRegistryKey.0
nop word [rax + rax]
xor ebp, ebp
cmp dword [rbx + 0x948], ebp
je 0x1400378a1
lea rax, [rbx + 0x848]
lea r8, [rbx + 0x20]
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x844]
mov rdx, qword [rbx + 0x18]
mov rcx, r15
call fcn.140035420
cmp dword [rbx + 0x94c], 0
je 0x140037922
mov dword [rsp + 0x1b8], ebp
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14018ef40
mov qword [rax], r15
lea rcx, [rbx + 0x10]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x1b8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x10000
mov r9, rax
lea r8, [0x140034b10]
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [r15 + 0x6d8]
mov qword [r15 + rcx*8 + 0x3b8], rax
mov ecx, dword [r15 + 0x6d8]
mov edx, 0xfffffffe
mov rcx, qword [r15 + rcx*8 + 0x3b8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc dword [r15 + 0x6d8]
mov ecx, 0x50
call fcn.14018ef40
mov r12, rax
mov qword [rsp + 0x1c0], rax
test rax, rax
je 0x1400379db
mov r14d, dword [rbx + 0x958]
mov esi, dword [rbx + 0x840]
lea rbp, [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov qword [rax], rdi
mov qword [rax + 8], rcx
lea rax, vtable.CSABStringW.0
mov qword [r12 + 0x10], rax
xor eax, eax
mov qword [r12 + 0x18], rax
mov dword [r12 + 0x20], eax
lea rdx, [rbx + 0x20]
lea rcx, [r12 + 0x10]
call fcn.14002a980
mov dword [r12 + 0x24], 1
xor eax, eax
mov qword [r12 + 0x28], rax
mov qword [r12 + 0x30], rax
mov qword [r12 + 0x38], r15
mov dword [r12 + 0x40], esi
mov dword [r12 + 0x48], ebp
mov dword [r12 + 0x4c], r14d
mov dword [r12 + 0x44], eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, r12
lea r8, [0x140038670]
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r12 + 0x30], rax
jmp 0x1400379de
mov r12, rbp
mov qword [rsp + 0x1b8], r12
mov rdi, qword [r15 + 0x2f8]
mov rsi, qword [rdi + 8]
lea r9, [rsp + 0x1b8]
mov r8, rsi
mov rdx, rdi
lea rcx, [r15 + 0x2f8]
call fcn.140009370
mov rdx, qword [r15 + 0x300]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rdx
cmp rcx, 1
jb 0x140037ac1
lea rcx, [rdx + 1]
mov qword [r15 + 0x300], rcx
mov qword [rdi + 8], rax
mov qword [rsi], rax
mov rbx, qword [rbx]
cmp rbx, qword [r15 + 0x308]
lea rdi, vtable.CProcessListRealtime2::CWatchRegistryKey.0
jne 0x140037860
cmp qword [r15 + 0x180], 0
je 0x140037a97
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.140249b10
mov r8, qword [rsp + 0x60]
lea rdx, str._s___Leavex
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rcx, qword [r15 + 0x180]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
xor eax, eax
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3