Function at 0x140001401
Capabilities:
Move file

Disassembly:
jmp 0x1400062e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6d0
lea rdi, [rsp + 0x20]
mov ecx, 0x1ac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6e0]
mov rax, qword [0x140031038]
xor rax, rsp
mov qword [rsp + 0x6c8], rax
mov dword [rsp + 0x20], 0
lea rdx, str..tar
lea rcx, [rsp + 0x38]
call fcn.140001550
nop
lea rdx, [0x140020fef]
lea rcx, [rsp + 0x78]
call fcn.140001550
nop
mov dword [rsp + 0xa4], 0
mov byte [rsp + 0xa8], 1
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x140006b36
lea rdx, [0x140020ffb]
lea rcx, [rsp + 0xb8]
call fcn.140001550
nop
cmp dword [rsp + 0xa4], 0
jne 0x1400063a3
lea rdx, [0x140020ffe]
lea rcx, [rsp + 0x78]
call fcn.14000105f
jmp 0x1400063e1
mov r8d, 0xa
lea rdx, [rsp + 0xf8]
mov ecx, dword [rsp + 0xa4]
call qword [sym.imp.ucrtbased.dll__itoa]
lea rdx, [0x140021044]
lea rcx, [rsp + 0x78]
call fcn.14000105f
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x78]
call fcn.1400010cd
lea rcx, [rsp + 0x128]
call fcn.140001b77
nop
lea rcx, [rsp + 0x168]
call fcn.140001b77
nop
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x6e8]
lea rcx, [rsp + 0x198]
call fcn.14000199c
mov qword [rsp + 0x5b8], rax
mov rax, qword [rsp + 0x5b8]
mov qword [rsp + 0x5c0], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x5c0]
lea rcx, [rsp + 0x1c0]
call fcn.1400013ed
mov qword [rsp + 0x5c8], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d0], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x5d0]
lea rcx, [rsp + 0x1e8]
call fcn.1400013ed
mov qword [rsp + 0x5d8], rax
mov rax, qword [rsp + 0x5d8]
mov qword [rsp + 0x5e0], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x5e0]
lea rcx, [rsp + 0x210]
call fcn.1400013ed
mov qword [rsp + 0x5e8], rax
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x128]
call fcn.14000134d
lea rcx, [rsp + 0x210]
call fcn.14000123a
nop
lea rcx, [rsp + 0x1e8]
call fcn.14000123a
nop
lea rcx, [rsp + 0x1c0]
call fcn.14000123a
nop
lea rcx, [rsp + 0x198]
call fcn.14000123a
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x6f0]
lea rcx, [rsp + 0x238]
call fcn.14000199c
mov qword [rsp + 0x5f0], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x5f8], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x5f8]
lea rcx, [rsp + 0x260]
call fcn.1400013ed
mov qword [rsp + 0x600], rax
mov rax, qword [rsp + 0x600]
mov qword [rsp + 0x608], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x608]
lea rcx, [rsp + 0x288]
call fcn.1400013ed
mov qword [rsp + 0x610], rax
mov rax, qword [rsp + 0x610]
mov qword [rsp + 0x618], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x618]
lea rcx, [rsp + 0x2b0]
call fcn.1400013ed
mov qword [rsp + 0x620], rax
mov rdx, qword [rsp + 0x620]
lea rcx, [rsp + 0x168]
call fcn.14000134d
lea rcx, [rsp + 0x2b0]
call fcn.14000123a
nop
lea rcx, [rsp + 0x288]
call fcn.14000123a
nop
lea rcx, [rsp + 0x260]
call fcn.14000123a
nop
lea rcx, [rsp + 0x238]
call fcn.14000123a
lea rcx, [rsp + 0x128]
call fcn.1400010e6
mov rcx, rax
call qword [sym.imp.lcsyswind.dll_bool___cdecl_prasys_ExistFile_char_const____ptr64_]
movzx eax, al
test eax, eax
je 0x140006b00
lea rcx, [rsp + 0x168]
call fcn.1400010e6
mov qword [rsp + 0x628], rax
lea rcx, [rsp + 0x128]
call fcn.1400010e6
mov rcx, qword [rsp + 0x628]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_rename]
mov dword [rsp + 0x2d8], eax
cmp dword [rsp + 0x2d8], 0xffffffff
jne 0x140006709
lea rax, [rsp + 0x550]
mov qword [rsp + 0x578], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x578]
call fcn.14000118b
mov qword [rsp + 0x630], rax
mov rdx, qword [rsp + 0x630]
lea rcx, [rsp + 0x2e8]
call fcn.140001b7c
lea rcx, [rsp + 0x2e8]
call fcn.1400010e6
mov qword [rsp + 0x638], rax
lea rcx, [rsp + 0x128]
call fcn.1400010e6
mov rcx, qword [rsp + 0x638]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_rename]
mov dword [rsp + 0x2d8], eax
lea rcx, [rsp + 0x2e8]
call fcn.14000123a
mov dword [rsp + 0x20], 1
mov byte [rsp + 0x314], 1
mov dword [rsp + 0x318], 2
movzx eax, byte [rsp + 0x314]
test eax, eax
je 0x140006aee
mov r8d, 0xa
lea rdx, [rsp + 0x328]
mov ecx, dword [rsp + 0x318]
call qword [sym.imp.ucrtbased.dll__itoa]
lea rdx, [0x14002106c]
lea rcx, [rsp + 0xb8]
call fcn.14000105f
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0xb8]
call fcn.1400010cd
lea rdx, [0x1400210a4]
lea rcx, [rsp + 0xb8]
call fcn.1400010cd
lea rcx, [rsp + 0x358]
call fcn.140001b77
nop
lea rcx, [rsp + 0x398]
call fcn.140001b77
nop
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x6e8]
lea rcx, [rsp + 0x3c8]
call fcn.14000199c
mov qword [rsp + 0x640], rax
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0x648], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x648]
lea rcx, [rsp + 0x3f0]
call fcn.1400013ed
mov qword [rsp + reloc.mfc140d.dll_Ordinal_1616], rax
mov rax, qword [rsp + reloc.mfc140d.dll_Ordinal_1616]
mov qword [rsp + reloc.mfc140d.dll_Ordinal_1624], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + reloc.mfc140d.dll_Ordinal_1624]
lea rcx, [rsp + 0x418]
call fcn.1400013ed
mov qword [rsp + 0x660], rax
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0x668], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x668]
lea rcx, [rsp + 0x440]
call fcn.1400013ed
mov qword [rsp + 0x670], rax
mov rdx, qword [rsp + 0x670]
lea rcx, [rsp + 0x358]
call fcn.14000134d
lea rcx, [rsp + 0x440]
call fcn.14000123a
nop
lea rcx, [rsp + 0x418]
call fcn.14000123a
nop
lea rcx, [rsp + 0x3f0]
call fcn.14000123a
nop
lea rcx, [rsp + 0x3c8]
call fcn.14000123a
mov r8, qword [rsp + 0x6e0]
mov rdx, qword [rsp + 0x6f0]
lea rcx, [rsp + 0x468]
call fcn.14000199c
mov qword [rsp + 0x678], rax
mov rax, qword [rsp + 0x678]
mov qword [rsp + 0x680], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x680]
lea rcx, [rsp + 0x490]
call fcn.1400013ed
mov qword [rsp + 0x688], rax
mov rax, qword [rsp + 0x688]
mov qword [rsp + 0x690], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x690]
lea rcx, [rsp + 0x4b8]
call fcn.1400013ed
mov qword [rsp + 0x698], rax
mov rax, qword [rsp + 0x698]
mov qword [rsp + 0x6a0], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x6a0]
lea rcx, [rsp + 0x4e0]
call fcn.1400013ed
mov qword [rsp + 0x6a8], rax
mov rdx, qword [rsp + 0x6a8]
lea rcx, [rsp + 0x398]
call fcn.14000134d
lea rcx, [rsp + 0x4e0]
call fcn.14000123a
nop
lea rcx, [rsp + 0x4b8]
call fcn.14000123a
nop
lea rcx, [rsp + 0x490]
call fcn.14000123a
nop
lea rcx, [rsp + 0x468]
call fcn.14000123a
lea rcx, [rsp + 0x358]
call fcn.1400010e6
mov rcx, rax
call qword [sym.imp.lcsyswind.dll_bool___cdecl_prasys_ExistFile_char_const____ptr64_]
movzx eax, al
test eax, eax
je 0x140006ac6
lea rcx, [rsp + 0x398]
call fcn.1400010e6
mov qword [rsp + 0x6b0], rax
lea rcx, [rsp + 0x358]
call fcn.1400010e6
mov rcx, qword [rsp + 0x6b0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_rename]
mov dword [rsp + 0x508], eax
cmp dword [rsp + 0x508], 0xffffffff
jne 0x140006ab4
lea rax, [rsp + 0x580]
mov qword [rsp + 0x5a8], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x5a8]
call fcn.14000118b
mov qword [rsp + 0x6b8], rax
mov rdx, qword [rsp + 0x6b8]
lea rcx, [rsp + 0x518]
call fcn.140001b7c
lea rcx, [rsp + 0x518]
call fcn.1400010e6
mov qword [rsp + 0x6c0], rax
lea rcx, [rsp + 0x128]
call fcn.1400010e6
mov rcx, qword [rsp + 0x6c0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_rename]
mov dword [rsp + 0x508], eax
lea rcx, [rsp + 0x518]
call fcn.14000123a
mov eax, dword [rsp + 0x318]
inc eax
mov dword [rsp + 0x318], eax
jmp 0x140006ace
mov byte [rsp + 0x314], 0
lea rcx, [rsp + 0x398]
call fcn.14000123a
nop
lea rcx, [rsp + 0x358]
call fcn.14000123a
jmp 0x140006724
mov eax, dword [rsp + 0xa4]
inc eax
mov dword [rsp + 0xa4], eax
jmp 0x140006b08
mov byte [rsp + 0xa8], 0
lea rcx, [rsp + 0x168]
call fcn.14000123a
nop
lea rcx, [rsp + 0x128]
call fcn.14000123a
nop
lea rcx, [rsp + 0xb8]
call fcn.14000123a
jmp 0x140006361
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x5b0], eax
lea rcx, [rsp + 0x78]
call fcn.14000123a
nop
lea rcx, [rsp + 0x38]
call fcn.14000123a
nop
mov rcx, qword [rsp + 0x6e0]
call fcn.14000123a
nop
mov rcx, qword [rsp + 0x6e8]
call fcn.14000123a
nop
mov rcx, qword [rsp + 0x6f0]
call fcn.14000123a
mov eax, dword [rsp + 0x5b0]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140022a90]
call fcn.1400019ce
mov eax, edi
mov rcx, qword [rsp + 0x6c8]
xor rcx, rsp
call fcn.1400015c8
add rsp, 0x6d0
pop rdi
ret