Function at 0x14001e310
Capabilities:
Delete file
Get disk information
Move file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2000]
mov eax, 0x2100
call fcn.1400221d0
sub rsp, rax
mov rax, qword [0x140061038]
xor rax, rsp
mov qword [rbp + 0x1ff0], rax
mov dword [rsp + 0x60], r8d
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov qword [rbp - 0x48], rcx
xor edi, edi
movups xmm0, xmmword [str.CymulatePlace]
movups xmmword [rbp - 0x38], xmm0
movsd xmm0, qword [0x14004a7b0]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x14004a7b8]
mov dword [rbp - 0x20], eax
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x10]
call fcn.1400243b0
mov rdx, qword [rsi + 0x10]
mov qword [rbp - 0x78], rdx
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rdx
cmp rax, 5
jb 0x14001ea13
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001e3b9
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [rdx + 5]
mov r15d, 7
mov ebx, r15d
lea r14, [rsp + 0x40]
movabs rax, 0x7fffffffffffffff
lea r8d, [r15 + 3]
cmp r12, r15
jbe 0x14001e46e
mov rbx, r12
or rbx, r15
cmp rbx, rcx
jbe 0x14001e403
mov rbx, rcx
lea rcx, [rax + rax]
jmp 0x14001e423
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14001ea1f
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001e453
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001ea1f
mov rcx, rax
call fcn.140021e28
test rax, rax
je 0x14001ea19
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov rdx, qword [rbp - 0x78]
jmp 0x14001e469
test rcx, rcx
je 0x14001e466
call fcn.140021e28
mov r14, rax
mov rdx, qword [rbp - 0x78]
jmp 0x14001e469
mov r14, rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r13
mov rcx, r14
call fcn.140023d10
movsd xmm0, qword [str.__new]
movsd qword [rbx + r14], xmm0
movzx eax, word [0x14004a7c8]
mov word [rbx + r14 + 8], ax
mov word [r14 + r12*2], di
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e527
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e522
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea19
call fcn.140021e64
movdqa xmm0, xmmword [0x1400575f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
cmp rbx, 0xffffffffffffffff
jne 0x14001e569
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x140062930]
mov r10, qword [rcx]
mov r9d, eax
lea r8d, [rbx + 3]
lea rdx, str.SwapMethod___RIPlace:_CreateFileW_failed__d
call qword [r10 + 0x10]
jmp 0x14001e963
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x40]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001e5bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x140062930]
mov rax, qword [rcx]
mov r9d, edi
mov r8d, 2
lea rdx, str.SwapMethod___RIPlace:_WriteFile_failed__d
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001e963
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140028c84
mov rbx, rax
nop
mov r8d, 0xfff
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14001e60d
xor ecx, ecx
call fcn.140028c84
sub rax, rbx
cmp rax, 3
jge 0x14001e63c
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x14001e5d0
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001e61a
mov r8, qword [rsi]
lea rdx, [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x14001e65e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___RIPlace:_DefineDosDeviceW_failed__d
jmp 0x14001e94b
mov edi, 0x57
mov rcx, qword [0x140062930]
mov rax, qword [rcx]
lea r8d, [rdi - 0x55]
lea rdx, str.SwapMethod___RIPlace:_Failed_to_remove_dos_device_definition
call qword [rax + 0x10]
jmp 0x14001e963
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 4
mov qword [rbp - 0x58], r15
movabs rax, 0x5c002e005c005c
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], di
lea rax, [rbp - 0x38]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001e690
cmp rdx, 3
ja 0x14001e6c4
lea rbx, [rdx + 4]
mov qword [rbp - 0x60], rbx
lea r8, [rdx + rdx]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.140023d10
mov word [rbp + rbx*2 - 0x70], di
lea rax, [rbp - 0x70]
jmp 0x14001e6d9
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rcx, [rbp - 0x70]
call fcn.140006200
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov word [rax], di
mov rbx, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rbx
cmp rax, 5
jb 0x14001ea25
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001e731
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [rbx + 5]
lea r14, [rsp + 0x40]
cmp r12, 7
jbe 0x14001e7e7
mov r15, r12
or r15, 7
cmp r15, rcx
jbe 0x14001e774
mov r15, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001e7a4
cmp r15, 0xa
mov eax, 0xa
cmovb r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001ea31
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001e7d0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001ea31
mov rcx, rax
call fcn.140021e28
test rax, rax
je 0x14001ea2b
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14001e7e2
test rcx, rcx
je 0x14001e7df
call fcn.140021e28
mov r14, rax
jmp 0x14001e7e2
mov r14, rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r15
add rbx, rbx
mov r8, rbx
mov rdx, r13
mov rcx, r14
call fcn.140023d10
movsd xmm0, qword [str.__new]
movsd qword [rbx + r14], xmm0
movzx eax, word [0x14004a7c8]
mov word [rbx + r14 + 8], ax
mov word [r14 + r12*2], di
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e893
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e88e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea2b
call fcn.140021e64
movdqa xmm0, xmmword [0x1400575f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001e8e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e8e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea37
call fcn.140021e64
movdqa xmm0, xmmword [0x1400575f0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14001e93a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea3d
call fcn.140021e64
test ebx, ebx
jne 0x14001e963
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___RIPlace:_MoveFileExW_failed__d
mov edi, eax
mov rcx, qword [0x140062930]
mov rax, qword [rcx]
mov r9d, edi
mov r8d, 2
call qword [rax + 0x10]
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
lea r8, str.__new
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140005570
cmp qword [rax + 0x18], 8
jb 0x14001e992
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001e9d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e9d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea0d
call fcn.140021e64
nop
mov rcx, rsi
call fcn.140003b70
mov eax, edi
mov rcx, qword [rbp + 0x1ff0]
xor rcx, rsp
call fcn.140022230
mov rbx, qword [rsp + 0x2158]
add rsp, 0x2100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140028984
nop
call fcn.1400034f0
int3
call fcn.140028984
int3
call fcn.140003450
nop
call fcn.1400034f0
int3
call fcn.140028984
int3
call fcn.140003450
nop
call fcn.140028984
nop
call fcn.140028984
int3