Function at 0x14001f020
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.140022ee0
sub rsp, rax
mov rax, qword [0x140061028]
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 [0x14004b740]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x14004b748]
mov dword [rbp - 0x20], eax
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x10]
call fcn.1400250c0
mov rdx, qword [rsi + 0x10]
mov qword [rbp - 0x78], rdx
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rdx
cmp rax, 5
jb 0x14001f723
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f0c9
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 0x14001f17e
mov rbx, r12
or rbx, r15
cmp rbx, rcx
jbe 0x14001f113
mov rbx, rcx
lea rcx, [rax + rax]
jmp 0x14001f133
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14001f72f
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001f163
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001f72f
mov rcx, rax
call fcn.140022b38
test rax, rax
je 0x14001f729
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov rdx, qword [rbp - 0x78]
jmp 0x14001f179
test rcx, rcx
je 0x14001f176
call fcn.140022b38
mov r14, rax
mov rdx, qword [rbp - 0x78]
jmp 0x14001f179
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.140024a20
movsd xmm0, qword [str.__new]
movsd qword [rbx + r14], xmm0
movzx eax, word [0x14004b758]
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 0x14001f237
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f232
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f729
call fcn.140022b74
movdqa xmm0, xmmword [0x1400583e0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
cmp rbx, 0xffffffffffffffff
jne 0x14001f279
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x140062900]
mov r10, qword [rcx]
mov r9d, eax
lea r8d, [rbx + 3]
lea rdx, str.SwapMethod___RIPlace:_CreateFileW_failed__d
call qword [r10 + 0x10]
jmp 0x14001f673
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 0x14001f2cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x140062900]
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 0x14001f673
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140029994
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 0x14001f31d
xor ecx, ecx
call fcn.140029994
sub rax, rbx
cmp rax, 3
jge 0x14001f34c
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x14001f2e0
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f32a
mov r8, qword [rsi]
lea rdx, [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
jne 0x14001f36e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___RIPlace:_DefineDosDeviceW_failed__d
jmp 0x14001f65b
mov edi, 0x57
mov rcx, qword [0x140062900]
mov rax, qword [rcx]
lea r8d, [rdi - 0x55]
lea rdx, str.SwapMethod___RIPlace:_Failed_to_remove_dos_device_definition
call qword [rax + 0x10]
jmp 0x14001f673
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 0x14001f3a0
cmp rdx, 3
ja 0x14001f3d4
lea rbx, [rdx + 4]
mov qword [rbp - 0x60], rbx
lea r8, [rdx + rdx]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.140024a20
mov word [rbp + rbx*2 - 0x70], di
lea rax, [rbp - 0x70]
jmp 0x14001f3e9
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 0x14001f735
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f441
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 0x14001f4f7
mov r15, r12
or r15, 7
cmp r15, rcx
jbe 0x14001f484
mov r15, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001f4b4
cmp r15, 0xa
mov eax, 0xa
cmovb r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001f741
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001f4e0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001f741
mov rcx, rax
call fcn.140022b38
test rax, rax
je 0x14001f73b
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14001f4f2
test rcx, rcx
je 0x14001f4ef
call fcn.140022b38
mov r14, rax
jmp 0x14001f4f2
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.140024a20
movsd xmm0, qword [str.__new]
movsd qword [rbx + r14], xmm0
movzx eax, word [0x14004b758]
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 0x14001f5a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f73b
call fcn.140022b74
movdqa xmm0, xmmword [0x1400583e0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001f5f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f5f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f747
call fcn.140022b74
movdqa xmm0, xmmword [0x1400583e0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14001f64a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f74d
call fcn.140022b74
test ebx, ebx
jne 0x14001f673
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SwapMethod___RIPlace:_MoveFileExW_failed__d
mov edi, eax
mov rcx, qword [0x140062900]
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 0x14001f6a2
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001f6e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f71d
call fcn.140022b74
nop
mov rcx, rsi
call fcn.140003b70
mov eax, edi
mov rcx, qword [rbp + 0x1ff0]
xor rcx, rsp
call fcn.140022f40
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.140029694
nop
call fcn.1400034f0
int3
call fcn.140029694
int3
call fcn.140003450
nop
call fcn.1400034f0
int3
call fcn.140029694
int3
call fcn.140003450
nop
call fcn.140029694
nop
call fcn.140029694
int3