Function at 0x180065480
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180134010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, rdx
mov dword [rbp - 0x40], 0x61004d
mov dword [rbp - 0x3c], 0x720063
mov dword [rbp - 0x38], 0x6d006f
mov edi, 0x65
mov dword [rbp - 0x34], 0x640065
mov dword [rbp - 0x30], 0x46005c
mov dword [rbp - 0x2c], 0x61006c
mov dword [rbp - 0x28], 0x680073
mov dword [rbp - 0x24], 0x46005c
mov dword [rbp - 0x20], 0x61006c
mov dword [rbp - 0x1c], 0x680073
mov dword [rbp - 0x18], 0x650048
mov dword [rbp - 0x14], 0x70006c
mov dword [rbp - 0x10], 0x720065
mov dword [rbp - 0xc], 0x650053
mov dword [rbp - 8], 0x760072
mov dword [rbp - 4], 0x630069
mov dword [rbp], 0x2e0065
mov dword [rbp + 4], 0x780065
mov dword [rbp + 8], edi
xor r14d, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.1800aaeb0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi - 0x3c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180005e38
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x78]
call fcn.180005e38
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1800753f0
nop
lea rcx, [rsp + 0x78]
call fcn.180005de4
nop
lea rcx, [rsp + 0x50]
call fcn.180005de4
lea rcx, [rbp - 0x68]
call fcn.18006e5b0
test al, al
jne 0x1800655ca
xor dil, dil
jmp 0x180065710
mov qword [rsi], r14
mov ecx, 8
call fcn.1800a7878
mov rbx, rax
mov qword [rsp + 0x70], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x68]
call fcn.18000618c
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x180065685
lea rcx, [rsp + 0x78]
call fcn.180005e80
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.18008af40
test al, al
je 0x18006567b
lea rcx, [rsp + 0x78]
call fcn.18000618c
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
lea rcx, [rsp + 0x78]
call fcn.180005de4
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
jne 0x1800656b6
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800656a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
mov edx, 8
mov rcx, rbx
call fcn.1800a70c4
xor dil, dil
jmp 0x18006570b
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1800656d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1800656d7
xor dil, dil
jmp 0x1800656e8
mov ecx, dword [rsp + 0x70]
shl rcx, 0x20
add rcx, rdi
mov qword [rsi], rcx
mov dil, 1
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800656fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
mov edx, 8
mov rcx, rbx
call fcn.1800a70c4
mov qword [rsp + 0x40], r14
lea rcx, [rbp - 0x68]
call fcn.180005de4
movzx eax, dil
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800a70a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret