Function at 0x4e9e40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0x135
push ebx
push ebp
push esi
push edi
jne 0x4e9e65
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
mov dword [esp + 0xc], 0x135
jmp 0x4eb750
mov ebx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, ebx
mov edi, ecx
call fcn.004f0730
xor edx, edx
cmp eax, edx
jne 0x4ea030
mov ebp, dword [ebx + 4]
xor edi, edi
cmp ebp, 0xfffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
ja 0x4e9f37
cmp ebp, edx
je 0x4e9f37
lea esi, [edx + 1]
cmp ebp, esi
jb 0x4e9eb6
lea ebx, [ebx]
add esi, esi
cmp esi, ebp
jbe 0x4e9eb0
fldz
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x4e9ed7
mov eax, 1
shl eax, cl
jmp 0x4e9ed9
xor eax, eax
cmp eax, esi
je 0x4e9f22
xor eax, eax
test esi, esi
je 0x4e9f16
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or eax, ecx
call fcn.00457920
mov edi, eax
test edi, edi
je 0x4e9f37
push 8
mov ebx, 0x4e73e0
mov eax, esi
mov ecx, edi
call fcn.00401380
mov ebx, dword [esp + 0x28]
mov eax, edi
test eax, eax
mov dword [esp + 0x18], eax
mov edx, eax
je 0x4e9f37
mov edi, eax
add ebp, ebp
test edx, edx
mov dword [esp + 0x1c], ebp
jne 0x4e9f46
test edi, edi
je 0x4e9f37
mov eax, edi
call fcn.00457930
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
xor esi, esi
cmp dword [ebx + 4], esi
jbe 0x4e9fd8
mov ebx, edi
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x10]
cmp dword [edi + 0x14], 0
je 0x4e9f8d
mov eax, 8
call fcn.00410220
cmp eax, 8
je 0x4e9fbe
mov edi, 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e9f81
call fcn.00457930
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x4e9faa
push eax
push 1
push 8
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4e9faa
xor edi, edi
jmp 0x4e9fba
cmp dword [edi + 4], 0
je 0x4e9fb7
mov edi, 2
jmp 0x4e9fba
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4e9f74
mov edx, ebx
call fcn.004dc440
mov ecx, dword [esp + 0x28]
add esi, 1
add ebx, 8
cmp esi, dword [ecx + 4]
jb 0x4e9f53
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 0x4ea021
test ebp, 0xfffffffe
je 0x4ea021
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.004dbf90
mov esi, eax
test esi, esi
je 0x4ea021
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ea015
call fcn.00457930
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ea02e
call fcn.00457930
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.004f0730
test eax, eax
jne 0x4eb8ab
mov eax, 0x14
call fcn.00457920
mov esi, eax
test esi, esi
je 0x4eb7de
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*8 + 8]
mov ecx, ebx
call fcn.00487200
mov edi, eax
test edi, edi
jne 0x4eb8a0
mov ebx, dword [esi + 0xc]
test ebx, ebx
jne 0x4eb7ea
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 eax, eax
add ebx, 8
cmp dword [edi + 0x14], 0
mov dword [esp + 0x18], eax
je 0x4eb834
call fcn.00410220
cmp eax, dword [esp + 0x18]
je 0x4eb864
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 0x4eb850
push ecx
push 1
push eax
push ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
je 0x4eb850
xor edi, edi
jmp 0x4eb860
cmp dword [edi + 4], 0
je 0x4eb85d
mov edi, 2
jmp 0x4eb860
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4eb8a0
xor edi, edi
cmp dword [ebp + 4], edi
jbe 0x4eb882
jmp 0x4eb870
mov edx, ebx
call fcn.004dc440
add edi, 1
add ebx, 8
cmp edi, dword [ebp + 4]
jb 0x4eb870
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