Function at 0x140097470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x750], rbx
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rax, rdx
mov rsi, rcx
lea rdx, str.monitor_folder
mov rcx, rax
call fcn.1402e4f5c
test eax, eax
jne 0x140097877
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x40], r13
mov ebx, 0xffffffff
mov r12d, r13d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1402dd440
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.1402dd440
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.1402dd440
cmp byte [rsi + 0x98], r12b
jne 0x140097877
nop word [rax + rax]
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsi + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
je 0x1400977d6
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140097877
lea r14, [rax + 0x20]
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
mov r15d, dword [r14]
mov ebx, dword [r14 + 4]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.1402dd440
mov r8d, dword [r14 + 8]
lea rdx, [r14 + 0xc]
lea rcx, [rbp + 0x1d0]
call fcn.1402dcfd0
mov rdx, qword [rsp + 0x40]
add rdx, 0x2020
cmp qword [rdx + 0x18], 8
jb 0x1400975be
mov rdx, qword [rdx]
lea r8, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
sub ebx, 1
je 0x140097765
sub ebx, 1
je 0x140097757
sub ebx, 1
je 0x14009765d
sub ebx, 1
je 0x140097624
cmp ebx, 1
jne 0x140097771
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp - 0x40]
call fcn.1402e4f5c
test eax, eax
je 0x140097771
lea r8, [rbp + 0x3e0]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140097c00
jmp 0x140097771
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140097630
test rax, rax
je 0x140097771
lea r8, [rbp - 0x40]
mov edx, 0x104
lea rcx, [rbp + 0x3e0]
call fcn.1402e50f4
jmp 0x140097771
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140097670
test rax, rax
je 0x140097771
mov rax, qword [rsi + 0xe8]
cmp rax, qword [rax]
je 0x1400976d2
nop
lea rbx, [rax + 8]
mov rax, qword [rbx]
mov ecx, dword [rax + 0x50]
cmp ecx, 1
je 0x1400976a4
cmp ecx, 3
jne 0x1400976c3
lea rcx, [rax + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400976b2
mov rcx, qword [rcx]
lea rdx, [rbp - 0x40]
call fcn.1402e4f5c
test eax, eax
je 0x140097771
mov rax, qword [rbx]
mov rcx, qword [rsi + 0xe8]
cmp rax, qword [rcx]
jne 0x140097690
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
mov dword [rbp - 0x50], 3
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140097710
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.14007ece0
lea r8, [rsp + 0x70]
mov rdx, qword [rsi + 0xe8]
lea rcx, [rsi + 0xe8]
call fcn.140098660
nop
lea rcx, [rbp - 0x70]
call fcn.14007ec70
lea rcx, [rsp + 0x70]
call fcn.14007ec70
jmp 0x140097771
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1400980a0
jmp 0x140097771
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140097970
test r15d, r15d
je 0x14009777e
add r14, r15
jmp 0x140097570
mov rcx, qword [rsp + 0x40]
add rcx, 0x20
xor edx, edx
mov r8d, 0x2000
call fcn.1402dd440
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx + 0x20]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
mov eax, dword [rcx + 0x2040]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 0x2000
mov rcx, qword [rcx + 0x2048]
call qword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
mov ebx, 0x32
jmp 0x14009786a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0xc8
jbe 0x14009786a
cmp qword [rsi + 0xf0], 0
je 0x140097865
lea rdx, [0x14048e4d0]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401af050
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140097828
mov qword [rax], r13
mov qword [rax + 8], r13
xor r8d, r8d
xor edx, edx
call fcn.140098490
mov qword [rbx], rax
jmp 0x14009782b
mov rbx, r13
lea rdi, [rsi + 0xe8]
cmp rbx, rdi
je 0x140097845
mov r8, qword [rdi]
mov rdx, qword [r8]
mov rcx, rbx
call fcn.1400986d0
mov r9, rbx
xor r8d, r8d
mov edx, 0x271b
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rdi
call fcn.1400983d0
mov ebx, 0xffffffff
cmp byte [rsi + 0x98], 0
je 0x140097530
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x750]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret