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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65550b
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x238], ebx
push 0x58
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.005e0dd0
mov eax, dword [ebx + 0x248]
add esp, 0xc
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x274], eax
xor eax, eax
mov word [ebp - 0x218], ax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 0x290], 0x58
mov dword [ebp - 0x270], 0x208
mov dword [ebp - 0x284], 0x6b10e0
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x25c], 0x1800
mov dword [ebp - 0x260], 0x6b110c
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x4b156b
push 0
push 0x80
push 3
push 0
push 1
push accept
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x21c], ebx
cmp ebx, 0xffffffff
je 0x4b156b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x224], 0
xor eax, eax
mov byte [ebp - 0x220], 0
push eax
mov word [ebp - 0x21f], ax
lea eax, [ebp - 0x224]
push eax
push 3
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 8
call fcn.00545b74
xor ecx, ecx
mov dword [ebp - 0x234], eax
add esp, 4
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
mov al, byte [ebp - 0x220]
cmp al, 0xff
jne 0x4b12c1
cmp byte [ebp - 0x21f], 0xfe
jne 0x4b1457
add edi, 2
mov edx, 2
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [edi + edi]
mov esi, eax
push ecx
push 0
push esi
call fcn.005e0dd0
add esp, 0x10
push 0
push 0
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x224]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push esi
push ebx
call eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0049f520
push esi
call fcn.00545b61
add esp, 4
jmp 0x4b1507
cmp al, 0xfe
jne 0x4b139d
cmp byte [ebp - 0x21f], 0xff
jne 0x4b1457
lea eax, [edi + 2]
push eax
mov dword [ebp - 0x21c], eax
call fcn.00545b74
push dword [ebp - 0x21c]
mov esi, eax
push 0
push esi
call fcn.005e0dd0
add esp, 0x10
push 0
push 0
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x21c]
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push ebx
call eax
xor edx, edx
shr edi, 1
je 0x4b1336
mov cl, byte [esi + edx*2]
mov al, byte [esi + edx*2 + 1]
mov byte [esi + edx*2], al
mov byte [esi + edx*2 + 1], cl
inc edx
cmp edx, edi
jb 0x4b1323
mov edi, dword [ebp - 0x21c]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [edi + edi]
mov edi, eax
push ecx
push 0
push edi
call fcn.005e0dd0
mov edx, edi
add esp, 0x10
mov ecx, esi
sub edx, esi
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4b1370
push edi
lea ecx, [ebp - 0x234]
call fcn.0049f520
push esi
call fcn.00545b61
push edi
call fcn.00545b61
jmp 0x4b1504
cmp al, 0xef
jne 0x4b1457
cmp byte [ebp - 0x21f], 0xbb
jne 0x4b1457
cmp byte [ebp - 0x21e], 0xbf
jne 0x4b1457
push 0
push 0
push 3
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea esi, [edi + 1]
push esi
call fcn.00545b74
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x228], ebx
call fcn.005e0dd0
add esp, 0x10
lea eax, [ebp - 0x224]
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push ebx
push dword [ebp - 0x21c]
call eax
push 0
push 0
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call ebx
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [edi + edi]
mov esi, eax
push ecx
push 0
push esi
call fcn.005e0dd0
add esp, 0x10
push edi
mov edi, dword [ebp - 0x228]
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
jmp 0x4b14e4
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea esi, [edi + 1]
push esi
call fcn.00545b74
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x228], ebx
call fcn.005e0dd0
add esp, 0x10
lea eax, [ebp - 0x224]
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push ebx
push dword [ebp - 0x21c]
call eax
push 0
push 0
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call ebx
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [edi + edi]
mov esi, eax
push ecx
push 0
push esi
call fcn.005e0dd0
add esp, 0x10
push edi
mov edi, dword [ebp - 0x228]
push esi
push 0xffffffffffffffff
push edi
push 1
push 0
call ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.0049f520
push esi
call fcn.00545b61
push edi
call fcn.00545b61
mov ebx, dword [ebp - 0x21c]
add esp, 8
mov ecx, dword [ebp - 0x238]
push 0xffffffffffffffff
push str.edit_annotation
add ecx, 4
call fcn.00554534
mov edi, eax
test edi, edi
je 0x4b1532
mov edx, dword [edi]
mov ecx, edi
push str.edit
call dword [edx + 4]
test eax, eax
jne 0x4b154d
push 0xffffffffffffffff
push str.edit_annotation
push str.edit
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
call fcn.00414520
add esp, 0x10
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp - 0x234]
push esi
call dword [eax + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00545b61
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret