Function at 0x1400abf90
Capabilities:
Get common file path
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3e8]
sub rsp, 0x4e8
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov edi, r9d
mov r14, r8
xor ebx, ebx
mov r15, rdx
mov rsi, rcx
lea r9, [rbp - 0x7c]
mov r8d, 0x201
mov edx, edi
mov rcx, r14
mov dword [rbp - 0x7c], ebx
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
call fcn.140055b50
lea r9, [rbp - 0x80]
mov r8d, 0x202
mov edx, edi
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.140055b50
cmp dword [rbp - 0x7c], ebx
jle 0x1400ac2e8
cmp dword [rbp - 0x80], ebx
jle 0x1400ac2e8
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
xor edx, edx
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.140053db0
mov rsi, rax
test rax, rax
je 0x1400ac2e8
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x74]
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400eb570
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r9d, dword [rbp + 0x448]
mov r8d, dword [rbp + 0x440]
mov edx, dword [rbp - 0x78]
mov ecx, dword [rbp - 0x74]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x20], rax
call fcn.1400ea980
mov r8d, dword [rbp - 0x80]
cmp r8d, 0x10000
jg 0x1400ac2e8
mov edx, dword [rbp - 0x7c]
mov eax, edi
sub eax, edx
cmp r8d, eax
jg 0x1400ac2e8
cmp edx, edi
jge 0x1400ac2e8
test eax, eax
jle 0x1400ac2e8
movzx eax, r8w
mov r8d, dword [rbp - 0x70]
mov dword [rsp + 0x38], 1
mov dword [rbp - 0x80], eax
movzx eax, dx
mov edx, dword [rbp - 0x6c]
mov dword [rsp + 0x30], ebx
lea r9d, [rbx + 1]
mov rcx, r15
mov dword [rsp + 0x28], 1
mov dword [rbp - 0x7c], eax
mov dword [rsp + 0x20], 1
call fcn.1400ae670
mov rdi, rax
test rax, rax
je 0x1400ac2e8
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rbp - 0x50]
call fcn.1400e47e0
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rbp - 0x5c]
movzx edx, word [rbp - 0x5e]
movzx r8d, word [rbp - 0x60]
movzx eax, word [rbp - 0x5a]
movzx r10d, word [rbp - 0x62]
movzx r11d, word [rbp - 0x66]
movzx r9d, word [rbp - 0x68]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
lea r8, [rbp - 0x50]
lea rdx, str._stemp_t__04d_02d_02d_02d_02d_02d_03d.jpg
lea rcx, [rbp + 0x1c0]
mov dword [rsp + 0x20], r11d
call fcn.1400f98c8
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1400a48e0
test eax, eax
jle 0x1400ac26b
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x50]
xor r9d, r9d
mov r8d, eax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1c0]
mov rdx, rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.140055460
test eax, eax
je 0x1400ac26b
lea rcx, [rbp + 0x1c0]
call fcn.1400eb760
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
jle 0x1400ac2d5
lea rdx, [0x140183378]
lea rcx, [rbp + 0x1c0]
call fcn.1400fafe4
mov rdi, rax
test rax, rax
je 0x1400ac2d5
movsxd rcx, dword [rbp - 0x7c]
movsxd r8, dword [rbp - 0x80]
xor edx, edx
add rcx, r14
call fcn.1400f9ab0
cmp dword [rbp - 0x80], ebx
movsxd rcx, dword [rbp - 0x7c]
cmovl ebx, dword [rbp - 0x80]
mov r9, rdi
mov r8d, 1
movsxd rdx, ebx
add rcx, r14
call fcn.1400fabdc
mov rcx, rdi
call fcn.1400fa904
lea rcx, [rbp + 0x1c0]
call fcn.1400fa630
mov eax, 1
jmp 0x1400ac2ea
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x4e8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret