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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f398
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 0x5d], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x10053562
mov eax, dword [edi]
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10053861
xorps xmm0, xmm0
movq qword [ebp - 0x5c], xmm0
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x102087ec
mov eax, dword [ebp - 0x5c]
inc eax
push eax
call fcn.101616aa
add esp, 8
mov ecx, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x100535cc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10053864
mov eax, dword [ebp - 0x5c]
inc eax
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.100f28d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae ecx, dword [ebp - 0x50]
push 3
push 0x101b9354
mov edx, dword [ebp - 0x40]
call fcn.1001ade0
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
call fcn.1007e6c0
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.1007e820
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10053842
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push ecx
push 0x3001
call eax
test eax, eax
jne 0x10053842
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], edi
test edi, edi
je 0x10053842
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
mov ecx, edi
call dword [eax + 0x10]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x100537aa
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.10053890
xor edi, edi
mov dword [ebp - 0x6c], edi
cmp edi, dword [ebp - 0x18]
jae 0x100536e9
mov eax, dword [ebp - 0x64]
add eax, edi
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x100536dd
mov al, byte [eax]
mov byte [ecx], al
inc dword [ebx + 4]
inc edi
jmp 0x100536be
push eax
push ecx
mov ecx, ebx
call fcn.100539d0
inc edi
jmp 0x100536be
mov byte [ebp - 0x5d], 1
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x70]
mov eax, dword [edi]
push dword [ebp - 0x64]
mov ecx, edi
call dword [eax + 0x18]
jmp 0x1005382c
push 2
mov ecx, 0x10208ecc
call fcn.10126020
mov ebx, eax
test ebx, ebx
je 0x1005382c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
xor eax, eax
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 4
push 0x18
push str.Failed_to_DecompressData
lea ecx, [ebp - 0x34]
call fcn.10004820
push 0x62
push str.RC::RCSampleWebFileDataImpl::ReadFileData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_src_virusupload_rcsamplewebfiledataimpl.cpp
lea eax, [ebp - 0x34]
push eax
push 2
mov ecx, 0x10208ecc
call fcn.10126060
cmp ebx, 1
jbe 0x10053820
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10208ecc
call fcn.10126380
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.100047b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10053842
push edi
push 0x3001
call eax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10053852
push eax
call fcn.1016168e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.100047b0
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret 8