Function at 0x140091440
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12, rcx
lea rdx, str.Copying_driver_files_from
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14009c1c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400914ac
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x50]
call fcn.140016400
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.140306610
mov edx, 0x103
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400918bd
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 7
lea rdx, str.drivers
lea rcx, [rsp + 0x30]
call fcn.140030be0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x10]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140091560
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140030be0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14009b580
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x30]
call fcn.1400166f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov word [rsp + 0x70], bx
mov r15d, ebx
cmp qword [str.mbae.sys], r15
je 0x140091730
mov esi, ebx
lea r13, str.mbae.sys
lea r14, [rsi*8]
mov rdx, qword [r14 + r13]
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400915f0
lea rcx, [rsp + 0x70]
call fcn.140030940
lea r8, [rsp + 0x70]
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.14009b580
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14009b580
nop
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x70]
call fcn.1400b21a0
test al, al
je 0x14009164a
cmp dword [rsp + 0x28], 0
jne 0x14009164a
mov al, 1
jmp 0x14009164c
xor al, al
test al, al
jne 0x1400916cf
lea rdx, str.File_not_found:
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.14009c1c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140091683
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x30]
call fcn.140016400
nop
lea rcx, [rbp - 0x50]
call fcn.1400166f0
nop
xor ebx, ebx
jmp 0x140091715
mov byte [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140090a90
test al, al
je 0x1400916f1
cmp byte [rsp + 0x20], 0
jne 0x14009170b
mov dword [rsp + 0x24], ebx
lea r9, [rsp + 0x24]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400b3950
test al, al
je 0x140091749
lea rcx, [rbp - 0x50]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
inc r15d
inc rsi
cmp qword [r14 + r13 + 8], 0
jne 0x1400915e0
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x30]
call fcn.1400166f0
jmp 0x140091918
lea rdx, str.Error
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov edx, dword [rsp + 0x24]
mov rcx, rax
call fcn.140032140
mov rcx, rax
lea rdx, str._copying_file:
call fcn.1400337c0
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14009c1c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140091797
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
lea rdx, str.Error:_Copy
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov rbx, rax
movsxd rcx, r15d
mov rdx, qword [r13 + rcx*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140091803
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.140030be0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14009c1c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140091839
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400347d0
lea rdx, str._failed.
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
nop
lea rcx, [rsp + 0x30]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x50]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x30]
call fcn.1400166f0
xor al, al
jmp 0x14009191a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.System_error:__
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov edx, ebx
mov rcx, rax
call fcn.140032140
mov rcx, rax
lea rdx, str.____calling_GetSystemDirectory.
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
mov al, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x310]
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