Function at 0x18010e4f0
Capabilities:
Check for time delay via gettickcount
Reference absolute stream path on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x18017d2b8]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r14, r9
mov qword [rsp + 0x48], r8
mov r12, rdx
mov rdx, rcx
mov qword [rsp + 0x50], rcx
mov r13d, dword [rbp + 0xd8]
mov r15d, r13d
lea esi, [r13 + 0x20f]
mov dword [rsp + 0x40], esi
xor r9d, r9d
lea r10d, [r9 + 0x65]
mov ebx, dword [rsp + 0x40]
cmp r13d, esi
jae 0x18010e950
mov r13d, dword [rsp + 0x40]
movsd xmm7, qword [0x18015b308]
movsd xmm6, qword [0x18015b530]
mov r10d, 0x72
lea r9, [0x180000000]
cmp r15d, 0x126
ja 0x18010e7c7
je 0x18010e763
lea eax, [r15 - 0x12]
cmp eax, 0xfc
ja case.0x18010e5bd.32
movzx eax, byte [r9 + rax + 0x10f044]
mov ecx, dword [r9 + rax*4 + 0x10f008]
add rcx, r9
jmp rcx
movsd qword [rbp - 0x80], xmm7
movsd qword [rbp - 0x68], xmm6
movsd qword [rbp - 0x50], xmm7
movsd qword [rbp - 0x78], xmm6
jmp case.0x18010e5bd.32
movsd qword [rbp - 0x48], xmm6
movsd qword [rbp - 0x70], xmm6
jmp case.0x18010e5bd.32
movsd qword [rbp - 0x60], xmm7
jmp case.0x18010e5bd.32
mov edi, dword [r12]
test edi, edi
jle 0x18010e610
mov r8d, edi
movzx edx, byte [rdx]
lea rcx, [0x1801a2983]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
js 0x18010e8ae
lea eax, [rdi + 3]
cmp ecx, eax
jne 0x18010e8ae
xor r9d, r9d
mov eax, r9d
nop dword [rax]
test r13d, r13d
jg 0x18010e70c
inc eax
cmp eax, 0xa
jl 0x18010e630
jmp 0x18010e88c
mov dword [rbp - 0x18], 0x610074
mov dword [rbp - 0x14], 0x6b0073
mov dword [rbp - 0x10], 0x67006d
jmp case.0x18010e5bd.32
test r14, r14
je 0x18010e8cf
mov rax, qword [r14]
cmp dword [rax + 8], 2
je case.0x18010e5bd.32
mov r9, r14
lea r8, str.null_blending_color_space_field_in_DisplayPrivate_SetDisplayColorSpace_Params
mov edx, 2
mov rcx, r14
call fcn.1800d7fb0
mov eax, 0xffffffd6
jmp 0x18010e7dc
mov word [rbp - 0xc], r10w
jmp case.0x18010e5bd.32
mov eax, dword [r12]
cmp eax, 0xffff
jg 0x18010e8d9
dec eax
mov dword [r12], eax
jmp case.0x18010e5bd.32
mov eax, 0x39
mov rcx, qword [rbp + 0xd0]
cmp dword [rcx], 0
mov ecx, 0x31
cmovne eax, ecx
mov byte [0x1801a2980], al
movzx eax, byte [r12]
mov byte [0x1801a2981], al
mov ecx, dword [r12]
mov eax, ecx
sar eax, 8
mov byte [0x1801a2982], al
lea eax, [rcx + 1]
mov dword [r12], eax
jmp case.0x18010e5bd.32
mov dword [rbp - 6], 0x650078
jmp case.0x18010e5bd.32
xor r9d, r9d
mov r15d, 0xef
test r13d, r13d
js 0x18010e8f7
mov eax, dword [r12]
cmp r13d, eax
jne 0x18010e8f7
mov ebx, r9d
test eax, eax
jle 0x18010e88c
mov rcx, r8
lea rdx, [0x1801a2980]
sub rdx, r8
movzx eax, byte [rdx + rcx]
mov byte [rcx], al
inc ebx
lea rcx, [rcx + 1]
cmp ebx, dword [r12]
jl 0x18010e740
jmp 0x18010e88c
mov dword [rbp - 0xa], 0x65002e
jmp case.0x18010e5bd.32
mov r9d, 0x123
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x18017d398]
call fcn.1801038f0
test al, al
je 0x18010e7c3
mov byte [rsp + 0x58], 1
mov r8, qword [0x18017d398]
mov edx, 0x5e
lea rcx, [rsp + 0x58]
call fcn.1800d0330
mov r8, r14
xor edx, edx
mov ecx, 0x8c
call fcn.18000ce50
test al, al
jne case.0x18010e5bd.32
mov r8, qword [0x18017d398]
mov edx, 0xbb
xor ecx, ecx
call fcn.1800d1b70
xor eax, eax
jmp 0x18010e7dc
mov eax, r15d
sub eax, 0x145
je 0x18010e812
cmp eax, 0x1f
jne case.0x18010e5bd.32
mov eax, ebx
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180110960
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov ebx, eax
mov rcx, qword [r14 + 0x28]
call qword [r14 + 0x20]
test al, al
je 0x18010e876
mov esi, 0x75
mov eax, esi
sub eax, 0x75
je 0x18010e84c
sub eax, 1
je 0x18010e83e
cmp eax, 1
jne 0x18010e86b
call qword [r14 + 0x50]
jmp 0x18010e86b
mov eax, 0x10624dd3
mul ebx
mov ebx, edx
shr ebx, 6
jmp 0x18010e86b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov edx, 0x10f
mov rcx, r14
call fcn.1800cc0c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, edi
inc esi
cmp esi, 0x78
jb 0x18010e827
mov esi, dword [rsp + 0x40]
mov r8, qword [0x18017d398]
mov edx, 0xbb
xor ecx, ecx
call fcn.1800d1b70
xor r9d, r9d
mov r10d, 0x65
add r15d, 0x1f
cmp r15d, esi
jae 0x18010e949
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
jmp 0x18010e57a
mov r9d, ecx
lea r8, str.void___OVERLOADABLE___vstore3_uchar3_data__size_t_o____local_uchar_p__
mov edx, 2
mov rcx, qword [r14]
call fcn.1800d7fb0
mov eax, 0xffffffdd
jmp 0x18010e7dc
mov eax, 0xfffffff6
jmp 0x18010e7dc
lea r8, str.D:drmemory_packagedynamoriocore_archinterp.c:2213
mov edx, 2
mov rcx, qword [r14]
call fcn.1800d7fb0
mov eax, 0xffffffdd
jmp 0x18010e7dc
mov r9d, r13d
lea r8, str.ERROR:_New_resource_records_class___d__does_not_match_zone_class___d_
jmp 0x18010e8b8
mov rax, qword [r14]
movsx ecx, byte [rax]
sub ecx, 1
je 0x18010e92b
cmp ecx, 1
jne 0x18010e68c
mov r8, r14
xor edx, edx
mov ecx, 0x9d
call fcn.1800ca4c0
jmp 0x18010e7dc
mov r9, r14
lea r8, str.A:I_lengthInSamples_d__loop_d__usePcmDevice___d__sampleRate___d__channels___d
mov edx, 3
mov rcx, r14
call fcn.1800d7fb0
xor eax, eax
jmp 0x18010e7dc
mov r13d, dword [rbp + 0xd8]
mov edi, r13d
imul esi, r13d, 0x3e0
cmp r13d, esi
ja case.0x18010e5bd.31
mov ecx, 0x63
lea r12d, [rcx + 0xd]
xorps xmm6, xmm6
movsd xmm7, qword [0x18015b6d0]
movsd xmm8, qword [0x18015b7c8]
mov eax, 0x2e
cmp edi, 0x3498
ja 0x18010ec9d
je 0x18010ec83
cmp edi, 0xd26
ja 0x18010eba2
je 0x18010eb46
cmp edi, 0x12
je 0x18010eb1f
cmp edi, 0x48
je 0x18010eb15
cmp edi, 0x46e
je 0x18010eab9
cmp edi, 0x8ca
jne 0x18010efe7
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm6
movsd xmm0, qword [rbp - 0x50]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [0x180154f9c]
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm6
movsd xmm0, qword [rbp - 0x78]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [0x18011297c]
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
movsd xmm0, qword [rbp - 0x60]
lea r8, [0x18014da18]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r14
movsd qword [rsp + 0x48], xmm0
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x40], xmm6
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
jmp 0x18010efe2
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm6
movsd xmm0, qword [rbp - 0x80]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [0x180154fa0]
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
movsd xmm0, qword [rbp - 0x68]
lea r8, [0x180154fa4]
jmp 0x18010ea75
mov word [rbp - 2], r9w
jmp 0x18010efe7
movsd qword [rbp - 0x58], xmm7
movsd qword [rbp - 0x40], xmm8
mov qword [rsp + 0x20], r9
xor r9d, r9d
lea r8, [rbp - 0x80]
lea edx, [r9 + 0x69]
xor ecx, ecx
call fcn.1800d67f0
jmp 0x18010efe2
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm6
movsd xmm0, qword [rbp - 0x48]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [0x18014da1c]
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
movsd xmm0, qword [rbp - 0x70]
lea r8, [0x180112980]
jmp 0x18010ea75
mov eax, edi
sub eax, 0x1182
je 0x18010ec27
sub eax, 0x36
je 0x18010ebdc
cmp eax, 0x1170
jne 0x18010efe7
mov word [rbp + 0x14], r9w
mov r8d, 1
lea rdx, [0x180154ff0]
lea rcx, [rbp + 0x14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp 0x18010efe2
mov r8d, 4
lea rdx, [0x1801550f0]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
mov word [rbp + 8], ax
lea r8d, [rax + 3]
lea rdx, [0x18015513c]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov eax, dword [0x180155172]
mov dword [rbp + 0xe], eax
movzx eax, word [0x180155176]
mov word [rbp + 0x12], ax
jmp 0x18010efe2
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm6
movsd xmm0, qword [rbp - 0x58]
movsd qword [rsp + 0x48], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
lea r8, [0x18014da20]
lea rdx, str.eraZr
lea rcx, [rsp + 0x40]
call fcn.1800fe9c0
movsd xmm0, qword [rbp - 0x40]
lea r8, [0x18014da28]
jmp 0x18010ea75
mov word [rbp + 0x16], r9w
mov word [rbp - 0x30], r12w
mov dword [rbp - 0x2e], 0x6f0072
mov word [rbp - 0x2a], cx
jmp 0x18010efe7
cmp edi, 0x7a58
ja 0x18010ed2a
je 0x18010ecf2
cmp edi, 0x4608
je 0x18010ece8
cmp edi, 0x5778
je 0x18010ecdc
cmp edi, 0x68e8
jne 0x18010efe7
mov word [rbp - 0x22], ax
mov dword [rbp - 0x20], 0x780065
mov word [rbp - 0x1c], r10w
jmp 0x18010efe7
mov dword [rbp - 0x26], 0x700078
jmp 0x18010efe7
mov word [rbp - 0x28], r10w
jmp 0x18010efe7
mov word [rbp - 0x1a], r9w
movsd xmm0, qword [str.proce]
movsd qword [rbp + 0x18], xmm0
mov eax, dword [0x180154fc0]
mov dword [rbp + 0x20], eax
movsd xmm0, qword [str.xp64]
movsd qword [rbp + 0x22], xmm0
movzx eax, word [0x180154fd0]
mov word [rbp + 0x2a], ax
jmp 0x18010efe7
cmp edi, 0x8bc8
je 0x18010ee4f
cmp edi, 0x9d38
je 0x18010edcf
cmp edi, 0xaea8
jne 0x18010efe7
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r9w
lea rax, [rbp + 0x18]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18010ed70
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x60]
call fcn.180027bc0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x18010edb8
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
xor eax, eax
mov word [rsp + 0x60], ax
add qword [r14 + 8], 0x20
jmp 0x18010edca
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.180005840
mov rdx, qword [rsp + 0x78]
jmp 0x18010efa9
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r9w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18010edf0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.180027bc0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x18010ee38
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
xor eax, eax
mov word [rsp + 0x60], ax
add qword [r14 + 8], 0x20
jmp 0x18010ee4a
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.180005840
mov rdx, qword [rsp + 0x78]
jmp 0x18010efa9
mov eax, dword [0x180154fa8]
mov dword [rbp + 0x2a], eax
mov eax, dword [0x180154fb0]
mov dword [rbp + 0x2e], eax
movzx eax, word [0x180154fb4]
mov word [rbp + 0x32], ax
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r9w
lea rax, [rbp - 0x18]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18010ee90
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.180027bc0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x18010eeda
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
xor r15d, r15d
mov word [rsp + 0x60], r15w
add qword [r14 + 8], 0x20
jmp 0x18010eeef
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.180005840
mov rdx, qword [rsp + 0x78]
xor r15d, r15d
cmp rdx, 8
jb 0x18010ef2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010ef27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18010f001
call fcn.18010ff50
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18010ef50
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.180027bc0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x18010ef97
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x60], r15w
add qword [r14 + 8], 0x20
jmp 0x18010efa9
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.180005840
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18010efe2
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010efdd
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18010f001
call fcn.18010ff50
mov ecx, 0x63
imul eax, r13d, 0x3e
add edi, eax
cmp edi, esi
ja case.0x18010e5bd.31
xor r9d, r9d
lea r10d, [r9 + 0x65]
jmp 0x18010e980
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3