Function at 0x18013ab20
Capabilities:
Get disk information
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x180515618]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov ebx, edx
mov r13, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
xor r8d, r8d
lea rdx, [0x1801eb938]
call fcn.1800d0280
mov dword [rsp + 0x20], 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x18013abca
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x18013b03b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.180186390
mov r9d, 0x104
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rdi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x18013ac1e
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18013ac00
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.1800d0280
jmp 0x18013b032
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x18013b032
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18013ac50
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.1800d0280
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rax, [rbp - 0x40]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18013ac91
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1800d0280
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.180186390
mov dword [rbp - 0x48], 0x3a0041
mov word [rbp - 0x44], r14w
mov r12d, r14d
nop
mov r8d, 0x104
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x18013ae61
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
add eax, 0xfffffffe
mov r8d, eax
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x38]
call fcn.1800d0280
nop
lea rdi, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdi, qword [rsp + 0x38]
lea r15, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r15, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
cmp rsi, rax
ja 0x18013ae03
test rsi, rsi
jne 0x18013ad6c
mov rax, r14
jmp 0x18013ae06
sub rax, rsi
inc rax
lea r14, [r15 + rax*2]
mov rax, r15
movzx r11d, word [rdi]
nop dword [rax]
mov rcx, r14
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x18013adac
cmp word [rax], r11w
je 0x18013ada9
cmp rcx, 1
je 0x18013adac
dec rcx
add rax, 2
cmp word [rax], r11w
jne 0x18013ad96
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x18013ae00
mov r9, rsi
mov rcx, rdi
movzx edx, word [rdx]
movzx r8d, r11w
cmp dx, r11w
jb 0x18013adef
mov r10, rax
sub r10, rdi
cmp dx, r11w
ja 0x18013adef
cmp r9, 1
je 0x18013adf5
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x18013add1
add rax, 2
jmp 0x18013ad80
sub rax, r15
sar rax, 1
xor r14d, r14d
jmp 0x18013ae06
xor r14d, r14d
mov rax, rbx
test rax, rax
je 0x18013ae77
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18013ae4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013ae48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013b07a
call fcn.1801690e8
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
inc word [rbp - 0x48]
inc r12d
cmp r12d, 0x1a
jge 0x18013afdb
jmp 0x18013acd0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
lea rax, [rbp - 0x48]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18013aea0
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.1800d0280
nop
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1801388e0
nop
mov rdx, rax
mov rcx, r13
call fcn.18013a160
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x18013af21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013af1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013b06e
call fcn.1801690e8
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18013af73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013af6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013b074
call fcn.1801690e8
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18013afc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013afc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013b07a
call fcn.1801690e8
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18013b019
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013b014
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013b068
call fcn.1801690e8
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r13
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.180169060
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18019241c
nop
call fcn.18019241c
nop
call fcn.18019241c
nop
call fcn.18019241c
int3