Function at 0x140076730
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x360
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r12, rcx
mov rdx, rcx
lea rcx, [rbp + 0x18]
call fcn.14007ed70
mov rbx, rax
lea rdx, str.Copying_driver_files_from
lea rcx, [0x14047aa00]
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400767a3
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rbp + 0x18]
call fcn.14000bc00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.140286140
mov edx, 0x103
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140076bcd
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x40], xmm1
xor ebx, ebx
mov word [rsp + 0x30], bx
lea r8d, [rbx + 7]
lea rdx, str.drivers
lea rcx, [rsp + 0x30]
call fcn.14000d3a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], bx
lea rax, [rbp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140076862
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14000d3a0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.140082ed0
nop
lea rcx, [rbp - 0x48]
call fcn.14000c340
nop
lea rcx, [rsp + 0x30]
call fcn.14000c340
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], bx
mov r15d, ebx
cmp qword [str.mbae.sys], r15
je 0x140076ac5
mov rsi, rbx
lea r13, str.mbae.sys
nop word [rax + rax]
lea r14, [rsi*8]
mov rdx, qword [r14 + r13]
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400768f0
lea rcx, [rbp - 0x28]
call fcn.14000d3a0
lea r8, [rbp - 0x28]
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.140082ed0
nop
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 8]
call fcn.140082ed0
nop
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x48]
call fcn.140098560
test al, al
je 0x140076947
cmp dword [rsp + 0x28], 0
jne 0x140076947
mov al, 1
jmp 0x140076949
xor al, al
test al, al
jne 0x1400769c1
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.14007ed70
mov rbx, rax
lea rdx, str.File_not_found:
lea rcx, [0x14047aa00]
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007697f
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rsp + 0x58]
call fcn.14000bc00
jmp 0x140076a9b
mov byte [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.1400760a0
test al, al
je 0x1400769e7
cmp byte [rsp + 0x20], 0
jne 0x140076a95
mov dword [rsp + 0x24], ebx
lea r9, [rsp + 0x24]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.140092af0
test al, al
jne 0x140076a95
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007ed70
mov rbx, rax
lea rdx, str.Error
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rcx, rax
mov edx, dword [rsp + 0x24]
call fcn.1400283a0
mov rcx, rax
lea rdx, str._copying_file:
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140076a52
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rsp + 0x78]
call fcn.14000bc00
xor al, al
xor ebx, ebx
jmp 0x140076a97
mov al, 1
test al, al
je 0x140076add
lea rcx, [rbp - 8]
call fcn.14000c340
nop
lea rcx, [rbp - 0x48]
call fcn.14000c340
inc r15d
inc rsi
cmp qword [r14 + r13 + 8], 0
mov ebx, 0
jne 0x1400768e0
lea rcx, [rbp - 0x28]
call fcn.14000c340
nop
lea rcx, [rbp + 0x18]
call fcn.14000c340
jmp 0x140076c28
movsxd rax, r15d
mov rdx, qword [r13 + rax*8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], bx
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140076b01
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.14000d3a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.14007ed70
mov rbx, rax
lea rdx, str.Error:_Copy
lea rcx, [0x14047aa00]
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140076b4b
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
lea rdx, str._failed.
mov rcx, rax
call fcn.140036d30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rbp - 0x68]
call fcn.14000bc00
nop
lea rcx, [rsp + 0x30]
call fcn.14000c340
nop
lea rcx, [rbp - 8]
call fcn.14000c340
nop
lea rcx, [rbp - 0x48]
call fcn.14000c340
nop
lea rcx, [rbp - 0x28]
call fcn.14000c340
nop
lea rcx, [rbp + 0x18]
call fcn.14000c340
xor al, al
jmp 0x140076c2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.System_error:__
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rcx, rax
mov edx, ebx
call fcn.1400283a0
mov rcx, rax
lea rdx, str.____calling_GetSystemDirectory.
call fcn.140036d30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
mov al, 1
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret