Function at 0x14007d380
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x80
cmp qword [r8 + 0x18], 8
mov rbx, rdx
mov qword [rsp + 0x68], r12
mov rdx, r8
mov qword [rsp + 0x60], r13
mov r12, rcx
mov qword [rsp + 0x50], r15
mov r15, r8
jb 0x14007d3ae
mov rdx, qword [r8]
lea rcx, str.AddWebpToCache__s_n
call fcn.1400821b0
xor r13d, r13d
xorps xmm0, xmm0
cmp qword [rbx + 0x18], 8
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0xa8], r13
jb 0x14007d3dd
mov rbx, qword [rbx]
mov qword [rsp + 0x90], rbp
lea r8, [0x1401ccc58]
mov rdx, rbx
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll__wfopen_s
test eax, eax
jne 0x14007d5ef
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14007d5ef
xor edx, edx
lea r8d, [rax + 2]
call sub.msvcrt.dll_fseek
mov rcx, qword [rsp + 0xa8]
call sub.msvcrt.dll_ftell
test eax, eax
jne 0x14007d448
mov rcx, qword [rsp + 0xa8]
call sub.msvcrt.dll_fclose
jmp 0x14007d5ef
movsxd rbx, eax
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14007a820
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_fseek
mov r9, qword [rsp + 0xa8]
mov r8d, 1
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call sub.msvcrt.dll_fread
mov rcx, qword [rsp + 0xa8]
call sub.msvcrt.dll_fclose
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x98], r13d
mov rdx, rbx
call fcn.140180ad0
mov rbp, rax
test rax, rax
je 0x14007d5ef
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14007d5e7
cmp eax, dword [rsp + 0x98]
jne 0x14007d5e7
mov ecx, ILCombine
call sub.gdiplus.dll_GdipAlloc
test rax, rax
je 0x14007d5c6
mov edx, dword [rsp + 0xa0]
mov rcx, rax
mov r8d, dword [rsp + 0x98]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x26200a
lea r9d, [rdx*4]
call fcn.14007aa10
mov r14, rax
test rax, rax
je 0x14007d5c9
mov ecx, dword [rax + 0x10]
mov dword [rax + 0x10], r13d
test ecx, ecx
jne 0x14007d5c9
mov edx, InitCommonControls
mov qword [rsp + 0x78], rsi
mov r8d, edx
mov qword [rsp + 0x70], rdi
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov rcx, rax
call fcn.14007f370
mov edx, 0x20
mov qword [rsp + 0x20], r13
mov r8d, edx
xor r9d, r9d
mov rcx, r14
mov rsi, rax
call fcn.14007f370
mov edx, 0x30
mov qword [rsp + 0x20], r13
mov r8d, edx
xor r9d, r9d
mov rcx, r14
mov rdi, rax
call fcn.14007f370
mov rcx, rbp
mov rbx, rax
call fcn.1400e6d40
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.14007aee0
mov rdi, qword [rsp + 0x70]
movzx ebx, al
mov rsi, qword [rsp + 0x78]
jmp 0x14007d5d3
mov r14, r13
mov rcx, rbp
call fcn.1400e6d40
xor bl, bl
test r14, r14
je 0x14007d5f1
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
jmp 0x14007d5f1
mov rcx, rbp
call fcn.1400e6d40
xor bl, bl
mov rcx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
test rcx, rcx
je 0x14007d645
mov rdx, qword [rsp + 0x40]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14007d640
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d651
call fcn.14017b7ac
movzx eax, bl
add rsp, 0x80
pop rbx
ret
call fcn.1401b08a0
int3