Function at 0x140098de0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r14d, r14d
movsxd rdi, edx
mov qword [rsp + 0x58], r14
mov rsi, r8
mov dword [0x14019d4f8], r14d
test rcx, rcx
je 0x1400990ab
movsx edx, byte [rcx]
movzx eax, dl
or al, 0x20
sub al, 0x61
cmp al, 0x19
ja 0x140098e5d
cmp byte [rcx + 1], 0x3a
jne 0x140098e5d
cmp byte [rcx + 2], r14b
jne 0x140098e5d
mov r8d, edx
lea rcx, [rbp + 0x50]
lea rdx, str.DosDevices_c:
call fcn.14004ee10
lea rcx, [rbp + 0x50]
jmp 0x140098edf
mov qword [rsp + 0x68], r14
cmp dl, 0x5c
jne 0x1400990ab
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r14b
jne 0x140098e72
cmp rax, 4
jb 0x140098edf
cmp byte [rcx + 3], 0x5c
jne 0x140098edf
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xc0]
lea rdx, str._s__I64u__I64u
call fcn.1400033a0
cmp eax, 1
jl 0x1400990ab
movzx eax, byte [rbp + 0xc1]
cmp al, 0x5c
je 0x140098ec1
cmp al, 0x2e
jne 0x140098ec8
mov byte [rbp + 0xc1], 0x3f
cmp byte [rbp + 0xc2], 0x2e
jne 0x140098ed8
mov byte [rbp + 0xc2], 0x3f
lea rcx, [rbp + 0xc0]
lea r9, [rsp + 0x50]
mov dl, 1
lea r8, [rsp + 0x60]
call fcn.140098850
test eax, eax
jns 0x140098f00
mov ecx, eax
call fcn.140098790
jmp 0x1400990ba
mov qword [rsp + 0x3f8], rbx
cmp qword [rsp + 0x58], r14
jne 0x140099054
mov rax, qword [0x14019d518]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x58], r14
test rax, rax
jne 0x140098f55
lea rcx, str.NtDll
call fcn.1400980e0
mov rcx, rax
lea rdx, str.NtDeviceIoControlFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019d518], rax
test rax, rax
je 0x140099054
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x90
lea rcx, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov dword [rsp + 0x38], 0x90
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x28], 0x70048
mov qword [rsp + 0x20], rcx
mov rcx, rbx
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call rax
test eax, eax
js 0x140098fca
mov rax, qword [rbp - 0x60]
jmp 0x14009904f
cmp eax, 0xc0000010
jne 0x140099031
xor eax, eax
mov dword [rsp + 0x48], 0x28
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x28
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 0x700a0
mov rcx, rbx
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call qword [0x14019d518]
test eax, eax
js 0x140099054
mov rax, qword [rbp + 0x38]
jmp 0x14009904f
cmp eax, 0xc000000d
jne 0x140099054
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140099054
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [0x14019d530]
mov rbx, qword [rsp + 0x60]
test rax, rax
jne 0x14009908d
lea rcx, str.Ntdll
call fcn.1400980e0
mov rcx, rax
lea rdx, str.NtClose
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019d530], rax
test rax, rax
je 0x140099092
mov rcx, rbx
call rax
mov rax, qword [rsp + 0x58]
xor edx, edx
mov rbx, qword [rsp + 0x3f8]
div rdi
mov qword [rsi], rax
xor eax, eax
jmp 0x1400990ba
mov eax, 2
mov dword [0x14019d4f8], 0x57
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400b2a30
mov rsi, qword [rsp + 0x408]
add rsp, 0x3d0
pop r14
pop rdi
pop rbp
ret