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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
mov eax, 0x11a0
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x1178], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov dword [rsp + 0x1170], 0
lea rdx, [0x14021e1c8]
lea rcx, [rsp + 0xf8]
call fcn.140002100
nop
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400f9916
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x11b0]
call fcn.140001430
mov eax, dword [rsp + 0x1170]
or eax, 1
mov dword [rsp + 0x1170], eax
lea rcx, [rsp + 0xf8]
call fcn.140001490
mov rax, qword [rsp + 0x11b0]
jmp 0x1400f9d93
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x11b8]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1400f9970
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x11b0]
call fcn.140001430
mov eax, dword [rsp + 0x1170]
or eax, 1
mov dword [rsp + 0x1170], eax
lea rcx, [rsp + 0xf8]
call fcn.140001490
mov rax, qword [rsp + 0x11b0]
jmp 0x1400f9d93
lea rcx, [rsp + 0x40]
call fcn.14008257c
nop
lea rcx, [rsp + 0xc8]
call fcn.140077c20
nop
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x100], 0x41
jmp 0x1400f99ae
movzx eax, byte [rsp + 0x100]
add al, 1
mov byte [rsp + 0x100], al
movsx eax, byte [rsp + 0x100]
cmp eax, 0x5a
jg 0x1400f9b51
movsx ecx, byte [rsp + 0x100]
sub ecx, 0x41
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x70]
and eax, ecx
test eax, eax
jne 0x1400f99df
jmp 0x1400f999d
lea rcx, [rsp + 0x928]
call fcn.140002de0
nop
movsx r8d, byte [rsp + 0x100]
lea rdx, [0x14021e1f8]
lea rcx, [rsp + 0x928]
call fcn.140002c70
lea rcx, [rsp + 0x928]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x1400f9a37
lea rcx, [rsp + 0x928]
call fcn.140001490
jmp 0x1400f999d
lea rcx, [rsp + 0x928]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400f9a63
lea rcx, [rsp + 0x928]
call fcn.140001490
jmp 0x1400f999d
lea rcx, [rsp + 0x928]
call fcn.14000f8f0
mov rcx, rax
mov dword [rsp + 0x38], 0x400
lea rax, [rsp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x930]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x924]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x920]
mov r8d, 0x400
lea rdx, [rsp + 0x940]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1400f9ad4
lea rcx, [rsp + 0x928]
call fcn.140001490
jmp 0x1400f999d
mov edx, dword [rsp + 0x920]
lea rcx, [rsp + 0x40]
call fcn.14000cdc0
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x1158]
lea rcx, [rsp + 0x928]
call fcn.1400022a0
mov qword [rsp + 0x1180], rax
mov rax, qword [rsp + 0x1180]
mov qword [rsp + 0x1188], rax
mov rdx, qword [rsp + 0x1188]
lea rcx, [rsp + 0xc8]
call fcn.14000ca60
nop
lea rcx, [rsp + 0x1158]
call fcn.140001490
nop
lea rcx, [rsp + 0x928]
call fcn.140001490
jmp 0x1400f999d
lea rdx, str.GetFileInformationByHandleEx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400f9bcc
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x11b0]
call fcn.140001430
mov eax, dword [rsp + 0x1170]
or eax, 1
mov dword [rsp + 0x1170], eax
lea rcx, [rsp + 0xc8]
call fcn.140077ee4
nop
lea rcx, [rsp + 0x40]
call fcn.14008259c
nop
lea rcx, [rsp + 0xf8]
call fcn.140001490
mov rax, qword [rsp + 0x11b0]
jmp 0x1400f9d93
lea rcx, [rsp + 0xf0]
call fcn.140002de0
nop
mov r8d, dword [rsp + 0xac]
lea rdx, str.VOL__08X_
lea rcx, [rsp + 0xf0]
call fcn.140002c70
mov dword [rsp + 0x1150], 0
jmp 0x1400f9c14
mov eax, dword [rsp + 0x1150]
add eax, 1
mov dword [rsp + 0x1150], eax
movsxd rbx, dword [rsp + 0x1150]
lea rcx, [rsp + 0x40]
call fcn.140012e60
cmp rbx, rax
jge 0x1400f9c75
movsxd rdx, dword [rsp + 0x1150]
lea rcx, [rsp + 0x40]
call fcn.14000d010
mov r11, rax
mov eax, dword [rsp + 0xac]
cmp dword [r11], eax
jne 0x1400f9c73
movsxd rdx, dword [rsp + 0x1150]
lea rcx, [rsp + 0xc8]
call fcn.14001edf0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140002db0
jmp 0x1400f9c75
jmp 0x1400f9c03
mov qword [rsp + 0x68], 0x210
mov rcx, qword [rsp + 0x68]
call fcn.140072250
mov qword [rsp + 0x1160], rax
mov rax, qword [rsp + 0x1160]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov dword [rax], 0x104
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x88]
mov edx, 2
mov rcx, qword [rsp + 0x11b8]
call qword [rsp + 0x78]
test eax, eax
je 0x1400f9d14
mov r8, qword [rsp + 0x88]
add r8, 4
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x20], r8
mov r9, rax
mov r8, qword [rsp + 0xf0]
lea rdx, str._s_.s
lea rcx, [rsp + 0xf8]
call fcn.140002c70
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1168], rax
mov rcx, qword [rsp + 0x1168]
call fcn.140072248
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x11b0]
call fcn.140001430
mov eax, dword [rsp + 0x1170]
or eax, 1
mov dword [rsp + 0x1170], eax
lea rcx, [rsp + 0xf0]
call fcn.140001490
nop
lea rcx, [rsp + 0xc8]
call fcn.140077ee4
nop
lea rcx, [rsp + 0x40]
call fcn.14008259c
nop
lea rcx, [rsp + 0xf8]
call fcn.140001490
mov rax, qword [rsp + 0x11b0]
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x11a0
pop rbx
ret