Function at 0x14001d180
Capabilities:
Get common file path
Move file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x570], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x410], rax
movzx edi, r8b
mov r12, rdx
mov r15, rcx
xor r13d, r13d
xor r14b, r14b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x200]
call fcn.140286140
mov edx, 0x103
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14001da2d
test dil, dil
je 0x14001d300
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x30]
call fcn.14000b590
nop
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.Test_mode_is_on
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
lea rcx, [rbp + 0x1e0]
call fcn.140082e60
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r13w
lea r8d, [r13 + 5]
lea rdx, str.sys32
lea rcx, [rsp + 0x68]
call fcn.14000d3a0
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1a0]
call fcn.140082ed0
nop
lea rcx, [rsp + 0x68]
call fcn.14000c340
lea r8, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae r8, qword [rbp + 0x1a0]
mov edx, 0x104
lea rcx, [rbp + 0x200]
call fcn.140290cf4
nop
lea rcx, [rbp + 0x1a0]
call fcn.14000c340
nop
lea rcx, [rbp + 0x1e0]
call fcn.14000c340
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], r13w
mov r8d, 7
lea rdx, str.drivers
lea rcx, [rbp - 0x58]
call fcn.14000d3a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], r13w
lea rax, [rbp + 0x200]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d360
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x78]
call fcn.14000d3a0
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1c0]
call fcn.140082ed0
nop
lea rcx, [rbp - 0x78]
call fcn.14000c340
nop
lea rcx, [rbp - 0x58]
call fcn.14000c340
test dil, dil
je 0x14001d3b8
xor r8d, r8d
lea rcx, [rbp + 0x1c0]
call fcn.140092970
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp + 0xf0], xmm1
mov word [rbp + 0xe0], r13w
mov rax, qword [str.mbae.sys]
test rax, rax
je 0x14001d84b
mov rsi, r13
nop
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d400
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14000d3a0
lea r8, [rbp + 0xe0]
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.140082ed0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x120]
call fcn.140082ed0
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x100]
call fcn.140098560
test al, al
je 0x14001d81b
cmp dword [rsp + 0x30], 0
jne 0x14001d81b
mov dword [rsp + 0x24], r13d
mov byte [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x100]
call fcn.140022240
test al, al
je 0x14001d547
cmp byte [rsp + 0x20], 0
je 0x14001d547
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x40]
call fcn.14007ed70
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.14000b590
nop
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.No_changes_to_file:
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d4fa
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
lea rdx, str.__no_need_to_copy_
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 + 0x40]
call fcn.14000bc00
jmp 0x14001d567
lea r9, [rsp + 0x24]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x100]
call fcn.140092af0
test al, al
je 0x14001d672
mov r14b, 1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.14007ed70
mov rdi, rax
lea rcx, [rbp - 0x10]
call fcn.14000b590
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp qword [rdi + 0x18], 0x10
jb 0x14001d5a1
mov rdi, qword [rdi]
lea rdx, [rbp + 0x140]
call fcn.14000b6f0
nop
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rdx, qword [rbp + 0x140]
mov r8, qword [rbp + 0x150]
lea rcx, [0x14047aa00]
call fcn.14000b9f0
nop
lea rcx, [rbp + 0x140]
call fcn.14000bc00
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001d61e
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001d61e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001d61e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.Successfully_copied_file:
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rcx, rax
mov rdx, rdi
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 + 0x60]
call fcn.14000bc00
jmp 0x14001d81b
mov ebx, dword [rsp + 0x24]
cmp ebx, 5
je 0x14001d684
cmp ebx, 0x20
jne 0x14001d869
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
mov r8d, 3
lea rdx, [0x1403bc9c0]
lea rcx, [rsp + 0x48]
call fcn.14000d3a0
nop
lea r8, [rsp + 0x48]
mov rdx, r12
lea rcx, [rbp + 0x180]
call fcn.140082ed0
nop
lea rcx, [rsp + 0x48]
call fcn.14000c340
xor r8d, r8d
lea rcx, [rbp + 0x180]
call fcn.140092970
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x100]
call fcn.140092550
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x160]
call fcn.140082ed0
nop
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rdx, qword [rbp + 0x120]
lea rcx, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae rcx, qword [rbp + 0x160]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14001d917
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x80]
call fcn.14007ed70
mov rbx, rax
lea rcx, [rbp]
call fcn.14000b590
nop
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.Successfully_scheduled
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d7b3
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
lea rdx, str._for_move_on_reboot.
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 + 0x80]
call fcn.14000bc00
nop
lea rcx, [rbp + 0x160]
call fcn.14000c340
nop
lea rcx, [rbp + 0x180]
call fcn.14000c340
inc rsi
lea rcx, [rbp + 0x120]
call fcn.14000c340
nop
lea rcx, [rbp + 0x100]
call fcn.14000c340
lea rcx, str.mbae.sys
mov rax, qword [rcx + rsi*8]
test rax, rax
jne 0x14001d3f0
lea rcx, [rbp + 0xe0]
call fcn.14000c340
nop
lea rcx, [rbp + 0x1c0]
call fcn.14000c340
jmp 0x14001daa6
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xa0]
call fcn.14007ed70
mov rdi, rax
lea rcx, [rbp + 0x10]
call fcn.14000b590
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14001d89c
mov rdi, qword [rdi]
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.CopyDriverFiles:__
call fcn.140036d30
mov rcx, rax
mov rdx, rdi
call fcn.140036d30
mov rcx, rax
lea rdx, str.____error:
call fcn.140036d30
mov rcx, rax
mov edx, ebx
call fcn.1400283a0
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 + 0xa0]
call fcn.14000bc00
jmp 0x14001d9f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xc0]
call fcn.14007ed70
mov rdi, rax
lea rcx, [rbp + 0x20]
call fcn.14000b590
nop
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.Error:__
call fcn.140036d30
mov rcx, rax
mov edx, ebx
call fcn.1400283a0
mov rcx, rax
lea rdx, str.__Failed_to_schedule
call fcn.140036d30
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14001d98d
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400421f0
lea rdx, str._for_move_on_reboot.
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 + 0xc0]
call fcn.14000bc00
nop
lea rcx, [rbp + 0x160]
call fcn.14000c340
nop
lea rcx, [rbp + 0x180]
call fcn.14000c340
nop
lea rcx, [rbp + 0x120]
call fcn.14000c340
nop
lea rcx, [rbp + 0x100]
call fcn.14000c340
nop
lea rcx, [rbp + 0xe0]
call fcn.14000c340
nop
lea rcx, [rbp + 0x1c0]
call fcn.14000c340
xor al, al
jmp 0x14001daaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x30]
call fcn.14000b590
nop
mov rdx, rax
lea rcx, [0x14047aa00]
call fcn.14000b740
mov rcx, rax
lea rdx, str.System_error:__
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
movzx eax, r14b
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret