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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0x2b
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
jb 0x4756f7
push ecx
lea eax, [ebp - 0x48]
mov edx, 0x2b
push eax
mov ecx, esi
call fcn.00453cb0
add esp, 8
test eax, eax
jne 0x4756f7
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
call fcn.00478520
test eax, eax
jne 0x4756f7
add esi, 0x2b
push 0x3f
push esi
call fcn.004d6800
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x475552
mov byte [ebx], 0
inc ebx
mov cl, byte [esi]
test cl, cl
je 0x4756bc
cmp cl, 0x2f
je 0x4756bc
mov eax, str..xml
nop word [eax + eax]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x475590
test cl, cl
je 0x47558c
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x475590
add esi, 2
add eax, 2
test cl, cl
jne 0x475570
xor eax, eax
jmp 0x475595
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4756f7
mov eax, dword [edi + 0x74]
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004abe70
push 0
test eax, eax
jne 0x47567f
push 0x80
push 3
push eax
push eax
lea esi, [eax + 1]
mov eax, dword [edi + 0x24]
push accept
mov eax, dword [eax + 0x478]
push dword [eax + 0x488]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4756a7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x4c]
push eax
mov dword [ecx], eax
call fcn.004d9a7e
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x58]
add esp, 4
mov dword [esi], eax
push 0
push ecx
mov ecx, dword [ebp - 0x4c]
push dword [ecx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebx]
jne 0x47564f
mov eax, dword [ebp - 0x54]
mov dword [eax], 5
or dword [edi + 0x80], 1
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c
push dword [esi]
call fcn.004d9a63
mov dword [esi], 0
add esp, 4
mov esi, 1
mov dword [ebx], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c
push ebx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x50]
push eax
call fcn.00474260
mov esi, eax
test esi, esi
jne 0x4756a7
mov eax, dword [ebp - 0x54]
mov dword [eax], 5
or dword [edi + 0x80], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c
push dword [ebp - 0x4c]
mov ecx, edi
push dword [ebp - 0x50]
push str.view.html
call fcn.00474080
test eax, eax
jne 0x4756f7
mov eax, dword [ebp - 0x54]
mov dword [eax], 3
or dword [edi + 0x80], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c