Function at 0x18000da70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1660]
mov eax, 0x1760
call fcn.18001e540
sub rsp, rax
mov rax, qword [0x18005d060]
xor rax, rsp
mov qword [rbp + 0x1650], rax
mov rdi, rcx
lea r8, [rbp + 0x10]
mov eax, 4
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [r8 - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x18000dac0
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
lea rax, [rbp + 0x10]
mov qword [rcx + 0x8d0], rax
lea rax, [rbp + 0x20]
mov qword [rcx + 0x8d8], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x440]
call fcn.180020550
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x440]
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x18000e24f
lea rdx, str.NTFS
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000dbcd
mov byte [rsp + 0x60], 0x3c
cmp dword [rdi + 0x18], ebx
jne 0x18000e2ac
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x18000e2ac
mov word [rbp + 0x230], bx
lea r8, str.._
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.180027000
mov r8, qword [rdi + 0x8d0]
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.180027a14
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], bx
lea rax, [rbp + 0x230]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x18000dc26
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x50]
call fcn.18000f260
nop
lea rbx, [rbp - 0x50]
mov r14, qword [rbp - 0x50]
mov r15, qword [rbp - 0x38]
cmp r15, 8
cmovae rbx, r14
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x18000dd33
mov r12d, 0x100
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0x650]
call fcn.180020550
lea rcx, [0x180053d9c]
lea rdx, [0x180053d9e]
movzx eax, word [rcx]
cmp ax, r12w
jae 0x18000dcde
movzx eax, al
mov byte [rbp + rax + 0x650], 1
add rcx, 2
cmp rcx, rdx
jne 0x18000dc87
lea rcx, [rsi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop word [rax + rax]
movzx eax, word [rcx]
cmp ax, r12w
jae 0x18000dcd3
cmp byte [rbp + rax + 0x650], 0
jne 0x18000dd2b
cmp rcx, rbx
je 0x18000dd33
sub rcx, 2
jmp 0x18000dcc0
lea rcx, [rsi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov edx, 1
lea rax, [0x180053d9c]
movzx r8d, word [rcx]
cmp word [rax], r8w
je 0x18000dd2b
add rax, 2
sub rdx, 1
jne 0x18000dd10
cmp rcx, rbx
je 0x18000dd33
sub rcx, 2
jmp 0x18000dd00
sub rcx, rbx
sar rcx, 1
jmp 0x18000dd3a
mov rcx, 0xffffffffffffffff
inc rcx
cmp rsi, rcx
jb 0x18000e2dc
mov qword [rbp - 0x40], rcx
lea rax, [rbp - 0x50]
cmp r15, 8
cmovae rax, r14
xor r15d, r15d
mov word [rax + rcx*2], r15w
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r15 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x8e0], rax
cmp rax, 0xffffffffffffffff
je 0x18000e1e8
mov bl, 1
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18000dde6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dde1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e2e2
call fcn.18001ddb8
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x30]
mov edx, 0x900e7
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18000e1da
mov edx, 0x800
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
mov byte [rax], 0x3b
lea rax, [rdi + 0x8e8]
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900f4
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18000e1cc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov rax, qword [rdi + 0x8f8]
mov qword [rbp], rax
mov esi, 1
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000
lea rax, [rbp + 0x650]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0x1f]
lea r8, [rbp - 0x10]
mov edx, 0x900b3
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18000e16b
mov byte [rsp + 0x60], bl
nop word [rax + rax]
mov r13d, dword [rsp + 0x64]
lea r14, [rbp + 0x658]
add r13d, 0xfffffff8
je 0x18000e114
nop word [rax + rax]
movzx r15d, word [r14 + 0x38]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x230]
call fcn.180020550
mov rdx, qword [rdi + 0x8d8]
lea rcx, [r14 + 0x3c]
call fcn.18001fb3c
test rax, rax
je 0x18000e102
mov r9d, r15d
shr r9d, 1
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
lea r8, [r14 + 0x3c]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x78], rax
mov rbx, qword [rdi + 0x8e0]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtCreateFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rbp - 0x30], 0x80008
lea rcx, [rsp + 0x78]
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x80], gethostbyname
mov qword [rbp - 0x78], rbx
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x70], rcx
mov dword [rbp - 0x68], 0x40
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0x2000
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x80]
mov edx, 0x10000000
lea rcx, [rsp + 0x70]
call rax
mov ebx, eax
xor edx, edx
mov r8d, 0x410
mov rcx, qword [rdi + 0x938]
call fcn.180020550
test ebx, ebx
jne 0x18000e04f
mov r8, qword [rdi + 0x938]
mov rdx, qword [rsp + 0x70]
call fcn.18000d7b0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [rsi + 0x2000]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalSize]
cmp rax, rbx
jae 0x18000e077
mov r8d, 0x42
mov edx, ebx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov r12, rax
lea rax, [rbp + 0x230]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x18000e085
mov ecx, esi
add rcx, r12
lea rdx, [rbp + 0x230]
call fcn.18001fe80
lea rcx, [rbp + 0x230]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rcx + rax], r15b
jne 0x18000e0b0
lea ebx, [rax + 1]
add ebx, esi
mov rdx, qword [rdi + 0x938]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x18000e0d0
mov ecx, ebx
add rcx, r12
call fcn.18001fe80
mov rcx, qword [rdi + 0x938]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rcx + rax], r15b
jne 0x18000e0f1
lea esi, [rax + 1]
add esi, ebx
jmp 0x18000e105
xor r15d, r15d
mov eax, dword [r14]
add r14, rax
sub r13d, eax
jne 0x18000df10
mov rax, qword [rbp + 0x650]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000
lea rax, [rbp + 0x650]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rbp - 0x10]
mov edx, 0x900b3
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000def0
movzx ebx, byte [rsp + 0x60]
mov rax, qword [rdi + 0x8e8]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 1
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x20]
mov edx, 0x900f8
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test bl, bl
je 0x18000e26a
mov rcx, qword [rdi + 0x8e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000e26a
mov byte [rsp + 0x60], 0x3f
cmp dword [rdi + 0x18], 0
jmp 0x18000dbad
mov byte [rsp + 0x60], 0x3e
cmp dword [rdi + 0x18], 0
jmp 0x18000dbad
mov byte [rsp + 0x60], 0x3d
cmp dword [rdi + 0x18], r15d
jne 0x18000e209
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18000e2ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e2d6
call fcn.18001ddb8
jmp 0x18000e2ac
mov edx, 0x800
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
mov byte [rax], 0x3b
mov esi, 1
mov edx, esi
mov r8d, 0x42
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x18000e2ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalSize]
cmp dword [rdi + 0x18], 0
jne 0x18000e2a3
mov rcx, qword [rdi + 8]
mov r9, qword [rcx]
mov r8d, eax
mov rdx, rbx
call qword [r9 + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp + 0x1650]
xor rcx, rsp
call fcn.18001d7b0
mov rbx, qword [rsp + 0x17b0]
add rsp, 0x1760
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180024230
nop
call fcn.18000f5e0
nop
call fcn.180024230
int3