Function at 0x14014cb50
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x8b0], rbx
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rsi, rdx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
lea r14, [rcx + 0x48]
mov rdx, qword [r14]
or rdi, 0xffffffffffffffff
test rdx, rdx
je 0x14014cbc3
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14014cbb0
test rax, rax
jne 0x14014cd83
cmp byte [rcx + 8], r15b
je 0x14014cd18
lea rdx, [rsp + 0x60]
mov ecx, 0x3ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [rsp + 0x60], r15w
je 0x14014cd18
mov rbx, r15
nop dword [rax]
movzx r8d, word [rsp + rbx*2 + 0x60]
lea rdx, str._c:ProgramDataHitmanPro
lea rcx, [rsp + 0x30]
call fcn.1401ff700
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140201da0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014cc2b
test al, 0x10
jne 0x14014cc6d
cmp dword [rsp + 0x28], 0
jle 0x14014cc40
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
nop dword [rax]
inc rbx
cmp word [rsp + rbx*2 + 0x60], 0
jne 0x14014cc40
inc rbx
cmp dword [rsp + 0x38], 0
jle 0x14014cc5f
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
cmp word [rsp + rbx*2 + 0x60], 0
je 0x14014cd18
jmp 0x14014cbf0
cmp dword [rsp + 0x28], 0
jle 0x14014cc7e
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
mov qword [rsp + 0x28], r15
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.1401ff260
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r9d, 0xa
lea r8, str.Quarantine
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
mov rdx, rax
mov rcx, r14
call fcn.1401fd670
nop
cmp dword [rsp + 0x48], 0
jle 0x14014ccf5
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x28], 0
jle 0x14014cd07
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x14014cd18
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rax, qword [r14]
test rax, rax
je 0x14014cd2f
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14014cd20
test rdi, rdi
jne 0x14014cd83
lea rdx, str.Quarantine
lea rcx, [rsp + 0x40]
call fcn.1400f2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rcx, r14
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov eax, dword [r14 + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [r14]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
mov rcx, r14
call fcn.140200570
nop
cmp dword [rsp + 0x48], 0
jle 0x14014cd83
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov qword [rsi + 8], r15
mov edx, dword [r14 + 0xc]
test edx, edx
jne 0x14014cd9b
lea rax, [0x140348ca0]
mov qword [rsi], rax
jmp 0x14014cdba
mov rcx, rsi
call fcn.1401ff260
movsxd r9, dword [r14 + 0xc]
mov ecx, dword [rsi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [r14]
mov rcx, qword [rsi]
call fcn.1402bd21c
mov edx, dword [r14 + 0xc]
mov rcx, rsi
call fcn.140200570
mov rax, rsi
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x870
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret