Function at 0x4e82c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0x135
push ebx
push ebp
push esi
push edi
jne 0x4e82e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
mov dword [esp + 0xc], 0x135
jmp 0x4eb930
mov ebx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, ebx
mov esi, ecx
call fcn.004f0100
xor edx, edx
cmp eax, edx
jne 0x4e846a
mov esi, dword [ebx + 4]
xor ebp, ebp
cmp esi, 0x1fffffff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
ja 0x4e8383
cmp esi, edx
je 0x4e8383
lea eax, [edx + 1]
cmp esi, eax
jb 0x4e8328
add eax, eax
cmp eax, esi
jbe 0x4e8322
fldz
xor edi, edi
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x4e8349
mov edx, 1
shl edx, cl
cmp edx, eax
je 0x4e836b
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 0x4e8383
mov ebp, eax
test edi, edi
lea edx, [esi + esi]
mov dword [esp + 0x1c], edx
jne 0x4e8392
test ebp, ebp
je 0x4e8383
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 0x4e8421
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x10]
cmp dword [edi + 0x14], 0
je 0x4e83df
mov eax, 4
call fcn.00410220
cmp eax, 4
je 0x4e8412
mov esi, 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e83d3
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 0x4e83fc
push eax
push 1
push 4
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4e83fc
xor edi, edi
jmp 0x4e840c
cmp dword [edi + 4], 0
je 0x4e8409
mov edi, 2
jmp 0x4e840c
mov edi, dword [edi + 0xc]
test edi, edi
mov esi, edi
jne 0x4e83c2
mov ecx, dword [esp + 0x28]
add ebp, 1
add ebx, 4
cmp ebp, dword [ecx + 4]
jb 0x4e83a1
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 0x4e8457
test dword [esp + 0x1c], 0xfffffffe
je 0x4e8457
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.004eea90
mov esi, eax
test esi, esi
jne 0x4e83c2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e8468
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
mov esi, edi
call fcn.004f0100
test eax, eax
jne 0x4eba69
mov eax, 0x14
call fcn.00457920
mov esi, eax
test esi, esi
je 0x4eb9c0
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 0x4eba5e
mov ebx, dword [esi + 0xc]
test ebx, ebx
jne 0x4eb9cc
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 eax, dword [esp + 0x14]
mov dword [ebx], ecx
mov edx, dword [ebp + 4]
mov dword [ebx + 4], edx
mov ebp, dword [ebp + 4]
mov edi, dword [eax + 0x10]
add ebp, ebp
add ebx, 8
add ebp, ebp
cmp dword [edi + 0x14], 0
je 0x4eba10
mov eax, ebp
call fcn.00410220
cmp eax, ebp
je 0x4eba40
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 eax, dword [edi + 4]
test eax, eax
je 0x4eba2c
push eax
push 1
push ebp
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4eba2c
xor edi, edi
jmp 0x4eba3c
cmp dword [edi + 4], 0
je 0x4eba39
mov edi, 2
jmp 0x4eba3c
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4eba5e
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