Function at 0x1400cf1e0
Capabilities:
Check if file exists
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14035e6e8]
xor rax, rsp
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x830]
mov rbx, rcx
mov r12, qword [rbp + 0x820]
lea rcx, [0x1403d2ca8]
mov r15, qword [rbp + 0x828]
mov esi, r9d
mov qword [rsp + 0x38], rax
mov r14, r8
mov rax, qword [rbp + 0x838]
mov edi, edx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r15
call fcn.14002a1e0
mov eax, dword [rbp + 0x818]
mov dword [r15 + 0x940c], edi
mov edi, dword [rbp + 0x840]
cmp edi, 1
mov qword [r15 + 0x9618], rbx
sete bl
mov dword [r15 + 0x9404], eax
mov dword [r15 + 0x9408], esi
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x32], 0
call fcn.14009f000
test al, al
je 0x1400cf2b0
call fcn.140033900
or bl, al
mov rcx, qword [0x1403ad348]
lea r13, [0x1402655d8]
xor esi, esi
test rcx, rcx
je 0x1400cf35a
lea rsi, [0x1403c7640]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
lea r8, str.bSendUnattendedBugReports
lea rdx, str._Script_UnrealEd.CrashReportsPrivacySettings
call fcn.14009c3e0
mov rcx, qword [0x1403ad348]
lea r9, [rsp + 0x31]
lea r8, str.bSendUsageData
mov qword [rsp + 0x20], rsi
lea rdx, str._Script_UnrealEd.AnalyticsPrivacySettings
call fcn.14009c3e0
cmp edi, 1
je 0x1400cf341
mov rcx, qword [0x1403ad348]
lea rax, [0x1403c7600]
lea r9, [rsp + 0x32]
mov qword [rsp + 0x20], rax
lea r8, str.bImplicitSend
lea rdx, str.CrashReportClient
call fcn.14009c3e0
xor esi, esi
call fcn.1400109e0
test al, al
je 0x1400cf3a4
xor al, al
xor cl, cl
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], cl
jmp 0x1400cf3ae
call fcn.1400d21a0
mov r8, rax
lea rdx, str._s_NotAllowedUnattendedBugReports
lea rcx, [rsp + 0x78]
call fcn.140020fc0
cmp dword [rbp - 0x80], esi
mov rcx, r13
cmovne rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx ecx, byte [rsp + 0x30]
test eax, eax
cmovne ecx, esi
mov byte [rsp + 0x30], cl
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400cf343
call fcn.14004dcf0
jmp 0x1400cf343
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x31]
test bl, bl
je 0x1400cf3ba
test al, al
je 0x1400cf7b8
mov byte [r15 + 0x9412], cl
mov rcx, r15
mov byte [r15 + 0x9411], al
sub rcx, r14
movzx eax, byte [rsp + 0x32]
mov byte [r15 + 0x9413], al
mov byte [r15 + 0x9410], bl
movzx eax, byte [0x1403b7365]
mov byte [r15 + 0x9825], al
nop
movzx eax, word [r14]
mov word [r14 + rcx], ax
lea r14, [r14 + 2]
test ax, ax
jne 0x1400cf3f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov dword [rsp + 0x58], eax
mov edi, eax
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
mov dword [rbp + 0x7b4], 0x100
xor eax, eax
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x7b0], eax
cmp r14, 0xffffffffffffffff
je 0x1400cf5b2
lea rdx, [rbp - 0x78]
mov dword [rbp - 0x78], 0x1c
mov rcx, r14
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1400cf5b2
mov ecx, dword [0x140442618]
xor r13d, r13d
mov rax, qword gs:[0x58]
lea rax, [rax + rcx*8]
mov r12, rax
nop
cmp dword [rbp - 0x6c], ebx
jne 0x1400cf58a
mov ebx, dword [rbp - 0x70]
cmp ebx, edi
je 0x1400cf4eb
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1400cf4e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
movsxd rbx, dword [rbp + 0x7b0]
lea ecx, [rbx + 1]
mov dword [rbp + 0x7b0], ecx
cmp ecx, dword [rbp + 0x7b4]
jle 0x1400cf4d2
mov edx, ebx
lea rcx, [rbp - 0x58]
call fcn.1400d0af0
mov rax, qword [rbp + 0x7a8]
lea rcx, [rbp - 0x58]
test rax, rax
cmovne rcx, rax
mov qword [rcx + rbx*8], rdi
mov ebx, dword [rbp - 0x70]
mov eax, esi
mov edi, 0x1c
add rdi, qword [r12]
mov dword [r15 + rax*4 + 0x1000], ebx
mov eax, dword [rdi]
cmp dword [0x1403aa5a0], eax
jg 0x1400cf830
mov eax, dword [rdi]
cmp dword [0x1403aa5b8], eax
jg 0x1400cf8c1
cmp ebx, dword [0x1403b7370]
jne 0x1400cf52b
lea rax, [0x1403aa590]
jmp 0x1400cf54c
call fcn.140056770
test al, al
je 0x1400cf53d
lea rax, [0x1403aa5a8]
jmp 0x1400cf54c
call fcn.14004e020
mov rcx, rax
mov edx, ebx
call fcn.140052ad0
cmp dword [rax + 8], 1
lea rcx, [0x140270800]
jle 0x1400cf55c
mov rcx, qword [rax]
mov eax, esi
shl eax, 6
lea rdx, [rax*2 + 0x1400]
sub rdx, rcx
add rdx, r15
nop
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400cf570
mov ebx, dword [rsp + 0x34]
inc esi
mov edi, dword [rsp + 0x58]
lea rdx, [rbp - 0x78]
mov rcx, r14
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x1400cf5a6
cmp esi, 0x100
jb 0x1400cf480
mov r12, qword [rsp + 0x68]
lea r13, [0x1402655d8]
mov rcx, r14
mov dword [r15 + 0x9400], esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14d, r14d
mov esi, 1
mov qword [rsp + 0x48], r14
mov edx, esi
mov qword [rsp + 0x50], r14
lock xadd dword [0x1403d2ca0], edx
lea rcx, [r15 + 0xa3d0]
lea r8, [rsp + 0x48]
call fcn.14002af10
test al, al
je 0x1400cf642
cmp dword [rsp + 0x50], r14d
mov rdx, r13
mov r8, r15
cmovne rdx, qword [rsp + 0x48]
sub r8, rdx
nop word [rax + rax]
movzx eax, word [rdx]
mov word [rdx + r8 + 0x9620], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400cf610
lea rcx, [rsp + 0x48]
call fcn.14002bb80
cmp dword [rsp + 0x50], r14d
cmovne r13, qword [rsp + 0x48]
mov rcx, r13
call fcn.1400ce310
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
je 0x1400cf658
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea rbx, [r15 + 0x134e0]
movzx eax, sil
cmp r15, rbx
je 0x1400cf6a8
mov rdi, qword [rsp + 0x38]
nop dword [rax]
test al, al
je 0x1400cf745
mov r8d, ebx
mov dword [rsp + 0x34], r14d
sub r8d, r15d
lea r9, [rsp + 0x34]
mov rdx, r15
mov rcx, rdi
call fcn.1400dcf50
movsxd rcx, dword [rsp + 0x34]
add r15, rcx
cmp r15, rbx
jne 0x1400cf670
test al, al
je 0x1400cf745
xor edx, edx
mov dword [rsp + 0x34], r14d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r14
xor bl, bl
mov qword [rsp + 0x40], 0x10
call fcn.140040820
mov rax, qword [rsp + 0x38]
lea rdx, [rsp + 0x34]
xorps xmm0, xmm0
mov rcx, r12
movups xmmword [rax], xmm0
call fcn.1400d69d0
test al, al
jne 0x1400cf736
mov rdi, qword [rsp + 0x70]
nop word [rax + rax]
test bl, bl
jne 0x1400cf736
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400daf50
test al, al
je 0x1400cf725
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0xd
jne 0x1400cf725
cmp byte [rax + 1], 0xe
jne 0x1400cf725
cmp byte [rax + 2], 0xa
jne 0x1400cf725
cmp byte [rax + 3], 0xd
movzx ebx, bl
cmove ebx, esi
lea rdx, [rsp + 0x34]
mov rcx, r12
call fcn.1400d69d0
test al, al
je 0x1400cf6f0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400cf745
call fcn.14004dcf0
mov rcx, qword [rbp + 0x7a8]
lea rdi, [rbp - 0x58]
movsxd rax, dword [rbp + 0x7b0]
test rcx, rcx
cmovne rdi, rcx
lea rsi, [rdi + rax*8]
cmp rdi, rsi
je 0x1400cf795
nop word [rax + rax]
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 8
cmp rdi, rsi
jne 0x1400cf770
mov rcx, qword [rbp + 0x7a8]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400cf7ae
mov rcx, rax
call fcn.14004dcf0
mov rcx, qword [rbp + 0x7a8]
test rcx, rcx
je 0x1400cf7b8
call fcn.14004dcf0
lea rcx, [0x1403d2ca8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x7b8]
xor rcx, rsp
call fcn.140250070
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [0x1403aa5a8]
lea rdx, [0x140275488]
mov r8d, 0x1a
call fcn.140034be0
lea rcx, [0x14025dc90]
call fcn.14024fd30
lea rcx, [0x1403aa5b8]
call fcn.14024fe70
jmp 0x1400cf51a
lea rcx, [0x1403aa5a0]
call fcn.14024fed0
cmp dword [0x1403aa5a0], 0xffffffff
jne 0x1400cf50c
mov edx, 0xb
mov qword [0x1403aa590], r13
lea rcx, [0x1403aa590]
mov qword [0x1403aa598], r13
call fcn.14001ca50
mov edx, dword [0x1403aa598]
lea eax, [rdx + 0xb]
cmp eax, dword [0x1403aa59c]
mov dword [0x1403aa598], eax
jle 0x1400cf88b
lea rcx, [0x1403aa590]
call fcn.14001c660
mov rcx, qword [0x1403aa590]
lea rdx, [0x140275470]
mov r8d, 0x16
call fcn.140034be0
lea rcx, [0x14025dba0]
call fcn.14024fd30
lea rcx, [0x1403aa5a0]
call fcn.14024fe70
jmp 0x1400cf50c
lea rcx, [0x1403aa5b8]
call fcn.14024fed0
cmp dword [0x1403aa5b8], 0xffffffff
jne 0x1400cf51a
mov edx, 0xd
mov qword [0x1403aa5a8], r13
lea rcx, [0x1403aa5a8]
mov qword [0x1403aa5b0], r13
call fcn.14001ca50
mov edx, dword [0x1403aa5b0]
lea eax, [rdx + 0xd]
cmp eax, dword [0x1403aa5b4]
mov dword [0x1403aa5b0], eax
jle 0x1400cf7fa
lea rcx, [0x1403aa5a8]
call fcn.14001c660
jmp 0x1400cf7fa