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

Disassembly:
push 0x884
mov eax, 0x5a9993
call fcn.00462cd6
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, eax
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x880], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x854], eax
mov byte [ebp - 4], 2
mov edi, eax
test ebx, ebx
jne 0x48e13f
mov edi, 0x80070057
push 0x3b
push str.d:dbs_shodct1116_102044cmd8clientonedrive_setup_standalone_fsmanagercert.cpp
push edi
call fcn.0048259a
jmp 0x48e48a
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
mov dword [ebp - 0x870], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x48e18a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x48e48a
push 0x42
jmp 0x48e12f
lea ecx, [ebp - 0x860]
mov esi, eax
push ecx
push eax
mov dword [ebp - 0x880], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x48e1c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x48e48a
push 0x47
jmp 0x48e12f
cmp dword [ebp - 0x85c], edi
je 0x48e1db
mov edi, 0x800700df
push 0x48
jmp 0x48e12f
push dword [ebp - 0x860]
push dword [ebp - 0x870]
push str.___ls_size:__lu_bytes
push str.Cert
push 1
call fcn.00484717
add esp, 0x14
lea eax, [ebp - 0x864]
push 0x40
pop ebx
cmp dword [ebp - 0x860], ebx
push 0
cmovb ebx, dword [ebp - 0x860]
and dword [ebp - 0x864], edi
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48e24d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x48e48a
push 0x53
jmp 0x48e12f
cmp dword [ebp - 0x864], ebx
je 0x48e261
mov edi, 0x8000ffff
push 0x54
jmp 0x48e12f
push dword [ebp - 0x870]
push ebx
push str.__First__d_bytes_of__ls:
push str.Cert
push 1
call fcn.00484717
add esp, 0x14
mov eax, ebx
shr eax, 4
add eax, 1
mov dword [ebp - 0x890], eax
push 0
pop edx
mov dword [ebp - 0x874], edx
je 0x48e470
xor ecx, ecx
mov dword [ebp - 0x884], 0x10
mov dword [ebp - 0x86c], ecx
mov eax, ebx
sub eax, ecx
cmp eax, 0x10
cmova eax, dword [ebp - 0x884]
mov dword [ebp - 0x87c], eax
test eax, eax
je 0x48e452
push 0x800
lea eax, [ebp - 0x850]
push 0
push eax
call fcn.00463cc0
add esp, 0xc
lea eax, [ebp - 0x858]
xor ecx, ecx
xchg dword [eax], ecx
test ecx, ecx
je 0x48e2f0
call fcn.00415424
xor ecx, ecx
lea eax, [ebp - 0x854]
xchg dword [eax], ecx
test ecx, ecx
je 0x48e303
call fcn.00415424
xor eax, eax
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x87c], eax
jbe 0x48e3dc
mov ecx, dword [ebp - 0x86c]
lea ecx, [ebp + ecx - 0x50]
mov dword [ebp - 0x88c], ecx
mov al, byte [ecx + eax]
mov byte [ebp - 0x865], al
movzx eax, al
push eax
push str._02X
mov dword [ebp - 0x888], eax
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.0041d5f6
mov edi, eax
add esp, 0x10
test edi, edi
js 0x48e4e6
push 3
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x858]
call fcn.0048279e
mov edi, eax
test edi, edi
js 0x48e4df
push dword [ebp - 0x888]
call fcn.00478d43
pop ecx
mov cl, byte [ebp - 0x865]
test eax, eax
push 0x2e
pop edx
movzx ecx, cl
lea eax, [ebp - 0x850]
cmovne edx, ecx
lea ecx, [ebp - 0x854]
push 1
push eax
mov word [ebp - 0x850], dx
call fcn.0048279e
mov edi, eax
test edi, edi
js 0x48e4d8
mov eax, dword [ebp - 0x878]
mov ecx, dword [ebp - 0x88c]
inc eax
mov dword [ebp - 0x878], eax
cmp eax, dword [ebp - 0x87c]
jb 0x48e327
mov eax, dword [ebp - 0x854]
test eax, eax
jne 0x48e3ea
xor ecx, ecx
jmp 0x48e3ed
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x858]
test eax, eax
je 0x48e3fa
add eax, 0xc
push ecx
push eax
push dword [ebp - 0x86c]
lea eax, [ebp - 0x850]
push dword [ebp - 0x870]
push str._ls:___08X____50ls___20ls
push 0x400
push eax
call fcn.0041d5f6
mov edi, eax
add esp, 0x1c
test edi, edi
js 0x48e4ed
lea eax, [ebp - 0x850]
push eax
push str._____ls
push str.Cert
push 1
call fcn.00484717
mov ecx, dword [ebp - 0x86c]
add esp, 0x10
mov edx, dword [ebp - 0x874]
push 0x10
inc edx
pop eax
add ecx, eax
mov dword [ebp - 0x874], edx
mov dword [ebp - 0x86c], ecx
cmp edx, dword [ebp - 0x890]
jb 0x48e2ab
push dword [ebp - 0x870]
push str._____ls:__rest_of_file_omitted_
push str.Cert
push 1
call fcn.00484717
add esp, 0x10
push str.Leaving_LogDetailedFileInfo__
push str.Cert
push edi
call fcn.00482bbb
add esp, 0xc
lea eax, [ebp - 0x854]
xor ecx, ecx
xchg dword [eax], ecx
test ecx, ecx
je 0x48e4b0
call fcn.00415424
xor ecx, ecx
lea eax, [ebp - 0x858]
xchg dword [eax], ecx
test ecx, ecx
je 0x48e4c3
call fcn.00415424
test esi, esi
je 0x48e4ce
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.00462c80
ret 4
push 0x70
jmp 0x48e12f
push 0x6a
jmp 0x48e12f
push 0x69
jmp 0x48e12f
push 0x74
jmp 0x48e12f