Function at 0x1400e7560
Capabilities:
Check for time delay via queryperformancecounter
Check if file exists
Enumerate threads
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd0
mov rax, qword [0x14037ec08]
xor rax, rsp
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 0x67]
mov rbx, rcx
mov r12, qword [rbp + 0x77]
lea rcx, [0x140444f38]
mov r14, qword [rbp + 0x6f]
mov esi, r9d
mov qword [rbp - 0x71], rax
mov r15, r8
mov rax, qword [rbp + 0x7f]
mov edi, edx
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r14
call fcn.14002feb0
mov eax, dword [rbp + 0x5f]
mov dword [r14 + 0x1180c], edi
mov edi, dword [rbp + 0x87]
cmp edi, 1
mov qword [r14 + 0x11a18], rbx
sete bl
mov dword [r14 + 0x11804], eax
mov dword [r14 + 0x11808], esi
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x32], 0
call fcn.1400a7870
test al, al
je 0x1400e7619
call fcn.140037b10
or bl, al
mov rcx, qword [0x1403debb0]
lea rsi, [0x140280be0]
xor r13d, r13d
test rcx, rcx
je 0x1400e76c5
lea r13, [0x1403e99c0]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r13
lea r8, str.bSendUnattendedBugReports
lea rdx, str._Script_UnrealEd.CrashReportsPrivacySettings
call fcn.1400a4fe0
mov rcx, qword [0x1403debb0]
lea r9, [rsp + 0x31]
lea r8, str.bSendUsageData
mov qword [rsp + 0x20], r13
lea rdx, str._Script_UnrealEd.AnalyticsPrivacySettings
call fcn.1400a4fe0
cmp edi, 1
je 0x1400e76ab
mov rcx, qword [0x1403debb0]
lea rax, [0x1403e98c0]
lea r9, [rsp + 0x32]
mov qword [rsp + 0x20], rax
lea r8, str.bImplicitSend
lea rdx, str.CrashReportClient
call fcn.1400a4fe0
xor r13d, r13d
call fcn.14001ad10
test al, al
je 0x1400e770e
xor al, al
xor cl, cl
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], cl
jmp 0x1400e7718
call fcn.1400dbc80
mov r8, rax
lea rdx, str._s_NotAllowedUnattendedBugReports
lea rcx, [rbp - 0x59]
call fcn.1400268a0
cmp dword [rbp - 0x51], r13d
mov rcx, rsi
cmovne rcx, qword [rbp - 0x59]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx ecx, byte [rsp + 0x30]
test eax, eax
cmovne ecx, r13d
mov byte [rsp + 0x30], cl
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400e76ae
call fcn.1400556b0
jmp 0x1400e76ae
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x31]
test bl, bl
je 0x1400e7724
test al, al
je 0x1400e7af7
mov byte [r14 + 0x11811], al
mov r8d, 0x7ff
movzx eax, byte [rsp + 0x32]
mov rdx, r15
mov byte [r14 + 0x11812], cl
mov rcx, r14
mov byte [r14 + 0x11813], al
mov byte [r14 + 0x11810], bl
movzx eax, byte [0x1403e93c4]
mov byte [r14 + 0x11c25], al
call qword [0x140272a20]
mov word [r14 + 0xffe], r13w
mov r15d, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x34], eax
mov edi, eax
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor r13b, r13b
mov qword [rbp - 0x61], rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e78d9
lea rdx, [rbp - 0x49]
mov dword [rbp - 0x49], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1400e78d9
mov ecx, dword [0x14066f258]
mov rdx, qword gs:[0x58]
mov r12d, dword [rbp + 0x5f]
mov r8d, 0x1c
nop
cmp dword [rbp - 0x3d], edi
jne 0x1400e789b
mov esi, dword [rbp - 0x41]
cmp r12d, esi
jne 0x1400e77e6
mov r13b, 1
jmp 0x1400e77f8
test r13b, r13b
jne 0x1400e77f8
cmp r15d, 0x1ff
jae 0x1400e789b
mov rdi, qword [rdx + rcx*8]
mov eax, r15d
mov ebx, r8d
mov dword [r14 + rax*4 + 0x1000], esi
mov eax, dword [rbx + rdi]
cmp dword [0x1403cb318], eax
jg 0x1400e7b6c
mov eax, dword [rbx + rdi]
cmp dword [0x1403cb330], eax
jg 0x1400e7bfd
xor edi, edi
cmp esi, dword [0x1403e93d0]
jne 0x1400e783b
lea rax, [0x1403cb308]
jmp 0x1400e785c
call fcn.14005e2d0
test al, al
je 0x1400e784d
lea rax, [0x1403cb320]
jmp 0x1400e785c
call fcn.1400558b0
mov rcx, rax
mov edx, esi
call fcn.14005a680
cmp dword [rax + 8], 1
lea rdx, [0x14028d2c8]
jle 0x1400e786c
mov rdx, qword [rax]
mov eax, r15d
mov r8d, 0x3f
shl eax, 6
lea rbx, [r14 + rax*2]
lea rcx, [rbx + 0x1800]
call qword [0x140272a20]
mov word [rbx + 0x187e], di
inc r15d
mov rbx, qword [rbp - 0x61]
mov edi, dword [rsp + 0x34]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x1400e78cd
mov ecx, dword [0x14066f258]
mov rdx, qword gs:[0x58]
mov r8d, 0x1c
cmp r15d, 0x200
jb 0x1400e77d0
mov r12, qword [rsp + 0x48]
lea rsi, [0x140280be0]
mov rcx, rbx
mov dword [r14 + 0x11800], r15d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r15d, r15d
mov r13d, 1
mov qword [rsp + 0x38], r15
mov edx, r13d
mov qword [rsp + 0x40], r15
lock xadd dword [0x140429214], edx
lea rcx, [r14 + 0x127d0]
lea r8, [rsp + 0x38]
call fcn.1400307f0
test al, al
je 0x1400e7962
cmp dword [rsp + 0x40], r15d
lea rcx, [r14 + 0x11a20]
mov rdx, rsi
mov r8d, 0xff
cmovne rdx, qword [rsp + 0x38]
call qword [0x140272a20]
lea rcx, [rsp + 0x38]
mov word [r14 + 0x11c1e], r15w
call fcn.140030f70
cmp dword [rsp + 0x40], r15d
cmovne rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.1400e3750
mov rsi, qword [rbp - 0x71]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
je 0x1400e797b
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea rbx, [r14 + 0x1b8e0]
movzx ecx, r13b
cmp r14, rbx
je 0x1400e79e2
nop dword [rax + rax]
test cl, cl
je 0x1400e7ae8
mov r8d, ebx
mov eax, r15d
sub r8d, r14d
je 0x1400e79ce
test r12, r12
je 0x1400e79ce
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], r15d
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [rsp + 0x34]
setne cl
jmp 0x1400e79d0
xor cl, cl
cdqe
add r14, rax
cmp r14, rbx
jne 0x1400e7990
test cl, cl
je 0x1400e7ae8
movaps xmmword [rsp + 0xc0], xmm6
lea rcx, [rbp - 0x71]
movaps xmmword [rsp + 0xb0], xmm7
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm6, xmm6
mov qword [rsp + 0x48], r15
cvtsi2sd xmm6, qword [rbp - 0x71]
xor dil, dil
mov qword [rbp - 0x79], 0x10
xor edx, edx
lea rcx, [rsp + 0x48]
mulsd xmm6, qword [0x1403c81e0]
call fcn.140048160
mov rbx, qword [rsp + 0x48]
xorps xmm0, xmm0
movsd xmm7, qword [0x140290c98]
mov r14, qword [rbp - 0x69]
movups xmmword [rbx], xmm0
mov rcx, qword [rsi]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], r15d
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400e7a61
cmp dword [rsp + 0x34], 0x103
jne 0x1400e7acb
test dil, dil
jne 0x1400e7acb
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400e7060
mov rbx, qword [rsp + 0x48]
test al, al
je 0x1400e7a99
cmp byte [rbx], 0xd
jne 0x1400e7a99
cmp byte [rbx + 1], 0xe
jne 0x1400e7a99
cmp byte [rbx + 2], 0xa
jne 0x1400e7a99
cmp byte [rbx + 3], 0xd
movzx edi, dil
cmove edi, r13d
cmp byte [0x1403e93c4], r15b
je 0x1400e7a40
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp - 0x69]
mulsd xmm0, qword [0x1403c81e0]
subsd xmm0, xmm6
comisd xmm0, xmm7
jb 0x1400e7a40
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
test rbx, rbx
je 0x1400e7ae8
mov rcx, rbx
call fcn.1400556b0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400e7af7
call fcn.1400556b0
lea rcx, [0x140444f38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xffffffff
mov rcx, qword [rbp - 0x29]
xor rcx, rsp
call fcn.14025eac0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [0x1403cb320]
lea rdx, [0x140292348]
mov r8d, 0x1a
call fcn.140038f30
lea rcx, [0x14026d0b0]
call fcn.14025e770
lea rcx, [0x1403cb330]
call fcn.14025e8c0
jmp 0x1400e782a
lea rcx, [0x1403cb318]
call fcn.14025e920
cmp dword [0x1403cb318], 0xffffffff
jne 0x1400e7819
xor eax, eax
lea rcx, [0x1403cb308]
mov qword [0x1403cb308], rax
mov qword [0x1403cb310], rax
lea edx, [rax + 0xb]
call fcn.140019a30
mov edx, dword [0x1403cb310]
lea eax, [rdx + 0xb]
cmp eax, dword [0x1403cb314]
mov dword [0x1403cb310], eax
jle 0x1400e7bc7
lea rcx, [0x1403cb308]
call fcn.1400197d0
mov rcx, qword [0x1403cb308]
lea rdx, [0x140292330]
mov r8d, 0x16
call fcn.140038f30
lea rcx, [0x14026cf90]
call fcn.14025e770
lea rcx, [0x1403cb318]
call fcn.14025e8c0
jmp 0x1400e7819
lea rcx, [0x1403cb330]
call fcn.14025e920
xor edi, edi
cmp dword [0x1403cb330], 0xffffffff
jne 0x1400e782a
lea edx, [rdi + 0xd]
mov qword [0x1403cb320], rdi
lea rcx, [0x1403cb320]
mov qword [0x1403cb328], rdi
call fcn.140019a30
mov edx, dword [0x1403cb328]
lea eax, [rdx + 0xd]
cmp eax, dword [0x1403cb32c]
mov dword [0x1403cb328], eax
jle 0x1400e7b36
lea rcx, [0x1403cb320]
call fcn.1400197d0
jmp 0x1400e7b36