Function at 0x1800261a0
Capabilities:
Get disk information
Get disk size
Get volume information via ioctl
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x598
mov rax, qword [0x1800810b0]
xor rax, rsp
mov qword [rsp + 0x588], rax
call fcn.18002cca0
mov qword [rsp + 0x550], rax
mov rax, qword [rsp + 0x5a8]
mov dword [rax], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x30], 0
xor eax, eax
mov rcx, qword [rsp + 0x5a8]
mov word [rcx + 0x38], ax
xor eax, eax
mov rcx, qword [rsp + 0x5a8]
mov word [rcx + 0xa0], ax
mov rax, qword [rsp + 0x5a8]
mov dword [rax + 0x108], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x120], 0
mov rax, qword [rsp + 0x5a8]
mov dword [rax + 0x128], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x168], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x178], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x180], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x188], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x190], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x198], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1a0], 0
mov dword [rsp + 0xd0], 0
jmp 0x180026323
mov eax, dword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 3
jge 0x18002634b
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + rax*8 + 0x148], 0
jmp 0x180026313
mov rax, qword [rsp + 0x5a8]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1d0], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1d8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1e0], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1e8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1f0], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1f8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x200], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1a8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1b0], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1b8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1c0], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x1c8], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x210], 0
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x218], 0
lea rcx, [rsp + 0x558]
call fcn.1800049b8
mov rax, qword [rsp + 0x558]
imul rax, rax, 0x3e8
movzx ecx, word [rsp + 0x560]
add rax, rcx
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x228], rax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x228]
mov qword [rax + 0x238], rcx
mov rax, qword [rsp + 0x5a8]
mov qword [rax + 0x230], 0
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x130], 0
je 0x180026687
mov dword [rsp + 0xd0], 0
jmp 0x1800264fe
mov eax, dword [rsp + 0xd0]
inc eax
mov dword [rsp + 0xd0], eax
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
cmp qword [rcx + rax*8], 0
je 0x18002660f
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
mov r8, qword [rcx + rax*8]
mov rdx, qword [rsp + 0x5b0]
mov rcx, qword [rsp + 0x5a0]
call sym.JkDefrag.dll_public:_int___cdecl_JKDefragLib::MatchMask_wchar_t____ptr64__wchar_t____ptr64____ptr64
cmp eax, 1
jne 0x18002655a
jmp 0x18002660f
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
mov dx, 0x2a
mov rcx, qword [rcx + rax*8]
call fcn.1800031d0
test rax, rax
jne 0x18002660a
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
mov rcx, qword [rcx + rax*8]
call fcn.1800034f4
cmp rax, 3
ja 0x18002660a
mov rax, qword [rsp + 0x5b0]
movzx edx, word [rax]
mov rcx, qword [rsp + 0x5a0]
call fcn.18001d030
movzx eax, ax
mov dword [rsp + 0x568], eax
movsxd rcx, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0x5a8]
mov rdx, qword [rdx + 0x130]
mov rcx, qword [rdx + rcx*8]
movzx edx, word [rcx]
mov rcx, qword [rsp + 0x5a0]
call fcn.18001d030
movzx eax, ax
mov ecx, dword [rsp + 0x568]
cmp ecx, eax
jne 0x18002660a
jmp 0x18002660f
jmp 0x1800264ee
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
cmp qword [rcx + rax*8], 0
je 0x180026687
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x130]
mov rdx, qword [rsp + 0x5a8]
mov rdx, qword [rdx + 0x240]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x5b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rdx + 0x178]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
jmp 0x180027653
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x240]
mov r8, qword [rsp + 0x5b0]
mov rdx, qword [rax + 0x70]
mov rcx, qword [rsp + 0x550]
call fcn.18002c120
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x548]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180026766
lea r8, [rsp + 0x530]
lea rdx, str.SeBackupPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x180026766
mov dword [rsp + 0x538], 1
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x53c], rax
mov dword [rsp + 0x544], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x538]
xor edx, edx
mov rcx, qword [rsp + 0x548]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x180026764
lea r9, [0x18003ea40]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
jmp 0x180026782
lea r9, str.Info:_could_not_elevate_to_SeBackupPrivilege.
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rcx, qword [rsp + 0x5b0]
call fcn.180005178
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x28], 0
jne 0x1800267af
jmp 0x180027653
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.1800034f4
inc eax
mov r8d, eax
mov rax, qword [rsp + 0x5a8]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
jne 0x18002681c
mov rcx, qword [rsp + 0x5b0]
call fcn.1800034f4
inc rax
mov r8, qword [rsp + 0x5b0]
mov rdx, rax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b8c
xor edx, edx
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.1800031d0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x28]
cmp qword [rsp + 0x108], rax
je 0x18002687e
mov rax, qword [rsp + 0x108]
sub rax, 2
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x18002687e
xor eax, eax
mov rcx, qword [rsp + 0x108]
mov word [rcx], ax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.1800034f4
add rax, 2
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x30], 0
jne 0x1800268df
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
jmp 0x180027653
mov rax, qword [rsp + 0x5a8]
mov r9, qword [rax + 0x28]
lea r8, [0x18003e808]
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180003e98
mov rax, qword [rsp + 0x5a8]
add rax, 0xa0
mov r8d, 0x104
mov rdx, rax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
jne 0x180026a22
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.1800034f4
cmp rax, 0x2f
jbe 0x1800269f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x200
lea r8, [rsp + 0x130]
mov edx, eax
mov rcx, qword [rsp + 0x5a0]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SystemErrorStr_unsigned_long_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x240]
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax + 0x140]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
jmp 0x180027653
mov rax, qword [rsp + 0x5a8]
add rax, 0xa0
mov rcx, qword [rsp + 0x5a8]
mov r9, qword [rcx + 0x30]
lea r8, str.._s
mov edx, 0x34
mov rcx, rax
call fcn.180003e98
mov rax, qword [rsp + 0x5a8]
add rax, 0xa0
mov rcx, qword [rsp + 0x5a8]
add rcx, 0x38
mov r8, rax
mov edx, 0x33
call fcn.180004b8c
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
xor edx, edx
mov rcx, rax
call fcn.1800031d0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
cmp qword [rsp + 0x108], rax
je 0x180026aae
mov rax, qword [rsp + 0x108]
sub rax, 2
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x180026aae
xor eax, eax
mov rcx, qword [rsp + 0x108]
mov word [rcx], ax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.1800034f4
add rax, 0xe
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x180026b18
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
jmp 0x180027653
mov rax, qword [rsp + 0x5a8]
mov r9, qword [rax + 0x30]
lea r8, str._shiberfil.sys
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x108]
call fcn.180003e98
lea r8, [0x18003cde4]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x58]
call fcn.1800053d0
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0
jne 0x180026bf2
cmp qword [rsp + 0x58], 0
je 0x180026bf2
mov dword [rsp + 0x50], 0
mov r9, qword [rsp + 0x58]
mov r8d, 1
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.180005704
cmp rax, 1
jne 0x180026bf2
cmp dword [rsp + 0x50], 0
je 0x180026bf2
lea r9, str.Will_not_process_this_disk__it_contains_hybernated_data.
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rcx, qword [rsp + 0x108]
call fcn.180004b4c
jmp 0x180027653
mov rcx, qword [rsp + 0x108]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x240]
mov rdx, qword [rsp + 0x5a8]
mov rdx, qword [rdx + 0x28]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0xe8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x20], 0xffffffffffffffff
jne 0x180026d39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x200
lea r8, [rsp + 0x130]
mov edx, eax
mov rcx, qword [rsp + 0x5a0]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SystemErrorStr_unsigned_long_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [0x18003ebc0]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
jmp 0x180027653
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0xe8]
mov edx, 0x9006f
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x180026db0
mov dword [rsp + 0xf0], 0
jmp 0x180026dbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x180026e5f
cmp dword [rsp + 0xf0], 0xea
je 0x180026e5f
mov rax, qword [rsp + 0x5a8]
add rax, 0x38
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x240]
mov rdx, qword [rsp + 0x5a8]
mov rdx, qword [rdx + 0x28]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x100]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
jmp 0x180027653
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x198], rax
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x180026ee3
xor edx, edx
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x5a8]
div qword [rcx + 0x198]
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x1a0], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x60
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90064
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x1800271e1
mov eax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x1a0], rax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x168], rcx
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0xa8]
cqo
mov rcx, qword [rsp + 0x570]
idiv rcx
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x170], rax
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x178], rcx
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x180], rcx
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x188], rcx
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x578], rax
mov rax, qword [rsp + 0xa8]
cqo
mov rcx, qword [rsp + 0x578]
idiv rcx
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x190], rax
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x580], rax
mov rax, qword [rsp + 0xa8]
cqo
mov rcx, qword [rsp + 0x580]
idiv rcx
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x240]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x108]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x170]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x168]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rax + 0x110]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x180]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9, qword [rax + 0x110]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x190]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 2
mov rcx, qword [rsp + 0x5a8]
mov rcx, qword [rcx + 0x188]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 2
mov r9, qword [rax + 0x110]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rcx, qword [rsp + 0x5b0]
call fcn.1800034f4
add rax, 3
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov rcx, qword [rsp + 0x5a8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x18], 0
jne 0x18002722d
jmp 0x180027653
mov r8, qword [rsp + 0x5b0]
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x18]
call fcn.180004b8c
mov rcx, qword [rsp + 0x5b0]
call fcn.1800034f4
cmp rax, 2
je 0x180027274
mov rcx, qword [rsp + 0x5b0]
call fcn.1800034f4
cmp rax, 3
jne 0x1800272b4
mov rax, qword [rsp + 0x5b0]
movzx edx, word [rax]
mov rcx, qword [rsp + 0x5a0]
call fcn.18001d030
movzx eax, ax
mov r9d, eax
lea r8, str._c:
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x18]
call fcn.180003e98
jmp 0x1800272f2
mov dx, 0x2a
mov rcx, qword [rsp + 0x5b0]
call fcn.1800031d0
test rax, rax
jne 0x1800272f2
mov r9, qword [rsp + 0x5b0]
lea r8, [0x18003e978]
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x18]
call fcn.180003e98
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
lea r9, str.Input_mask:__s
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x550]
call fcn.18002bd00
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x550]
call fcn.18002cd10
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x180027357
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.1800250f0
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x180027387
cmp dword [rsp + 0x5b8], 1
jne 0x180027387
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180024200
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x18002743b
cmp dword [rsp + 0x5b8], 2
je 0x1800273b4
cmp dword [rsp + 0x5b8], 3
jne 0x18002743b
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180024200
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x1800273ef
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.1800248c0
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x180027415
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.1800230d0
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x18002743b
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.1800248c0
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x18002746b
cmp dword [rsp + 0x5b8], 4
jne 0x18002746b
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180023e70
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x18002749b
cmp dword [rsp + 0x5b8], 5
jne 0x18002749b
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180022c50
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x1800274ce
cmp dword [rsp + 0x5b8], 6
jne 0x1800274ce
xor r8d, r8d
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180025b40
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x180027504
cmp dword [rsp + 0x5b8], 7
jne 0x180027504
mov r8d, 1
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180025b40
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x18002753a
cmp dword [rsp + 0x5b8], 8
jne 0x18002753a
mov r8d, 2
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180025b40
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x180027570
cmp dword [rsp + 0x5b8], 9
jne 0x180027570
mov r8d, 3
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180025b40
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax + 8]
cmp dword [rax], 0
jne 0x1800275a6
cmp dword [rsp + 0x5b8], 0xa
jne 0x1800275a6
mov r8d, 4
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call fcn.180025b40
mov r9d, 0xffffffff
mov r8d, 7
mov rdx, qword [rsp + 0x5a8]
mov rcx, qword [rsp + 0x5a0]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::CallShowStatus_struct_DefragDataStruct____ptr64__int__int____ptr64
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x20], 0
je 0x1800275f7
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x20], 0xffffffffffffffff
je 0x1800275f7
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x5a8]
mov rdx, qword [rax + 0x120]
mov rcx, qword [rsp + 0x5a0]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::DeleteItemTree_struct_ItemStruct____ptr64____ptr64
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x28], 0
je 0x180027633
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x5a8]
cmp qword [rax + 0x30], 0
je 0x180027653
mov rax, qword [rsp + 0x5a8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.1800033c0
add rsp, 0x598
ret