Function at 0x14001275c
Capabilities:
Get disk information
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8d8]
sub rsp, 0x9b0
mov rsi, qword [rcx + 0x20]
lea rbx, [0x14013841c]
xor r13d, r13d
mov qword [rbp + 0x8e0], rsi
mov rdi, rcx
or r15d, 0xffffffff
test rdx, rdx
lea rcx, [rsp + 0x30]
mov r14d, r13d
cmovne rbx, rdx
lea r8d, [r13 + 0x50]
xor edx, edx
call fcn.140001690
xor edx, edx
lea r8d, [r13 + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140001690
mov rcx, qword [rsi + 0x220]
test rcx, rcx
je 0x1400127e3
xor r9d, r9d
lea edx, [r13 + 0x10]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
test rbx, rbx
je 0x140012904
cmp word [rbx], r13w
je 0x140012904
lea rdx, [0x140138348]
mov rcx, rbx
call fcn.1400383a8
test eax, eax
je 0x140012904
lea edx, [r12 + 0x5b]
mov rcx, rbx
call fcn.1400628a0
test rax, rax
jne 0x140012869
lea rcx, [rsi + 0x10]
mov rdx, rbx
call fcn.14003838c
mov rcx, qword [rdi]
lea r8d, [r12 + 8]
xor r9d, r9d
mov word [rbp - 0x40], r13w
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140012860
lea r8, [rbp - 0x40]
mov rdx, rax
mov rcx, rsi
call fcn.1400114f8
movzx eax, word [rbp - 0x40]
jmp 0x14001290c
mov rcx, rbx
call fcn.140037f38
mov ecx, 0x5c
cmp word [rbx + rax*2 - 2], cx
lea rcx, [rbp - 0x40]
jne 0x14001289b
mov rdx, rbx
call fcn.14003838c
movzx eax, word [rbp - 0x40]
cmp eax, 0x61
jb 0x140012895
sub eax, 0x20
mov word [rbp - 0x40], ax
jmp 0x14001290f
xor edx, edx
mov r8d, 0x104
call fcn.140001690
mov rcx, rbx
call fcn.140037f38
test eax, eax
js 0x140012860
mov ecx, 0x5c
mov r14d, eax
cmp word [rbx + r14*2], cx
je 0x1400128ca
sub eax, r12d
jns 0x1400128b9
jmp 0x140012860
inc eax
lea rcx, [rbp - 0x40]
movsxd r8, eax
mov rdx, rbx
add r8, r8
call fcn.14002ce50
movzx eax, word [rbp - 0x40]
cmp eax, 0x61
jb 0x1400128ea
sub eax, 0x20
lea rdx, [rbx + 2]
mov word [rbp - 0x40], ax
lea rdx, [rdx + r14*2]
lea rcx, [rsi + 0x10]
call fcn.14003838c
jmp 0x140012860
movzx eax, r13w
mov word [rbp - 0x40], ax
mov r14d, r12d
mov ecx, 0x41
test ax, ax
je 0x14001297c
movzx r15d, ax
sub r15d, ecx
lea rcx, [rbp - 0x3a]
call fcn.140037f38
lea rdx, [rbp - 0x3a]
lea rcx, [rbp - 0x40]
lea r8, [rax*2 + 2]
call fcn.14002ce50
lea rcx, [rbp - 0x40]
call fcn.140037f38
lea rcx, [rbp - 0x40]
mov word [rbp + rax*2 - 0x3e], r13w
call fcn.140037f38
test eax, eax
js 0x14001297c
movsxd rcx, eax
lea rdx, [rbp - 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, 0x5c
cmp word [rdx], cx
jne 0x140012973
mov word [rdx], r13w
sub rdx, 2
sub eax, r12d
jns 0x14001296a
test r14d, r14d
je 0x140012b76
mov rcx, qword [rdi]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
call qword [sym.imp.USER32.dll_SendMessageW]
movdqa xmm0, xmmword [0x1401230b0]
lea rax, [0x140227f50]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov eax, dword [0x14022815c]
mov edx, 0x1132
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x67
mov dword [rsp + 0x6c], r12d
mov qword [rsp + 0x70], 0xfffb
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0x218], rax
mov ecx, r12d
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffffffff0002
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x140145fa0]
mov r12d, eax
lea rcx, [rbp + 0x3e0]
call fcn.14003838c
mov ebx, r13d
mov r14, r13
mov esi, 0x41
bt r12d, ebx
jae 0x140012aea
lea eax, [rsi + rbx]
mov word [rbp + 0x1d0], r13w
mov r9d, 0x2b8
mov word [rbp + 0x3e0], ax
lea r8, [rbp + 0x5f0]
mov qword [rsp + 0x70], r14
xor edx, edx
mov word [rbp + 0x808], r13w
lea rcx, [rbp + 0x3e0]
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x5f8]
lea r8, [rbp + 0x5f0]
mov r9d, 0x2b8
mov dword [rsp + 0x64], eax
xor edx, edx
mov dword [rsp + 0x68], eax
lea rcx, [rbp + 0x3e0]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x1d0]
call fcn.14003838c
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1132
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc r14
cmp ebx, 0x1f
jle 0x140012a42
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [reloc.WS2_32.dll_accept], r13d
mov rsi, qword [rbp + 0x8e0]
je 0x140012b52
test dword [rsi + 0xc], 0x200
jne 0x140012b52
mov rcx, qword [rdi]
lea rax, [0x140227b40]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x30]
mov eax, dword [0x140228158]
xor r8d, r8d
mov edx, 0x1132
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], 0xfd
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsi + 0x218]
mov r14d, 0x1102
mov rcx, qword [rdi]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
jmp 0x140012b7c
mov r14d, 0x1102
cmp r15d, 0xffffffff
je 0x140012d19
mov rcx, qword [rdi]
mov edx, 0x110a
mov dword [rbp - 0x80], reloc.WS2_32.dll_sendto
mov r8d, 4
mov r9, qword [rsi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x140012d19
movsxd rsi, r15d
mov r15d, 0x113e
mov rcx, qword [rdi]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x78], rbx
mov edx, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rbp - 0x50]
mov r9, rbx
mov rcx, qword [rdi]
cmp rax, rsi
je 0x140012bfe
mov r8, r12
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x140012bbd
jmp 0x140012d19
mov r8, r14
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
lea rsi, [rbp - 0x40]
mov dword [rbp - 0x80], reloc.WS2_32.dll_setsockopt
mov dword [rbp - 0x60], 0x104
cmp word [rbp - 0x40], r13w
je 0x140012cee
mov rcx, qword [rdi]
mov r9, rbx
mov edx, 0x110a
mov r8d, 4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
je 0x140012d19
mov rcx, qword [rdi]
lea rax, [rbp + 0x1d0]
lea r9, [rbp - 0x80]
mov qword [rbp - 0x68], rax
xor r8d, r8d
mov qword [rbp - 0x78], rbx
mov edx, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbp - 0x50], 0xfc
jne 0x140012ca1
mov rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x1d0]
cmp rdx, rax
je 0x140012c8e
lea rcx, [rbp + 0x1d0]
call fcn.14003838c
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call fcn.140038fa0
test eax, eax
je 0x140012cbd
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r12
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test rax, rax
jne 0x140012c4a
test rbx, rbx
je 0x140012d19
mov rcx, qword [rdi]
mov r9, rbx
mov r8, r14
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call fcn.140037f38
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r13w
jne 0x140012c27
mov rcx, qword [rdi]
mov r9, rbx
xor r8d, r8d
mov edx, 0x1114
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
mov r9, rbx
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140011770
lea r11, [rsp + 0x9b0]
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