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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610774
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x685680]
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 ebx, dword [ebp + 8]
push 5
push str.other
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00403850
push 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x118], 0
call fcn.00433490
mov dword [ebp - 0x11c], eax
push 0x691f63
mov byte [ebp - 4], 1
call dword [0x6905e0]
test eax, eax
je 0x455392
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push 0x691f63
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
jne 0x45516e
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00416e70
jmp 0x4553eb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.004b998e
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call fcn.005d1b40
mov esi, dword [ebp - 0x124]
add esp, 0xc
lea eax, [ebp - 0x48]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [ebp - 0x60]
call fcn.004034d0
push ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.0042b140
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x154]
call fcn.004034d0
sub esp, 8
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
call fcn.0042f7c0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x140], 0x10
jb 0x455213
push dword [ebp - 0x154]
call fcn.004b9997
add esp, 4
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
call fcn.00433c80
mov ebx, dword [ebp - 0x11c]
mov esi, dword [ebx]
cmp esi, ebx
je 0x455353
nop
cmp dword [esi + 0x1c], 0x10
mov edi, dword [esi + 0x18]
lea ecx, [esi + 8]
jb 0x45525e
mov ecx, dword [ecx]
mov eax, 8
cmp edi, eax
cmovb eax, edi
push eax
push str.homepage
push ecx
call fcn.00402d80
add esp, 0xc
test eax, eax
jne 0x45528f
cmp edi, 8
jae 0x455285
or eax, 0xffffffff
jmp 0x45528d
xor eax, eax
cmp edi, 8
setne al
test eax, eax
sete al
test al, al
jne 0x4552a1
mov esi, dword [esi]
cmp esi, ebx
jne 0x455250
jmp 0x455353
push 8
push str.homepage
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
call fcn.00403850
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 6
call fcn.004274e0
mov ecx, eax
call fcn.004339b0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x128], 0x10
mov esi, eax
jb 0x455308
push dword [ebp - 0x13c]
call fcn.004b9997
add esp, 4
mov ecx, esi
call fcn.00403c60
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00403720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00403720
cmp dword [ebp - 0x30], 0x10
jb 0x455353
push dword [ebp - 0x44]
call fcn.004b9997
add esp, 4
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0041ac90
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], vtable.std::ios_base.0
call fcn.005f57df
add esp, 4
cmp dword [ebp - 0x4c], 0x10
jb 0x45538c
push dword [ebp - 0x60]
call fcn.004b9997
add esp, 4
mov ebx, dword [ebp - 0x120]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jae 0x4553c4
mov eax, dword [ebp - 0x1c]
inc eax
je 0x4553d0
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.005cd370
mov ecx, dword [ebp - 0x18]
add esp, 0xc
jmp 0x4553d0
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x11c]
call fcn.0042efd0
push dword [ebp - 0x11c]
call fcn.004b9997
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x455415
push dword [ebp - 0x2c]
call fcn.004b9997
add esp, 4
mov eax, ebx
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.005cd355
mov esp, ebp
pop ebp
ret 4