Function at 0x1401074e0
Capabilities:
Copy file
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov bl, 1
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, shutdown
lea rdx, str.intelSpeechConfig
lea rcx, [rsp + 0x38]
call fcn.14005e050
nop
lea rcx, [rsi + 0x108]
lea rdx, [rsp + 0x38]
call fcn.140110e80
mov rdx, rax
lea rcx, [rbp + 0x1a0]
call fcn.140045fb0
nop
lea rcx, [rsp + 0x38]
call fcn.140046190
cmp qword [rbp + 0x1b0], 0
je 0x14010786e
movdqa xmm0, xmmword [0x1403a9a90]
movdqu xmmword [rbp + 0x190], xmm0
xor eax, eax
mov word [rbp + 0x180], ax
xor r8d, r8d
lea rdx, [0x14031b7bc]
lea rcx, [rbp + 0x180]
call fcn.14003b160
nop
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.14003d5c0
nop
lea rcx, [rsi + 8]
mov r8, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
call fcn.1401387b0
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14010760d
call fcn.1402384fc
cmp qword [rbp + 0x1d0], 0
je 0x140107819
lea rcx, [rsp + 0x30]
call fcn.14012e2e0
nop
mov rdx, qword [rax]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x140107633
lea rcx, [rbp + 0x180]
call fcn.14003b160
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140107670
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov r8d, 7
lea rdx, str.Intel_
lea rcx, [rbp + 0x180]
call fcn.14003b2f0
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rcx, qword [rbp + 0x180]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1401076be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401076be
xor dil, dil
jmp 0x1401076c1
mov dil, 1
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
lea rax, [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov r8d, 3
lea rcx, [rbp + 0x70]
call fcn.14003d5c0
nop
mov rdx, qword [rbp + 0x70]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1401076f4
mov r8, rbx
lea rcx, [rbp + 0x180]
call fcn.14003b2f0
nop
lea rax, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp rcx, rax
je 0x140107720
call fcn.1402384fc
test dil, dil
je 0x140107819
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 8
cmovae rcx, qword [rbp + 0x1c0]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140107776
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140107819
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae r9, qword [rbp + 0x180]
lea r8, str.secondStagePpDllConfigurationFile
lea rdx, str.SYSTEMCurrentControlSetServicesIntelAudioServiceConfig
mov rcx, 0xffffffff80000002
call fcn.140056ed0
test eax, eax
je 0x140107819
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae r9, qword [rbp + 0x180]
lea r8, str.secondStagePpDllConfigurationFile
lea rdx, str.SYSTEMCurrentControlSetServicesIntelAudioServiceParameters
mov rcx, 0xffffffff80000002
call fcn.140056ed0
test eax, eax
je 0x140107819
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae r9, qword [rbp + 0x180]
lea r8, str.ppDllConfigurationFile
lea rdx, str.SYSTEMCurrentControlSetServicesIntelAudioServiceConfig
mov rcx, 0xffffffff80000002
call fcn.140056ed0
test eax, eax
je 0x140107819
mov bl, 1
jmp 0x14010781b
xor bl, bl
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rax, qword [rbp + 0x180]
lea rcx, [rsi + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, str.Set_Intel_Wov_tuning_file_Path_:__s
movzx r8d, bl
mov edx, 1
call fcn.14011e570
nop
lea rcx, [rbp + 0x1c0]
call fcn.14003b0f0
nop
lea rcx, [rbp + 0x180]
call fcn.14003b0f0
nop
lea rcx, [rbp + 0x1a0]
call fcn.140046190
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret