Function at 0x140098480
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 [0x14019d468], r14d
test rcx, rcx
je 0x14009874b
movsx edx, byte [rcx]
movzx eax, dl
or al, 0x20
sub al, 0x61
cmp al, 0x19
ja 0x1400984fd
cmp byte [rcx + 1], 0x3a
jne 0x1400984fd
cmp byte [rcx + 2], r14b
jne 0x1400984fd
mov r8d, edx
lea rcx, [rbp + 0x50]
lea rdx, str.DosDevices_c:
call fcn.14004f440
lea rcx, [rbp + 0x50]
jmp 0x14009857f
mov qword [rsp + 0x68], r14
cmp dl, 0x5c
jne 0x14009874b
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r14b
jne 0x140098512
cmp rax, 4
jb 0x14009857f
cmp byte [rcx + 3], 0x5c
jne 0x14009857f
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.140002d80
cmp eax, 1
jl 0x14009874b
movzx eax, byte [rbp + 0xc1]
cmp al, 0x5c
je 0x140098561
cmp al, 0x2e
jne 0x140098568
mov byte [rbp + 0xc1], 0x3f
cmp byte [rbp + 0xc2], 0x2e
jne 0x140098578
mov byte [rbp + 0xc2], 0x3f
lea rcx, [rbp + 0xc0]
lea r9, [rsp + 0x50]
mov dl, 1
lea r8, [rsp + 0x60]
call fcn.140097f00
test eax, eax
jns 0x1400985a0
mov ecx, eax
call fcn.140097e50
jmp 0x14009875a
mov qword [rsp + 0x3f8], rbx
cmp qword [rsp + 0x58], r14
jne 0x1400986f4
mov rax, qword [0x14019d488]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x58], r14
test rax, rax
jne 0x1400985f5
lea rcx, str.NtDll
call fcn.1400977b0
mov rcx, rax
lea rdx, str.NtDeviceIoControlFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019d488], rax
test rax, rax
je 0x1400986f4
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 0x14009866a
mov rax, qword [rbp - 0x60]
jmp 0x1400986ef
cmp eax, 0xc0000010
jne 0x1400986d1
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 [0x14019d488]
test eax, eax
js 0x1400986f4
mov rax, qword [rbp + 0x38]
jmp 0x1400986ef
cmp eax, 0xc000000d
jne 0x1400986f4
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400986f4
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [0x14019d4a0]
mov rbx, qword [rsp + 0x60]
test rax, rax
jne 0x14009872d
lea rcx, str.Ntdll
call fcn.1400977b0
mov rcx, rax
lea rdx, str.NtClose
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019d4a0], rax
test rax, rax
je 0x140098732
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 0x14009875a
mov eax, 2
mov dword [0x14019d468], 0x57
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400b1f80
mov rsi, qword [rsp + 0x408]
add rsp, 0x3d0
pop r14
pop rdi
pop rbp
ret