Function at 0x4e7b90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0x135
push ebx
push ebp
push esi
push edi
jne 0x4e7bb5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
mov dword [esp + 0xc], 0x135
jmp 0x4eb5e0
mov ebx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, ebx
mov edi, ecx
call fcn.004f0410
xor edx, edx
cmp eax, edx
jne 0x4e7d45
mov esi, dword [ebx + 4]
xor ebp, ebp
cmp esi, 0x1fffffff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
ja 0x4e7c53
cmp esi, edx
je 0x4e7c53
lea eax, [edx + 1]
cmp esi, eax
jb 0x4e7bf8
add eax, eax
cmp eax, esi
jbe 0x4e7bf2
fldz
xor edi, edi
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x4e7c19
mov edx, 1
shl edx, cl
cmp edx, eax
je 0x4e7c3b
lea ecx, [eax*4]
push ecx
push 0
call fcn.0045d790
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
mov edi, eax
je 0x4e7c53
mov ebp, eax
test edi, edi
lea edx, [esi + esi]
mov dword [esp + 0x1c], edx
jne 0x4e7c62
test ebp, ebp
je 0x4e7c53
push ebp
call fcn.0045da90
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
xor ebp, ebp
cmp dword [ebx + 4], ebp
jbe 0x4e7cfc
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x10]
cmp dword [edi + 0x14], 0
je 0x4e7caf
mov eax, 4
call fcn.00410220
cmp eax, 4
je 0x4e7ce2
mov esi, 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e7ca3
push eax
call fcn.0045da90
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x4e7ccc
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4e7ccc
xor edi, edi
jmp 0x4e7cdc
cmp dword [edi + 4], 0
je 0x4e7cd9
mov edi, 2
jmp 0x4e7cdc
mov edi, dword [edi + 0xc]
test edi, edi
mov esi, edi
jne 0x4e7c92
mov ecx, ebx
call fcn.004dc410
mov ecx, dword [esp + 0x28]
add ebp, 1
add ebx, 4
cmp ebp, dword [ecx + 4]
jb 0x4e7c71
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
mov esi, dword [eax]
mov edi, dword [esp + 0x2c]
call fcn.004dabf0
test al, al
jne 0x4e7d32
test dword [esp + 0x1c], 0xfffffffe
je 0x4e7d32
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.004eea90
mov esi, eax
test esi, esi
jne 0x4e7c92
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e7d43
push eax
call fcn.0045da90
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov eax, ebp
call fcn.004f0410
test eax, eax
jne 0x4eb73b
mov eax, 0x14
call fcn.00457920
mov esi, eax
test esi, esi
je 0x4eb66e
mov edx, dword [edi]
mov dword [esp + 0x18], edx
call fcn.00495bc0
lea ebx, [esi + 8]
xor edi, edi
mov eax, ebx
mov dword [esi], vtable.BinaryMetadata.0
call fcn.00487150
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi], vtable.ytEXIFMetadata.0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, dword [ebp + 4]
push edi
lea eax, [eax*4 + 8]
mov ecx, ebx
call fcn.00487200
mov edi, eax
test edi, edi
jne 0x4eb730
mov ebx, dword [esi + 0xc]
test ebx, ebx
jne 0x4eb67a
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [ebp]
mov dword [ebx], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], edx
mov eax, dword [ebp + 4]
mov edi, dword [ecx + 0x10]
add eax, eax
add eax, eax
add ebx, 8
cmp dword [edi + 0x14], 0
mov dword [esp + 0x18], eax
je 0x4eb6c2
call fcn.00410220
cmp eax, dword [esp + 0x18]
je 0x4eb6f2
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
mov edi, 2
call eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4eb6de
push ecx
push 1
push eax
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4eb6de
xor edi, edi
jmp 0x4eb6ee
cmp dword [edi + 4], 0
je 0x4eb6eb
mov edi, 2
jmp 0x4eb6ee
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4eb730
xor edi, edi
cmp dword [ebp + 4], edi
jbe 0x4eb712
lea esp, [esp]
mov ecx, ebx
call fcn.004dc410
add edi, 1
add ebx, 4
cmp edi, dword [ebp + 4]
jb 0x4eb700
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004f07b0
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc