Function at 0x140055270
Capabilities:
Enumerate disk volumes
Get disk information
Get disk information via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x4c], esi
mov edx, 0x104
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400555e8
lea r14d, [rsi + 0x5c]
nop dword [rax]
lea rcx, [rbp + 0x80]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140055330
dec rax
cmp word [rbp + 0x80], 0x5c
je 0x140055374
cmp word [rbp + 0x82], 0x5c
je 0x140055374
cmp word [rbp + 0x84], 0x3f
je 0x140055374
cmp word [rbp + 0x86], 0x5c
je 0x140055374
cmp word [rbp + rax*2 + 0x80], 0x5c
jne 0x1400555ca
lea rbx, [rax + rax]
cmp rbx, 0x208
jae 0x140055628
mov word [rbp + rbx + 0x80], si
mov r8d, 0x104
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rbp + rbx + 0x80], r14w
test eax, eax
je 0x1400555ca
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x38]
call sub.ntdll.dll_RtlInitUnicodeString
mov dword [rbp - 0x80], Ordinal_50
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x68], 0x40
lea rax, [rbp - 0x38]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x70]
lea r8, [rbp - 0x80]
mov edx, 0x12019f
lea rcx, [rsp + 0x78]
call sub.ntdll.dll_NtOpenFile
test eax, eax
js 0x1400555ca
mov rbx, qword [rsp + 0x78]
cmp rbx, 0xffffffffffffffff
je 0x1400555ca
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x50], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], __WSAFDIsSet
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70048
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400555ca
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x1400555ca
cmp ecx, 1
jne 0x1400555ca
mov rax, qword [rbp]
cmp rax, qword [0x140112158]
jne 0x1400555ca
mov rax, qword [rbp + 8]
cmp rax, qword [0x140112160]
jne 0x1400555ca
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], recvfrom
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400555ca
mov qword [rsp + 0x40], rbx
movsd xmm0, qword [rbp - 0x48]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x50], eax
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
lea rax, [rbp + 0x290]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140055540
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x80]
call fcn.14005a180
lea rcx, [rsp + 0x58]
call fcn.140059be0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x68], xmm1
mov rdx, qword [0x140200848]
cmp rdx, qword [0x140200850]
je 0x1400555b9
mov rax, qword [rsp + 0x40]
mov qword [rdx], rax
movsd xmm0, qword [rsp + 0x48]
movsd qword [rdx + 8], xmm0
mov eax, dword [rsp + 0x50]
mov dword [rdx + 0x10], eax
lea rcx, [rdx + 0x18]
lea rdx, [rsp + 0x58]
call fcn.140009380
add qword [0x140200848], 0x38
jmp 0x1400555ca
lea r8, [rsp + 0x40]
lea rcx, [0x140200840]
call fcn.140002d40
mov r8d, 0x104
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x140055320
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop
lea rcx, [rsp + 0x58]
call fcn.140059be0
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140108a30
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140108440
nop
int3