Function at 0x1400218e0
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, r9
mov qword [rbp], rbx
mov r13, r8
mov rsi, rdx
mov qword [rbp - 0x60], rcx
mov qword [rbp + 8], rcx
mov r14, qword [rbp + 0x1e0]
xor edi, edi
mov dword [rbp - 0x70], edi
mov ecx, 0x10000
call fcn.140038378
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], rdi
mov qword [rsp + 0x48], rdi
xor r12b, r12b
mov byte [rsp + 0x40], r12b
mov qword [rbp - 0x78], 0x10000
mov r15d, dword [rbp + 0x1e8]
lea rdi, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
mov rax, qword [rbx]
lea r9, [rbp - 0x78]
mov r8d, 0x10000
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx + 0x10]
test rax, rax
je 0x14002199d
cmp dword [rax + 4], 0
jne 0x140022192
xor ebx, ebx
mov dword [rsp + 0x78], ebx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x78]
mov r8d, dword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
jne 0x140022045
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rdx, 0xa8a1022bd18ae110
mov qword [rbp - 0x58], rdx
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
mov qword [rbp - 0x50], rax
lea rcx, str._anonymous_namespace::DoBackupWrite
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], 0x18e
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], 0x18e
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x48]
movaps xmmword [rbp + 0x30], xmm1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [0x14005bd40]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 8]
call fcn.14000c540
nop
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0xb0], xmm1
mov ecx, 1
mov dword [rsp + 0x20], ecx
mov r9, rax
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140022dc0
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140021aaf
nop dword [rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021aad
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021a90
xor ebx, ebx
cmp edi, 5
jne 0x140021c59
test r15d, r15d
je 0x140021fd3
mov eax, dword [rsi]
cmp eax, dword [0x14005b480]
sete al
test al, al
jne 0x140021be0
lea edx, [rdi + 0x35]
mov rcx, rsi
call fcn.14003a050
mov rbx, rax
test rax, rax
je 0x140021cde
lea rcx, [rsi + 0xc]
cmp rax, rcx
jae 0x140021cde
cmp word [rax + 2], 0x5c
jne 0x140021cde
mov qword [rbp + 0x158], 7
xor edi, edi
mov qword [rbp + 0x150], rdi
mov word [rbp + 0x140], di
cmp word [rsi], di
jne 0x140021b28
mov r8d, edi
jmp 0x140021b3a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rsi + r8*2], di
jne 0x140021b30
mov rdx, rsi
lea rcx, [rbp + 0x140]
call fcn.140004610
nop
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], rdi
mov word [rbp + 0x120], di
sub rbx, rsi
sar rbx, 1
add rbx, 2
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x120]
call fcn.1400044c0
nop
cmp qword [rbp + 0x158], 8
jb 0x140021b9d
mov rcx, qword [rbp + 0x140]
call fcn.1400376e4
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
cmp qword [rbp + 0x138], 8
jb 0x140021bd6
mov rcx, qword [rbp + 0x120]
call fcn.1400376e4
test bl, bl
je 0x140021cde
jmp 0x140021be2
xor edi, edi
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140020690
mov ecx, eax
test eax, eax
je 0x140021d66
dec ecx
je 0x140021c33
dec ecx
jne 0x140021e3d
mov r15d, edi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140021ca7
lock dec dword [rcx]
jne 0x140021ca7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021c16
jmp 0x140021ca7
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140021ca7
nop dword [rax]
lock dec dword [rcx]
jne 0x140021ca7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021c40
jmp 0x140021ca7
cmp edi, 3
jne 0x140021fd3
test r12b, r12b
je 0x140021fd3
mov rcx, r14
call fcn.140023cf0
mov ecx, eax
test eax, eax
je 0x140021ecc
dec ecx
jne 0x140021e76
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140021ca9
nop
lock dec dword [rcx]
jne 0x140021ca7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021c90
xor ebx, ebx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x78]
mov r8d, dword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
jne 0x14002203e
jmp 0x1400219d3
mov rcx, qword [rsp + 0x50]
mov rdi, rcx
test rcx, rcx
je 0x140021cf3
lock inc dword [rcx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140021d25
nop dword [rax]
or eax, 0xffffffff
lock xadd dword [rdx], eax
dec eax
jne 0x140021d20
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov rcx, rdx
call qword [rax]
mov rdx, rbx
test rbx, rbx
jne 0x140021d00
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rdi
test rcx, rcx
je 0x14002203e
nop dword [rax]
nop word [rax + rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14002203e
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021d40
jmp 0x14002203e
movabs rax, 0xa8a1022bd18ae13c
mov qword [rsp + 0x58], rax
lea rcx, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
mov qword [rsp + 0x60], rcx
lea rax, str._anonymous_namespace::DoBackupWrite
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x1ba
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x70], xmm1
lea rcx, [0x140056930]
call fcn.140005930
mov r9, rax
mov r8d, 0x4000f
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.140033ba0
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140014580
mov rdi, qword [rax]
test rdi, rdi
je 0x140021de2
lock inc dword [rdi]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140021e0d
nop dword [rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021e0d
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021df0
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140021e3d
nop dword [rax + rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021e3d
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021e20
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002203e
nop dword [rax + rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14002203e
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021e50
jmp 0x14002203e
dec ecx
jne 0x140021f9d
mov rdi, qword [0x14007bf60]
test rdi, rdi
je 0x140021e8d
lock inc dword [rdi]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140021ebd
nop word [rax + rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021ebd
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021ea0
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x40], 1
jmp 0x140021f9d
movabs rax, 0xa8a1022bd18ae11d
mov qword [rsp + 0x58], rax
lea rcx, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
mov qword [rsp + 0x60], rcx
lea rax, str._anonymous_namespace::DoBackupWrite
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x19b
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x50], xmm1
lea rcx, [0x140056930]
call fcn.140005930
mov r9, rax
mov r8d, 0x4000f
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140033ba0
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140014580
mov rdi, qword [rax]
test rdi, rdi
je 0x140021f48
lock inc dword [rdi]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140021f6f
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021f6f
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021f52
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140021f9d
nop dword [rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140021f9d
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021f80
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002203e
nop dword [rax + rax]
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14002203e
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140021fb0
jmp 0x14002203e
mov rcx, qword [rsp + 0x50]
mov rdi, rcx
test rcx, rcx
je 0x140021fe8
lock inc dword [rcx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140022017
or eax, 0xffffffff
lock xadd dword [rdx], eax
dec eax
jne 0x140022012
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov rcx, rdx
call qword [rax]
mov rdx, rbx
test rbx, rbx
jne 0x140021ff2
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rdi
test rcx, rcx
je 0x14002203e
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14002203e
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022021
lea rdi, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
test r12b, r12b
jne 0x14002205c
movzx r12d, r12b
cmp dword [rsp + 0x78], 0
mov eax, 1
cmova r12d, eax
mov rbx, qword [rbp - 0x78]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140022089
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x140022077
xor al, al
jmp 0x14002208b
add qword [r14 + 0x10], rbx
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov rdx, qword [r14 + 0x10]
call qword [rax + 8]
mov al, 1
test al, al
jne 0x14002215c
movabs rax, 0xa8a1022bd18ae14c
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
lea rax, str._anonymous_namespace::DoBackupWrite
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x1ca
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0xd0], xmm1
lea rcx, [0x140056930]
call fcn.140005930
mov r9, rax
mov r8d, 0x4000f
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x28]
call fcn.140033ba0
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140014580
mov rdi, qword [rax]
test rdi, rdi
je 0x140022111
lock inc dword [rdi]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022137
nop dword [rax + rax]
lock dec dword [rcx]
jne 0x140022137
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022120
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14002215c
lock dec dword [rcx]
jne 0x14002215c
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022145
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022170
cmp dword [rcx + 4], 0
jne 0x140022275
cmp byte [rsp + 0x40], 0
jne 0x140022275
cmp qword [rbp - 0x78], 0x10000
jne 0x140022275
mov rbx, qword [rbp]
jmp 0x140021964
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx + 0x10]
test rax, rax
je 0x1400221b1
cmp dword [rax + 4], 0x40002
je 0x140022275
movabs rax, 0xa8a1022bd18ae10a
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
lea rax, str._anonymous_namespace::DoBackupWrite
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x188
add rcx, 8
add rcx, rbx
lea rdx, [rbp - 0x18]
call fcn.14000d650
nop
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x110], xmm1
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [rbp + 0x100]
mov rdi, qword [rbp - 0x60]
mov rdx, rdi
mov rcx, r14
call fcn.140022dc0
mov dword [rbp - 0x70], ebx
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140022247
lock dec dword [rcx]
jne 0x140022247
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022230
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022429
lock dec dword [rcx]
jne 0x140022429
mov rbx, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
call qword [rdx]
mov rcx, rbx
test rbx, rbx
jne 0x140022255
jmp 0x140022429
mov ebx, 1
cmp qword [rbp - 0x68], 0
je 0x1400223f1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
jne 0x1400223f1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400222cf
mov eax, dword [rcx + 4]
test eax, eax
je 0x1400222cf
cmp eax, 0x4000f
jne 0x1400223f1
movabs rax, 0xa8a1022bd18ae156
mov qword [rsp + 0x58], rax
lea rcx, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_backup.cpp
mov qword [rsp + 0x60], rcx
lea rdx, str._anonymous_namespace::DoBackupWrite
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x70], 0x1d4
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
mov dword [rbp - 0x40], 0x1d4
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0xf0], xmm1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [0x14005bd40]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x10]
call fcn.14000c540
nop
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp - 0x48]
movaps xmmword [rbp + 0x90], xmm1
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [rbp + 0x80]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.140022dc0
nop
mov rdi, qword [rax]
test rdi, rdi
je 0x140022385
lock inc dword [rdi]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400223a7
nop
lock dec dword [rcx]
jne 0x1400223a7
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022390
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400223cc
lock dec dword [rcx]
jne 0x1400223cc
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400223b5
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400223ec
lock dec dword [rcx]
jne 0x1400223ec
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400223d5
mov ebx, 1
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rbp - 0x60]
mov qword [rdi], rcx
test rcx, rcx
je 0x140022405
lock inc dword [rcx]
mov dword [rbp - 0x70], ebx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140022429
lock dec dword [rcx]
jne 0x140022429
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140022412
mov rcx, qword [rbp - 0x80]
call fcn.140038370
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140038d80
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret