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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, r8
mov rsi, rdx
mov dword [rbp - 0x50], 0x61004d
mov dword [rbp - 0x4c], 0x720063
mov dword [rbp - 0x48], 0x6d006f
mov dword [rbp - 0x44], 0x640065
mov dword [rbp - 0x40], 0x46005c
mov dword [rbp - 0x3c], 0x61006c
mov dword [rbp - 0x38], 0x680073
mov dword [rbp - 0x34], 0x56005c
mov dword [rbp - 0x30], 0x720065
mov dword [rbp - 0x2c], 0x690073
mov dword [rbp - 0x28], 0x6e006f
mov dword [rbp - 0x24], 0x64002e
mov dword [rbp - 0x20], 0x6c006c
xor r14d, r14d
mov word [rbp - 0x1c], r14w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1800f7810
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.180003bb0
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x38]
call fcn.180003bb0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.180099c60
nop
lea rcx, [rsp + 0x38]
call fcn.180003b80
nop
lea rcx, [rsp + 0x58]
call fcn.180003b80
lea rcx, [rbp - 0x70]
call fcn.180098ee0
mov byte [rbx], al
test al, al
jne 0x180083feb
xor bl, bl
jmp 0x1800841ca
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x78]
call fcn.1800038c0
nop
mov ecx, 8
call fcn.1800d8074
mov qword [rbp - 0x78], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov r15d, 1
mov r9d, r15d
mov r8d, 0x80000000
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.1800a1d10
xor bl, bl
test al, al
je 0x18008418d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18008418d
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x180084169
lea rdx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180084086
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180084164
mov ecx, dword [rbp - 0x78]
shl rcx, 0x20
add rcx, rdi
cmp rcx, 8
jb 0x180084164
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18008418d
cmp qword [rax], 0xffffffffffffffff
je 0x180084169
mov qword [rbp - 0x78], rcx
xor r9d, r9d
lea r8, [rbp - 0x74]
mov edx, ecx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp - 0x78], eax
cmp eax, 0xffffffff
jne 0x1800840e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180084164
mov dword [rbp - 0x7c], r14d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18008418d
cmp qword [rax], 0xffffffffffffffff
je 0x180084169
mov dword [rbp - 0x80], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
mov r8d, 4
lea rdx, [rbp - 0x7c]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180084164
cmp dword [rbp - 0x7c], 0xff2144
jne 0x180084164
mov dword [rbp - 0x80], r14d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18008418d
test rsi, rsi
je 0x180084169
cmp qword [rax], 0xffffffffffffffff
je 0x180084169
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
mov r8d, 4
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx ebx, bl
test eax, eax
cmovne ebx, r15d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18008418d
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x18008418d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18008418d
mov rax, qword [rsp + 0x78]
mov qword [rax], 0xffffffffffffffff
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1800841bf
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800841ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov edx, 8
mov rcx, rdi
call fcn.1800d80b0
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x78]
call fcn.180003800
nop
lea rcx, [rbp - 0x70]
call fcn.180003b80
movzx eax, bl
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1800d8050
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret