Function at 0x14018cc40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rbx, r8
mov edi, edx
mov rsi, rcx
lea rax, vtable.CRegistrationManager.0
mov qword [rcx], rax
add rcx, 8
call fcn.14018d620
nop
lea r12, vtable.CSABString.0
mov qword [rsi + 0x10], r12
xor r13d, r13d
mov qword [rsi + 0x18], r13
mov dword [rsi + 0x20], r13d
lea ecx, [r13 + 0x10]
call fcn.140247068
mov qword [rsi + 0x18], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsi + 0x24], 1
mov qword [rsi + 0x40], r12
mov qword [rsi + 0x48], r13
mov dword [rsi + 0x50], r13d
lea ecx, [r13 + 0x10]
call fcn.140247068
mov qword [rsi + 0x48], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsi + 0x54], 1
mov qword [rsi + 0xf8], rbx
mov qword [rsi + 0x100], r13
test rbx, rbx
jne 0x14018cd47
lea ecx, [rbx + 0x18]
call fcn.14018ef40
mov qword [rbp + 0x500], rax
test rax, rax
je 0x14018cd1b
lea rcx, vtable.CSABSDKFunctions.0
mov qword [rax], rcx
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x14018cd1e
mov rax, r13
mov qword [rsi + 0xf8], rax
xor r8d, r8d
mov edx, 0x1000
mov rcx, rax
call fcn.140011040
mov qword [rsi + 0x100], rax
mov rcx, qword [rsi + 0xf8]
mov qword [rcx + 0x10], rax
mov dword [rsi + 0x28], edi
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov dword [rbp + 0x4f8], r13d
mov dword [rbp + 0x500], r13d
mov dword [rbp + 0x508], r13d
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x90]
call fcn.140249b10
mov r8d, 0x410
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootA]
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x500]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4f8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x14018ce23
mov edi, dword [rbp + 0x4f8]
mov ebx, edi
shr ebx, 0x10
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x70]
call fcn.140249b10
add di, bx
movzx r8d, di
lea rdx, str._08X
lea rcx, [rbp - 0x70]
call fcn.140006bc0
lea rdx, [rbp - 0x6c]
jmp 0x14018ce2a
lea rdx, str.6963
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x40]
call fcn.140250f2c
mov r10d, r13d
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], r10b
jne 0x14018ce50
mov r9d, r13d
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x64], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x68], 0x100
mov dword [rsp + 0x6c], 0x1000
mov dword [rsp + 0x70], 0x10000
mov dword [rsp + 0x74], 0x100000
mov dword [rsp + 0x78], 0x1000000
mov dword [rsp + 0x7c], 0x10000000
nop dword [rax]
mov eax, r9d
movzx ecx, byte [rsp + rax + 0x40]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14018cec9
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x14018cebb
lea eax, [rcx - 0x37]
jmp 0x14018cec9
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x14018cec7
lea eax, [rcx - 0x57]
jmp 0x14018cec9
mov al, 0xff
lea r8d, [rdx - 1]
mov ecx, r8d
movsx edx, al
mov eax, dword [rsp + r8*4 + 0x60]
imul eax, edx
add r10d, eax
inc r9d
mov edx, r8d
test r8d, r8d
jne 0x14018cea0
mov dword [rsi + 0x70], r10d
mov dword [rsi + 0x2c], r13d
mov byte [rsi + 0x30], r8b
xor eax, eax
mov qword [rsi + 0x5c], rax
mov qword [rsi + 0x64], rax
mov byte [rsi + 0x6c], al
mov qword [rsi + 0x78], rax
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x90], rax
mov qword [rsi + 0x98], rax
mov qword [rsi + 0xa0], rax
mov qword [rsi + 0xa8], rax
mov qword [rsi + 0xb0], rax
mov qword [rsi + 0xb8], rax
mov qword [rsi + 0xc0], rax
mov qword [rsi + 0xc8], rax
mov qword [rsi + 0xd0], rax
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], rax
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 8]
call fcn.140191cb0
mov rcx, qword [rsi + 0x18]
call fcn.140250f2c
nop
mov rax, rsi
add rsp, 0x5a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret