Function at 0x140080cb0
Capabilities:
Read file on windows

Disassembly:
push r13
push r15
sub rsp, 0x88
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, rcx
mov rcx, qword [rcx]
mov r13, rdx
xor r8d, r8d
xor edx, edx
call fcn.1401c1f88
mov r9, qword [r15]
mov edx, 8
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x48]
call fcn.1401c1e14
test rax, rax
jne 0x140080d02
mov eax, 4
jmp 0x140080faf
cmp byte [rsp + 0x48], 0x89
jne 0x140080faa
cmp byte [rsp + 0x49], 0x50
jne 0x140080faa
cmp byte [rsp + 0x4a], 0x4e
jne 0x140080faa
cmp byte [rsp + 0x4b], 0x47
jne 0x140080faa
cmp byte [rsp + 0x4c], 0xd
jne 0x140080faa
cmp byte [rsp + 0x4d], 0xa
jne 0x140080faa
cmp byte [rsp + 0x4e], 0x1a
jne 0x140080faa
cmp byte [rsp + 0x4f], 0xa
jne 0x140080faa
mov rcx, qword [r15]
mov qword [rsp + 0x68], r12
xor r12d, r12d
call fcn.1401c1a94
test eax, eax
jne 0x140080fa1
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], r14
mov rcx, r15
call fcn.140066b70
mov r9, qword [r15]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x40]
movsxd r14, eax
call fcn.1401c1e14
mov ecx, dword [rsp + 0x40]
cmp ecx, dword [str.IEND]
je 0x140080f82
movzx ebx, byte [rsp + 0x43]
movzx edi, byte [rsp + 0x42]
movzx esi, byte [rsp + 0x41]
movzx ebp, cl
mov rcx, qword [r15]
call fcn.1401c2310
mov dword [rsp + 0x30], r14d
lea rcx, str._x___c_c_c_c__d__n
mov r9d, esi
mov r8d, ebp
mov edx, eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call fcn.1401bdc60
mov eax, dword [rsp + 0x40]
cmp eax, dword [str.IDAT]
jne 0x140080e22
mov rcx, qword [r15]
mov r12d, 1
mov edx, r14d
mov r8d, r12d
call fcn.1401c1f88
jmp 0x140080f6a
test r12d, r12d
jne 0x140080e3c
mov rcx, qword [r15]
lea r8d, [r12 + 1]
mov edx, r14d
call fcn.1401c1f88
jmp 0x140080f6a
test r14d, r14d
jle 0x140080f6a
lea eax, [r14 + 1]
movsxd rcx, eax
call fcn.1401bee78
mov r9, qword [r15]
mov r8d, 1
mov rcx, rax
mov rdx, r14
mov rdi, rax
call fcn.1401c1e14
mov byte [r14 + rdi], 0
mov ecx, dword [rsp + 0x40]
cmp ecx, dword [0x1401f7008]
jne 0x140080ea5
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140080e80
lea rbx, [rdi + 1]
add rbx, rax
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140080e94
sub r14d, eax
dec r14d
jmp 0x140080ee0
cmp ecx, dword [0x1401f7000]
jne 0x140080f62
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140080eb5
lea rbx, [rdi + 5]
add rbx, rax
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140080ed0
sub r14d, eax
sub r14d, 5
test r14d, r14d
je 0x140080f62
xor eax, eax
lea rdx, str.Comment
nop
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140080f2c
cmp rax, 8
jne 0x140080ef0
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140080f10
lea r8d, [rax + 1]
mov rdx, rbx
mov rcx, r13
call fcn.14005a720
jmp 0x140080f62
lea rdx, str.XML:com.adobe.xmp
mov rcx, rdi
call fcn.1401c3380
test eax, eax
jne 0x140080f62
or rax, 0xffffffffffffffff
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140080f43
lea r9d, [rax + 1]
mov r8, rbx
mov edx, 3
mov rcx, r13
call fcn.14005a950
mov rcx, rdi
call fcn.1401be23c
mov rcx, r15
call fcn.140066b70
mov rcx, qword [r15]
call fcn.1401c1a94
test eax, eax
je 0x140080d91
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
xor eax, eax
jmp 0x140080faf
mov eax, 2
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x88
pop r15
pop r13
ret