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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x60b3c4]
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 ebx, ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
jne 0x47b12e
call fcn.0044e1c0
test eax, eax
jns 0x47b12b
or ecx, 0xffffffff
jmp 0x47b134
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov edi, ecx
mov dword [ebx + 0x54], ecx
push edi
mov dword [ebp - 4], 0
call fcn.0051080a
add esp, 4
mov esi, eax
push edi
push 0
push esi
call fcn.00512700
lea edi, [ebx + 0x5c]
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], edi
cmp edi, eax
je 0x47b16f
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x47b17c
push eax
jmp 0x47b174
test esi, esi
je 0x47b17c
push esi
call fcn.00510360
add esp, 4
push 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x54]
mov dword [ebp - 0x20], 0
push dword [edi]
push dword [ebx + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47b1af
call fcn.0044e1c0
test eax, eax
js 0x47b2e2
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], eax
jne 0x47b2e2
mov ecx, dword [ebx + 0x48]
add ebx, 0x34
mov eax, ebx
mov edx, dword [ebx + 0x10]
cmp ecx, 8
jb 0x47b1d0
mov eax, dword [ebx]
cmp edx, 2
jne 0x47b1fd
mov esi, 0x5f1428
mov edi, edx
sub eax, esi
mov dword [ebp - 0x2c], eax
movzx ecx, word [eax + esi]
movzx eax, word [esi]
cmp cx, ax
jne 0x47b1fa
mov eax, dword [ebp - 0x2c]
add esi, 2
sub edi, 1
jne 0x47b1e1
jmp 0x47b22c
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x47b204
mov ebx, dword [ebx]
cmp edx, 4
jne 0x47b2de
mov esi, str.html
sub ebx, esi
movzx ecx, word [ebx + esi]
movzx eax, word [esi]
cmp cx, ax
jne 0x47b2de
add esi, 2
sub edx, 1
jne 0x47b214
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ecx]
call fcn.0049d150
add esp, 4
test al, al
jne 0x47b2d5
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], str.ProtocolFileHandler.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x24], 0xa6
call fcn.00418540
mov edx, str.Invalid_file_signature
lea ecx, [ebp - 0x17c]
call fcn.004185a0
lea ecx, [ebp - 0x124]
call fcn.00459e90
mov dword [ebp - 4], 4
lea eax, [ebp - 0x124]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004f7d4c
add esp, 4
xor al, al
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.0050fd4b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x54], eax
mov al, 1
jmp 0x47b2b9
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], str.ProtocolFileHandler.cpp
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x24], 0x9d
call fcn.00418540
mov edx, str.Failed_to_read_the_file
lea ecx, [ebp - 0xdc]
call fcn.004185a0
lea ecx, [ebp - 0x84]
call fcn.00459e90
mov dword [ebp - 4], 3
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], vtable.std::ios_base.0
jmp 0x47b2ae