Function at 0x14007f2b0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, r8
mov r14, rdx
mov dword [rbp - 0x70], 0x61004d
mov dword [rbp - 0x6c], 0x720063
mov edi, 0x6f
mov dword [rbp - 0x68], 0x6d006f
mov dword [rbp - 0x64], 0x640065
mov dword [rbp - 0x60], 0x46005c
mov dword [rbp - 0x5c], 0x61006c
mov dword [rbp - 0x58], 0x680073
mov dword [rbp - 0x54], 0x56005c
mov dword [rbp - 0x50], 0x720065
mov dword [rbp - 0x4c], 0x690073
mov dword [rbp - 0x48], 0x6e006f
mov dword [rbp - 0x44], 0x64002e
mov dword [rbp - 0x40], 0x6c006c
xor r15d, r15d
mov word [rbp - 0x3c], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1400ab220
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi - 0x46]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140002330
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140002330
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14001ede0
nop
lea rcx, [rbp - 0x70]
call fcn.140002320
nop
lea rcx, [rsp + 0x40]
call fcn.140002320
lea rcx, [rsp + 0x70]
call fcn.1400206a0
mov byte [rbx], al
test al, al
jne 0x14007f3e1
xor dil, dil
jmp 0x14007f57c
mov qword [rsp + 0x30], r15
mov ecx, 8
call fcn.1400a8f4c
mov qword [rsp + 0x68], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov r12d, 1
mov r9d, r12d
mov r8d, 0x80000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140023680
mov rbx, qword [rsp + 0x30]
xor dil, dil
test al, al
je 0x14007f54f
test rbx, rbx
je 0x14007f54f
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14007f535
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14007f475
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007f535
mov ecx, dword [rsp + 0x68]
shl rcx, 0x20
add rcx, rsi
cmp rcx, 8
jb 0x14007f535
add rcx, 0xfffffffffffffff8
cmp qword [rbx], 0xffffffffffffffff
je 0x14007f535
mov qword [rsp + 0x68], rcx
xor r9d, r9d
lea r8, [rsp + 0x6c]
mov edx, ecx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x68], eax
cmp eax, 0xffffffff
jne 0x14007f4c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007f535
mov dword [rsp + 0x64], r15d
cmp qword [rbx], 0xffffffffffffffff
je 0x14007f535
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov r8d, 4
lea rdx, [rsp + 0x64]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007f535
cmp dword [rsp + 0x64], 0xff2144
jne 0x14007f535
mov dword [rsp + 0x60], r15d
test r14, r14
je 0x14007f535
cmp qword [rbx], 0xffffffffffffffff
je 0x14007f535
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov r8d, 4
mov rdx, r14
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx edi, dil
test eax, eax
cmovne edi, r12d
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14007f54f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14007f54f
mov qword [rbx], 0xffffffffffffffff
test rbx, rbx
je 0x14007f57c
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007f56a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov edx, 8
mov rcx, rbx
call fcn.1400a930c
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x70]
call fcn.140002320
movzx eax, dil
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret