Function at 0x14018ad90
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xbe0
mov qword [rsp + 0x298], 0xfffffffffffffffe
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0xbd0], rax
mov rax, qword [rsp + 0xbf0]
add rax, 0xcc8
mov rdx, rax
lea rcx, [rsp + 0x370]
call fcn.14004c270
nop
mov rax, qword [rsp + 0xbf0]
add rax, 0xce8
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.14004c270
nop
lea r8, [rsp + 0x370]
lea rdx, [0x14024dca8]
lea rcx, [rsp + 0x4d8]
call fcn.14018e358
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea r8, str._To
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x4b8]
call fcn.140053a90
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
lea r8, [rsp + 0x350]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x390]
call fcn.14018e1bc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4b8]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4d8]
call fcn.14004c760
nop
lea rax, [rsp + 0x390]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0x10
jb 0x14018aeea
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x14018aef4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x158]
lea rdx, [0x14024d757]
mov ecx, 5
call fcn.140197064
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x370]
call fcn.14019b148
test eax, eax
jne 0x14018af92
lea r8, str.Lsp_dll_will_use_the_file_in_TGP_install_path__dont_need_copy.
lea rdx, [0x14024d796]
mov ecx, 5
call fcn.140197064
mov byte [rsp + 0x34], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x34]
jmp 0x14018beb0
lea rcx, [rsp + 0x330]
call fcn.1401812c8
nop
lea rcx, [rsp + 0x310]
call fcn.1401812c8
nop
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x370]
call fcn.1401d807c
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x350]
call fcn.1401d807c
lea rax, [rsp + 0x330]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 8
jb 0x14018b01d
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x14018b027
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.1401bc8e4
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
je 0x14018b360
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x3d0]
call fcn.14004c200
nop
lea rax, [rsp + 0x310]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 8
jb 0x14018b0b3
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x14018b0bd
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.1401bc8e4
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x128], 0
je 0x14018b34d
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x3b0]
call fcn.14004c200
nop
lea rax, [rsp + 0x3b0]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0x10
jb 0x14018b149
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x14018b153
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x14018b1b4
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x14018b1c4
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.140216750
test eax, eax
jne 0x14018b33a
lea rdx, [0x14024d797]
lea rcx, [rsp + 0x458]
call fcn.14004c200
nop
lea rdx, [0x14024d7ca]
lea rcx, [rsp + 0x438]
call fcn.14004c200
nop
lea rdx, str.Lsp_dll_is_the_latest_version__dont_need_copy.
lea rcx, [rsp + 0x418]
call fcn.14004c200
nop
call fcn.1401ba4e4
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x438]
mov r8d, 5
lea rdx, [rsp + 0x418]
mov rcx, qword [rsp + 0x1a0]
call fcn.1401b9f0c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x418]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x438]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x458]
call fcn.14004c760
nop
mov byte [rsp + 0x35], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3b0]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3d0]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x35]
jmp 0x14018beb0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3b0]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3d0]
call fcn.14004c760
nop
lea rax, [rsp + 0x310]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 8
jb 0x14018b3b4
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x14018b3c4
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 8
jb 0x14018b428
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x14018b438
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1c0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14018be30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Direct_Copy_File_failed_:__d
lea rdx, [0x14024d7cb]
mov ecx, 5
call fcn.140197064
lea rcx, [rsp + 0x1c8]
call fcn.14021865c
mov dword [rsp + 0x3f0], 0
lea rax, [rsp + 0x3f4]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x7b0], ax
lea rax, [rsp + 0x7b2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x3f0]
call fcn.1402185bc
test eax, eax
jne 0x14018b510
lea r9, [rsp + 0x3f0]
lea r8, str._Y_m_d__H_M_S
mov edx, 0x104
lea rcx, [rsp + 0x7b0]
call fcn.140218284
jmp 0x14018b529
lea r8, str._get_local_time_failed_
mov edx, 0x104
lea rcx, [rsp + 0x7b0]
call fcn.1402165f0
xor eax, eax
mov word [rsp + 0x9c0], ax
lea rax, [rsp + 0x9c2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, [rsp + 0x310]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x18], 8
jb 0x14018b59b
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x14018b5ab
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x7b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d8]
lea r8, [0x14024ddc0]
mov edx, 0x104
lea rcx, [rsp + 0x9c0]
call fcn.1401a4b64
xor eax, eax
mov word [rsp + 0x5a0], ax
lea rax, [rsp + 0x5a2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, [rsp + 0x310]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x14018b65b
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
jmp 0x14018b66b
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x1e8], rax
mov r9, qword [rsp + 0x1e8]
lea r8, str._s.tmp
mov edx, 0x104
lea rcx, [rsp + 0x5a0]
call fcn.1401a4b64
lea rdx, [0x14024d7cc]
lea rcx, [rsp + 0x498]
call fcn.14004c200
nop
lea rdx, [0x14024d7cd]
lea rcx, [rsp + 0x478]
call fcn.14004c200
nop
lea rdx, str..dmp
lea rcx, [rsp + 0x578]
call fcn.14004c200
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x220], rax
lea r8, [rsp + 0x370]
lea rdx, str.Copy_LSP_from
lea rcx, [rsp + 0x558]
call fcn.14018e358
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
lea r8, str._To_Temp_File_:
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0x538]
call fcn.140053a90
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
lea r8, [rsp + 0x350]
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x518]
call fcn.14018e1bc
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x228], rax
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x4f8]
call fcn.14018df18
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
call fcn.1401ba4e4
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x498]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x478]
mov r8d, 5
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x240]
call fcn.1401b9f0c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4f8]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x518]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x538]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x558]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x578]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x478]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x498]
call fcn.14004c760
nop
lea rax, [rsp + 0x330]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x18], 8
jb 0x14018b8db
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
jmp 0x14018b8eb
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x250], rax
xor r8d, r8d
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14018bda2
lea rax, [rsp + 0x310]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x18], 8
jb 0x14018b970
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
jmp 0x14018b980
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x260], rax
mov r8d, 9
lea rdx, [rsp + 0x9c0]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.rename_old_lsp_rs__d_errorcode__d
lea rdx, [0x14024d7ce]
mov ecx, 5
call fcn.140197064
cmp dword [rsp + 0x30], 0
jne 0x14018ba4b
mov byte [rsp + 0x36], 0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x36]
jmp 0x14018beb0
lea rax, [rsp + 0x310]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x18], 8
jb 0x14018ba9f
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
jmp 0x14018baaf
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x270], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.copy_new_lsp_rs__d_errorcode__d
lea rdx, [0x14024d7cf]
mov ecx, 5
call fcn.140197064
cmp dword [rsp + 0x30], 0
jne 0x14018bcae
lea rax, [rsp + 0x310]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x18], 8
jb 0x14018bb62
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
jmp 0x14018bb72
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x18], 8
jb 0x14018bbd6
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
jmp 0x14018bbe6
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x290], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.copy_new_lsp_try2_rs:_d__errorcode:_d
lea rdx, [0x14024d815]
mov ecx, 5
call fcn.140197064
cmp dword [rsp + 0x30], 0
jne 0x14018bcae
mov byte [rsp + 0x37], 0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x37]
jmp 0x14018beb0
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x9c0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.delete_old_lsp_rs__d_errorcode__d
lea rdx, [0x14024d816]
mov ecx, 5
call fcn.140197064
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea r8, str.delete_temp_lsp_rs__d_errorcode__d
lea rdx, [0x14024d817]
mov ecx, 5
call fcn.140197064
mov byte [rsp + 0x38], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x38]
jmp 0x14018beb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Copy_LSP_to_temp_file_failed_:__d
lea rdx, [0x14024d84a]
mov ecx, 5
call fcn.140197064
mov byte [rsp + 0x39], 0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x39]
jmp 0x14018beb0
lea r8, str.Copy_LSP_directly_success
lea rdx, [0x14024d84b]
mov ecx, 5
call fcn.140197064
mov byte [rsp + 0x3a], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x310]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x330]
call fcn.1401823d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x390]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x350]
call fcn.14004c760
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x370]
call fcn.14004c760
nop
mov al, byte [rsp + 0x3a]
mov rcx, qword [rsp + 0xbd0]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0xbe0
pop rdi
ret