Function at 0x180095350
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1803c56a8]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov rdi, qword [rcx + 0x48]
mov rbx, qword [rcx + 0x40]
cmp rbx, rdi
je 0x1800953c6
nop dword [rax + rax]
lea rcx, [rbx + 8]
call fcn.18001c780
add rbx, 0x40
cmp rbx, rdi
jne 0x1800953b0
mov rbx, qword [r14 + 0x40]
mov qword [r14 + 0x48], rbx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
mov byte [rbp - 0x6e], 1
lea rcx, [rbp - 0x70]
call qword [r14 + 0x20]
xor r15d, r15d
movzx eax, byte [rbp - 0x68]
cmp byte [rbp - 0x6f], 1
cmove r15d, eax
mov dword [rsp + 0x50], r15d
mov ecx, 0x128
call fcn.1800eb720
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18009544c
lea rcx, [rbp]
call fcn.1800425b0
nop
mov esi, 1
mov dword [rsp + 0x40], esi
mov r9, qword [r14 + 0x20]
mov r8, rax
mov rdx, r14
mov rcx, rbx
call fcn.1800940e0
mov rdi, rax
jmp 0x18009544e
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x78], rdi
test sil, 1
je 0x180095467
lea rcx, [rbp + 8]
call fcn.18001c780
xor r12b, r12b
test r15b, r15b
je 0x180095765
nop dword [rax]
nop word [rax + rax]
xor r15b, r15b
xor r13b, r13b
mov ecx, reloc.WS2_32.dll_getservbyport
call fcn.1800eb720
mov rbx, rax
mov qword [rbp - 0x80], rax
mov byte [rdi + 0x68], r12b
mov byte [rdi + 0xaa], r12b
mov byte [rdi + 0x69], r15b
mov byte [rdi + 0xb0], r15b
mov byte [rdi + 0x6a], r13b
mov byte [rdi + 0xb1], r13b
mov r8d, 6
mov dl, send
lea rcx, [rbp - 0x18]
call fcn.180042590
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], reloc.WS2_32.dll_getservbyport
mov byte [rbp - 0x14], 0x80
mov rax, qword [rdi]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0x2710
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [rax + 0x1f0]
cmp al, 1
jne 0x180095730
movzx eax, byte [rbx]
sub al, 4
cmp al, 1
ja 0x180095730
lea rcx, [rbp - 0x70]
call fcn.1800425b0
mov byte [rbp - 0x70], r12b
mov byte [rbp - 0x6f], r15b
mov byte [rbp - 0x6e], r13b
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
mov word [rbp - 0x34], ax
mov byte [rbp - 0x32], al
mov rax, qword [rbx + 8]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x47], xmm0
mov eax, dword [rbx + 0x20]
mov dword [rbp - 0x36], eax
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x30], 6
mov byte [rbp - 0x2e], r12b
mov byte [rbp - 0x28], r15b
mov byte [rbp - 0x27], r13b
lea rcx, [rbp - 0x30]
call qword [r14 + 0x20]
cmp byte [rbp - 0x2f], 1
jne 0x180095596
movzx eax, byte [rbp - 0x25]
cmp al, 0x80
je 0x180095596
movzx esi, al
add si, 0x41
jmp 0x1800956ce
movups xmm0, xmmword [str..X:]
movups xmmword [rbp + 0x40], xmm0
mov r14b, 2
nop dword [rax]
nop dword [rax + rax]
movzx esi, r14b
add si, 0x40
mov word [rbp + 0x48], si
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x1800956b5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax - 2]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180095639
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 2]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800956b5
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x50], 8
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x41018
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1800956ac
cmp byte [rbp + 0x54], r12b
jne 0x1800956ac
cmp byte [rbp + 0x56], r15b
je 0x18009570b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14b
cmp r14b, 0x1a
jbe 0x1800955b0
xor esi, esi
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
movzx edx, si
lea rcx, [rbp - 0x68]
call fcn.18001c810
lea rdx, [0x1802d31c8]
lea rcx, [rbp - 0x68]
call fcn.18001d2b0
lea rsi, [r14 + 0x40]
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x180095716
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1800943b0
add qword [rsi + 8], 0x40
jmp 0x180095726
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800956c4
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rsi
call fcn.180093ea0
nop
lea rcx, [rbp - 0x68]
call fcn.18001c780
nop
mov edx, reloc.WS2_32.dll_getservbyport
mov rcx, rbx
call fcn.18000db00
inc r13b
cmp r13b, 7
jbe 0x180095486
inc r15b
cmp r15b, 7
jbe 0x180095483
inc r12b
cmp r12b, byte [rsp + 0x50]
jb 0x180095480
test rdi, rdi
je 0x18009577b
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x1e8]
mov al, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180277e00
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret