Function at 0x140005820
Capabilities:
Move file

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x140011440]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x160]
call fcn.140006db0
nop
lea rcx, [rsp + 0x180]
call fcn.140006b30
nop
lea rax, [rsp + 0x160]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 7
jbe 0x140005885
mov dword [rsp + 0x48], 1
jmp 0x14000588d
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400058bf
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xd0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x140]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.1400014c0
nop
movsxd rax, dword [rsp + 0x54]
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400028a0
nop
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 0xf
jbe 0x14000599a
mov dword [rsp + 0x4c], 1
jmp 0x1400059a2
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1400059d4
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 7
jbe 0x140005a40
mov dword [rsp + 0x50], 1
jmp 0x140005a48
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x140005a7a
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xa8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x180]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0xf
jbe 0x140005b0c
mov dword [rsp + 0x58], 1
jmp 0x140005b14
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x140005b46
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0xf
jbe 0x140005b9f
mov dword [rsp + 0x5c], 1
jmp 0x140005ba7
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140005bdc
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, [rsp + 0x140]
call fcn.140001a50
nop
lea rcx, [rsp + 0x180]
call fcn.140001a50
nop
lea rcx, [rsp + 0x160]
call fcn.1400063f0
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400087b0
add rsp, 0x1b8
ret