Function at 0x14000efc0
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x14000efc0
push rbp
push r12
sub rsp, 0x88
mov r10, r9
mov rbp, r8
mov r12, rdx
test r9, r9
je 0x14000f288
mov eax, dword [r8]
lea rcx, [rsp + 0x70]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + 8]
mov dword [rcx + 8], eax
mov eax, dword [r8 + 0xc]
mov dword [rcx + 0xc], eax
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rcx, rdx
mov rax, r8
shr rcx, 0x20
shr rax, 0x20
cmp eax, ecx
jne 0x14000f021
cmp edx, r8d
je 0x14000f288
test r12, r12
je 0x14000f288
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x80], r13
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, r10
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000f071
xor eax, eax
jmp 0x14000f0ca
xor edx, edx
mov rcx, rax
mov qword [rsp + 0xa8], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f278
test eax, eax
je 0x14000f278
mov rcx, rsi
mov qword [rsp + 0xb0], rdi
call fcn.14001eec8
mov rdi, rax
test rax, rax
jne 0x14000f0e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x80]
add rsp, 0x88
pop r12
pop rbp
ret
lea r9, [rsp + 0xb8]
mov r8d, esi
mov rdx, rax
mov rcx, rbx
mov dword [rsp + 0xb8], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11d, dword [rsp + 0xb8]
test r11d, r11d
je 0x14000f135
mov rdx, r11
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x14000f144
mov rcx, rdi
call fcn.14001ee00
xor eax, eax
jmp 0x14000f0ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, dword [rsp + 0xb8]
mov rdx, rdi
mov rcx, rax
call fcn.14001f780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call fcn.14001ee00
lea r8, [rsp + 0x70]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x70], r13
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
jne 0x14000f13d
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea r9, [0x140058dc0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r13
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x70], r13
test ebx, ebx
jne 0x14000f13d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f13d
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x60], r13d
mov rax, qword [rcx]
lea rdx, [rsp + 0x64]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov r9d, dword [rbp + 4]
mov r11d, dword [rbp + 0xc]
mov r8d, dword [rbp]
mov r10d, dword [rbp + 8]
mov rdi, qword [rbx]
mov qword [rsp + 0x50], r13
mov eax, ecx
sub r11d, r9d
neg eax
sub r10d, r8d
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r11d
mov rcx, rbx
mov rdx, r12
mov dword [rsp + 0x20], r10d
call qword [rdi + 0x40]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, 1
jmp 0x14000f0ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000f0c2
xor eax, eax
add rsp, 0x88
pop r12
pop rbp
ret