Function at 0x180009390
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc50]
sub rsp, 0xd50
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rbp + 0xc40], rax
mov r15, r9
mov qword [rbp - 0x60], r9
mov rsi, r8
mov qword [rsp + 0x70], r8
mov ebx, edx
mov dword [rsp + 0x60], edx
mov r14, rcx
mov qword [rbp - 0x68], rcx
mov r12, qword [rbp + 0xcb0]
mov qword [rbp - 0x58], r12
lea edi, [rdx + 0xf]
mov dword [rsp + 0x44], edi
cmp edx, edi
jae 0x180009cd7
lea edi, [rdx - 0x65]
mov dword [rsp + 0x64], edi
lea rdx, [0x180000000]
xor r13d, r13d
lea r9d, [r13 + 0x5c]
lea r10d, [r13 + 0x62]
lea r8d, [r13 + 0x35]
lea r11d, [r13 + 0x72]
mov eax, dword [rsp + 0x44]
nop dword [rax + rax]
cmp edi, 0x1c
ja case.default.0x180009433
mov ecx, dword [rdx + rdi*4 + 0x9d48]
add rcx, rdx
jmp rcx
mov dword [rbp + 0x5be], 0x32
mov eax, dword [0x1801deb48]
mov dword [rbp + 0x5f8], eax
movzx eax, word [0x1801deb4c]
mov word [rbp + 0x5fc], ax
jmp case.0x180009433.1
mov r8d, 1
lea rdx, [0x1801deb8e]
lea rcx, [rbp + 0x5f8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov qword [rbp - 0x70], 0xffffffffffffffff
jmp 0x180009ca6
mov dword [rbp + 0x5ee], 0x5c
jmp case.0x180009433.1
mov word [rbp + 0x5a8], r13w
mov dword [rbp + 0x5b0], 0x69006c
mov word [rbp + 0x5b4], r10w
mov dword [rbp + 0x5b6], 0x610065
mov dword [rbp + 0x5ba], 0x330079
jmp case.0x180009433.1
mov word [rbp + 0x5f2], r13w
mov dword [rbp + 0x598], 0x73006d
mov dword [rbp + 0x59c], 0x630076
jmp case.0x180009433.1
mov eax, dword [0x1801debca]
mov dword [rbp + 0x5e4], eax
movzx eax, word [0x1801debce]
mov word [rbp + 0x5e8], ax
mov dword [rbp + 0x5ea], 0x3a0042
mov word [rbp + 0x5ee], r13w
jmp case.0x180009433.1
mov word [rbp + 0x5f0], r8w
jmp case.0x180009433.1
lea rax, [rbp + 0x5f8]
mov qword [rbp + 0x590], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetTapePosition]
mov dword [rsp + 0x50], eax
xor r15d, r15d
mov dword [rsp + 0x68], r15d
lea rbx, [rbp + 0x580]
mov qword [rsp + 0x58], rbx
nop dword [rax + rax]
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov r13d, 0x76
mov r12d, 5
nop dword [rax]
cmp r12d, 5
ja case.default.0x1800095ae
mov eax, r12d
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x9dbc]
add rcx, rdx
jmp rcx
mov byte [rsp + 0x48], 1
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800095c0
lea rcx, [rbp + 0x50]
call fcn.180021c00
mov r14, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x68]
cmp r14, rdi
jae 0x180009603
lea rax, [r14 + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdi, 8
cmovae rax, qword [rbp + 0x50]
mov dword [rax + r14*2], PathMakeUniqueName
jmp case.default.0x1800095ae
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x180009d41
lea r15, [r14 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x180009632
mov rbx, rdx
jmp 0x180009653
mov rcx, rdi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rdi, rax
jbe 0x180009648
mov rbx, rdx
jmp 0x180009653
lea rax, [rcx + rdi]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.180021b00
mov rsi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rdi, 8
jb 0x1800096d9
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + rsi], PathMakeUniqueName
xor r15d, r15d
lea rdx, [rdi*2 + 2]
cmp rdx, 0x1000
jb 0x1800096be
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180009d0d
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
mov qword [rbp + 0x50], rsi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
jmp case.default.0x1800095ae
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + rsi], PathMakeUniqueName
xor r15d, r15d
mov qword [rbp + 0x50], rsi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
jmp case.default.0x1800095ae
mov rdi, qword [rsi + 0x10]
mov rbx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180009711
mov rbx, qword [rsi]
cmp rdi, 8
jae 0x18000972a
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x70], xmm0
mov r14d, 7
mov r15, qword [rbp + 0x70]
jmp 0x180009769
mov r14, rdi
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rbp + 0x70]
call fcn.180021b00
mov r15, rax
mov qword [rbp + 0x70], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x80], rdi
lea rsi, [rbp + 0x70]
cmp r14, 8
cmovae rsi, r15
cmp rdi, 8
jae 0x180009799
movups xmm0, xmmword [rsi]
mov qword [rbp + 0xa8], 7
jmp 0x1800097e9
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x90]
call fcn.180021b00
mov qword [rbp + 0x90], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xa8], rbx
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0xa0], rdi
mov rax, qword [rbp + 0x68]
cmp rax, 8
jb 0x180009834
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000982f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009d06
call fcn.1800d6a9c
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x60], xmm0
cmp r14, 8
jb 0x180009882
lea rdx, [r14*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x18000987a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009d0d
mov rcx, r15
call fcn.1800d6a9c
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
xor r15d, r15d
jmp case.default.0x1800095ae
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x50], rax
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 3
lea rdx, [0x1801dec48]
lea rcx, [rbp + 0x50]
call fcn.180021c00
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rbp - 0x78], rax
jmp case.default.0x1800095ae
mov ecx, r15d
movzx eax, byte [rsp + 0x48]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
cmovne ecx, eax
mov byte [rsp + 0x48], cl
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rcx, qword [rbp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbp - 0x48], rax
mov edx, r15d
movzx ecx, byte [rsp + 0x40]
cmp qword [rbp - 0x78], 0
cmovne edx, ecx
mov byte [rsp + 0x40], dl
cmp byte [rsp + 0x48], 0
je 0x180009941
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x58]
jmp case.default.0x1800095ae
mov byte [rsp + 0x40], 1
jmp case.default.0x1800095ae
cmp byte [rsp + 0x40], 0
je 0x18000996d
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
cmp qword [rbp - 0x48], 0
jne case.default.0x1800095ae
mov ecx, 0xe0
nop dword [rax]
mov eax, ecx
sub eax, 0xe0
je 0x180009a40
cmp eax, 0x62
jne 0x180009a84
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0x70]
mov edx, dword [rsp + 0x6c]
lea rcx, [rbp + 0x610]
call qword [sym.imp.SHELL32.dll_PathMakeUniqueName]
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x820]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8d, 0x104
lea rdx, [rbp + 0xa30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180009d19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009d14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsd xmm0, qword [str.Deri]
movsd qword [rbp + 0x70], xmm0
movsd xmm0, qword [str.vCoar]
movsd qword [rbp + 0x78], xmm0
mov eax, dword [0x1801dec68]
mov dword [rbp + 0x80], eax
mov eax, dword [0x1801dec6c]
mov dword [rbp + 0x82], eax
mov dword [rbp + 0x86], 0x58
mov dword [rsp + 0x6c], 0x104
add ecx, 0x62
cmp ecx, 0x1a4
jb 0x180009980
dec r13d
dec r12d
cmp r13d, 0x70
ja 0x180009590
mov rax, qword [rbp + 0x68]
cmp rax, 8
jb 0x180009ae3
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009ade
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009d1d
call fcn.1800d6a9c
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
add rbx, 8
mov qword [rsp + 0x58], rbx
cmp eax, 3
jb 0x180009570
cmp dword [rsp + 0x50], 0
jne 0x180009b2e
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rbp - 0x80]
mov edx, 1
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetTapePosition]
mov ebx, dword [rsp + 0x60]
mov edi, dword [rsp + 0x64]
mov r14, qword [rbp - 0x68]
mov r15, qword [rbp - 0x60]
mov r12, qword [rbp - 0x58]
xor r13d, r13d
jmp 0x180009ca6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov qword [rbp + 0x44], rax
mov dword [rbp + 0x4c], eax
mov dword [rbp - 0x20], 0x70
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea ecx, [rdx + 1]
lea r8d, [r9 + 5]
call qword [sym.imp.KERNEL32.dll_FindActCtxSectionGuid]
lea rax, [0x18000b5d0]
mov qword [rsp + 0x58], rax
mov eax, dword [r14]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8, rsi
mov rdx, r12
mov ecx, 0x9d
call fcn.1800186f0
jmp 0x180009ca6
mov dword [rbp + 0x5a0], 0x310072
mov dword [rbp + 0x5a4], 0x300032
jmp case.0x180009433.1
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x580], xmm0
movsd xmm1, qword [rbp + 0x80]
movsd qword [rbp + 0x590], xmm1
lea rax, [rbp + 0x598]
mov qword [rbp + 0x580], rax
lea rax, [rbp + 0x5b0]
mov qword [rbp + 0x588], rax
jmp case.0x180009433.1
mov word [rbp + 0x5fe], r13w
mov r8d, 4
lea rdx, [0x1801ded3a]
lea rcx, [rbp + 0x5f8]
jmp 0x180009ca0
mov r8d, 3
lea rdx, [0x1801ded7c]
lea rcx, [rbp + 0x5da]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + 0x5e0], r13w
mov r8d, 2
lea rdx, [0x1801dedc6]
jmp 0x180009c99
mov dword [rbp + 0x5c8], 0x550053
mov dword [rbp + 0x5cc], 0x460052
mov word [rbp + 0x5d0], r13w
mov r8d, 5
lea rdx, [0x1801dede0]
lea rcx, [rbp + 0x5c8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r11d, 0x72
lea r10d, [r11 - 0x10]
lea r9d, [r11 - 0x16]
lea r8d, [r11 - 0x3d]
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x44]
inc ebx
mov dword [rsp + 0x60], ebx
inc edi
mov dword [rsp + 0x64], edi
cmp ebx, eax
jb 0x180009420
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rbp + 0xc40]
xor rcx, rsp
call fcn.1800d7250
mov rbx, qword [rsp + 0xd98]
add rsp, 0xd50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800d6a9c
xor al, al
jmp 0x180009cdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x5c8]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExW]
mov al, 1
jmp 0x180009cdc
call fcn.180017390
int3