Function at 0x140031630
Capabilities:
Enumerate disk volumes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r12, rcx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
movzx eax, byte [0x140331341]
mov ecx, 0x20a
mov edx, 2
call fcn.140022d40
test rax, rax
je 0x140031a83
mov rsi, rax
mov r8d, 0x20a
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 8], rsi
mov rcx, rsi
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffe
jae 0x140031718
mov ebx, 2
mov eax, 0x20a
mov rdi, qword [rbp - 8]
nop word cs:[rax + rax]
cmp word [rdi + rbx*2 - 4], 0
je 0x1400317c3
cmp word [rdi + rbx*2 - 2], 0
je 0x1400317c9
cmp word [rdi + rbx*2], 0
je 0x1400317cc
add rbx, 3
add rax, 0xfffffffffffffffa
jne 0x1400316d0
lea r8, [0x14021bd10]
mov ecx, 0x106
mov edx, 0x105
call fcn.140216780
jmp 0x140031aa1
call fcn.1400460d0
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 1
test rax, rax
je 0x14003173a
lea rcx, [rbp - 0x38]
call fcn.1400460b0
mov edx, 0x20a
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.140022d50
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140031795
mov rdi, qword [rbp - 0x18]
add rdi, 8
jmp 0x140031779
add rdi, 0x18
dec rsi
je 0x140031795
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x140031770
mov rcx, qword [rdi]
add rdx, rdx
mov r8d, 2
call fcn.140022d50
jmp 0x140031770
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x1400317b5
mov rcx, qword [rbp - 0x18]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.140022d50
mov eax, 8
xor ecx, ecx
xor edx, edx
jmp 0x1400319cc
add rbx, 0xfffffffffffffffe
jmp 0x1400317cc
dec rbx
lea r14, [rbx*2 + 2]
movzx eax, byte [0x140331341]
mov edx, 2
mov rcx, r14
call fcn.140022d40
test rax, rax
je 0x140031a94
mov qword [rbp - 0x48], rax
mov rcx, rax
mov rdx, rdi
mov qword [rbp - 0x50], r14
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rbp - 0x10]
cmp r15, qword [rbp - 0x20]
jne 0x14003181a
lea rcx, [rbp - 0x20]
call fcn.140038dc0
inc rbx
mov rcx, qword [rbp - 0x18]
lea rdx, [r15 + r15*2]
lea rax, [rcx + rdx*8]
mov qword [rcx + rdx*8], rbx
mov r14, qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
lea rdi, [rbp - 0x20]
jmp 0x140031853
inc rbx
mov rcx, qword [rbp - 0x18]
lea rdx, [r15 + r15*2]
lea rax, [rcx + rdx*8]
mov qword [rcx + rdx*8], rbx
mov rcx, qword [rbp - 0x48]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
inc r15
mov qword [rbp - 0x10], r15
mov rcx, rsi
mov rdx, qword [rbp - 8]
mov r8d, 0x105
call r14
test eax, eax
je 0x140031929
mov ebx, 2
mov eax, 0x20a
mov r15, qword [rbp - 8]
nop dword [rax]
cmp word [r15 + rbx*2 - 4], 0
je 0x1400318c0
cmp word [r15 + rbx*2 - 2], 0
je 0x1400318d0
cmp word [r15 + rbx*2], 0
je 0x1400318d3
add rbx, 3
add rax, 0xfffffffffffffffa
jne 0x140031890
jmp 0x140031a5c
add rbx, 0xfffffffffffffffe
jmp 0x1400318d3
dec rbx
lea r13, [rbx*2 + 2]
movzx eax, byte [0x140331341]
mov edx, 2
mov rcx, r13
call fcn.140022d40
test rax, rax
je 0x140031a74
mov qword [rbp - 0x48], rax
mov rcx, rax
mov rdx, r15
mov qword [rbp - 0x50], r13
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rbp - 0x10]
cmp r15, qword [rbp - 0x20]
jne 0x140031840
mov rcx, rdi
call fcn.140038dc0
jmp 0x140031840
call fcn.1400460d0
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x40], 1
test rax, rax
je 0x14003194b
lea rcx, [rbp - 0x38]
call fcn.1400460b0
call fcn.1400460d0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edx
cmp edx, 0x80070012
jne 0x14003196f
test rax, rax
je 0x14003197d
lea rcx, [rbp - 0x40]
call fcn.1400460b0
jmp 0x14003197d
test rax, rax
je 0x14003197d
lea rcx, [rbp - 0x40]
call fcn.1400460b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
test eax, eax
jne 0x1400319ac
call fcn.1400460d0
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x40], 1
test rax, rax
je 0x1400319ac
lea rcx, [rbp - 0x38]
call fcn.1400460b0
mov edx, 0x20a
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.140022d50
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x40]
call fcn.1400334d0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov rcx, r12
mov qword [rbp - 8], r12
call fcn.14001e0c0
mov rsi, qword [rbp - 8]
mov rax, qword [rsi]
test rax, rax
je 0x140031a3c
mov rcx, qword [rsi + 8]
shl rax, 5
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.140022d50
mov rax, qword [rbp - 0x30]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi], xmm0
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x14021bd10]
mov ecx, 0x106
mov edx, 0x105
call fcn.140216780
jmp 0x140031aa1
mov ecx, 2
mov rdx, r13
call fcn.140215f80
jmp 0x140031aa1
mov ecx, 2
mov edx, 0x20a
call fcn.140215fa0
jmp 0x140031aa1
mov ecx, 2
mov rdx, r14
call fcn.140215f80
ud2